1 2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
3 * DTDValidatingReader2.cs :
4 we can remove NET_2_1 from this unused code in SL.
6 2007-07-04 Atsushi Enomoto <atsushi@ximian.com>
8 * DTDAutomata.cs DTDObjectModel.cs DTDReader.cs
9 DTDValidatingReader2.cs XmlException.cs XmlReader.cs
10 XmlReaderSettings.cs XmlWriter.cs :
11 Make System.Xml.Core.dll build easier, using NET_2_1.
13 DTD support is simply cut at this stage (as it largely depends on
14 sys.xml.schema stuff).
16 2007-06-30 Gert Driesen <drieseng@users.sourceforge.net>
18 * XmlTextReader.cs: Expose ProhibitDtd on 1.0 profile too.
20 2007-06-13 Atsushi Enomoto <atsushi@ximian.com>
22 * XmlNode.cs : InnerText is settable on XmlDocumentFragment (silly,
23 but since XmlDocumentFragment does not override this property
24 it must be handled here).
26 2007-06-11 Atsushi Enomoto <atsushi@ximian.com>
28 * XmlTextReader.cs : ReadStartElement() has bogus error message.
30 2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
33 NewLineOnAttributes indentation fix, for bug #81770.
35 2007-05-25 Atsushi Enomoto <atsushi@ximian.com>
37 * XQueryConvert.cs : removed unused methods. They will prevent
38 System.Xml.Core.dll implementation.
40 2007-05-15 Konstantin Triger <kostat@mainsoft.com>
42 * XmlWriter.cs, XmlTextWriter2.cs: ensure the file
43 is closed in XmlWriter.Create(filename).
45 2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
47 * XmlConvert.cs : MinValue and MaxValue, same for ToDateTime().
49 2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
51 * XmlConvert.cs : MinValue and MaxValue are unchanged by the
52 serialization mode (unlike DateTime.ToString()).
54 2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
56 * XmlConvert.cs : in 2.0, use F instead of f in dateTime formatting.
58 2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
60 * XmlReader.cs : fixed wrong depth comparison in ReadToNextSibling().
61 Fixed bug #81451, by Eric Mercier.
63 2007-04-03 Atsushi Enomoto <atsushi@ximian.com>
65 * XmlTextReader.cs : character ']' inside DTD comment caused parser
66 error. Fixed bug #81294.
68 2007-03-05 Atsushi Enomoto <atsushi@ximian.com>
70 * XmlReader.cs : when Create() returns customized XmlTextReader, set
71 EntityHandling.ExpandEntities. Fixed bug #81000.
73 2007-02-20 Atsushi Enomoto <atsushi@ximian.com>
75 * XmlTextReader.cs, XmlTextReader2.cs : Reset() should work now.
78 2007-02-20 Atsushi Enomoto <atsushi@ximian.com>
80 * DTDValidatingReader2.cs, XmlTextReader.cs, XmlNodeReaderImpl.cs:
81 Read() silently returns false when it is closed. Fixed bug #80848.
83 2007-02-07 Atsushi Enomoto <atsushi@ximian.com>
85 * XmlReader.cs : ReadElementContentAsString() and all relevant methods
86 didn't consume empty element correctly.
88 2006-12-20 Atsushi Enomoto <atsushi@ximian.com>
90 * XmlNode.cs : (InsertBefore) when newChild == refChild, do nothing
91 except for node type check. Fixed bug #80331.
93 2006-12-19 Atsushi Enomoto <atsushi@ximian.com>
95 * XmlTextReader.cs : Fixed ReadChars() to consume child elements,
96 including such cases that it breaks tags in the middle of multiple
97 ReadChars() calls. Fixed bug #80308.
99 2006-12-19 Atsushi Enomoto <atsushi@ximian.com>
101 * XmlTextReader.cs : ReadChars() does not have to store characters,
102 so avoid extra storing. Patch by Csaba Halasz, fixed bug #80306.
104 2006-12-12 Atsushi Enomoto <atsushi@ximian.com>
106 * XmlNode.cs : InnerText was returning comment text when there was
107 only a Comment node. Fixed bug #80233.
109 2006-12-12 Atsushi Enomoto <atsushi@ximian.com>
111 * XmlReader.cs : Create() with string url was not returning validating
114 2006-12-12 Atsushi Enomoto <atsushi@ximian.com>
116 * DTDValidatingReader2.cs : when an attribute declaration is missing
117 in the corresponding attlist declaration, it caused NRE.
120 2006-12-11 Atsushi Enomoto <atsushi@ximian.com>
122 * XmlDocument.cs : call overriden CreateAttribute() when loading from
125 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
127 * XmlReader.cs : new 2.0 MoveToAttribute(int) failed to move to the
128 final attribute in an element.
130 2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
132 * XmlNode.cs : GetPrefixOfNamespace() was not correctly searching
133 ancestors' namespaces.
135 2006-11-20 Atsushi Enomoto <atsushi@ximian.com>
137 * XmlTextWriter2.cs : fixed some relationship between
138 ConformanceLevel, OmitXmlDeclaration and WriteStartDocument().
139 See new tests more details.
140 * XmlWriter.cs : it could reuse XmlTextWriter.ctor(TextWriter,
141 XmlWriterSettings). It also resulted in dropping several internal
142 members in XmlTextWriter.
144 2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
146 * XmlReaderSettings.cs : in copy constructor, copy (dispatch)
147 validation event as well. Add OnValidationError() to be invoked
148 by other internal stuff to raise the validation event.
150 2006-11-13 Michael Meeks <michael.meeks@novell.com>
152 * XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs:
153 pass the XmlResolver through to the GetStream impl.
155 2006-10-30 Atsushi Enomoto <atsushi@ximian.com>
157 * XmlTextReader2.cs : if DTD does not exist, do not try to resolve
158 entity from null DTD (caused NRE). Fixed bug #79620.
160 2006-10-27 Atsushi Enomoto <atsushi@ximian.com>
162 * DTDReader.cs : some parameter entity expansions were not done.
165 2006-09-27 Atsushi Enomoto <atsushi@ximian.com>
167 * XmlTextWriter2.cs : null arg check.
169 2006-09-26 Atsushi Enomoto <atsushi@ximian.com>
171 * XmlDeclaration.cs :
172 Removed bogus return statement in Value. Fixed bug #79496.
174 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
176 * XmlNameEntryCache.cs : It should expand temporary buffer even at
177 initial state. Fixed bug #79468.
179 2006-09-19 Atsushi Enomoto <atsushi@ximian.com>
181 * XmlElement.cs : for non-atomized names, alter null prefix with "".
184 2006-09-04 Atsushi Enomoto <atsushi@ximian.com>
186 * XmlReader.cs : ReadContentAsString() and its family should allow
187 attribute node. Fixed bug #79268.
189 2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
191 * XmlTextWriter2.cs : expect atomized names only when it is
192 appropriate. Fixed bug #79047.
194 2006-08-26 Atsushi Enomoto <atsushi@ximian.com>
196 * XmlDocument.cs : use XmlValidatingReader to load TextReader/Stream
197 so that it could fill default and fixed attributes. This ends up
198 to fix bug #79163 (it fills fixed "xmlns" attribute and thus
199 the node's namespace URI becomes that of glade-2.0).
201 2006-08-17 Atsushi Enomoto <atsushi@ximian.com>
203 * XmlEntity.cs, XmlEntityReference.cs, XmlNode.cs :
204 create entity content only when its children is being accessed.
205 It results differently when there is no actual reference in the
206 document - an invalid entity value (when it is used to create
207 child nodes) is ignored unless a code tries to access the Value
208 of an XmlEntity. Fixed bug #79091
209 * DTDReader.cs : the fix above uncovered another bug (ibm66n03.xml).
210 Check illegal reference name in literal entity value.
212 2006-08-17 Atsushi Enomoto <atsushi@ximian.com>
214 * XmlTextReader.cs, XmlTextReader2.cs, DTDReader.cs :
215 (ResolveExternalEntityReplacementText) need to skip text
216 declaration in external entities. To make it possible internalize
217 SkipTextDeclaration() in XmlTextReader(2). Fixed bug #79090.
219 2006-08-16 Atsushi Enomoto <atsushi@ximian.com>
221 * XmlTextReader2.cs : Check recursive entity reference.
222 Fixed bug #79085. It makes W3C standalone tests on NET_2_0 working.
224 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
226 * XmlTextReader.cs : When a whitespace node comes after a text
227 declaration in XML external entity (i.e. .ctor() with
228 XmlNodeType.Element), it contained extra value character ('<').
230 2006-08-10 Atsushi Enomoto <atsushi@ximian.com>
232 * XmlTextWriter2.cs : more indentation fixes. Now I believe it is
233 almost MS compat, but it won't help poor Mike.
235 2006-08-07 Atsushi Enomoto <atsushi@ximian.com>
237 * XmlTextWriter2.cs : WriteBinHex() is allowed at Attribute state.
240 2006-07-28 Atsushi Enomoto <atsushi@ximian.com>
242 * XmlTextWriter2.cs : fixed some indentation bugs: comments and PIs
243 should not cause indentation override like text, cdata and
245 Fixed some error messages on node kind.
246 * XmlTextWriter.cs, XmlTextWriterOpenElement.cs : removed old code.
247 (I don't want to remove old great code but it confused mike today.)
249 2006-07-26 Atsushi Enomoto <atsushi@ximian.com>
252 For DTD validator, call to SetSchemas() makes no sense.
253 * XmlValidatingReader.cs : now it internally holds old
254 XmlSchemaCollection instead of new XmlSchemaSet, to make
255 XmlSchemaSet.SchemaCollection unneccessary.
256 Removed SetSchemas() since it is now extraneous because of the
257 XmlReaderChange above.
259 2006-07-25 Atsushi Enomoto <atsushi@ximian.com>
261 * XmlConvert.cs : TimeSpan conversion for TimeSpan.MinValue was
264 2006-07-19 Atsushi Enomoto <atsushi@ximian.com>
266 * XmlReader.cs : In Create(), support validation flags for DTD.
267 * DTDValidatingReader2.cs : when NET_2_0 and ProcessIdentityConstraints
268 is false, skip ID validation.
270 2006-06-26 Atsushi Enomoto <atsushi@ximian.com>
272 * XmlReader.cs : when Create() received string url, it should set
273 XmlTextReader2.CloseInput always true. Fixed bug #78706.
275 2006-06-08 Atsushi Enomoto <atsushi@ximian.com>
277 * XmlTextWriter2.cs : if an attribute being written has the same
278 non-empty namespace URI as current default namespace, its prefix
279 should be written. Fixed bug #78598.
281 2006-05-09 Atsushi Enomoto <atsushi@ximian.com>
283 * XmlAttribute.cs : (WriteTo) when the namespace URI is empty,
284 always use empty string for prefix.
286 2006-04-27 Geoff Norton <gnorton@customerdna.com>
288 * XmlDocument.cs: Move back to the element after
289 reading an attribute. This mimics Microsofts behaviour.
291 2006-04-21 Atsushi Enomoto <atsushi@ximian.com>
293 * XmlTextWriter.cs : fix for bug #78148. set_Formatting() is not
294 rejected after writing some content. I totally disagree on that
295 it should be allowed, but here is the fix.
297 2006-04-14 Atsushi Enomoto <atsushi@ximian.com>
299 * XmlReader.cs : ReadElementContentAsObject() incorrectly rejected
300 the argument type System.Object.
302 2006-04-10 Atsushi Enomoto <atsushi@ximian.com>
304 * XmlWriter.cs : WriteNode(XPathNavigator) : directly write element
305 and root nodes instead of dispatching to ReadSubtree().
307 2006-04-06 Atsushi Enomoto <atsushi@ximian.com>
309 * XmlReader.cs : ReadElementContentAsXXX() did not consume empty
312 2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
314 * XmlWriter.cs : Create(StringBuilder,XmlWriterSettings) was missing
315 settings argument to pass another .ctor().
316 * XmlWriterSettings.cs : set_NewLineChars() should reject null.
318 2006-04-03 Boris Kirzner <borisk@mainsoft.com>
319 * XmlException.cs: fix .net soap serialization compatibility.
321 2006-03-28 Atsushi Enomoto <atsushi@ximian.com>
323 * XmlNameEntry.cs XmlNameEntryCache.cs :
324 Added atomization support for prefixed names.
325 Inspired by Joshua Tauberer's patch.
326 * XmlElement.cs XmlAttribute.cs : use above.
328 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
330 * XmlReader.cs : in XmlReader.Create() ValidationType Auto and XDR
331 are simply ignored (it was found on running NvdlValidatingReader
334 2006-03-23 Atsushi Enomoto <atsushi@ximian.com>
336 * DTDValidatingReader.cs : avoid NullReferenceException. Input
337 XmlReader might not be IHasXmlParserContext.
339 2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
341 * XmlReader.cs: ReadContentAsXXX() just stops at start element,
342 without rejecting it as an error.
343 ReadElementContentAsXXX() rejects child element nodes.
345 2006-02-28 Atsushi Enomoto <atsushi@ximian.com>
347 * XmlElement.cs : (WriteTo) use IsEmpty to determine which to use:
348 WriteEndElement() and WriteFullEndElement(). Fixed sys.security
351 2006-02-24 Atsushi Enomoto <atsushi@ximian.com>
353 * XmlTextWriter2.cs :
354 WriteRaw() has stupid second arg. Fixed bug #77623.
355 WriteString() should raise an error when it is called immediately
356 after WriteStartDocument().
358 2006-02-22 Atsushi Enomoto <atsushi@ximian.com>
360 * XmlTextWriter2.cs : WriteChars() should allow Attribute state.
362 2006-02-22 Atsushi Enomoto <atsushi@ximian.com>
364 * XmlChar.cs : (IndexOfInvalidChar) fixed surrogate pairs handling.
365 They were always regarded as invalid.
366 * XmlTextWriter2.cs : seems like MS XmlTextWriter outputs invalid
367 characters as character references. It totally does not make sense
368 but corcompare depended on that behavior.
370 This "compatibility" fix causes 10% or more performance loss!!!
372 2006-02-21 Atsushi Enomoto <atsushi@ximian.com>
374 * XmlTextWriter2.cs : (WriteStartAtribute) more == removal.
375 * XmlNode.cs : (get_InnerText) reduce extra StringBuilder creation.
377 2006-02-21 Atsushi Enomoto <atsushi@ximian.com>
379 * XmlTextWriter2.cs : (WriteStartAttribute) reduced string == string.
381 2006-02-21 Atsushi Enomoto <atsushi@ximian.com>
383 * XmlDocument.cs : (ReadNodeCore) not public.
385 2006-02-21 Atsushi Enomoto <atsushi@ximian.com>
387 * XmlTextWriter2.cs : (CloseStartElement)
388 Avoid ArrayList.Clear() and culture-sensitive Contains().
390 2006-02-21 Atsushi Enomoto <atsushi@ximian.com>
392 * XmlNamespaceManager.cs : added internal LookupPrefixExclusive()
393 which discards "overriden" namespaces.
394 * XmlTextWriter2.cs : fresh implementation.
395 - The source structure is simplified and cleaner.
396 - When outputting escaped string, output directly to TextWriter.
397 - roughly 20% performance improvement.
399 (Also fixed previous perf. evaluation excess in ChangeLog.)
401 2006-02-20 Atsushi Enomoto <atsushi@ximian.com>
403 * XmlElement.cs : (WriteTo) make use of HasAttributes. Remove extra
404 check. 5% speed improvement.
406 2006-02-20 Atsushi Enomoto <atsushi@ximian.com>
408 * DTDValidatingReader2.cs : added Source XmlReader property for
409 XsdValidatingReader use (see XsdValidatingReader change as well).
411 2006-02-20 Atsushi Enomoto <atsushi@ximian.com>
413 * EntityResolvingXmlReader.cs, XmlNodeReader2.cs, XmlTextReader2.cs :
414 in get_NodeType() entity reader existence check is faster.
415 * DTDValidatingReader2.cs : IsDefault could be avoided.
417 2006-02-20 Atsushi Enomoto <atsushi@ximian.com>
419 * XmlNodeReaderImpl.cs : optimized Depth.
421 2006-02-20 Atsushi Enomoto <atsushi@ximian.com>
423 * XmlValidatingReader.cs : reducing layered ReadState invocation
424 results in 10% speed up.
426 2006-02-20 Atsushi Enomoto <atsushi@ximian.com>
428 * XmlNodeReaderImpl.cs : Reimplemented Read(). Points are:
429 - reduced call to NextSibling which is very unlikely to be inlined
430 - reorganized conditioning to avoid extra check
431 - added description on each returning branch.
432 - And then, removed unused code.
433 It is 1.5x faster than before.
435 2006-02-17 Atsushi Enomoto <atsushi@ximian.com>
437 * XmlElement.cs : NextSibling could be effectively computed using
438 LastLinkedChild, beyond previous XmlLinkedNode optimization.
440 2006-02-17 Atsushi Enomoto <atsushi@ximian.com>
442 * XmlLinkedNode.cs : In NextSibling, use LastChild directly.
443 It improves NextSibling performance in bulky document.
445 2006-02-17 Atsushi Enomoto <atsushi@ximian.com>
447 * XmlNodeReaderImpl.cs : do not compute ownerLinkedNode, just store
448 it in Read(). Simply use state field in EOF. They result in 20%
449 perf. boost. Expanding EOF also improved performance by 2-3%
450 (mono --optimize=inline might work in the later stage).
452 2006-02-17 Atsushi Enomoto <atsushi@ximian.com>
454 * DTDValidatingReader2.cs : more refactoring. Split ReadContent()
455 into some methods. Reduced some extra MoveToElement().
457 2006-02-17 Atsushi Enomoto <atsushi@ximian.com>
459 * DTDValidatingReader2.cs : more refactoring. Removed and simplified
460 some error check. String += would be enough for entity-reference-
461 mixed attributes which rarely happen, so simplify the code.
462 Added comments on how the fields are used.
464 2006-02-17 Atsushi Enomoto <atsushi@ximian.com>
466 * DTDValidatingReader2.cs : attribute node simplification. It now
467 stores attribute node slots, including default attributes for
470 2006-02-17 Atsushi Enomoto <atsushi@ximian.com>
472 * DTDValidatingReader2.cs, EntityResolvingXmlReader.cs :
473 new files for refactoring DTD validating reader. As the first stage,
474 it splits entity handling process from DTD validation step.
476 (DTDValidatingReader.cs will be removed at some stage).
478 2006-02-17 Atsushi Enomoto <atsushi@ximian.com>
480 * DTDObjectModel.cs : entity resolution method will be used in
481 the next DTD validating reader in 1.x.
483 2006-02-16 Atsushi Enomoto <atsushi@ximian.com>
485 * IHasXmlChildNode.cs :
486 New internal interface to hold LastLinkedChild.
487 * XmlNodeListChildren.cs XmlEntity.cs XmlElement.cs XmlAttribute.cs
488 XmlLinkedNode.cs XmlEntityReference.cs XmlNode.cs
489 XmlDocumentFragment.cs XmlDocument.cs : use it. It minimizes memory
490 consumption in XmlText, XmlWhitespace, XmlComment etc.
492 2006-02-16 Atsushi Enomoto <atsushi@ximian.com>
494 * XmlChar.cs : added IndexOfNonWhitespace() and IndexOfInvalid() (not
496 * NewLineHandling.cs : prepared to be used internally in 1.x.
498 2006-02-16 Atsushi Enomoto <atsushi@ximian.com>
500 * XmlDocument.cs XmlTextReader.cs : in ReadNode(), we can avoid
501 extraneous whitespace node creation for XmlTextReader by setting
502 WhitespaceHandling.Significant when PreserveWhitespace is false.
504 2006-02-16 Atsushi Enomoto <atsushi@ximian.com>
506 * XmlTextReader.cs : atomize whitespace values. It effectively saves
507 memory consumption when an input XML is indented.
509 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
511 * XmlTextReader.cs : When "Significant" is assigned to
512 WhitespaceHandling, it should ignore non-significant whitespaces.
514 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
516 * XmlWriter.cs : (WriteElementString and WriteAttributeString)
517 Skip empty string output.
519 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
521 * XmlTextWriter.cs : WriteRaw("") is not simply ignored but process
522 state check and closes open tag.
524 2006-02-11 Atsushi Enomoto <atsushi@ximian.com>
527 Avoid extra AppendValueChar() in ReadWhitespace().
529 2006-02-06 Atsushi Enomoto <atsushi@ximian.com>
531 * XmlTextReader.cs : ReadTextReader() is now assured to have current
532 node content, except for Text, CDATA and Comment. ReadName() does
533 not use nameBuffer and reuse peekChars.
535 2006-02-06 Atsushi Enomoto <atsushi@ximian.com>
537 * XmlTextReader.cs : eliminated currentTagBuffer. XmlDeclaration is
538 now once read as PI and then re-parsed from Value. DTD internal
539 subset is now parsed as usual "value".
541 2006-02-06 Atsushi Enomoto <atsushi@ximian.com>
543 * XmlTextReader.cs : Expect() could be written inline and it could
544 provide better information. ReadEndTag() could use Expect() instead
547 2006-02-04 Atsushi Enomoto <atsushi@ximian.com>
549 * XmlTextReader.cs : on ReadEndTag() we can avoid NameTable.Add().
550 Store name, local name and prefix in the stack instead of just name
551 and reuse them for EndElement.
553 2006-02-04 Atsushi Enomoto <atsushi@ximian.com>
555 * XmlDocumentNavigator.cs : make use of HasAttributes (avoid possible
556 XmlAttributeCollection creation).
558 2006-02-03 Atsushi Enomoto <atsushi@ximian.com>
560 * XmlTextReader.cs : no need to call Clear() for each attribute value.
562 2006-02-03 Atsushi Enomoto <atsushi@ximian.com>
564 * XmlDocument.cs : reverted most of the previous changes. It somehow
565 broke System.Data tests.
567 2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
569 * XmlDocument.cs, XmlAttribute.cs, XmlElement.cs : Avoid unnecessary
570 name checks in CreateElement() and CreateAttribute().
571 get_DocumentType() could be stopped when the iterated child node
572 is the document element.
573 * XmlNode.cs : removed commented lines.
574 * XmlNameEntry.cs : hash code for a name entry is mostly identical by
575 its local name, so avoid extraneous GetHashCode() especially on
578 2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
580 * XmlReader.cs : ReadOuterXml() returns meaingful value only for
581 element and attribute. ReadInnerXml() does not have to create
582 XmlTextWriter for empty elements.
584 2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
586 * XmlNodeReader2.cs XmlException.cs XmlReader.cs XmlTextReader.cs
587 XmlWriter.cs XmlTextWriter.cs XmlValidatingReader.cs
588 XmlNodeReaderImpl.cs DTDValidatingReader.cs XmlSecureResolver.cs:
589 cleaning up obsolete NET_1_0 code.
591 2006-01-28 Atsushi Enomoto <atsushi@ximian.com>
593 * XmlTextWriter.cs : avoid case-insensitive String.Compare().
594 Use array for openElements rather than ArrayList.
596 2006-01-28 Atsushi Enomoto <atsushi@ximian.com>
598 * XmlElement.cs, XmlAttribute.cs :
599 Avoid ChildNodes.Count and use FirstChild/NextSibling.
601 2006-01-28 Atsushi Enomoto <atsushi@ximian.com>
603 * XmlNode.cs, XmlIteratorNodeList.cs :
604 Now we can enable XmlIteratorNodeList again (mcs, incorrectly
605 removing nodes in the node list, was fixed).
607 2006-01-28 Atsushi Enomoto <atsushi@ximian.com>
609 * XmlDocument.cs : in ReadNode() to consume element node, switched
610 to MoveToAttribute(int) since MoveToNextAttribute() was somehow
611 not working fine. It is needed to avoid Sys.Data test breakage
612 and anything else should be fixed indeed.
614 Fri Jan 27 20:39:48 CET 2006 Paolo Molaro <lupus@ximian.com>
616 * XmlTextReader.cs, XmlChar.cs: more tweaks and speedups.
618 2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
620 * XmlTextReader.cs : optimization patch by Paolo.
621 Fast path optimization in PeekChar().
622 Avoid double-evaluation of PeekChar() and ReadChar() by new
625 2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
627 * XmlNode.cs : disabled XmlIteratorNodeList optimization. It caused
628 some kind of regression under mcs/tests/xml-025.cs.
630 2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
632 * XmlAttributeCollection.cs :
633 Replaced all Nodes.Count with Count (it could avoid extraneous
634 ArrayList creation in XmlNamedNodeMap). ID attribute adjustment
635 was extraneously done against all attribute nodes and thus there
636 was a plenty of call to Value.
637 * XmlNamedNodeMap.cs : added comment on SetNamedItem() W3C spec
640 2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
646 Added internal AppendChild() override that omites node type
647 checking, and used it in many places.
649 2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
651 * XmlDocument.cs : optimized ReadAttributeNode() to not call
652 MoveToAttribute() unneccesarily (call it only when ReadNode() is
653 called on an attribute node).
655 2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
658 in get_InnerText(), avoid extraneous StringBuilder creation.
660 2006-01-27 Atsushi Enomoto <atsushi@ximian.com>
662 * XmlIteratorNodeList.cs : new file for XmlNodeList implementation.
663 It does not iterate all nodes in advance.
664 * XmlNode.cs : use XmlIteratorNodeList in SelectNodes().
666 2006-01-26 Atsushi Enomoto <atsushi@ximian.com>
668 * XmlWriter.cs : Dispose() is protected.
670 2006-01-25 Atsushi Enomoto <atsushi@ximian.com>
672 * XmlNamedNodeMap.cs : lazily create internal ArrayList. Thanks to
673 Joshua Tauberer for the hint.
675 2006-01-25 Atsushi Enomoto <atsushi@ximian.com>
677 * XmlConvert.cs : ToString(TimeSpan) should return valid duration
678 for TimeSpan.Zero, rather than "P". Fixed bug #77350
680 2006-01-24 Atsushi Enomoto <atsushi@ximian.com>
682 * XmlNameEntryCache.cs XmlNameEntry.cs :
683 Made name entry fields as not read-only. Added Update() to reset
684 members. Its semantics of Equals() is changed.
685 Now entry cache is based on Hashtable rather than ArrayList.
686 It saves heavy iteration in ArrayList.
688 2006-01-24 Atsushi Enomoto <atsushi@ximian.com>
690 * XmlNameEntryCache.cs XmlNameEntry.cs XmlDocument.cs :
691 Add Hash field to find name entry quickly.
692 In XmlNameEntryCache make use of name table (it is totally
693 unused there though).
695 2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
697 * XmlConvert.cs : handle Ticks. Fixed bug #77252.
699 2006-01-13 Atsushi Enomoto <atsushi@ximian.com>
701 * XmlTextWriter.cs : Fixed bug #77082.
702 When the state was Start, after WriteProcessingInstruction() and
703 WriteWhitespace() change it to Prolog.
704 After WriteDocType() set state to WriteState.Element.
706 2006-01-12 Atsushi Enomoto <atsushi@ximian.com>
708 * XmlTextWriter.cs : Do not local duplicate of automatically-created
709 prefixes (i.e. check local autocreated prefixes other than
710 namespaces from ancestors). Fixed bug #77086 and #77087.
712 2006-01-12 Atsushi Enomoto <atsushi@ximian.com>
714 * XmlWriter.cs : use XmlChar.IsNmToken() to check argument and throw
715 ArgumentException in WriteNmTokenInternal().
717 2006-01-12 Atsushi Enomoto <atsushi@ximian.com>
719 * XmlTextWriter.cs : Fixed bug #77094. Only XmlTextWriter checks
720 such invalid "xml" prefix which is being mapped to different
721 namespace URI than the predefined one.
722 Removed comment that does not make sense.
723 * XmlNamespaceManager.cs : IsValidDeclaration() could be private.
726 2006-01-11 Atsushi Enomoto <atsushi@ximian.com>
728 * DTDObjectModel.cs : dtd2xsd fix; set use="optional" when an
729 attribute is #IMPLIED.
731 2006-01-06 Atsushi Enomoto <atsushi@ximian.com>
733 * XmlWriter.cs : In WriteNode(XPathNavigator, bool), Avoid
734 ReadSubtree() for non-element content since they are not allowed
735 in ReadSubtree() (but allowed here).
737 2006-01-06 Atsushi Enomoto <atsushi@ximian.com>
739 * XmlValidatingReader.cs : In ReadTypedValue(), treat Whitespace
740 nodes as target string nodes as well as other text nodes.
742 2006-01-06 Atsushi Enomoto <atsushi@ximian.com>
744 * XmlValidatingReader.cs : ReadTypedValue() was not working with
745 non-XmlSchemaDatatype types.
747 2006-01-05 Gert Driesen <drieseng@users.sourceforge.net>
749 * XmlTextWriter.cs: Modified WriteWhitespace to throw ArgumentException
750 if value is null or zero-length string. Modified WriteNmToken to throw
751 ArgumentException if name is null or zero-length string. Cosmetic
752 change to WriteStringInternal.
753 * XmlElement.cs: In 2.0 profile, do not throw ArgumentNullException
754 if new value for Prefix is null.
756 2005-12-26 Atsushi Enomoto <atsushi@ximian.com>
758 * XmlTextWriter.cs : when namespaceURI is String.Empty, Prefix
759 should be just ignored (it is likely to happen that DOM nodes
760 with empty namespace URI are specified non-empty prefix by
761 users, which had better be just ignored). Fixed bug #77095.
763 2005-12-26 Atsushi Enomoto <atsushi@ximian.com>
765 * XmlElement.cs : patch for Prefix property by Vorobiev Maksim.
766 - null should cause ArgumentNullException.
767 - "" should not raise an error.
768 - throws ArgumentException when it is readonly.
770 2005-12-23 Atsushi Enomoto <atsushi@ximian.com>
772 * XmlTextWriter.cs : When xml:space or xml:lang attribute was
773 directly written without an element, it caused ArgumentOutOfRange.
776 2005-12-23 Atsushi Enomoto <atsushi@ximian.com>
778 * XmlTextWriter.cs : (WriteStartAttribute) set prefix as "xmlns" when
779 namespaceURI is that of xmlns attributes. Fixed bug #77083.
781 2005-12-15 Atsushi Enomoto <atsushi@ximian.com>
783 * DTDObjectModel.cs : (CreateXsdParticle) element particle was
784 missing occurence indicators.
786 2005-12-15 Atsushi Enomoto <atsushi@ximian.com>
788 * DTDObjectModel.cs : some fixes on GetXmlSchema()
789 - make generated schema cleaner.
790 - enumeration was missing for attribute type.
791 * XmlTextReader.cs, XmlTextReader2.cs : added tiny notes for dtd2xsd.
793 2005-12-15 Konstantin Triger <kostat@mainsoft.com>
795 * XmlTextWriter.cs: allow null string in WriteCData.
797 2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
799 * XmlNode.cs : (GetNamespaceOfPrefix) return const xml/xmlns URIs
802 2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
804 * XmlDocumentNavigator.cs : added UnderlyingObject as to behave as
807 2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
809 * XmlNode.cs : under 2.0 xml/xmlns are treated as special cases in
810 GetNamespaceOfPrefix()/GetPrefixOfNamespace() (but it still does not
811 implement IXmlNamespaceResolver, bummer).
813 2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
815 * XmlDocument.cs : changed some exception types.
816 * XmlDocumentNavigator.cs : added 2.0 SchemaInfo.
818 2005-12-13 Atsushi Enomoto <atsushi@ximian.com>
820 * XmlTextReader.cs : 1.x build fix.
822 2005-12-13 Atsushi Enomoto <atsushi@ximian.com>
824 * XmlTextReader.cs : when XmlReader.Create() creates this instance,
825 don't expect strict text declaration. Check SkipTextDeclaration()
828 2005-12-12 Atsushi Enomoto <atsushi@ximian.com>
830 * XmlReader.cs : fixed several misconception in MoveToNextSibling().
831 It should check its ReadState to avoid infinite loop.
833 2005-12-12 Atsushi Enomoto <atsushi@ximian.com>
835 * XmlException.cs : added another .ctor() overload that takes both
836 IXmlLineInfo and innerException.
837 * XmlQualifiedName.cs : added Parse() overload that takes XmlReader
838 (since XmlReader is not IXmlNamespaceResolver anymore).
839 * XmlReader.cs : made several fixes on 2.0 ReadContentAs(),
840 ReadElementContentAs() and all of its variants.
842 2005-12-09 Atsushi Enomoto <atsushi@ximian.com>
844 * XmlInputStream.cs :
845 Added Encoding property on NonBlockingStreamReader
847 set Encoding property when it proceeds to xml declaration.
849 2005-12-09 Atsushi Enomoto <atsushi@ximian.com>
851 * XmlReader.cs : ReadToDescendant() should work when its ReadState is
854 2005-12-09 Atsushi Enomoto <atsushi@ximian.com>
856 * XmlChar.cs : removed incorrect comment.
857 * XmlReader.cs : Create() clones XmlReaderSettings (if supplied).
858 For wrapped XmlReader, check ConformanceLevel to be consistent.
859 * XmlTextReader.cs, XmlTextReader2.cs : added get_Conformance for
860 internal use. Removed unused fields.
861 * XmlInputStream.cs : updated NonBlockingStreamReader to the latest
862 StreamReader (it is almost a copy).
864 2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
866 * XmlTextReader.cs : avoid Char.IsSurrogate() and do it inside
867 PeekChar(), which improves notable performance.
869 2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
871 * XmlReaderSettings.cs : Schemas will be created only when it is
874 2005-12-08 Andrew Skiba <andrews@mainsoft.com>
876 * IXmlNamespaceResolver.cs: delete TARGET_JVM,
877 no need to mangle the name
879 2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
881 * Driver.cs, Profiler.cs, XmlQualifiedNameTable.cs :
884 2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
886 * XmlReaderSettings.cs : thanks to idiotic MS design,
887 AllowXmlAttributes is turned on by default.
889 2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
891 * XmlReaderSettings.cs :
892 set_Schemas() is fixed in 2.0 RTM (it just works).
893 * XmlResolver.cs : throw ArgumentNullException instead of
894 ArgumentException when both base and relative urls are null.
896 2005-12-08 Atsushi Enomoto <atsushi@ximian.com>
898 * XmlReaderSettings.cs : ProhibitDtd is set as default.
899 * XmlWriterSettings.cs : no set_OutputMethod.
901 2005-11-30 Konstantin Triger <kostat@mainsoft.com>
903 * IXmlNamespaceResolver.cs: TARGET_JVM namespace change.
905 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
907 * XmlInputStream.cs: fixed Initialize method to be able
908 to read unicode file without BOM. TARGET_JVM only.
910 2005-11-14 Atsushi Enomoto <atsushi@ximian.com>
912 * XmlNodeReader.cs : removed historical one.
914 2005-11-10 Atsushi Enomoto <atsushi@ximian.com>
916 * XmlReader.cs, XmlNode.cs :
917 [DebuggerDisplay] are not worthy of existing.
919 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
921 * XmlTokenizedType.cs, XmlNodeOrder.cs : so those enums happen to
922 have [Serializable] in .NET 1.x, and removed in 2.0 (enums are
923 anyways serializable, so those attributes do not make sense).
925 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
927 * XmlValidatingReader.cs : added CanReadBinaryContent.
928 * XmlTextReader.cs, XmlTextReader2.cs : GetNamespacesInScope() are
929 now both public and private (i.e. hush IsVirtual).
930 * XmlWriterSettings.cs, XmlWriter.cs, XmlTextWriter.cs :
931 NormalizeNewLines vanished.
933 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
935 * XmlReader.cs : MoveToAttribute(int) is virtual in NET_2_0.
937 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
939 * XmlConvert.cs : implemented VerifyTOKEN().
941 2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
943 * XmlConvert.cs : VerifyNCName() and VerifyName() throws
944 ArgumentNullException for "".
946 2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
948 * XmlReader.cs : dependent XmlSchemaValidationFlags fix.
949 Added ReadElementContentAsObject() and ReadContentAsObject().
950 * XmlReader.cs, XmlTextReader.cs :
951 LookupNamespace(string,bool) is now private.
952 * XmlReader.cs, XmlNode,cs :
955 2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
957 * XmlElement.cs, XmlCDataSection.cs, XmlText.cs, XmlWhitespace.cs,
958 XmlSignificantWhitespace.cs : added ParentNode overrides (actually
959 they don't make sense since it just calls base.)
960 * XmlNode.cs, XmlDocument.cs : changed .NET 2.0 CreateNavigator() impl
961 to match signature and skip OwnerDocument check in XmlNode (since
962 it is overriden). Maybe MS does not have ownerDocument as a field and
963 costs too much on OwnerDocument property.
964 Added missing bits in XmlDocument.
966 2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
968 * XmlAttribute.cs : added new overrides in 2.0 RTM (this scarcely
969 makes sense without real optimization though).
970 * XmlDocument.cs, XmlElement.cs, XmlNode.cs : avoid ChildNodes and
971 save extra XmlNodeList creation cost.
973 2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
975 * XmlNamespaceManager.cs : NameTable is virtual in 2.0 RTM.
976 * XmlReader.cs : IsEmptyElement is reverted to be abstract in 2.0 RTM.
977 ReadTypedValue() is removed.
978 * XmlValidatingReader.cs : ReadTypedValue() is not virtual now.
979 * XmlWriter.cs : Settings is virtual.
981 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
983 * XmlDocumentNavigator.cs : now MoveToFirst() invokes internal
986 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
988 * XmlTextWriter.cs : oops, so WriteState.Error is NET_2_0 only.
990 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
992 * XmlTextWriter.cs : (Error state check) actually I need to set Error.
994 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
996 * XmlTextWriter.cs : throw InvalidOperationException if any of
997 WriteBlah() methods were invoked at error state.
999 2005-10-23 Atsushi Enomoto <atsushi@ximian.com>
1001 * XmlTextReader.cs, DTDValidatingReader.cs : LookupNamespace("") for
1002 default namespace was returning "" instead of null. It didn't check
1003 empty namespace URI for non-empty prefixes.
1005 2005-10-07 Joshua Tauberer <tauberer@for.net>
1007 * XmlTextReader.cs: SkipTextDeclaration would not accept processing
1008 instructions that began with the string 'xml', e.g. rejecting
1011 2005-10-08 Gert Driesen <drieseng@users.sourceforge.net>
1013 * XmlAttribute.cs: InnerText and InnerXml do not override getters in
1014 NET_2_0. Removed extra CLSCompliant attribute on SchemaInfo.
1015 * XmlReaderSettings.cs: Marked sealed.
1017 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
1019 * XmlConvert.cs : ToTimeSpan() resulted in an infinite loop when the
1020 digits for "second" were not exactly 3. Fixed bug #76328.
1022 2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
1024 * XmlReader.cs : Name is virtual in NET_2_0.
1026 2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
1028 * XmlWriter.cs, XmlWriterSettings.cs, XmlTextWriter.cs :
1029 added supprot for NormalizeNewLines.
1030 NewLineOnAttributes is considered only when Indent is true.
1032 2005-10-01 Atsushi Enomoto <atsushi@ximian.com>
1034 * XmlAttribute.cs, XmlDocument.cs : check id table updates when
1035 XmlAttribute.set_Value() was invoked. Fixed bug #76311.
1037 2005-10-01 Atsushi Enomoto <atsushi@ximian.com>
1039 * XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs :
1040 XmlReader.Create() with string url argument are not working because
1041 of incorrect choice of the .ctor().
1043 2005-09-28 Atsushi Enomoto <atsushi@ximian.com>
1045 * XmlNodeReaderImpl.cs : when the source node was not a document and
1046 it is an empty element, Read() was incorrectly moving to the parent
1047 of the source node. Patch by Csaba Halasz. Fixed bug #76260.
1049 2005-09-27 Atsushi Enomoto <atsushi@ximian.com>
1051 * XmlTextReader.cs : surrogate computation is incorrect. Fixed bug
1052 #76247. Patch by Brion Vibber.
1054 2005-09-26 Atsushi Enomoto <atsushi@ximian.com>
1056 * DTDValidatingReader.cs : Namespace manager was not handled correctly.
1057 Now it does the same as XmlTextReader does. Fixed bug #76234.
1059 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
1061 * XmlNodeChangedEventArgs.cs: Only make ctor publicly available
1062 in NET_2_0. Fixed API compatiblity with .NET 1.1.
1063 * XmlOutputMethod.cs: Fixed values of enum fields to match MS.NET.
1064 Only available in .NET 2.0.
1066 2005-09-25 Atsushi Enomoto <atsushi@ximian.com>
1068 * XmlReader.cs, XmlReaderSettings.cs, XmlDocument.cs:
1069 XmlSchemaValidationFlags updates.
1071 2005-09-21 Atsushi Enomoto <atsushi@ximian.com>
1073 * XmlWriterSettings.cs : true NET_2_0 updates.
1075 2005-09-21 Atsushi Enomoto <atsushi@ximian.com>
1077 * XmlOutputMethod.cs : new file.
1078 * XmlWriter.cs, XmlValidatingReader.cs, XmlReaderSettings.cs,
1079 XmlUrlResolver.cs, XmlWriterSettings.cs :
1080 more NET_2_0 updates.
1082 2005-09-21 Atsushi Enomoto <atsushi@ximian.com>
1084 * XmlNodeReader2.cs, XmlReader.cs,
1085 XmlTextReader.cs, XmlTextReader2.cs,
1086 XmlNodeChangedEventArgs.cs, XmlElement.cs,
1087 XmlNode.cs, XmlDocument.cs :
1088 updated NET_2_0 API.
1090 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
1092 * XmlTextReader.cs : when there is a heading half of surrogate at the
1093 end of read buffer, it didn't treat it as a surrogate.
1096 2005-09-14 Atsushi Enomoto <atsushi@ximian.com>
1098 * XmlTextWriter.cs : for surrogate pair, output character reference
1099 as a single character instead of two reference pairs. Fixed bug #76095.
1100 Patch by Brion Vibber.
1102 2005-08-31 Sebastien Pouliot <sebastien@ximian.com>
1104 * XmlDocument.cs: Added an InheritanceDemand for Unrestricted on
1105 CreateDocumentType and ReadNode methods.
1106 * XmlException.cs: Added a Demand for SerializationFormatter on
1107 GetObjectData method.
1108 * XmlResolver.cs: Added an InheritanceDemand for Unrestricted on
1110 * XmlSecureResolver.cs: Fixed exception when creating evidences with
1111 an empty URL in CreateEvidenceForUrl method. Only call ResolvePolicy
1112 and PermitOnly if the security manager is enabled.
1113 * XmlTextReader.cs: Added an InheritanceDemand for Unrestricted on the
1115 * XmlTextReader2.cs: Added an InheritanceDemand for Unrestricted on
1117 * XmlValidatingReader.cs: Added an InheritanceDemand for Unrestricted
1120 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
1122 * DTDReader.cs : no need to skip text declaration for such entity
1123 declaration that has literal entity. It should not expand entities
1124 inside ResolveExternalEntityReplacementText().
1125 Finally fixed bug #51495.
1127 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
1129 * XmlTextReader.cs, XmlTextReader2.cs : added internal .ctor() to
1130 receive both TextReader, XmlNodeType and BaseURI for entity
1131 resolution (though it would be removed later).
1132 * XmlParserInput.cs : Now to handle nested PE insertion and correct
1133 BaseURI, it internally holds a stack of "input source".
1134 * DTDObjectModel.cs,
1136 Required fixes for XmlParserInput.
1137 Handle BaseURI as expected. Added ActualUri for resolved actual
1138 source URI (to resolve nested entities). Pass ActualUri to internal
1139 XmlTextReader.ctor() in ResolveExternalEntityReplacementText()
1140 (well, yes I remember, it is problematic.)
1142 Incorrect Base URI handling bug (part of #51495) is fixed.
1144 2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
1146 * DTDReader.cs, XmlParserInput.cs :
1147 let's fix #51495. First of all, refactoring.
1149 2005-08-04 Atsushi Enomoto <atsushi@ximian.com>
1151 * XmlAttribute.cs : When there was only one child in attribute
1152 and it was an entity reference, set_Value() tried to set text value
1155 2005-08-03 Gert Driesen <drieseng@users.sourceforge.net>
1157 * XmlConvert.cs: Renamed RoundTripKind to RoundtripKind.
1158 * XmlDateTimeSerializationMode.cs: Renamed RoundTripKind to
1159 RoundtripKind to match .NET 2.0 Beta 2.
1160 * XmlNodeReader2.cs: GetNamespacesInScope returns generic IDictionary
1161 in .NET 2.0 Beta 2, and is explicit interface implementation.
1162 * XmlTextReader.cs: GetNamespacesInScope returns generic IDictionary
1164 * XmlTextReader2.cs: GetNamespacesInScope returns generic IDictionary
1166 * XmlValidatingReader.cs: GetNamespacesInScope returns generic
1167 IDictionary in .NET 2.0 Beta 2.
1168 * IXmlNamespaceResolver.cs: GetNamespacesInScope returns generic
1169 IDictionary in .NET 2.0 Beta 2.
1170 * XmlNamespaceManager.cs: GetNamespacesInScope returns generic
1171 IDictionary in .NET 2.0 Beta 2.
1172 * XmlNodeReaderImpl.cs: GetNamespacesInScope returns generic
1173 IDictionary in .NET 2.0 Beta 2.
1174 * DTDValidatingReader.cs: GetNamespacesInScope returns generic
1175 IDictionary in .NET 2.0 Beta 2.
1177 2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
1179 * XmlTextWriter.cs : In WriteQualifiedName(), when there is open
1180 attribute, it calls LookupPrefix() and then if namespace was empty,
1181 it resulted in an exception. Fixed bug #75546.
1183 2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
1185 * XmlConvert.cs : ToTimeSpan() should accept milliseconds (according
1186 to ISO 8601 and XSD datatypes 3.2.6.1).
1188 2005-06-27 Andrew Skiba <andrews@mainsoft.com>
1190 * DTDReader.cs : don't validate entity values, when the entry is
1191 redefined so it will be never used. Fixes valid-sa-086 test from W3C
1194 2005-06-27 Atsushi Enomoto <atsushi@ximian.com>
1196 * XmlQueryDialect.cs : removed.
1198 2005-06-27 Atsushi Enomoto <atsushi@ximian.com>
1200 * XmlWriter.cs : added Create(XmlWriter).
1201 * XmlValidatingReader.cs : added Read*AsBase64/BinHex().
1202 * XmlReaderSettings.cs : added obsolete annoyances to hush corcompare.
1204 2005-06-22 Atsushi Enomoto <atsushi@ximian.com>
1206 * XmlTextReader.cs : use StringBuilder.ToString(int,int) when it does
1207 not have a large chunk of data, following Ben's idea.
1209 2005-06-22 Atsushi Enomoto <atsushi@ximian.com>
1211 * XmlTextReader.cs : use StringBuilder to store character values; that
1212 saves 40% memory for large chunk of xml. Patch by Gonzalo.
1214 2005-06-22 Andrew Skiba <andrews@mainsoft.com>
1216 * XmlNode.cs : cosmetic fix - remove unnecessary argument from
1217 AppendChildValues function.
1219 2005-06-22 Atsushi Enomoto <atsushi@ximian.com>
1221 * XmlTextReader.cs : normalization is not required to check character
1222 validity everywhere except for character reference.
1224 2005-06-17 Atsushi Enomoto <atsushi@ximian.com>
1226 * DTDValidatingReader.cs : removed some extra IsDefault check (with
1227 the latse code default attributes are stored in hashtables anyways.)
1228 Fixup attribute namespaces _after_ xmlns attributse are filled.
1229 The latest change is not good that namespaceURI of a local attribute
1230 was incorrectly globally looked up (it should be always "").
1232 2005-06-17 Atsushi Enomoto <atsushi@ximian.com>
1234 * XmlValidatingReader.cs : LookupNamespace() was trying to access to
1235 null reference to validatingReader.
1236 * DTDValidatingReader.cs : Fixed default xmlns* attribute handling.
1237 It used to be valid only at the declaring element.
1239 2005-06-14 Atsushi Enomoto <atsushi@ximian.com>
1241 * DTDValidatingReader.cs : further text node fixes.
1242 - Cut out validation code from Text node case.
1243 - Now it does not use error-prone case transition but uses
1244 DocumentFragment 'vacant room' and fixed incorrect transition from
1246 - CDATA should be validated the same as Text is.
1248 2005-06-14 Atsushi Enomoto <atsushi@ximian.com>
1250 * DTDValidatingReader.cs : whitespace nodes were incorrectly rejected
1251 inside non-mixed content model.
1253 2005-06-09 Andrew Skiba <andrews@mainsoft.com>
1255 * XmlConvert.cs : add TARGET_JVM for roundtrip bug
1257 2005-06-06 Atsushi Enomoto <atsushi@ximian.com>
1259 * XmlEntityReference.cs, XmlNode.cs : protected api fix.
1261 2005-06-02 Atsushi Enomoto <atsushi@ximian.com>
1263 * XmlEntityReference.cs, XmlNode.cs : For entity references, BaseURI
1264 resolution should be different from that of parent since they might
1265 differ. Patch by Andrew Skiba.
1267 2005-05-31 Atsushi Enomoto <atsushi@ximian.com>
1270 make sure to close parser input before parser stack pop.
1271 * DTDValidatingReader.cs : ditto.
1272 * DTDObjectModel.cs : Fixed another incorrect null BaseURI check.
1274 2005-05-31 Atsushi Enomoto <atsushi@ximian.com>
1276 * DTDValidatingReader.cs : Last BaseURI exposed this hidden bug via
1279 2005-05-30 Atsushi Enomoto <atsushi@ximian.com>
1281 * DTDObjectModel.cs : in DTDEntityBase.Resolve() don't overwrite
1282 BaseURI which results in incorrect URI resolution.
1284 2005-05-21 Atsushi Enomoto <atsushi@ximian.com>
1286 * DTDObjectModel.cs : For simple type restriction creation it failed
1287 when there is no enumerations (largely failed).
1289 2005-05-21 Atsushi Enomoto <atsushi@ximian.com>
1291 * XmlImplementation.cs : added new NET_2_0 ctor.
1292 Let's check corcompare:-/
1294 2005-05-11 Atsushi Enomoto <atsushi@ximian.com>
1296 * DTDValidatingReader.cs : namespace storing was stupid.
1298 2005-05-10 Atsushi Enomoto <atsushi@ximian.com>
1300 * DTDValidatingReader.cs : since namespace declarations might be
1301 resolved differently due to entity handling, it holds its own set
1302 of declared namespaces. NamespaceURI and LookupNamespace() use it.
1304 2005-05-09 Atsushi Enomoto <atsushi@ximian.com>
1306 * XmlReader.cs : added ReadElementContentAsLong().
1307 * XmlWriter.cs : removed some obsolete WriteValue() overloads.
1309 IXmlNamespaceResolver.cs : removed deprecated 2.0 bits.
1310 * XQueryConvert.cs : obsolete (yeah, now XQuery should be hidden).
1312 2005-05-06 Atsushi Enomoto <atsushi@ximian.com>
1314 * XmlInputStream.cs : Now XmlStreamReader uses non-blocking TextReader
1315 that is mostly copied from StreamReader. It should fix bug #74161.
1317 2005-05-05 Atsushi Enomoto <atsushi@ximian.com>
1319 * XmlNodeReader2.cs, XmlTextReader2.cs, XmlValidatingReader.cs,
1320 XmlNamespaceManager.cs, IXmlNamespaceResolver.cs,
1321 DTDValidatingReader.cs : Removed most of "atomizedName" related
1322 stuff that are obsoleted in 2.0 beta2.
1323 * XQueryConvert.cs : XPathAtomicValue -> XmlAtomicValue.
1325 2005-05-04 Andrew Skiba <andrews@mainsoft.com>
1327 * IXmlNamespaceResolver.cs : mangle the interface method names when
1328 compiling for TARGET_JVM
1330 2005-03-30 Atsushi Enomoto <atsushi@ximian.com>
1332 * XmlUrlResolver.cs : just return connected Stream instead of fully
1333 downloaded memory cache. Fix by Konstantin Triger.
1335 2005-03-24 Atsushi Enomoto <atsushi@ximian.com>
1337 * XmlWriter.cs : WriteQualifiedName() should check namespace validity
1338 (whether it is in scope or not).
1339 * XmlTextWriter.cs : When WriteQualifiedName() is invoked inside
1340 attribute and no matching namespace declaration, create prefix
1341 on demand. Code reused from WriteStartAttribute().
1343 2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
1345 * XmlValidatingReader.cs : create schema set on demand.
1347 2005-03-22 Atsushi Enomoto <atsushi@ximian.com>
1349 * XmlParserInput.cs,
1352 DTDValidatingReader.cs : removed/commented out those warned code.
1354 2005-03-15 Atsushi Enomoto <atsushi@ximian.com>
1356 * XmlDocumentNavigator.cs : overriden IsDescendant (default
1357 implementation extraneously clones).
1359 2005-03-15 Atsushi Enomoto <atsushi@ximian.com>
1361 * DTDValidatingReader.cs : When expanding entities and there is a
1362 sequence of text nodes, its value was not returned.
1363 * XmlTextReader.cs : better invalid char error report for EOF.
1365 2005-03-09 Andrew Skiba <andrews@mainsoft.com>
1367 * XmlTextReader.cs, XmlParserInput.cs, DTDReader.cs: fix UCM-4
1368 surrogate calculations. This fixes bug 73513.
1370 2005-03-09 Atsushi Enomoto <atsushi@ximian.com>
1372 * XmlParserInput.cs : silly mixed line endings :(
1374 2005-03-08 Atsushi Enomoto <atsushi@ximian.com>
1376 * XmlTextWriter.cs : namespace declaration check for those which starts
1377 with 'x' 'm' 'l' should not be done here (it might be 'declared'
1379 * XmlNamespaceManager.cs : error message for "'xml' prefix for
1380 different namespace" is incorrect.
1382 2005-03-07 Atsushi Enomoto <atsushi@ximian.com>
1384 * XmlDocument.cs : ugh, so I introduced extraneous reader.Read() in
1385 ReadNode() for EntityReference and it resulted in unexpected skip.
1386 * DTDValidatingReader.cs : On EndEntity, LocalName and Name should
1387 return the name of entity. Removed unused entityReaderNameStack.
1389 2005-03-07 Atsushi Enomoto <atsushi@ximian.com>
1391 * DTDValidatingReader.cs : reverted one change in r40985. Entity stack
1392 is nothing to do with ReadAttributeValue().
1394 2005-03-07 Atsushi Enomoto <atsushi@ximian.com>
1396 * DTDValidatingReader.cs : When there was actual attribute in source
1397 XmlReader, MoveToAttribute(i) did not move source reader as expected.
1399 2005-03-03 Atsushi Enomoto <atsushi@ximian.com>
1401 * XmlDocument.cs : In ReadNode(), on EntityReference node, when
1402 XmlReader can resolve entity, it expands entity and apppend
1403 children into the entity reference. Patch by Konstantin Triger.
1405 2005-03-03 Atsushi Enomoto <atsushi@ximian.com>
1407 * XmlTextWriter.cs : For duplicating namespace mapping, it should
1408 create another prefix without throwing an exception.
1410 2005-03-02 Atsushi Enomoto <atsushi@ximian.com>
1412 * XmlTextWriter.cs : LookupPrefix() should not return those prefix
1413 that is overriden by another xmlns declaration.
1415 2005-02-26 Atsushi Enomoto <atsushi@ximian.com>
1417 * XmlEntity.cs : it was not returning SYSTEM ID when there is no
1419 * XmlDocumentNavigator.cs : On Whitespace followed by DocumentType,
1420 get_NodeType() resulted in loop.
1422 2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
1424 * XmlComment.cs, XmlNode.cs, XmlText.cs, XmlProcessingInstruction.cs,
1425 XmlEntityReference.cs, XmlSignificantWhitespace.cs, XmlAttribute.cs,
1426 XmlElement.cs, XmlEntity.cs, XmlCDataSection.cs :
1427 For those nodes that are created by Clone(), IsReadOnly is false.
1428 Patch by Konstantin Triger.
1430 2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
1432 * XmlDocumentNavigator.cs : iteratedNames array could be fixed and
1433 performance got improved. Patch by Konstantin Triger.
1435 2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
1437 * XmlAttribute.cs : MS does not reject non-NCName prefix. Patch by
1440 2005-02-24 Atsushi Enomoto <atsushi@ximian.com>
1442 * XmlTextWriter.cs : WriteString() should be valid when
1443 WriteStartDocument() was not called.
1445 2005-02-23 Atsushi Enomoto <atsushi@ximian.com>
1447 * XmlNamespaceManager.cs : IsValidDeclaration was giving useless error
1450 2005-02-23 Atsushi Enomoto <atsushi@ximian.com>
1452 * XmlDocumentNavigator.cs : it should virtually expand EntityReference,
1453 so refactored to handle both entity references and top level children.
1455 2005-02-22 Atsushi Enomoto <atsushi@ximian.com>
1457 * XmlTextReader.cs : XmlParserContext was not properly popped on
1458 the expected timing and thus had lost BaseURI, XmlSpace and XmlLang.
1459 * XmlInputStream.cs : XmlTextReader does not allow invalid utf-8
1462 2005-02-21 Atsushi Enomoto <atsushi@ximian.com>
1464 * DTDValidatingReader.cs : It should not skip whitespace and
1465 significant whitespace nodes unless it is expanding entities.
1466 * XmlDocumentNavigator.cs : Fixed NodeType that was returning
1467 incorrect type when there is a sequence of text/cdata/space nodes.
1469 2005-02-18 Atsushi Enomoto <atsushi@ximian.com>
1471 * XmlNamespaceManager.cs : Prefix "xml" is bound to the fixed
1472 namespace "http://www.w3.org/XML/1998/namespace", but it is not
1473 vice versa (i.e. we can use other prefixes for this namespace URI).
1475 2005-02-17 Atsushi Enomoto <atsushi@ximian.com>
1477 * XmlNode.cs : It does not have to iterate children to find argument
1478 node. Fixed exception type to ArgumentException. Patch by Andrew
1481 2005-02-16 Atsushi Enomoto <atsushi@ximian.com>
1483 * XmlAttribute.cs : just use InnerText for Value. Patch by Andrew
1485 * XmlConvert.cs : Handle null and empty strings for EncodeName(),
1486 EncodeLocalName() and EncodeNmToken(). Patch by Andrew Skiba.
1487 * NameTable.cs : usually tail of namespaces are rather different than
1488 head of them. Patch by Andrew Skiba.
1489 * XmlUrlResolver.cs : missing %20 handling. Patch by Andrew Skiba.
1491 2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
1493 * XmlAttribute.cs : For default attributes, WriteTo() writes nothing
1495 * DTDValidatingReader.cs : reduced indentation using Linus trick
1496 (it was too deep in nest).
1498 2005-02-14 Atsushi Enomoto <atsushi@ximian.com>
1500 * DTDValidatingReader.cs : Namespaces and prefixes are not properly
1501 handled (it incorrectly assumed DTD definitions and thus always
1502 assumed empty namespace/prefixes).
1504 2005-02-14 Atsushi Enomoto <atsushi@ximian.com>
1506 * DTDValidatingReader.cs : element name stack might be empty when the
1507 input XmlReader contains fragments. Patch by Andrew Skiba.
1509 2005-01-25 Martin Baulig <martin@ximian.com>
1511 * XmlNode.cs (XmlNode.SchemaInfo): Mark this as not CLS-compliant
1514 * XmlReaderSettings.cs (XmlReaderSettings.XmlResolver): Mark this
1515 as not CLS-compliant to avoid a CS3025.
1517 2005-01-18 Atsushi Enomoto <atsushi@ximian.com>
1521 XmlAttributeCollection.cs :
1522 Now reuse parentNode field for XmlAttribute.OwnerElement and
1523 reduce class allocation size.
1525 New class that represents a name triplet.
1526 XmlNameEntryCache.cs :
1527 New type to cache name entries.
1530 Replace name strings with name entry and save class allocation size.
1532 Add name entry cache field to document and reuse name entries that
1533 are already allocated.
1535 2005-01-17 Atsushi Enomoto <atsushi@ximian.com>
1537 * XmlNode.cs, XmlAttribute.cs : reverted the previous patch. It broke
1538 several nunit tests.
1540 2005-01-15 Ben Maurer <bmaurer@ximian.com>
1542 * XmlNode.cs (InnerText, AppendChildValues): Don't allocate a
1543 string in the case where nothing needs to be appended.
1545 * XmlAttribute.cs (BuildChildValue): Start out the string with
1546 `null' not `String.Empty'. String.Concat (null, blah) == blah,
1547 pointerwise. ie, there is no allocation. This makes it so that
1548 getting the value of an attribute is faster for the fast case.
1550 2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
1552 * XmlResolver.cs : throw ArgumentException in ResolveUri().
1554 2005-01-11 Atsushi Enomoto <atsushi@ximian.com>
1556 * XmlTextWriter.cs : WriteComment() was outputting extraneous EOL.
1558 2004-12-26 Atsushi Enomoto <atsushi@ximian.com>
1560 * XmlReader.cs : ReadElementContentAsBinHex() was calling ..AsBase64().
1561 * XmlValidatingReader.cs : In set_EntityHandling(), set that property
1562 of DTDValidatingReader.
1563 * XmlNodeReader2.cs,
1564 XmlNodeReaderImpl.cs : added simplified implementation that splits
1565 entity handling and anything else.
1566 * XQueryConvert.cs : implemented ShouldCheckValueFacets().
1567 Use Convert class instead of simple casts (check range).
1568 * XmlReaderSettings.cs : added SetSchemas() for XPathNavigator.
1570 2004-12-22 Atsushi Enomoto <atsushi@ximian.com>
1572 * XmlParserContext.cs : all the string properties must not be set as
1573 null. Thanks to Joshua.
1576 DTDReader.cs : XmlResolver.ResolveUri() may return null.
1578 2004-12-17 Atsushi Enomoto <atsushi@ximian.com>
1580 * XmlReaderBinarySupport.cs : added support class for base64/binhex
1581 reading that mostly automates those reader support.
1582 * XmlReader.cs : added CanReadBinaryContent, CanReadValueChunk,
1583 ReadContentAsBase64(), ReadElementContentAsBase64(),
1584 ReadContentAsBinHex(), ReadElementContentAsBinHex() and
1586 * XmlTextReader.cs : Now ReadBase64() and ReadBinHex() implementations
1587 are moved to XmlReaderBinarySupport. Added CanReadBinaryContent and
1588 CanReadValueChunk overrides. Call Binary.Reset() to enable them.
1589 * XmlTextReader2.cs : added CanReadBinaryContent, CanReadValueChunk.
1590 Added ReadContentAsBase64(), ReadElementContentAsBase64(),
1591 ReadContentAsBinHex(), ReadElementContentAsBinHex() (just because
1592 they are overriden in MS.NET).
1593 * XmlNodeReader.cs : added CanReadBinaryContent and CanReadValueChunk.
1594 Call Binary.Reset() to enable them.
1596 2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
1599 Added DateTime related methods with serialization mode.
1601 2004-12-16 Atsushi Enomoto <atsushi@ximian.com>
1603 * XmlReader.cs : added MoveToFollowing().
1606 XmlAttribute.cs : added SchemaInfo support.
1607 * XmlDocument.cs : added Schemas and Validate().
1608 ReadNode() now copies xmlReader's SchemaInfo.
1609 * XmlNodeReader.cs : ditto (just reflects node's SchemaInfo).
1611 2004-12-15 Atsushi Enomoto <atsushi@ximian.com>
1614 Create() should assure NameTable!=null on creating XmlTextReader.
1615 Now use XmlSchemaValidatingReader for all xsd validation.
1616 * XmlTextReader2.cs :
1617 Don't use input reader's Settings. It is null.
1618 * XmlReaderSettings.cs : added XmlResolver.
1620 2004-12-14 Atsushi Enomoto <atsushi@ximian.com>
1622 * XmlReaderSettings.cs : XsdValidate and DtdValidate are now
1624 * XmlReader.cs : In Create(), use XmlSchemaValidatingReader for xsd
1627 2004-12-12 Zoltan Varga <vargaz@freemail.hu>
1629 * XmlTextReader.cs: Work around a compiler bug in csc 2.0 beta 1.
1631 2004-12-09 Atsushi Enomoto <atsushi@ximian.com>
1633 * DTDObjectModel.cs : implemented lightweight XmlSchema generator.
1635 2004-12-08 Atsushi Enomoto <atsushi@ximian.com>
1637 * XmlValidatingReader.cs : making smarter relationship between
1638 XsdValidatingReader.
1640 2004-12-08 Atsushi Enomoto <atsushi@ximian.com>
1642 * XmlException.cs : added SecurityPermissionAttributes.
1643 * XmlReaderSettings.cs,
1644 XmlReader.cs : added ValidationFlags and removed obsolete ones.
1646 2004-12-06 Atsushi Enomoto <atsushi@ximian.com>
1648 * XmlWriter.cs : WriteQualifiedNameInternal() should consider the case
1649 ns is null, and don't lookup prefix for empty namespace.
1651 2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1653 * XmlTextReader.cs: don't use \0 as buffer terminator.
1654 * XmlInputStream.cs: s/Array.Copy/Buffer.BlockCopy/.
1656 2004-11-30 Atsushi Enomoto <atsushi@ximian.com>
1658 * DTDReader.cs : Consideration on parameter entity was missing for
1659 attribute default value. Fixed bug #70008.
1661 2004-11-26 Atsushi Enomoto <atsushi@ximian.com>
1663 * XmlReader.cs : not fixage, just explicitly formatted code a bit.
1666 XmlAttributeCollection.cs,
1673 XmlDocument.cs : warning removal.
1675 2004-11-25 Atsushi Enomoto <atsushi@ximian.com>
1677 * XmlQualifiedNameTable.cs : oops, it was not implemented.
1679 2004-11-24 Atsushi Enomoto <atsushi@ximian.com>
1681 * XmlQualifiedName.cs : in 2.0 it is [Serializable].
1682 * XmlTextReader.cs : removed unused local variable.
1683 * XmlTextWriter.cs : Improved some exception messages.
1684 moved some private fields into #if NET_2_0.
1685 * XmlValidatingReader.cs : rename specifiedResolver to
1686 resolverSpecified and use it in internal get_Resolver().
1687 Added [Obsolete] for ReadTypedValue() whose base is obsoleted.
1689 2004-11-22 Atsushi Enomoto <atsushi@ximian.com>
1691 * XmlTextReader.cs : Now attribute normalization is handled on Read(),
1692 not on get_Value. This caused a problem when we use
1693 XmlValidatingReader that value is not always normalized expectedly.
1695 2004-11-22 Atsushi Enomoto <atsushi@ximian.com>
1697 * XmlReader.cs : removed old ReadValueAsXXX() and added new
1698 ReadContentAsXXX() and ReadElementContentAsXXX().
1699 * XmlTextReader.cs : removed old ReadValueAsXXX() (no overrides now).
1700 * XmlTextWriter.cs : added indentation on Comment nodes.
1701 * XmlDateTimeSerializationMode.cs : updated.
1702 * XmlResolver.cs : added 2.0 NameTable field.
1703 * ValidationType.cs : added ObsoleteAttributes on some members.
1705 2004-11-18 Atsushi Enomoto <atsushi@ximian.com>
1707 * XmlParserContext.cs : the fix was not checked in :(
1709 2004-11-17 Atsushi Enomoto <atsushi@ximian.com>
1711 * XQueryConvert.cs : moved from System.Xml.Query.
1713 2004-11-14 Atsushi Enomoto <atsushi@ximian.com>
1715 * XmlWriter.cs : after WriteAttributes(), argument XmlReader must
1716 move to element. This fixes bug #69350.
1718 2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
1720 * XmlParserContext.cs : PushScope() was accessing list out of range.
1722 2004-11-09 Atsushi Enomoto <atsushi@ximian.com>
1724 * DTDValidatingReader.cs, XmlTextReader.cs :
1725 needed more changes wrt XmlException.
1727 2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
1729 * DTDObjectModel.cs,
1735 Added support for 2.0 XmlException.SourceUri property. Improved
1736 exception handling to contain BaseURI everywhere in the parser.
1738 2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
1740 * XmlTextReader2.cs : added. It is used to serve public API, plus
1741 entity handling support.
1743 * DTDObjectModel.cs,
1744 DTDValidatingReader.cs,
1746 XmlParserContext.cs,
1748 Implemented XmlTextReader.EntityHandling and ResolveEntity(). To
1749 implement them, XmlTextReader in 2.0 itself is in XmlTextReader2.cs
1750 and XmlTextReader.cs contains Mono.Xml2.XmlTextReader which is the
1751 same as 1.x XmlTextReader. XmlTextReader2 switches entity reader and
1752 source reader, and never handles tokenization.
1753 The reason for "Mono.Xml2" is to avoid large changes in constructor.f
1755 2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
1757 * XmlAttribute.cs, XmlElement.cs : get_Name should consider name table.
1758 * XmlDocument.cs : use NameTable in Load() and LoadXml().
1759 * XmlReader.cs : In Create(), use NameTable in XmlReaderSettings.
1761 2004-11-05 Atsushi Enomoto <atsushi@ximian.com>
1763 * XmlDocumentNavigator.cs : create rarely-used ArrayList later. This
1764 significantly improves XmlDocument-based XPath performance.
1766 2004-11-04 Atsushi Enomoto <atsushi@ximian.com>
1768 * XmlTextReader.cs : Manually expanded some of AppendValueChar() and
1769 XmlChar.IsWhitespace() which are on critical points on performance
1770 (marked as FIXME, but it depends on JIT).
1772 2004-11-04 Atsushi Enomoto <atsushi@ximian.com>
1774 * XmlTextReader.cs : Search xml:* attributes more efficiently.
1776 2004-11-04 Atsushi Enomoto <atsushi@ximian.com>
1778 * XmlTextReader.cs : Reduced NameTable.Add() for prefixed names. First,
1779 ReadName() now returns atomized LocalName and Prefix. Second, to
1780 avoid extraneous split, SetProperties() now takes prefix and
1781 localName that might be given from ReadName(). Third, removed
1782 FillNames(). This optimizes "namespace-aware and prefixed document"
1783 parsing 10-20% faster.
1785 2004-11-03 Atsushi Enomoto <atsushi@ximian.com>
1787 * XmlTextReader.cs :
1788 With related to AddNamespace(), there was extra string.StartsWith()
1789 calls. Now AttributeTokenInfo.FillNames() is splitted into
1790 FillPrefixAndXmlns() and FillNamespace(), and AddNamespace() is done
1791 at FillPrefixAndXmlns().
1793 2004-11-03 Atsushi Enomoto <atsushi@ximian.com>
1795 * XmlTextReader.cs :
1796 Reduces LookupNamespace() call in FillNames(). This improves 6-7%
1797 speedup in some scenario.
1798 Code refactory; Removed unused code. AddAttribute() is used only for
1799 DTD, so renamed to AddDtdAttribute(). For PUBLIC and SYSTEM ids,
1800 FillNames() is not required. Two SetProperties() are ambiguous, so
1801 renamed one (that takes TokenInfo) as SetTokenProperties().
1803 2004-11-03 Atsushi Enomoto <atsushi@ximian.com>
1805 * XmlParserContext.cs : rewrote; especially to avoid XmlSpace boxing.
1807 2004-11-03 Atsushi Enomoto <atsushi@ximian.com>
1809 * XmlTextReader.cs : LookupNamespace() don't have to be called in
1810 ReadStartTag() to check prefix, since NamespaceURI is filled in
1811 FillNames(). 10% performance up by avoiding this extra check.
1813 2004-10-29 Atsushi Enomoto <atsushi@ximian.com>
1815 * XmlValidatingReader.cs : fixed incorrect recursion between
1816 indexer and GetAttribute().
1818 2004-10-29 Atsushi Enomoto <atsushi@ximian.com>
1820 * DTDReader.cs, DTDValidatingReader.cs, XmlTextReader.cs :
1821 When XmlTextReader is created with NodeType Element or Attribute,
1822 skip possible text declaration (that might be used for resolving
1823 entities) that specifies text encoding. With this fix, bug #61274
1824 must be regarded as fixed.
1826 2004-10-29 Atsushi Enomoto <atsushi@ximian.com>
1828 * XmlNodeReader.cs : Reimplemented ResolveEntity(). It does not use
1829 XmlTextReader trick anymore. XmlNodeReader itself is used instead.
1831 2004-10-29 Atsushi Enomoto <atsushi@ximian.com>
1833 * XmlNodeReader.cs : for NET_1_0 ReadInnerXml(), just use
1834 XmlReader.ReadInnerXmlInternal(). It should work fine.
1835 Ditto for ReadOuterXml().
1837 2004-10-29 Atsushi Enomoto <atsushi@ximian.com>
1839 * XmlNodeReader.cs : removed unused/unreachable code. Simplify
1842 2004-10-29 Atsushi Enomoto <atsushi@ximian.com>
1844 * XmlDocument.cs, XmlNodeReader.cs, XmlTextReader.cs,
1845 XmlValidatingReader.cs : Those readers could just implement internal
1846 interface IHasXmlParserContext.
1847 * XmlTextReader.cs, XmlValidatingReader.cs : this[] disappeared in 2.0.
1848 (XmlReader has them as virtual.)
1849 * XmlReader.cs : ReadAsObject() disappeared.
1850 * XmlWriter.cs : WriteFromObject() disappeared.
1852 2004-10-29 Atsushi Enomoto <atsushi@ximian.com>
1854 * XmlDocumentNavigator.cs : GetNode() should consider namespace nodes.
1855 * XmlNode.cs : dustclean.
1857 2004-10-28 Atsushi Enomoto <atsushi@ximian.com>
1859 * XmlDocument.cs : use XPathEditableDocument again.
1860 * XmlNode.cs : To be compatible with XPathEditableDocument, it should
1861 not cast XPathNavigator to XmlDocumentNavigator but to IHasXmlNode.
1863 2004-10-28 Atsushi Enomoto <atsushi@ximian.com>
1865 * XmlChar.cs, XmlConstructs.cs :
1866 Switched again, for reducing per-process memory consumption.
1867 * XmlInputStream.cs :
1868 Just 64 bytes of buffer would be enough, for example like
1869 <?xml version="1.0" encoding="iso-8859-15" standalone="yes" ?>
1871 2004-10-28 Atsushi Enomoto <atsushi@ximian.com>
1873 * IXmlDataEvidence.cs : disappeared.
1874 * XmlConvertDateTimeSerializationMode.cs : incorrect filename. removed.
1875 * XmlDateTimeSerializationMode.cs : added
1876 * NewLineHandling.cs : added
1877 * IXmlNamespaceResolver.cs, XmlNamespaceManager.cs :
1878 now 'atomizedNames' is obsolete.
1879 * XmlReaderSettings.cs, XmlWriterSettings.cs :
1880 Should not be sealed. Should not be ICloneable.
1882 2004-10-28 Atsushi Enomoto <atsushi@ximian.com>
1884 * XmlDocument.cs : XPathEditableDocument looks broken. Just reverted
1885 to fix 2.0 corcompare.
1887 2004-10-26 Atsushi Enomoto <atsushi@ximian.com>
1889 * XmlTextReader.cs : Don't create attribute Value string on Read()
1890 (i.e. create string when get_Value() is invoked.) This optimizes
1891 some kind of XmlTextReader usage significantly such as Skip().
1893 2004-10-22 Atsushi Enomoto <atsushi@ximian.com>
1895 * XmlConvertDateTimeSerializationMode.cs : added.
1896 * XmlConvertDateTimeOption.cs : removed.
1898 2004-10-22 Atsushi Enomoto <atsushi@ximian.com>
1901 For net_2_0, CreateNavigator() returns editable XPathNavigator.
1902 * XmlReader.cs, XmlTextReader.cs, XmlValidatingReader.cs :
1903 They do not implement IXmlDataEvidence anymore.
1905 2004-10-18 Atsushi Enomoto <atsushi@ximian.com>
1907 * XmlTextReader.cs :
1908 Fixed CheckCharacters setter that always set false.
1909 CheckCharacters check is also required for ReadText(). This fixes
1912 2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
1914 * XmlTextReader.cs : Inside DTD, '<' character inside XML comment
1915 is regatded as invalid. This fixes bug #68410. (Error message was
1918 2004-10-14 Atsushi Enomoto <atsushi@ximian.com>
1920 * XmlWriter.cs : CreateTextWriter() is private.
1922 2004-10-09 Atsushi Enomoto <atsushi@ximian.com>
1924 * XmlNodeReader.cs : LookupPrefix() was only after 2.0.
1926 2004-10-08 Atsushi Enomoto <atsushi@ximian.com>
1928 * XmlNamespaceManager.cs : GetNamespacesInScope() caused
1929 IndexOutOfRangeException (miscounted indexes).
1931 2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
1933 * XmlWriter.cs : WriteNode(XPathNavigator,bool) should check null arg.
1934 For attribute nodes, it should not use WriteSubtree() which does not
1935 support attribute nodes.
1937 2004-09-20 Gert Driesen <drieseng@users.sourceforge.net>
1939 * XmlValidatingReader.cs: Added deprecation message.
1941 2004-09-14 Atsushi Enomoto <atsushi@ximian.com>
1943 * XmlTextWriter.cs : Close() should not Flush() when the output is
1944 already closed. bug #65918 is fixed.
1946 2004-09-12 Atsushi Enomoto <atsushi@ximian.com>
1948 * XmlTextWriter.cs : CloseOutput must be true by default.
1950 2004-09-08 Atsushi Enomoto <atsushi@ximian.com>
1952 * XmlWriter.cs, XmlTextWriter.cs, XmlWriterSettings.cs :
1953 Implemented CheckCharacters and CloseOutput support.
1955 2004-09-08 Atsushi Enomoto <atsushi@ximian.com>
1957 * XmlReader.cs : evidence is always provided.
1958 * XmlWriter.cs, XmlTextWriter.cs :
1959 added support for ConformanceLevel and OmitXmlDeclaration.
1961 2004-09-08 Atsushi Enomoto <atsushi@ximian.com>
1963 * XmlTextReader.cs : Console.WriteLine() injected :(
1964 * XmlTextWriter.cs : It it partly supports XmlWriterSettings.
1965 * XmlWriter.cs : implemented Create().
1966 * XmlWriterSettings.cs : removed EncodeXmlBinary (deprecated).
1968 2004-09-07 Atsushi Enomoto <atsushi@ximian.com>
1970 * XmlFactory.cs : removed (obsolete).
1972 2004-09-07 Atsushi Enomoto <atsushi@ximian.com>
1974 * XmlNamespaceManager.cs : GetNamespacesInScope() ignored default
1975 namespace when scope is .ExcludeXml or .All.
1976 * XmlReader.cs : Implemented ValueType, SchemaInfo, ReadAsObject().
1977 Fixed ReadTypedValue() to call ReadValueAs().
1979 2004-09-07 Atsushi Enomoto <atsushi@ximian.com>
1981 * XmlNamespaceManager.cs : Fixed GetNamespacesInScope() that returned
1982 inconsistent namespace pairs.
1984 2004-09-07 Atsushi Enomoto <atsushi@ximian.com>
1986 * XmlReader.cs, XmlTextReader.cs :
1987 Added NET_2_0 CheckCharacters support.
1989 2004-09-06 Atsushi Enomoto <atsushi@ximian.com>
1991 * XmlNode.cs : GetEnumerator() does not have to create ChildNodes
1992 every time. Removed unused StringBuilder field.
1994 2004-09-06 Atsushi Enomoto <atsushi@ximian.com>
1996 * XmlWriter.cs : on reader.NodeType is None, WriteNode() still tries
1997 to read more (and might result in an error).
1999 2004-09-03 Atsushi Enomoto <atsushi@ximian.com>
2001 * XmlTextReader.cs : When Normalization is true, CRLF and CR should
2002 be converted to single LF. This should fix part of bug #62076.
2004 2004-08-30 Atsushi Enomoto <atsushi@ximian.com>
2006 * XmlWriter.cs : implemented WriteValue(object) for known types.
2008 2004-08-30 Atsushi Enomoto <atsushi@ximian.com>
2010 * XmlElement.cs : XmlAttributeCollection doesn't have to be created
2011 every time until the actual use. This sometimes optimizes
2012 attribute-less XML performance siginificantly.
2014 2004-08-27 Atsushi Enomoto <atsushi@ximian.com>
2016 * XmlAttribute.cs : some property getters threw NullReferenceException
2017 when the attribute is not added to an element.
2018 * XmlNode.cs : When a node is not appended to another node, BaseURI
2019 is empty. Bug #64120 is fixed.
2021 2004-08-26 Atsushi Enomoto <atsushi@ximian.com>
2023 * XmlTextWriter.cs : In CheckState(), don't create indentation string
2024 at every time. WriteIndent() now handles the indentation without
2027 2004-08-23 Atsushi Enomoto <atsushi@ximian.com>
2029 * XmlReader.cs, XmlTextReader.cs, XmlWriter.cs :
2030 eliminate MS.Internal.Xml.* classes.
2032 2004-08-21 Atsushi Enomoto <atsushi@ximian.com>
2034 * XmlElement.cs : set_InnerText was removing children incompletely.
2035 This fixes bug #63574.
2037 2004-08-20 Atsushi Enomoto <atsushi@ximian.com>
2039 * XmlTextReader.cs : Fixed EOF not to return true when it is just
2040 closed. Element and EndElement location is now adjusted to be the
2041 same as MS.NET does. This fixes bug #63505 and #63507.
2042 ResetState() now throws InvalidOperationException() as MS.NET does.
2044 * WriteState.cs : added missing 2_0 enumeration.
2045 * XmlReader.cs : ReadTypedValue() is virtual.
2046 * XmlValidatingReader.cs : ReadTypedValue() is override under 2_0.
2048 2004-08-10 Atsushi Enomoto <atsushi@ximian.com>
2050 * XmlValidatingReader.cs : Replaced XmlSchemaCollection with
2051 XmlSchemaSet. Added Settings property override
2053 2004-08-10 Atsushi Enomoto <atsushi@ximian.com>
2055 * DTDReader.cs : Replacing XmlSchemaDatatype .FromName(string) with
2056 .FromName(string, string) [going to remove former one; it is not
2057 good to support xdt:blah datatypes].
2059 2004-08-03 Atsushi Enomoto <atsushi@ximian.com>
2061 * DTDValidatingReader.cs,
2062 XmlValidatingReader.cs : implemented IXmlNamespaceResolver.
2063 * XmlNamespaceManager.cs,
2064 XmlNodeReader.cs : implemented GetNamespacesInScope().
2066 2004-08-03 Atsushi Enomoto <atsushi@ximian.com>
2068 * XmlCharacterData.cs,
2070 XmlNodeChangedEventArgs.cs :
2071 Implemented XmlNodeChangedEventArgs.OldValue and .NewValue.
2073 2004-08-03 Atsushi Enomoto <atsushi@ximian.com>
2075 * XmlWriter.cs : implemented settings-less Create().
2076 * XmlWriterSettings.cs : added some comments.
2078 2004-07-29 Atsushi Enomoto <atsushi@ximian.com>
2080 * XmlWriter.cs : implemented WriteNode(XPathNavigator, bool)
2081 incompletely, using XPathNavigator.ReadSubtree().
2083 2004-07-29 Atsushi Enomoto <atsushi@ximian.com>
2085 * XmlReader.cs : Implemented new 2.0 virtual members that used to be
2086 abstract in 1.x. Implemented ReadSubtree().
2088 2004-07-28 Lluis Sanchez Gual <lluis@novell.com>
2090 * XmlTextReader.cs: Stop parsing when a null character is found.
2092 2004-07-28 Atsushi Enomoto <atsushi@ximian.com>
2094 * XmlReader.cs : Implemented missing MoveToNextSibling() and
2096 * XmlTextReader.cs : Added missing ReadValueAs() override (hmm...
2097 are they really worth overriding?)
2099 2004-07-28 Atsushi Enomoto <atsushi@ximian.com>
2101 * XmlWriter.cs : Added new WriteStartAttribute(string).
2103 2004-07-28 Atsushi Enomoto <atsushi@ximian.com>
2105 * XmlConvert.cs : Added 2.0 VerifyNMTOKEN() and internal WriteBinHex().
2106 * XmlQualifiedName.cs : Added internal static Parse().
2107 * XmlReader.cs : use XmlQualifiedName.Parse().
2108 * XmlTextWriter.cs : use new XmlWriter.WriteNameInternal() etc.
2109 * XmlWriter.cs : Added 2.0 Settings and WriteFromObject().
2110 Implemented 2.0 virtual methods that used to be abstract in 1.x.
2112 2004-07-26 Atsushi Enomoto <atsushi@ximian.com>
2114 * XmlReader.cs : Implemented ReadValueAsXxx() except for
2116 * XmlTextReader.cs : implemented them as well, just invoking
2117 base.ReadValueAsXxx ().
2118 * XmlWriter.cs : implemented some WriteValue() methods.
2120 2004-07-21 Atsushi Enomoto <atsushi@ximian.com>
2122 * XmlConvert.cs : added internal ToBinHexString() (BTW according to
2123 MSDN documentation it should be public).
2124 * XmlReader.cs : fixed one incorrect Create() overload. Added
2125 LookupNamespace (string, bool) (public for 2.0, internal for 1.x).
2126 * XmlTextReader.cs : Mostly implemented IXmlNamespaceResolver
2127 interface. Fixed HasLineInfo() access modifier on 2.0.
2128 * XmlNodeReader.cs : Mostly implemented IXmlNamespaceResolver
2129 interface. Wrote common namespace node lookup method and rewrote
2130 existing LookupNamespace().
2131 * XmlValidatingReader.cs : Fixed 2.0 IXmlLineInfo members' signatures.
2133 2004-07-20 Atsushi Enomoto <atsushi@ximian.com>
2135 * XmlNode.cs : When the argument node being inserted is the existing
2136 document element, it should not result in an error (since it should
2137 be first removed from document, thus no error should happen).
2139 2004-07-16 Atsushi Enomoto <atsushi@ximian.com>
2141 * XmlTextReader.cs : Fixed several problems on ReadBase64();
2142 Whitespaces should be ignored, and '=' was not skipped correctly.
2143 It caused "unexpected end of document" error at immediate close tag.
2145 2004-07-13 Atsushi Enomoto <atsushi@ximian.com>
2147 * Added MonoFIXAttribute.cs
2149 2004-07-13 Atsushi Enomoto <atsushi@ximian.com>
2151 * XmlWriter.cs : Added Create() stubs.
2152 * XmlWriterSettings.cs : Added missing property setters.
2153 * XmlValidatingReader.cs : added internal schemas setter.
2154 * XmlTextReader.cs : added internal XmlReaderSettings property setter.
2155 * XmlReader.cs : Halfly implemented Create().
2156 * DTDValidatingReader.cs : author information was missing.
2158 2004-07-11 Atsushi Enomoto <atsushi@ximian.com>
2160 * XmlConvertDateTimeOption.cs : it is NET_2_0.
2161 * IXmlNamespaceResolver.cs,
2162 XmlNamespaceScope.cs : Compile it in .net 1.1 (as internal).
2163 * XmlNamespaceManager.cs : Implement IXmlNamespaceResolver.
2165 2004-07-09 Atsushi Enomoto <atsushi@ximian.com>
2167 * XmlConvertDateTimeOption.cs : Forgot to change the content...
2169 2004-07-09 Atsushi Enomoto <atsushi@ximian.com>
2171 * ConformanceLevel.cs : Fixed integer value.
2172 * Added XmlConvertDateTimeOption.cs.
2173 * Removed XmlItemView.cs and XmlItemViewCollection.cs.
2175 2004-07-09 Atsushi Enomoto <atsushi@ximian.com>
2177 * IXmlNamespaceResolver.cs :
2178 Fixed return value of GetNamespacesInScope().
2179 * IXmlDataEvidence.cs,
2182 XmlValidatingReader.cs : fixed Evidence (it is not array anymore).
2184 Implemented virtual indexers, QuoteChar, and Dispose() (2.0 stuff).
2186 In net_2_0, indexers vanished from XmlNodeReader.
2187 In net_2_0, overriden QuoteChar vanished.
2188 * XmlReaderSettings.cs : set_NameTable is missing.
2189 * XmlTextReader.cs : Implemented ProhibitDtd.
2191 2004-07-09 Atsushi Enomoto <atsushi@ximian.com>
2193 * XmlAttributeCollection.cs : In .net 2.0, it became sealed class.
2194 * IXmlDataEvidence.cs : not "Evidences" but "Evidence".
2195 * XmlInputStream.cs : new csc rejected implicit int->char cast.
2196 * XmlNamespaceManager.cs : In net_2_0, LookupNamespace(string) and
2197 LookupPrefix(string) does not require argument string as atomized.
2198 Added HasNamespace (string, bool).
2199 * XmlReader.cs : Added Settings and SchemaInfo properties.
2200 * XmlReaderSettings.cs : Added NameTable. Throw XmlException when
2201 attempt to set Schemas.
2202 * XmlTextReader.cs : Fixed "Evidences" to "Evidence". new csc rejected
2203 implicit int->char cast.
2204 * XmlValidatingReader.cs : Fixed "Evidences" to "Evidence".
2206 2004-06-27 Atsushi Enomoto <atsushi@ximian.com>
2209 Close XmlReader only when it is created. This fixes bug #60809.
2211 2004-06-18 Atsushi Enomoto <atsushi@ximian.com>
2213 * DTDObjectModel.cs, DTDReader.cs, XmlConvert.cs, XmlDocument.cs,
2214 XmlException.cs, XmlParserInput.cs, XmlTextReader.cs,
2215 XmlTextWriter.cs : Globalization.
2216 * XmlNode.cs : Fixed error message that confused node type.
2218 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
2220 * XmlDocumentNavigator.cs : MoveToNext() should skip concatenating
2221 text/cdata/whitespace nodes.
2223 2004-06-14 Atsushi Enomoto <atsushi@ximian.com>
2225 * XmlInputStream.cs : Fixed encoding detection detected in xslt
2226 standalone tests. Removed extraneous code.
2228 2004-06-13 Atsushi Enomoto <atsushi@ximian.com>
2230 * XmlTextReader.cs : Character range check is always done. It is only
2231 character references for which check is not done when Normalization
2233 A bit more kind error message for multiple document element error.
2234 * XmlTextWriter.cs : Check if character is valid and entitize when
2237 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
2239 * XmlNamespaceManager.cs : The error message was improper.
2242 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2244 * XmlInputStream.cs: Initialize reads a larger buffer now when trying
2245 to guess the encoding.
2247 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
2249 * NameTable.cs : Fixed incorrect hash computation. Thanks to Ben.
2250 * XmlTextWriter.cs : Fixed remaining LookupNamespace() atom problem
2251 shown in xslt standalone tests.
2253 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
2255 * XmlTextWriter.cs : Improved indenting. For children of a mixed
2256 content element, it won't be indented.
2258 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
2260 * DTDObjectModel.cs,
2261 XmlDocument.cs : Close stream always.
2262 * XmlNodeReader.cs : don't expect atomized name in LookupNamespace().
2263 * XmlTextReader.cs : Namespace check was not done. Some tests depends
2264 on this failure and to be fixed.
2266 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2268 * XmlNamespaceManagre.cs : Fixed LookupNamespace() and LookupPrefix().
2269 They require that names are *already* atomized.
2271 XmlTextWriter.cs : use safe overload of LookupXXX().
2273 2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
2275 * XmlTextReader.cs : Fixed version mismatch; ProhibitDtd should be
2278 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
2280 * XmlTextReader.cs: Added ProhibitDtd property for NET 1.1 to match
2281 public API in MS.NET 1.1
2283 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2285 * XmlDocument.cs : Save() should indent only when PreserveWhitespace
2286 is false. Fixed bug #59155.
2287 Modified comment lines a bit.
2289 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2291 * XmlTextWriter.cs : WriteRaw() looks to proceed WriteState to Prolog
2292 (if it is Start). Fixed bug #59154.
2294 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2296 * XmlTextReader.cs : simplified ReadCharsInternal(); use ReadEndTag()
2297 and don't bork against <foo></foo>. Also mofidied this method to skip
2298 <foo/>. Fixed bug #59142.
2299 Modified some comments on the code (FIXME->LAMESPEC et al).
2301 2004-05-24 Atsushi Enomoto <atsushi@ximian.com>
2303 * DTDReader.cs : When sequential PE references exist, the reader only
2304 expands the first one and in some cases the parser complaints the
2305 content (such like expecting name character but found '%').
2306 This fixes bug #58818.
2308 2004-05-23 Atsushi Enomoto <atsushi@ximian.com>
2310 * XmlNode.cs : RemoveChild() should check null argument.
2311 Normalize() was broken in some cases.
2313 2004-05-22 Atsushi Enomoto <atsushi@ximian.com>
2315 * ConformanceLevel.cs : added.
2317 2004-05-22 Atsushi Enomoto <atsushi@ximian.com>
2319 * XmlNodeChangedEventArgs.cs : the last patch looks true
2320 ONLY AFTER .NET 2.0.
2322 2004-05-22 Atsushi Enomoto <atsushi@ximian.com>
2324 * XmlReaderSettings.cs, XmlWriterSettings.cs : NET_2_0 were missed.
2326 2004-05-22 Atsushi Enomoto <atsushi@ximian.com>
2330 XmlItemViewCollection.cs,
2331 XmlReaderSettings.cs,
2332 XmlWriterSettings.cs : added new .NET 2.0 classes.
2334 * AsyncXmlTextWriter.cs,
2335 IXPathChangeNavigator.cs,
2338 XmlChangeFilters.cs,
2340 XmlNodeChangeType.cs,
2341 XPathChangeNavigator.cs,
2343 XPathDocument2ChangedEventAction.cs,
2344 XPathDocument2ChangedEventHandler.cs,
2346 XPathNavigator2.cs : removed. (They are only in .NET 1.2)
2348 * XmlWriter.cs : added new NET_2_0 WriteElementString().
2350 2004-05-22 Atsushi Enomoto <atsushi@ximian.com>
2352 * XmlNodeChangedEventArgs.cs : not properly inherited from EventArgs.
2354 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2356 * XmlConvert.cs : Fixed ToString(TimeSpan) that didn't handle Hour
2357 correctly. This fixes bug #57786.
2359 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
2361 * XmlValidatingReader.cs : explicitly mark as MonoTODO for XDR (not
2364 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
2366 * DTDObjectModel.cs,
2372 XmlUrlResolver.cs : removed reference to Mono.Xml.
2373 Made Mono.Xml.* classes internal.
2374 * XmlDocument.cs : output xml declaration for TextWriter output in Save()
2375 * XmlElement.cs : Name character check should be done in .ctor().
2376 * XmlNamespaceManager.cs : Removed dangerous internal .ctor()
2378 2004-05-10 Atsushi Enomoto <atsushi@ximian.com>
2380 * XmlNodeReader.cs : renamed ownerElement to ownerLinkedNode (text
2381 node can be it as well) and added check for Attributes existence
2382 in GetAttribute() and MoveTo*Attribute().
2384 2004-05-10 Atsushi Enomoto <atsushi@ximian.com>
2386 * XmlTextWriter.cs : comment not in the content state is indented.
2387 This fixes bug #58247.
2389 2004-05-07 Lluis Sanchez Gual <lluis@ximian.com>
2391 * XmlTextWriter.cs: In WriteStartAttribute, when the prefix is xmlns and
2392 the name is empty, convert it to a xmlns attribute.
2394 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
2396 * XmlTextReader.cs : don't use NET_1_0.
2398 2004-04-24 Atsushi Enomoto <atsushi@ximian.com>
2400 * XmlComment.cs. XmlProcessingInstruction.cs : missing commits.
2402 2004-04-24 Atsushi Enomoto <atsushi@ximian.com>
2404 W3C DOM compliant read-only check support (buggy part in MS.NET).
2407 XmlCharacterData.cs,
2411 XmlSignificantWhitespace.cs,
2413 : CloneNode() - set read-only when copied node is read-only.
2414 Check IsReadOnly on attempt to modify value.
2416 XmlEntityReference.cs : Set descendant nodes read-only.
2417 * XmlAttributeCollection.cs,
2419 : Fixed incompatible exception type.
2420 * XmlEntityReference.cs : CloneNode() should not pass an empty string
2422 * XmlEntityReference.cs,
2423 XmlProcessingInstruction.cs : Check XML name validity.
2424 * XmlText.cs : CloneNode() does not have to check children.
2426 2004-04-24 Atsushi Enomoto <atsushi@ximian.com>
2428 * XmlDeclaration.cs : More strict check on InnerText and Value.
2430 2004-04-24 Atsushi Enomoto <atsushi@ximian.com>
2432 * DTDReader.cs, XmlConvert.cs, XmlDeclaration.cs, XmlImplementation.cs,
2433 XmlNode.cs : Culture independency fix.
2435 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
2437 * XmlEntityReference.cs : Added XPathNodeType (just for workaround).
2438 This should really fix bug #57248.
2440 2004-04-20 Atsushi Enomoto <atsushi@ximian.com>
2442 * XmlDocumentNavigator.cs : MoveToFirstChild() failed when there is
2443 only an EntityReference (not navigatable) child. Bug #57248 fixed.
2444 * XmlWriter.cs : Modified WriteNode() to use MoveToAttribute(int)
2445 instead of WriteAttributes() only for MS.NET behavior compatibility.
2446 This change makes SgmlReader usable (due to SgmlReader bug).
2448 2004-04-10 Atsushi Enomoto <atsushi@ximian.com>
2450 * XmlParserContext.cs : Fixed .ctor() not to reference null namespace
2451 manager. This fixes bug #56770.
2453 2004-04-06 Atsushi Enomoto <atsushi@ximian.com>
2455 * DTDReader.cs : In ProcessDTDSubset(), 1)error message was
2456 generated with incorrect stream character, 2)entity nest check
2457 should not depend on line info which might not be supplied, 3)
2458 empty PE should be skipped.
2459 * XmlParserInput.cs : use index for StringBuilder instead of calling
2460 Remove() many times. This highly optimizes DTD parser.
2462 * XmlAttribute.cs : removed commented code.
2463 * XmlEntity.cs : removed unused field.
2465 2004-04-05 Atsushi Enomoto <atsushi@ximian.com>
2467 * DTDObjectModel.cs : (DTDAttributeDefinition) create ArrayList
2468 only when they are required.
2470 XmlParserInput.cs : raw tag string now don't have to be kept, while
2471 it cost so much. Removed unused code. 20% to 30% memory got saved.
2472 * XmlNotation.cs : removed unused code.
2473 * XmlTextReader.cs : Removed unused code. ReadString() now uses
2474 XmlReader's internal method. Fixed BaseURI to be conformant with
2475 W3C XML InfoSet and (subsequently) xml:base specification (i.e.
2476 reflect xml:base attribute correctly).
2478 2004-04-05 Atsushi Enomoto <atsushi@ximian.com>
2480 * XmlAttribute.cs : get_Value should return all children's value.
2481 * XmlCharacterData.cs : DOM's substring does not raise an error when
2482 startIndex + count exceeds the length of Data.
2483 * XmlNamedNodeMap.cs : SetNamedItem() returns the new child when it
2484 does not replace another named item.
2485 * XmlElement.cs : with related to the XmlNamedNodeMap change,
2486 SetAttributeNode() is required to fix as to return null when it does
2487 not replace existing attribute.
2489 2004-03-31 Atsushi Enomoto <atsushi@ximian.com>
2491 * XmlDocumentNavigator.cs : When this instance is created from xmlns
2492 attributes, it should be Namespace node.
2494 2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
2496 * XmlReader.cs : ReadInnerXml() should progress reader when it is on
2497 an empty element. This fixes bug #56064.
2499 2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
2501 * DTDReader.cs : In some places sequential parameter entity was
2502 incorrectly skipped (and caused invalid result).
2504 2004-03-24 Atsushi Enomoto <atsushi@ximian.com>
2506 * XmlDocumentNavigator.cs : MoveTo*Namespace() should not iterate
2507 namespace nodes which has the same name as already-iterated nodes.
2508 Also xmlns='' should not be selected, and once it appeared, default
2509 namespace should not be selected anymore.
2511 2004-03-24 Atsushi Enomoto <atsushi@ximian.com>
2513 * XmlCharacterData.cs : ReplaceData() should reject negative integer
2514 value for count argument.
2515 * XmlAttribute.cs, XmlAttributeCollection.cs, XmlNamedNodeMap.cs :
2516 On RemoveNamedItem(), default attribute value should be restored.
2518 2004-03-24 Atsushi Enomoto <atsushi@ximian.com>
2520 * XmlAttributeCollection.cs : Remove() should throw an exception when
2521 target attribute is not included in the collection.
2522 * XmlDocument.cs : ImportNode() should reject null node.
2523 * XmlNode.cs : Fixed type of exception for invalid insertion.
2524 It should throw an exception not only when the owner document of the
2525 reference element is different but its parent element is different.
2526 Some error message improvement.
2528 2004-03-21 Atsushi Enomoto <atsushi@ximian.com>
2530 * XmlReader.cs : ReadInnerXml() incorrectly tried to get output xml.
2531 This fixes bug #55856.
2533 2004-03-20 Atsushi Enomoto <atsushi@ximian.com>
2535 * XmlTextWriter.cs : Fixed indentation on CDATA. This fixes bug #55828.
2537 2004-03-19 Atsushi Enomoto <atsushi@ximian.com>
2539 * XmlImplementation.cs : HasFeature() returns true when strVersion
2542 2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
2544 * XmlWhitespace.cs : Fixed WriteTo(). Whitespace nodes should be
2545 written regardless of document's PreserveWhitespace.
2547 2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
2549 * XmlDocumentNavigator.cs : Value should return concatenated string for
2550 sequential text nodes. Considered detached nodes, the result of
2551 MoveToParent() should be checked.
2553 2004-03-15 Atsushi Enomoto <atsushi@ximian.com>
2555 * XmlReader.cs : ReadInnerXml()/ReadOuterXml() should not bork when
2556 the reader is on EndElement. Patch by Jean-Marc Andre.
2558 2004-03-14 Atsushi Enomoto <atsushi@ximian.com>
2560 * XmlDocumentNavigator.cs : as for namespace node "xml", MS.NET seems
2561 to return attribute node. It affects on IHasXmlNode.GetNode() and
2562 SelectNodes()/SelectSingleNode().
2564 2004-03-04 Atsushi Enomoto <atsushi@ximian.com>
2566 * XmlImplementation.cs : fixity fix (I need NUnit runnable ;)
2568 2004-03-04 Atsushi Enomoto <atsushi@ximian.com>
2570 * XmlImplementation.cs : forgot to commit (renaming internal case)
2572 2004-03-04 Atsushi Enomoto <atsushi@ximian.com>
2574 * XmlDocument.cs : Implementation should not return null.
2576 2004-02-25 Atsushi Enomoto <atsushi@ximian.com>
2578 * XmlTextWriterOpenElement.cs : Reset() should reset _all_ fields.
2579 This fixes indentation bug.
2581 2004-02-19 Atsushi Enomoto <atsushi@ximian.com>
2583 * XmlTextWriter.cs : Fixed bugzilla #54554 (incorrent end tag output).
2585 2004-02-16 Atsushi Enomoto <atsushi@ximian.com>
2590 DTDValidatingReader.cs : made classes internal.
2591 * XmlDocument.cs : removed extra FIXMEs.
2592 * XmlNamedNodeMap.cs,
2595 Fixed incorrect method signature.
2597 2004-02-13 Atsushi Enomoto <atsushi@ximian.com>
2599 * DTDObjectModel.cs, DTDReader.cs, DTDValidatingReader.cs :
2600 say goodbye to sys.collections.specialized.
2601 (replaced the classes in that namespace with ArrayList or Hashtable)
2603 2004-02-12 Atsushi Enomoto <atsushi@ximian.com>
2605 * XmlReader.cs : For performance reason, XmlTextReader now uses
2606 base ReadInnerXml() and don't store currentTag array unnecessarily.
2607 * XmlTextReader.cs :
2608 - Fixed GetAttribute(int) that might cause index out of range.
2609 - Now it consumes the text reader by reading blocks, as MS.NET does.
2610 Modified GetRemainder(), PeekChar(), ReadChar() and so on.
2611 - Now it doesn't create Value string for linked nodes, unless it
2612 is actually required.
2613 - some code refactory.
2615 2004-02-11 Atsushi Enomoto <atsushi@ximian.com>
2617 * XmlTextWriter.cs, XmlTextWriterOpenElement.cs :
2618 Reduced creation of openlElement. It also saves much memory.
2620 2004-02-10 Atsushi Enomoto <atsushi@ximian.com>
2622 * XmlNode.cs : ChildNodes should not create XmlNodeListChildren
2623 every time. This fix heavily improved performance.
2625 2004-02-10 Atsushi Enomoto <atsushi@ximian.com>
2627 * XmlAttributeCollection.cs : set owner element as parent on removal
2628 events (though they are not "parent" in infoset or dom context)
2629 * XmlElement.cs : Don't remove attributes twice (raises extraneous
2631 * XmlNamespaceManager.cs, XmlNodeChangedEventArgs :
2632 Added NET_2_0 members.
2634 2004-02-08 Atsushi Enomoto <atsushi@ximian.com>
2636 * DTDObjectModel.cs : Limit external entity reference from DTD by 256.
2637 foreach elimination. DTDParameterEntityDeclaration should set Root.
2638 Compute attribute default value without raising an error.
2639 (for non-error reporting reader)
2640 * DTDReader.cs : Fixes for the above fixes. foreach elimination.
2641 * DTDValidatingReader.cs, NameTable.cs, XmlAttribute.cs,
2642 XmlAttributeCollection.cs, XmlChar.cs, XmlConstruct.cs,
2643 XmlDocumentFragment.cs, XmlDocumentNavigator.cs, XmlElement.cs,
2644 XmlEntityReference.cs, XmlNamedNodeMap.cs, XmlNode.cs,
2645 XmlText.cs : foreach elimination.
2646 * XmlDocument.cs, XmlSignificantWhitespace.cs, XmlWhitespace.cs :
2647 foreach elimination. Removed unnecesary methods.
2648 * XmlTextReader.cs : code format refactory. Optimized some methods.
2649 foreach elimination. Replaced Stack with string array.
2650 Replaced StringBuilder with char array. Removed unnecessary methods.
2652 2004-02-06 Atsushi Enomoto <atsushi@ximian.com>
2654 * DTDValidatingReader.cs : Fixed MoveToElement() that causes incorrect
2655 IsDefault and Depth.
2656 * XmlAttribute.cs : Fixed .ctor(). Omit more namespace check when
2657 checkNamespace = false.
2658 * XmlNamedNodeMap.cs : Fixed SetNamedItem() to raise events.
2659 * XmlAttributeCollection.cs : Reimplemented InsertAfter to use
2660 InsertBefore() (similar to XmlNode).
2661 * XmlDocument.cs : Added internal .ctor(). Reimplemented ReadNode()
2662 as recursive, to make event order compatible.
2663 * XmlDocumentType.cs : Use SetNamedItem() (to raise events).
2664 * XmlElement.cs : Some refactory. Fixed SetAttributeNode() with
2665 string name to block prefixed name.
2666 * XmlEntity.cs : Don't raise events on setting contents.
2667 * XmlNode.cs : Some refactory. Added raiseEvent argument to internal
2669 * XmlEntityReference.cs : related fix for XmlNode change.
2670 * XmlTextReader.cs : When the reader is on "attributes" of xmldecl or
2671 doctype, Depth 1 lower than usual attribute. Split large function.
2673 2004-02-05 Atsushi Enomoto <atsushi@ximian.com>
2675 * XmlConvert.cs : ToSingle() and ToDouble() should be culture
2676 independent. Patch by Rodolfo Campero.
2678 2004-02-04 Atsushi Enomoto <atsushi@ximian.com>
2680 * DTDObjectModel.cs : Never expand entity on ScanEntityValue().
2681 * DTDValidatingReader.cs : XmlDeclaration node requires attributes
2685 XmlDocumentFragment.cs,
2691 Added namespace checking flag (required for such xml readers
2692 that holds Namespaces=false). Now only XmlNode holds LastLinkedNode.
2693 * XmlDocumentType.cs,
2695 XmlEntityReference.cs : The children of Entity and EntityReference
2696 became correct. They now holds parsed nodes, but it is only when
2697 they are appended to the document.
2698 * XmlNode.cs : Modified insertBeforeIntern() to InsertBefore() with
2699 boolean checkNodeType argument. This method also tries to create
2700 Entity's and EntityReference's child nodes. Also added internal
2701 RemoveChild() with boolean checkNodeType argument.
2702 * XmlNodeReader.cs : Quick hack for ResolveEntity() that became
2703 broken with these changes. use InnerXml as input to entityReader.
2704 * XmlTextReader.cs : XmlDeclaration's value LocalName should be the
2705 same as Name. The names of DTD's pseudo attributes should be empty.
2706 Fixed DTD node's Depth (was regarded as attribute value's depth).
2708 2004-02-03 Atsushi Enomoto <atsushi@ximian.com>
2710 * XmlTextReader.cs, DTDReader.cs : fixity fix ;)
2712 2004-02-03 Atsushi Enomoto <atsushi@ximian.com>
2714 * ChangeLog : Fixed incorrect description that should be written for
2715 DTDValidatingReader.cs but written for DTDReader.cs.
2716 * DTDValidatingReader.cs : Fixes described in the last DTDReader fix.
2719 XmlConstructs.cs : Made XmlChar and XmlConstructs equivalent and
2720 replaced XmlChar with XmlConstruts, renaming "XmlChar" to
2721 "XmlCharCompact" and "XmlConstructs" to "XmlChar".
2722 (XmlChar will be used for compact framework.)
2723 * DTDReader.cs, XmlParserInput.cs, XmlTextReader.cs :
2724 XmlChar related changes. Support for surrogate pair.
2725 It cannot use TextReader's peek anymore (for surrogate pair).
2726 Character range check for PI value, attribute value, text
2727 * XmlTextWriter.cs : Change openElements from Stack to ArrayList.
2728 (It calls ToArray() every time.)
2730 2004-02-03 Alon Gazit <along@mainsoft.com>
2731 * XmlNamedNodeMap - now Item(int index) returns null for nodeList.Count
2732 instead of throwing ArgumentOutOfRangeException.
2734 2004-02-03 Atsushi Enomoto <atsushi@ximian.com>
2736 * XmlChar.cs : now GetPredefinedEntity() returns int and -1 for not
2737 predefined entity names.
2738 * DTDObjectModel.cs : DTDxxxCollection now derives from
2739 - DTDCollectionBase that derives from DictionaryBase.
2740 - "Literal value" and "replacement text" are handled differently.
2741 - Throw XmlException when external entity could not be resolved.
2742 - Return ReplacementText for EntityValue.
2744 - Support IXmlLineInfo.
2745 - Fixed IGNORE section handling to be more strict.
2746 - Compute replacement text on reading entity declarations.
2747 - Don't expand char references before getting literal entity value.
2748 - Check not allowed parameter entity inside internal subset.
2749 * DTDValidatingReader.cs :
2750 - Added ValidateWhitespaceNode() to check whitespace's Validity
2751 Constraints on external elementdecl and standalone document.
2752 - When invalid data against its datatype was found, don't throw
2754 - Other code refactory.
2755 * XmlTextReader.cs :
2756 - Check for invalid Text pattern "]]>" should not depend on line
2757 info since it might not be supported.
2758 - Check referenced character's validity (WFC).
2760 2004-01-28 Atsushi Enomoto <atsushi@ximian.com>
2762 * DTDReader.cs : Added Normalization. Parameter Entity declaration
2763 should block invalid characters. (GEDecl should be fixed as well.)
2764 * XmlConstruct.cs : Should allow surrogate chars.
2765 * XmlNotation.cs : When prefix is empty (i.e. almost all cases)
2766 Name should not add ':'. Patch by Boris Kirzner.
2767 * XmlTextReader.cs : Modified private ReadCharacterReference() to
2768 return the character (or -1 when should not return anything).
2769 Now Text character reference are checked their character range.
2770 Set DTDReader.Normalization as well as the reader itself.
2772 2004-01-28 Atsushi Enomoto <atsushi@ximian.com>
2774 * DTDReader.cs : Make sure that parameter entities are not allowed
2775 inside internal subset unless it appears as a markupdecl.
2776 * DTDValidatingReader.cs : ENTITY or ENTITIES type attributes must have
2777 a value that indicates *unparsed* entity (i.e. NDATA required).
2779 2004-01-26 Atsushi Enomoto <atsushi@ximian.com>
2781 * XmlTextWriter.cs : quick performance fix.
2782 Reduced memoty allocation (e.g. 12% when writing XMLSchema.xsd.)
2784 2004-01-26 Atsushi Enomoto <atsushi@ximian.com>
2786 * DTDObjectModel.cs :
2787 - DTDNode's BaseURI should not always refer to that of DTD's.
2788 - Use absolute URI's .ToString() instead of AbsolutePath.
2789 * DTDReader.cs : Throw XmlException for illegal character references.
2790 * DTDValidatingReader.cs :
2791 - Share XmlResolver when the actual reader is XmlTextReader.
2792 (MS's XmlValidatingReader and XmlTextReader do this.)
2793 - Added its own EntityHandling property.
2794 * XmlValidatingReader.cs : Share XmlResolver with XmlTextReader.
2796 XmlTextReader.cs : Added new NET_2_0 members.
2797 * XmlElement.cs : Removed extra lines (caused by XmlTextWriter bugs).
2798 * XmlEntityReference.cs : Forgot to add, the real fix by Boris.
2800 2004-01-23 Atsushi Enomoto <atsushi@ximian.com>
2802 * XmlWriter.cs, XmlTextWriter.cs :
2803 Several namespace related fixes.
2804 - Current element's NamespaceURI should be immediately available
2805 after the call of WriteStartElement() for LookupPrefix(), so
2806 AddMissingElementXmlns() only affects on output. This is
2807 now identified by shouldCheckElementXmlns field.
2808 - Attribute's overraped xmlns should be ignored for LookupPrefix(),
2809 Especially, when the owner element is written with the default
2810 namespace. HOWEVER, the attribute should be *written*. This is
2811 identified by shouldAddSavedNsToManager field.
2812 - In AddMissingElementXmlns(), non-empty prefix namespace was not
2813 checked user-written attributes.
2814 - XmlWriter.WriteAttributeString() never supplies namespace URI for
2815 xmlns attributes for other versions than NET_1_0. Instead, added
2816 ns check logic in WriteStartAttribute() only with NET_1_0.
2817 - WriteEndAttribute() should reject zero-length namespace for
2818 non-default xmlns declarations.
2819 - LookupPrefix() should reject argument null and empty.
2821 (added 2004-01-24 : forgot to mention more)
2822 - WriteAttributeString() w/o namespace should supply null, not ""
2823 - Added .NET 1.2 members.
2824 - Regard any name with "xml" prefix as in "namespace for XML".
2826 2004-01-22 Atsushi Enomoto <atsushi@ximian.com>
2828 * XmlElement.cs : Reverted previous fix since it broke monodoc web
2831 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
2833 * XmlNode.cs : When adding a node to child list, it should reject its
2834 ancestors. Patch by Boris Kirzner.
2835 * XmlNodeReader.cs : Related fix to the fix above. It should not move
2836 to children of XmlEntityReference nodes.
2837 * XmlTextWriter.cs : FixedWriteStartElement() not to write default
2838 namespace when ns is null (while ns is "", it writes default ns).
2839 * XmlElement.cs : Fixed WriteTo() to call WriteStartElement(localName)
2840 when NamespaceURI is an empty string.
2842 2004-01-14 Atsushi Enomoto <atsushi@ximian.com>
2844 * XmlAttribute.cs : when set a value, it is no longer default
2845 (even if the value is the same as default value).
2846 * XmlAttributeCollection.cs : Remove() should recover default attribute
2847 value to default, not specified value.
2848 Patch by Boris Kirzner (modified a bit)
2849 * XmlDocument.cs : Reference to undeclared entity is not allowed in
2850 Load(), while allowed in ReadNode(). Added such distinguishing logic.
2852 2004-01-13 Atsushi Enomoto <atsushi@ximian.com>
2854 * XmlValidatingReader.cs : Throw exception only in case of errors.
2855 Added NET_2_0 Evidences property.
2857 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
2859 * XmlElement.cs : Fixed .ctor(). Default attribute was not treated as
2860 Specified = false. Patch by Boris Kirzner.
2862 2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
2864 * XmlException.cs : Fixed incorrect .ctor signature.
2865 * XmlParserInput.cs : Fixed in sync with the above fix.
2867 2004-01-08 Atsushi Enomoto <atsushi@ximian.com>
2869 * XmlAttribute.cs, XmlElement.cs :
2870 Fixed incorrect protected .ctor modification.
2872 2004-01-08 Nick Drochak <ndrochak@ieee.org>
2874 * DTDValidatingReader.cs: Removed unused variable
2876 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
2878 * XmlNamespaceManager.cs : Implemented .NET 1.2 methods that take
2879 atomizedNames argument.
2880 * XmlTextReader.cs : Use new namespace manager methods.
2881 Reduced NameTable.Add().
2882 * DTDObjectModel.cs : fixed incorrectly commented-out line.
2884 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
2886 * XmlAttribute.cs, XmlDocument.cs, XmlElement.cs :
2887 set_Prefix should atomize to name table.
2888 Avoided extraneous atomization attempt a bit.
2890 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
2892 * DTDObjectModel.cs, DTDReader.cs, XmlSecureResolver.cs :
2893 avoiding obvious exception.
2894 * DTDReader.cs, XmlTextReader.cs : Some optimization.
2895 Avoided extraneous PeekChar() and reduced name string creation.
2897 2004-01-05 David Sheldon <dave-mono@earth.li>
2899 * XmlTextReader.cs: Fixed constructors taking string url to not
2900 loose the absolute part of the path.
2902 2004-01-04 Atsushi Enomoto <atsushi@ximian.com>
2904 * XmlDocument.cs : Fixed Load() to set XmlResolver correctly. Patch
2905 by Benjamin Jemlich.
2906 Assure closing XmlTextReader which are internally used.
2908 2004-01-03 Atsushi Enomoto <atsushi@ximian.com>
2910 * XmlTextWriter.cs : trivial character-case fix
2911 * XmlUrlResolver.cs : It downloads network stream content at
2912 GetEntity() call. You can try like below:
2913 for (int i=0;i<100;i++) u.GetEntity(url, null, typeof(Stream));
2915 2003-12-23 Atsushi Enomoto <atsushi@ximian.com>
2917 * XmlNamedNodeMap.cs : Fixed internal SetNamedItem(node, pos) to set
2918 replacing node correctly. This fixes bug #52453.
2920 2003-12-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2922 * XmlDocument.cs, XmlElement.cs, XmlNode.cs :
2923 GetElementsByTagName() - Fixed bugzilla #52419, refactored,
2924 and moved private implementation methods to XmlNode class.
2926 2003-12-20 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2928 * XmlTextWriter.cs :
2929 Element's namespace should be escaped as usual attribute.
2931 2003-12-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2933 * XmlTextWriter.cs : Indentation between xmldecl and doctype.
2934 * DTDValidatingReader.cs : AttList null reference fix.
2936 2003-12-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2938 * DTDValidatingReader.cs : Validity check and entity expansion were
2940 * DTDObjectModel.cs, DTDReader.cs, XmlInputStream.cs :
2941 Going to remove XmlInputStream. XmlStreamReader might be replacable.
2943 2003-12-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2945 * XPathDocument2ChangedEventHandler.cs : fixed incorrect argument.
2946 * Moved UpdateEventHandler.cs and XmlUpdateEventArgs.cs to sqlxml.
2948 2003-12-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2950 * XmlTextReader.cs : BaseURI was broken. This fixes bug #52098.
2952 2003-12-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2954 * XmlUrlResolver.cs : GetEntity() does not return direct network stream
2955 that may hold up connection. Now it reads up all the content stream.
2957 2003-12-12 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2959 * XmlAttributeCollection.cs,
2960 XmlElement.cs : Fixed bug #51415.
2961 When adding attribute to an element using Attributes, it failed.
2963 2003-12-11 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2965 * XmlDocument.cs : Fixed ReadNode() to call AppendChild() to document
2966 after setting all attribute nodes. Modified ReadNode() to handle
2967 Depth comparison and error handling (!= to <). It allows MS's
2968 SgmlReader bug that returns incorrect Depth.
2970 2003-12-11 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2972 * XmlDocumentNavigator.cs : Fixed MoveToNextAttribute (and
2973 MoveToNextNamespace) that might result in NullReferenceException.
2974 patch by Sanjay Gupta. This fixed bug #51941 (and possibly #51415)
2976 2003-12-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2978 * XmlUrlResolver.cs : Update with recent System.Uri change. This fixes
2979 bugzilla #51808 (patch by Jeroen Zwartepoorte, a bit modified).
2981 2003-12-04 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2983 * XmlTextWriter.cs : WriteComment() should block "--", not full "-->".
2984 * XmlDocumentNavigator.cs : Added null check in MoveToNextAttribute().
2985 This may fix bug #51415.
2987 2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2989 * XmlAttribute.cs : set_Prefix checks value when existing is "xmlns".
2991 2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2993 * XmlWriter.cs : patch by Gonzalo (I modified a bit). WriteNode()
2994 shouldn't expect non-empty element content. This will fix bug #48287.
2996 2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2998 * XmlTextWriter.cs : When element's namespace should be overwritten by
2999 one of its attribute, if exist as such. This fixes bug #51305.
3001 2003-11-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3003 * DTDValidatingReader.cs : Fixed ReadContent() which may result in
3004 invalid additional Text node.
3006 2003-11-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3008 * XmlTextWriter.cs :
3009 On WriteProcessingInstruction(), ArgumentException() is expected ;-)
3011 2003-11-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3013 * XmlTextWriter.cs :
3014 WriteProcessingInstruction() should check name validity.
3015 AddMissingElementXmlns() should allow namespace emission even if it
3016 is identical to existing one.
3018 2003-11-22 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3020 * XmlTextReader.cs : Fixed ReadInnerXml(). This fixes bug #51267.
3022 2003-11-20 Eran Domb <erand@mainsoft.com>
3024 * XmlTextWriter.cs (WriteStartAttribute) : Check if the ket already exists in the newAttributeNamespaces table
3025 before trying to add it to the table.
3027 2003-11-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3029 * DTDValidatingReader.cs : Replaced entity should not treat whitespaces
3031 * XmlNode.cs : Removed extraneous MonoTODOs.
3033 2003-11-17 Jackson Harper <jackson@ximian.com>
3035 * XPathEditor.cs: .net 1.2 only
3037 2003-11-17 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3039 * AsyncXmlTextWriter.cs, IXPathChangeNavigator.cs, IXPathEditor.cs,
3040 IXPathNavigator.cs, IXmlDataEvidence.cs, IXmlNamespaceResolver.cs,
3041 UpdateEventHandler.cs, XPathChangeNavigator.cs, XPathDocument2.cs,
3042 XPathDocument2ChangedEventAction.cs,
3043 XPathDocument2ChangedEventHandler.cs, XPathEditor.cs,
3044 XPathNavigator2.cs, XmlChangeFilters.cs, XmlInfoItemType.cs,
3045 XmlNamespaceScope.cs, XmlNodeChangeType.cs, XmlQualifiedNameTable,cs,
3046 XmlQueryDialect.cs, XmlUpdateEventArgs.cs
3047 : Added .NET 1.2 classes (for convenience of ObjectSpaces stubbing).
3049 2003-11-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3051 * XmlDocumentNavigator.cs : Fixed MoveToFirstChild() and MoveToNext()
3052 to skip XmlEntityReference.
3053 * XmlTextWriter.cs : Fixed AddMissingElements() and
3054 WriteStartAttribute() not to emit extraneous xmlns.
3056 2003-11-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3058 * XmlTextWriter.cs : Skip multiple xmlns when element and any of
3059 attributes have the same xmlns values.
3060 WriteEndElement() allows open attribute (calles WriteEndAttribute()).
3061 Indentation should be inserted between ">" and "</xxx>" .
3063 2003-11-02 Pedro MartÃnez Juliá <yoros@wanadoo.es>
3065 * XmlConvert.cs: Only parse INF/-INF/NaN. Other Infinty or NAN
3066 numbers are parsed with the respective ::Parse method.
3068 2003-11-01 Pedro MartÃnez Juliá <yoros@wanadoo.es>
3070 * XmlConvert.cs: Revert my last change. INF and -INF must be
3071 processed here because Double::Parse and Single::Parse doesn't
3072 understand anything of parsing [-]INF.
3074 2003-11-01 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3076 * XmlDocument.cs : Save(Stream) should not close the stream.
3078 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3080 * DTDReader.cs, DTDValidatingReader.cs, XmlInputStream.cs,
3081 XmlTextReader.cs : More cleanup.
3082 * XmlDocument.cs : Removed CheckName(). Code cleanup.
3083 * XmlElement.cs : .ctor() now adds default attributes (if required).
3084 * XmlAttribute.cs, XmlElement.cs, XmlEntity.cs, XmlEntityReference.cs,
3085 XmlNotation.cs : Now uses OwnerDocument's NameTable.
3087 2003-10-25 Pedro MartÃnez Juliá <yoros@wanadoo.es>
3089 * XmlConvert.cs: Support for the sign in double and single. The
3090 processing of the infinites and nan numbers are more complex than
3091 comparing to "INF" so we must let Double::Parse and Single::Parse
3094 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3096 * DTDValidatingReader.cs : Now it handles whitespace entity as
3098 * XmlConvert.cs : As to NIST testcases, exponential support on single
3099 and double floating point numbers.
3100 * XmlValidatingReader.cs : If it IsDefault, then line number and line
3103 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3108 XmlWriter.cs : Fixed incorrect access modifier.
3109 * XmlTextWriter.cs : Imported state variable from XmlWriter.
3110 * DTDValidatingReader.cs : Removed extraneous MonoTODO.
3111 * XmlConvert.cs : Implemented ToTimeSpan().
3112 Modified ToDateTime() to reuse the same array.
3114 2003-10-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3116 * XmlAttributeCollection.cs : Fixed synchronization stuff.
3117 * XmlConvert.cs : Added two FromBinHexString() methods.
3118 * XmlTextReader.cs : Modified to use one of the above method.
3119 * XmlValidatingReader.cs : XsdValidatingReader.XmlResolver will be
3120 disabled (in the next commit), so resolver won' be set to it.
3121 Attempt to validate against XDR now throws NotSupportedException.
3123 2003-10-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3125 * XmlChar.cs : added WhitespaceChars, used in common.
3130 XmlTextWriter.cs : String.Trim()
3131 * XmlConvert.cs : shifted XmlConstructs to XmlChar.
3132 * XmlTextReader.cs : Implemented Normalization.
3134 2003-10-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3136 * XmlNode.cs : GetPrefixOfNamespace() also contained a bug similar to
3137 GetNamespaceOfPrefix() fixed at 2003-10-13.
3138 * XmlTextReader.cs : ReadBase64() should keep incomplete base64 block
3139 which remained by previous call of this method.
3140 * XmlUrlResolver.cs : Added assertion for file Uri path's absoluteness.
3141 * XmlValidatingReader.cs : Notice about intention of XDR won't be
3142 supported (at least in Mono 1.0).
3144 2003-10-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3146 * XmlDocument.cs : CloneNode() does not copy PreserveWhitespace.
3147 * XmlWriter.cs : Calling WriteNode() with XmlReader whose state is
3148 XmlDeclaration now calls WriteProcessingInstruction(). This fixes
3149 testcase XmlWriterTests.WriteNodeFullDocument().
3150 * XmlTextWriter.cs : Added LAMESPEC comments related to above.
3152 2003-10-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3154 * XmlDocument.cs : Fixed bugzilla #49607. Save() outputs XML
3155 declaration even though there is no XmlDeclaration child.
3156 * XmlTextReader.cs : Fixed Init() so that ResetState() should work.
3158 2003-10-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3160 * XmlTextWriter.cs : Implemented WriteSurrogateCharEntity().
3161 Reverted my recent extraneous check in WriteStartAttribute().
3163 2003-10-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3165 * XmlNode.cs : GetNamespaceOfPrefix() should check Attributes existence.
3166 And it should throw ArgumentNullException.
3168 2003-10-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3170 * XmlAttribute.cs : Fixed InnerText that did not removed its content
3171 if there is two or more children.
3172 * XmlNode.cs : XmlNode.cs : Fixed bugzilla #49580 (1)to return "",
3173 (2)not to compare NodeType for detached nodes, (3)optimization to
3174 compare element's prefix.
3175 * XmlSecureResolver.cs : Removed extraneous members.
3177 2003-10-09 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3179 * Added DTDReader.cs. It is almost importation of XmlTextReader.
3180 * DTDObjectModel.cs :
3181 - More .NET-ism. Properties took place of fields.
3182 - Imported PE set from XmlTextReader. Added location info.
3183 - Added DTDEntityBase common to PE and GE.
3184 - More correct text declaration handling with new XmlTextReader.
3185 * DTDValidatingReader.cs :
3186 - Now uses entity resolving XmlTextReader to validate attributes
3187 correctly. Implemented standalone
3188 - Standalone and default related validity constraints check.
3189 * XmlImplementation.cs: Implemented HasFeature().
3190 * XmlNode.cs : Implemented Supports().
3191 * XmlNodeReader.cs : Modified to use XmlTextReader.SkipTextDeclaration()
3192 * XmlParserInput.cs : Removed extraneous members.
3193 * XmlTextReader.cs :
3194 - All DTD related functionality now goes to DTDReader.cs
3195 - It became old simple TextReader input style.
3196 - Implemented GetRemainder().
3197 - Implemented ReadBase64(), ReadBinHex() and ReadChars(), using
3198 additional new private method ReadUntilEndTag().
3199 - Removed incomplete MaybeTextDecl and added SkipTextDeclaration().
3200 ReadXmlDeclaration() now became simple.
3201 - More strict entity reference check at SetEntityReferenceProperty()
3202 - Removed extraneous members.
3203 * XmlWriter.cs : WriteNode(XmlNodeType.None) does not raise error.
3205 2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3207 * XmlTextReader.cs: when we get an unexpected EOF in ReadContent, set
3208 the state before throwing the exception if depth > 0.
3210 2003-10-04 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3212 * XmlAttribute.cs : Removed extraneous MonoTODO.
3213 * XmlTextWriter.cs : Implemented WriteBinHex() and WriteChars().
3214 WriteStartElement() and WriteStartAttribute() should ignore Prefix
3215 if namespace uri is not specified.
3217 2003-10-04 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3219 * XmlDocumentFragment.cs,
3221 XmlEntityReference.cs : Removed extraneous MonoTODO.
3222 * XmlNode.cs : Implemented Normalize().
3223 * XmlNodeReader.cs :
3224 - AttributeCount and HasAttributes should return its owner element's
3225 value, to be consistent with XmlTextReader.
3226 - Fixed Depth to reflect correct attribute/attribute-value iteration.
3227 - simplified ownerElement and HasValue.
3228 - Prefix won't return null.
3229 - MoveToElement() should also work against attribute value nodes.
3230 * XmlTextReader.cs : MoveToElement() should return false if it is
3231 positioned at element itself.
3233 2003-10-04 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3235 * XmlTextReader.cs : Improved SignificantWhitespace handling.
3237 2003-10-01 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3239 * XmlSecureResolver.cs : Implemented basic feature.
3241 2003-10-01 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3243 * XmlUrlResolver.cs : Should work with null type argument.
3245 2003-10-01 Lluis Sanchez Gual <lluis@ximian.com>
3247 * XmlTextWriter.cs : An attribute can require a prefix for the default
3248 namespace, so we need to store the prefix as well as the namespace.
3250 2003-09-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3252 * DTDValidatingReader.cs : Simplified to use
3253 XmlSchemaUtil.GetParserContext().
3254 * XmlValidatingReader.cs : ValidationType.Auto should always use
3255 XsdValidatingReader because xsi:schemaLocation might be used.
3257 2003-09-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3259 * XmlTextReader.cs : Attribute value token properties were incorrectly
3260 set by the linked node.
3262 2003-09-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3264 * XmlDocumentNavigator.cs : Fix for bugzilla #48931. MoveToRoot() now
3265 considers such case that target node was not adapted to the document.
3266 * XmlNamespaceManager.cs : GetEnumerator() missed the last pair.
3267 * XmlTextWriter.cs : use 'as' instead of 'try..catch'.
3269 2003-09-25 Ben Maurer <bmaurer@users.sourceforge.net>
3271 * XmlNode.cs (XPathNodeType): Give more useful debugging message.
3272 * XmlDocumentNavigator.cs (MoveToPrevious): Needs same checks as
3275 2003-09-23 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3277 * XmlNamespaceManager.cs: Rewrote PopScope() because its namespace
3278 recovery was still not enough. Fixed GrowScopes() (incorrect index).
3280 2003-09-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3282 * XmlTextReader.cs :
3283 - Fix for bugzilla #48337 (containing Ben's advice on that).
3284 - Added internal XmlTokenInfo classes. Nodes are now handled as token
3285 objects (linked node, attributes and attribute values). Most of the
3286 node state properties and iterating methods are changed to refer to
3287 the token classes (except for value builder availability). Removed
3288 fields which are never used. CompileDTDSubset() is changed in
3289 reflection to nodeType field removal.
3290 - Fixed Depth that should vary in moving between attributes and/or
3291 reading attribute values.
3292 - LineNumber and LinePosition now returns more correct location.
3293 - Fixed Value that should still return true if its value is an empty
3294 attribute value string.
3295 - EntityValue is checked WFC constraints even thoug it is not used.
3296 - All .ctor() now initializes ReadState as Initial.
3297 - Read() should be available for attribute value constructor.
3298 * XmlAttribute.cs : set_InnerXml() now calls reader's Read().
3300 2003-09-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3302 * XmlNamespaceManager.cs: PopScope() must retain those namespaces which
3303 are added in the scope before PushScope() was called.
3305 2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
3307 * XmlNamespaceManager.cs: Rewrote. Uses arrays, rather than linked
3308 lists and removes uses of Hashtable. Results in huge speed gains.
3310 2003-09-19 Ben Maurer <bmaurer@users.sourceforge.net>
3312 * XmlConvert.cs: NaN.ToString () != INF.
3314 2003-09-14 Lluis Sanchez Gual <lluis@ximian.com>
3316 * XmlTextWriter.cs: Attributes that have a namespace must be always
3319 2003-09-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3321 * XmlTextWriterOpenElement.cs : Changed to receive prefix and localName
3323 * XmlTextWriter.cs : Changed to use above XmlTextWriterOpenElement.
3324 Changed xmlns adding scheme. In detail, 1) WriteStartElement does not
3325 add Namespaces immediately, but adds at AddMissingElementXmlns so
3326 that we don't have to have extra check than namespaceManager's
3327 LookupPrefix(). 2) Removed writtenAttributes for performance reason
3328 since it is no more required.
3330 2003-09-10 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3332 * XmlDocument.cs : patch by Jonathan Hogg. Fixed CreateAttribute()
3333 that handled xmlns attributes inproperly.
3335 2003-09-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3337 * XmlNamespaceManager.cs : GetEnumerator() should return all of the
3338 available pairs (of prefix and namespace).
3339 * XmlQualifiedName.cs : Quick fix for NullReferenceException in case
3340 of name (or ns) is null. (The description of the immediate previous
3341 changes will be inserted below.)
3342 * XmlTextWriter.cs : Fixed WriteDocType(). Removed CheckValidName().
3343 * XmlUrlResolver.cs : Changed not to call WebClient.Dispose() which
3344 will release resources it had allocated.
3346 2003-09-01 Ben Maurer <bmaurer@users.sourceforge.net>
3348 * XmlDocument.cs (Save): use the encoding of the document, if
3351 2003-08-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3353 * XmlValidatingReader.cs : Implemented SchemaType. Added support for
3354 ValidationType.Schema. Added support for XmlResolver. Fixed
3355 ReadTypedValue() not to consume EndElement.
3357 2003-08-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3359 * XmlDocumentNavigator.cs : Fixed MoveToFirstNamespace() that arose
3361 * XmlNamespaceManager.cs : Renamed AtomStrEq to AtomicStringEquals.
3362 Commented out Console.Error.WriteLine().
3363 * XmlUrlResolver.cs : Fixed ResolveUri() and GetEntity() to support
3364 escape and unescape for relative URI string.
3366 2003-08-19 Ben Maurer <bmaurer@users.sourceforge.net>
3368 * XmlParserContext.cs: Make each context inherit next.
3370 2003-08-18 Ben Maurer <bmaurer@users.sourceforge.net>
3372 * XmlChar.cs (IsWhitespace): Spare enumerator allocation.
3373 * XmlTextWriter.cs (WriteWhitespace): Enumerators are very high in
3374 fat, use low-fat loops instead. Even better, call the function
3375 inside XmlChar for code reuse.
3376 * HighWaterStack.cs (added): New class that acts like a Stack, but
3377 helps with memory allocation.
3378 * XmlNamespaceManager.cs, XmlParserContext.cs: Rewrote to use
3380 * XmlTextReader.cs: Remove orderedAttributesEnumerator variable,
3381 use a variable that stores the position in the ArrayList.
3383 2003-08-18 Ben Maurer <bmaurer@users.sourceforge.net>
3385 * XmlTextWriter.cs: Begin diet. String.Format has too much
3386 saturated fat, lets replace with the fat-free .Write ()
3387 calls. Effects best seen when Paolo's StreamWriter patch is
3390 2003-08-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3392 * XmlNodeReader.cs : Fixed ReadAttributeValue() that might result in
3393 vanishing current node.
3395 2003-08-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3397 * DTDValidatingReader.cs : Added SchemaType.
3398 Read() Assures to return to element.
3399 * DTDObjectModel.cs : Removed DTDEntityDeclaration.BaseURI.
3400 * XmlReader.cs : ReadString() should be virtual in NET_1_1.
3401 * XmlTextReader.cs : 1) Depth should consider Attribute and its values.
3402 Introduced insideAttribute field to support them.
3403 2) ReadAttributeValue() should consider empty string.
3404 * XmlValidatingReader.cs :
3405 Fixed several properties which premised as if it was already read.
3406 Encoding and Namespaces now throws NotSupportedException for other
3408 Implemented ReadTypedValue() based on IHasXmlSchemaInfo.SchemaType.
3410 2003-08-10 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3412 * XmlInputStream.cs : Reverted CanSeek as to return false anyway.
3414 2003-08-10 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3416 * DTDObjectModel.cs : added XmlResolver related members. Added
3417 invalid entity recursion logic. Added encodingdecl check on textdecl.
3418 * DTDValidatingReader.cs : It now implements IHasXmlParserContext.
3419 * XmlChar.cs : IsPubidChar() should not allow TAB(	).
3420 * XmlDocumentType.cs : 1) internal CreateDocumentType() was now changed
3421 to receive DTDObjectModel to support other than XmlTextReader.
3422 2) Most of its public member is now based on DTDObjectModel.
3423 * XmlDocument.cs : 1) Synchronous change with XmlDocumentType.
3424 2) ReadNode() now considers XmlParserContext's DTDObjectModel for
3425 other than XmlTextReader (such as XmlValidatingReader).
3426 * XmlNode.cs : code cleanup only.
3427 * XmlParserInput.cs : added HasPEBuffer, used to check illegal nesting.
3428 * XmlTextReader.cs : 1) Illegal entity reference check logic was moved
3429 from ReadContent() to SetEntityReferenceProperties(). 2) Indentation
3430 change on ReadEntityReference(). 3) ReadAttribute() now checks
3431 reference to external entity reference. 4) Added textdecl encoding
3432 check. 5) DTDObjectModel fields are now set correctly. 6) added
3433 PERef markup nest check. 7) If PEDecl was not found, it might be WFC
3434 violation, not only be VC violation. 8) ReadEntityDecl() now receives
3435 its declared entity itself, and this method checks IsInternalSubset.
3436 * XmlValidatingReader.cs : 1) Added GetInternalPerserContext().
3437 2) ValidationType.None should be the same as Auto, not DTD (in the
3438 future it should keep xml schema's default values).
3440 Pending Stuff in XmlTextReader which breaks some NUnit tests;
3441 1) SetEntityReferenceProperies() has check for illegal references.
3442 2) ReadAttribute(bool) has similar check for illegal references.
3444 2003-08-09 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3446 * DTDAutomata.cs : Fixed (modified or added) TryEndElement() of choice,
3447 sequence and oneOrMore. Fixed DTDChoiceAutomata.TryStartElement().
3449 2003-08-09 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3451 * XmlTextReader.cs : Checked and fixed all TryExpandPERef() invokation
3452 and supplied SkipWhitespace() as they needed. It broke monodoc.
3453 Fixed ReadEntityValueDecl() to get correct value.
3455 2003-08-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3457 * XmlInputStream.cs :
3458 Fixed Initialize() that might result in incorrect buffer.
3459 CanRead and Position should consider buffer (especially when the
3461 CanSeek should use stream's CanSeek.
3463 * XmlChar.cs : added GetPredefinedEntity().
3464 * DTDObjectModel.cs :
3465 - Modified ComputeDefaultValue() to use it.
3466 - Fixed NormalizedDefaultValue not to expect parsed value as string.
3467 - ResolveExternalEntity now detects invalid standalone specification.
3468 - DTDParameterEntityDeclaration.Value is now changed to property and
3469 keep its resolved value of literal value of external value using
3470 new Resolve (XmlResolver) method (called only by XmlTextReader).
3471 * DTDValidatingReader.cs :
3472 - It now handles entity-expanded Whitespace and SignificantWhitespace
3473 correctly. Does not raise unexpected text not allowed error.
3474 - Fixed MoveToAttribute()s to move internal reader correctly, and
3475 should be able to move in other cases than on element node.
3476 - On Read()ing document type and ResolveEntity(), it now sets
3477 XmlResolver on text reader.
3478 - On ID constraints check and type verification, it now uses
3479 normalized attribute or its tokenized value(s).
3480 - Fixed ValidateAttributes() to add default values when
3481 ValidationType is Auto.
3482 * XmlParserContext.cs : added internal Dtd setter.
3483 * XmlParserInput.cs :
3484 InsertParameterEntityBuffer() should add surrounding whitespaces.
3485 Removed unused code block.
3486 * XmlTextReader.cs :
3487 - Modified ReadReference(), ReadAttribute() and Dereference() to use
3488 XmlChar.GetPredefinedEntity().
3489 - When returning entity reference, it checks extity declaration
3490 existence in certain conditions.
3491 - ReadAttribute() now skips general entity replacement on reading
3493 - ReadText() now handles whitespace texts as XmlNodeType.Whitespace.
3494 - ReadXmlDeclaration() holds isStandalone, which might be used in
3495 entity reference's well-formedness check.
3496 - internal 'DTD' now uses XmlParserContext.Dtd.
3497 - isInternalSubset was meaningless. Now uses input stack's Count.
3498 - Added some required SkipWhitespace().
3499 - Several parameter entity handling changes. Added GetPEValue(name).
3500 TryExpandPERef() now uses ImportAsPERef(). ReadParameterEntityDecl()
3501 now uses its Resolve() when it was external PE. Now it uses value
3502 buffer instead of currentTag, to efficiently read (included) PE.
3503 CompileDeclaration() now uses ImportAsPERef instead of ExpandPERef().
3504 ImportAsPERef() simply inserts the value to currentInput.
3505 ReadEntityDecl() also uses value buffer. Removed non-used methods.
3506 - Default attributes are now stored in normalized form.
3507 - Dereference() now considers non-expanding predefined entities.
3508 * XmlValidatingReader.cs : now holds Schemas, and ValidationType.Auto
3509 is more correctly supported.
3511 * XmlAttributeCollection.cs :
3512 When removing default attribute, it immediately inserts the attribute.
3513 RemoveAll() should consider default (not-removable) attributes.
3515 Should have its default XmlResolver. Added Internal Resolver.
3516 Some Load() should use its XmlResolver.
3517 ImportNode() should copy its children in node level, not value level.
3518 It also have to consider not to copy default attribute on importing
3520 * XmlDocumentType.cs : Now uses document's XmlResolver to read DTD.
3522 XmlDocumentFragment.cs.
3523 XmlElement.cs : use XmlResolver on InnerXml. Removed some MonoTODO.
3524 * XmlNodeReader.cs : GetInternalParserConext() should provide its DTD.
3525 ResolveEntity() uses XmlResolver on entityReader.
3527 2003-08-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3529 * DTDObjectModel.cs :
3530 - Added validation error check (and AddError(), Errors).
3531 - Fixed ComputeDefaultValue() to handle various references correctly.
3532 - DTDEntityDeclaration.EntityValue became property, and added
3533 LiteralEntityValue. The new one holds resolved value.
3534 Added ResolveExternalEntity(). It now required root in .ctor().
3535 * DTDValidatingReader.cs :
3536 - Now it handles namespaced attributes (as input to xsd validator).
3537 - Added XmlResolver property as usual XmlReader.
3538 - Added currentEntityHandling field so that it can stand changing
3539 XmlValidatingReader's EntityHandling dynamically.
3540 - FilterNormalization() now requires name for getting datatypes and
3541 can stand for non-current attribute normalization.
3542 - Splitted ReadContent() from Read() that can be called recursively
3543 when expanding entities.
3544 - Now handles Entity not found error *after* resolution of entities,
3546 - Read()ing DTD checks its Errors and raises validation error events.
3547 In some situations, DTD parsing may detect VC error, not WFC error.
3548 It also strictly checks NData existence.
3549 - Handling of entity-resolved text is a bit changed and Read()ing
3550 element, endElement, cdata now changed to switch collecting text
3552 - content type ANY should allow texts.
3553 - Added enumerated attribute validity check.
3554 - Added Name/Names creation rule check for ID/IDREF/IDREFS.
3555 - Added entity existence check for ENTITY/ENTITIES attributes.
3556 - Added NMTOKEN creation rule check for NMTOKEN/NMTOKENS.
3557 - Fixed to remove extraneous #REQUIRED check.
3558 - Contributing default attribute is now only applied to the case
3559 ValidationType is DTD or None.
3560 - ResolveEntity() now handles external entities.
3561 Added Mono.Xml.IXmlParserContext interface support.
3562 * XmlDocumentType.cs : Fixed to use BaseURI to build DTD model.
3563 * XmlTextReader.cs :
3564 - Fixed ReadAttributeValue() to reset returnEntityReference.
3565 - Added bool MaybeTextDecl only for ResolveEntity().
3566 - Fixed ReadWhitespace(). In fact its value is considered even if it
3567 is in the end of the XML.
3568 - Fixed ReadXmlDeclaration(). Now skips text declaration.
3569 - CompileDTDSubset() now checks IGNORE/INCLUDE section end balances.
3570 - ReadContentSpec() should set OrderType = OR for mixed model.
3571 Fixed to set content element name correctly.
3572 - ImportAsPERef() now skips Text declaration.
3573 - Type of enumerated default attributes shold be string.
3574 - Undeclared PE error is now handled as DTD's VC error, not
3575 XmlTextReader's WFC error.
3576 * XmlValidatingReader.cs : BaseURI should provide that of
3577 original XmlReader's when read was not started yet.
3578 Fixed XmlResolver to delegate to DTDValidatingReader.
3580 * XmlAttributeCollection.cs : Acquiring attList declaration is
3581 insufficient especially in case of lack of elementdecl.
3582 * XmlChar.cs : (Maybe this is compact than XmlConstructs.)
3583 added IsWhitespace(),IsNCNameChar(),IsName(),IsNCName(),IsNmToken(),
3584 IsPubid(). Copies IsValidIANAEncoding() from XmlConstructs.
3586 * XmlInputStream.cs : Removed "version" declaration check. It should
3587 be done by XmlTextReader.
3589 * XmlNodeReader.cs : added internal GetInternalParserContext() and now
3590 it can be used in XmlValidatingReader.ResolveEntity().
3591 ResolveEntity() sets XmlTextReader.MaybeTextDecl.
3593 2003-08-05 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3595 * DTDValidatingReader.cs :
3596 Added full ExpandEntities support for text node and entity reference
3597 node (although require many usage tests). Almost all methods and
3598 properties now have currentTextValue != null check, that field means
3599 that there are cached (entity-resolved) text.
3600 Implemented default attribute aware XmlLang and XmlSpace.
3601 * XmlNodeReader.cs : ResolveEntity() should not require DTD.
3603 2003-08-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3605 * DTDValidatingReader.cs,
3609 XmlValidatingReader.cs : fixed pragma USE_VERSION_1_0 to NET_1_0.
3611 2003-08-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3613 * DTDObjectModel.cs : Added BaseURI (but not used yet).
3614 DTDAttListDeclaration.ctro() now requires root dtd object model.
3615 * DTDValidatingReader.cs : Read() now expands EntityReference if
3616 entity handling of validating reader is ExpandEntities.
3620 XmlValidatingReader.cs : Implemented "virtual" ReadInnerXml and
3621 ReadOuterXml which are modified in MS.NET 1.1.
3622 * XmlConstructs.cs : added int version of IsValid, IsInvalid,
3623 IsContent, IsMarkup and IsNCNameStart.
3624 Fixed int version of IsXXX() to check array index range.
3625 Added IsValidName (string).
3626 * XmlTextReader.cs :
3627 - Read() handles document with non document element as an error.
3628 - ReadText() and ReadCharacterReference() checkes illegal characters.
3629 - ReadEntityReference() checks name validity.
3630 - ReadProcessingInstruction() rejects such name that starts with
3631 "xml" ignoring case, and checks attributes more strictly.
3632 - ReadDeclaration() rejects unrecognized kind of declaration.
3633 - In many places, added "required whitespace" check in DTD markup.
3634 - DTD content model now disallows mixing use of '|' and ','.
3636 2003-08-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3638 * XmlDocumentFragment.cs : I missed to add it in relation to the
3639 previous XmlParserContext patch. Similar to XmlAttribute/XmlElement.
3640 * XmlNodeReader.cs : removed some TODO attributes.
3641 * DTDValidatingReader.cs,
3642 XmlValidatingReader.cs : Implemented ResolveEntity().
3644 2003-07-31 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3646 * XmlParserContext.cs,
3648 XmlElement.cs : Added internal Dtd and new internal XmlParserContext
3649 .ctor() that takes DTDObjectModel. And then rewrote classes which
3650 uses DTD information. Changed DocTypeName, InternalSubset, PublicId
3651 and SystemId to use DTDObjectModel.
3652 * DTDObjectModel.cs :
3653 Added DTDObjectModel.InternalSubsetHasPEReference.
3654 Added DTDEntityDeclaration.IsInternalSubset.
3655 * XmlTextReader.cs :
3656 Added internal GetInternalParserContext (to build entity reader).
3657 Added private isIntSubset to check if the DTD subset is internal or
3658 external, which might affect well-formedness constraints.
3659 Changed GenerateDTDObjectModel to return the resulting DTD model.
3661 * XmlEntityReference.cs : implemented BaseURI.
3662 * XmlNodeReader.cs :
3663 - Implemented ResolveEntity() and CanResolveEntity(). In fact
3664 it leads too many changes on almost all methods and properties,
3665 since they now must be aware of entityReader.
3666 - fixed ownerElement that might be used to return from attribute
3667 value to the element through parent attribtues.
3668 - Now changed indexer to call GetAttribute() and moved actual logic
3669 to the matching GetAttribute() methods.
3671 2003-07-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3673 * XmlNode.cs : fixed internal ConstructNamespaceManager() for InnerXml
3674 not to create extraneous xmlns="".
3676 2003-07-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3678 * DTDValidatingReader.cs : (Read,ValidateAttributes,ReadAttributeValue)
3679 attribute declaration should be got independently of elementdecl.
3681 Added internal SetDefault() to mark as default.
3682 Removed InnerText implementation that is just the same as XmlNode.
3683 * XmlDocument.cs : id shouldn't be removed from table at 'trying' to
3684 get matching elements. ReadAttributeNode() now sets default mark.
3685 * XmlElement.cs : WriteTo() should ignore default attributes.
3686 * XmlTextWriter.cs : shuold allow valid name char such as digits.
3688 2003-07-27 Piers Haken <piersh@friskit.com>
3690 * XmlQualifiedName.cs : fields should never be null
3692 2003-07-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3694 * XmlDocumentFragment.cs : added XPathNodeType indicating Root.
3696 2003-07-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3698 * XmlDocument.cs (GetIdenticalAttribute): restored OwnerElement.IsRooted
3700 2003-07-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3702 * XmlLinkedNode.cs : added internal IsRooted.
3704 2003-07-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3706 * DTDValidatingReader.cs :
3707 - Added ID support in ValidateAttributes().
3708 - More refined ReadAttributeValue() support for non-expanding entity
3710 - It should handle LocalName, Name, Prefix, NamespaceURI and Value
3711 correctly when the reader is on each of the value nodes of an
3712 attribute. Now XmlDocument.ReadNode() should work well.
3714 - added idTable, AddIdenticalAttribute(), GetIdenticalAttribute() and
3715 RemoveIdenticalAttribute()
3716 - Implemented GetElementById().
3717 * XmlAttributeCollection.cs :
3718 - added private ownerDocument property and replaced
3719 ownerElement.OwnerDocument with it.
3720 - Added AdjustIdenticalAttribute() and it is used in SetNamedItem().
3721 It calls XmlDocument.{Add|Remove}IdenticalAttribute().
3722 - Added RemoveIdenticalAttribute() and it is used in Remove().
3723 (I also added AddIdenticalAttribute() but is not used.)
3725 2003-07-26 Duncan Mak <duncan@ximian.com>
3727 * XmlDocument.cs (GetIdenticalAttribute): Temporarily remove test
3728 for OwnerElement.IsRooted to fix the build..
3730 2003-07-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3732 * XmlDocumentType.cs :
3733 modified private DTD to dtd and added internal DTD (the same thing).
3735 Fixed SetAttributeNode() to check if specified attribute is already
3736 set to the other element. In fact it is W3C DOM's specification but
3737 MS.NET 1.0 failed to catch it.
3738 * XmlTextReader.cs :
3739 ReadAttributeValue() should check if the value of the attribute is
3740 already read when the whole value is entity reference.
3741 Also, Name of text nodes should be "", not "#text"
3743 2003-07-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3745 * XmlAttribute.cs : .ctor() shouldallow localName "xml" (not prefix)
3746 with http://www.w3.org/XML/1998/namespace.
3747 * XmlEntity.cs : patch by Aleksey Sanin. InnerText is now supported.
3748 * XmlNode.cs : InnerText should handle CDATA and whitespaces.
3749 * XmlTextReader.cs : Should allow " (#PCDATA)* " in ReadContentSpec().
3750 * XmlTextWriter.cs : Quick fix for accepting (and writing) same-named
3751 attributes (as MS.NET does). It isn't good way and I may change it.
3753 2003-07-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3755 * DTDObjectModel.cs : Added DTDEntityDeclarationCollection and
3756 DTDNotationDeclarationCollection and replaced Hashtables with them.
3757 Added NormalizedDefaultValue property for DTDAttributeDefinition.
3758 * DTDValidatingReader.cs :
3759 - It now reads attribute values into value collection.
3760 - Renamed consumedDefaultAttribute to consumedAttribute, and
3761 inContent to insideContent.
3762 - GetAttribute() should allow reader's other node state than element.
3763 - MoveToNextAttribute() should move when reader is placed other than
3764 the first attribute.
3765 - HandleError() now supports ValidationType.None (i.e. does nothing).
3766 - ValidateAttribute() now collects and resolves attribute value
3767 entity references. (On the other hand, it doesn't support
3768 EntityHandling.ExpandCharEntity.)
3769 - NodeType shouldn't return Attribute after ReadAttributeValue().
3770 Now only Text is supported, but must also support EntityReference.
3771 - Add FilterNormalization() and partially support Normalization.
3773 2003-07-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3775 * XmlTextReader.cs :
3776 Read() now handles parser context stuff (BaseURI, XmlLang and
3777 XmlSpace) correctly for an empty element.
3778 Normalization property now doesn't throw an error. Will be used soon.
3779 * XmlValidatingReader.cs : added ValidationType.None support (wait for
3780 the next DTDValidatingReader update for "not firing event handler).
3781 * XmlNodeReader.cs : jun. 30th commit seems wrong. It keeps its state.
3783 2003-07-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3785 * DTDValidatingReader.cs :
3786 changed base class to XmlReader and implemented IXmlLineInfo members.
3787 changed .ctor() argument from event handler to validating reader.
3788 Removed some #if ... #else ... #endif blocks.
3789 Added validation event support for Read() using HandleError().
3790 * XmlValidatingReader.cs : added internal OnValidationEvent().
3791 * XmlDocument.cs : ReadNode() now checks reader's state more strictly.
3793 2003-07-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3795 * XmlUrlResolver.cs : applied BenM's patch for file uri problem
3798 2003-07-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3800 * DTDValidatingReader.cs :
3801 added DTDObjectModel support for non-XmlTextReader XmlReader
3802 e.g. XmlNodeReader (Read() method).
3804 added internal CreateDocumentType(XmlTextReader) and moved
3805 ReadDoctypeNode() to XmlDocumentType.ImportFromDTD().
3806 * XmlDocumentType.cs :
3807 added internal .ctor(XmlTextReader, document) and ImportFromDTD().
3808 * XmlTextReader.cs :
3809 Renamed useSbForVal (valueBuilderAvailable), valSb (valueBuilder)
3810 and currentSubset (DTD).
3811 Added GenerateDTDObjectModel() (for independent doctype parsing).
3813 2003-07-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3816 .ctor() should reject xml- or xmlns-prefixed node.
3817 * XmlNamespaceManager.cs :
3818 added some xmlns validity check.
3820 optimized GetNamespaceOfPrefix() and GetPrefixOfNamespace() by
3821 avoiding XmlNamespaceManager creation.
3822 * XmlNodeReader.cs :
3823 doctype node should return PUBLIC and SYSTEM for its indexer,
3824 and Value should be internal subset,
3826 2003-07-12 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3828 * DTDObjectModel.cs,
3829 DTDValidatingReader.cs : Completely rewrote attribute handling.
3831 2003-07-12 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3834 XmlElement.cs : Fixed CloneNode() for bug #46129.
3835 * XmlDocument.cs : Fixed MakeReaderErrorMessage that specified invalid
3836 String.Format arguments, and basically XmlException.ctor(
3837 IXmlLineInfo, message) seems good idea to use.
3838 * XmlTextReader.cs :
3839 - Fixed .ctor(Stream, XmlNodeType, XmlParserContext) which had
3840 required non-null context which don't have to exist.
3841 - Added state check. Introduced 'currentState' and 'maybeTextDecl'
3842 (for external entity) and removed hasEnteredDocument. Added
3843 state-check logic to ReadStartTag(), ReadEndTag(), ReadText(),
3844 ReadCData(), ReadDoctypeDecl() and ReadWhitespace().
3845 - Replaced throw ReaderError() with throw new XmlException() and
3846 fixed that some error hadn't thrown, only created.
3847 - ResetState() should re-initialize existing private members other
3848 than some specified fields.
3849 - Private AddAttribute() should check if the same-named attribute
3851 * DTDObjectModel.cs : Additive declaration for ATTLIST is availabe now.
3853 2003-07-09 Lluis Sanchez Gual <lluis@ximian.com>
3855 * XmlTextReader.cs : Implemented ResetState() method.
3857 2003-07-06 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3859 * XmlElement.cs : IsEmpty has removed attributes since it incorrectly
3862 2003-07-06 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3864 * XmlDocument.cs : Load(string filename) should close its stream.
3865 Small change for the latest DTDObjectModel change.
3866 * XmlTextReader.cs : Changed for the latest DTDObjectModel change (all
3867 changed methods are only related to DTD stuff).
3868 Now uses XmlSchemaDatatype for attribute type definition.
3869 * XmlValidatingReader : initial (limited) support for DTD validation.
3870 It can handle only XmlTextReader.
3871 * DTDObjectModel.cs : changed radically for initial validation support.
3872 * added DTDAutomata.cs and DTDValidatingReader.cs.
3874 2003-07-06 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3876 * XmlElement.cs : Removed extraneous xmlns output support (it should
3877 be done by XmlTextWriter).
3878 * XmlNode.cs : InsertBefore() now checks validity of the newChild (and
3879 most of the changes are in fact indentation changes).
3880 * XmlWriter.cs : WriteAttributes() now can write entity references.
3881 WriteNode() now writes xmldecl attributes correctly.
3882 Removed namespaceManager and xmlns check logic, since it should be
3883 done by individual XmlTextWriter.
3884 * XmlTextWriter.cs : Patch by Jerome. AddMissingElementXmlns () has
3885 written multiple xmlns declarations.
3886 Moved namespaceManager from abstract XmlWriter.
3887 Write{Start|End}Attribute() and WriteString() now checks xmlns
3888 attribute value. (MS.NET holds value only with this write method).
3890 2003-07-04 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3892 * XmlDocument.cs : removed xmlReader.Close() from Load(XmlReader).
3894 2003-06-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3896 * XmlDocumentNavigator.cs : Implemented MoveTo*Namespace() and
3897 essentially changed most of the property handling (e.g. removed attribute
3898 enumerator and it now became really cloneable).
3899 * XmlNodeReader.cs : ReadInnerXml() changes its state as error
3900 when the method is called at Initial state.
3902 2003-06-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3904 * XmlDocumentNavigator.cs : Fixed IsEmptyElement. It treats <foo></foo>
3905 as non-empty, and XmlElement's IsEmpty is designed as such.
3906 Fixed MoveToFirst() and MoveToNext() not to move to xmldecl nor
3908 * XmlNode.cs : Fixed XPathNodeType. It should throw an exception
3909 instead of returning undefined enum value.
3910 Modified some code comments.
3911 * XmlWriter.cs : Fixed WriteNode () to use WriteFullEndElement()
3912 when XmlReader's node is not at empty element or at EndElement.
3913 Fixed XmlDeclaration's standalone check.
3915 2003-06-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3917 * XmlTextReader.cs : removed CRLFs. Fixed private InitializeContext()
3918 to use known Uri way (used in XmlUrlResolver) instead of UriBuilder.
3920 2003-06-20 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3922 * XmlInputStream.cs : quick fix for public ctor() BaseURI bug.
3924 2003-06-20 Ben Maurer <bmaurer@users.sourceforge.net>
3926 * XmlTextReader.cs: Reduces memory allocation when the reader is
3927 not queried for some values.
3928 * NameTable.cs: Now uses a custom hashtable to implement. As a
3929 result, when Get (char[], int, int) is called, a string is only
3930 allocated if it is actually a new entry.
3931 (StrEqArray) Compares a string and a char[]
3932 (AddEntry) Adds a new entry to the hashtable
3933 (Entry) Represents a hashtable entry.
3935 2003-06-20 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3937 * XmlUrlResolver.cs : several ResolveUri() fix. e.g. for external URIs.
3939 2003-06-16 Ben Maurer <bmaurer@users.sourceforge.net>
3940 * XmlUrlResolver.cs: really fixed #44231
3942 2003-06-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3944 * XmlNodeReader.cs : fixed MoveToNextAttribute(). In some cases
3945 this method set current node null.
3946 * XmlTextReader.cs : fixed GetAttribute (name, ns), which returned
3947 String.Empty instead of null (expected value).
3950 XmlInputStream.cs : fixed BaseURI problem (bug #44231).
3952 2003-06-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3954 * XmlNodeReader.cs : this [name] and this [name, ns] (and
3955 GetAttribute() methods in turn) returns null instead of String.Empty.
3956 * XmlTextWriter.cs : WriteStartAttribute() should try to use specified
3957 prefix before auto-generating prefixes.
3958 Implemented WriteBase64().
3960 2003-06-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3962 * XmlNodeReader.cs : LookupNamespace () has refered invalid current
3963 node for attributes. Modified to use private "document" property.
3965 2003-06-10 Lluis Sanchez Gual <lluis@ximian.com>
3967 * XmlTextWriter.cs: when adding an attribute with a namespace, a prefix must be automaticaly
3968 generated, and a namespace declaration must be added.
3969 * XmlWriter.cs: the namespace for the prefix xmlns must be http://www.w3.org/2000/xmlns/
3971 2003-06-10 Zoltan Varga <vargaz@freemail.hu>
3973 * XmlAttribute.cs: Accept a null prefix or namespaceURI.
3975 2003-06-10 Duncan Mak <duncan@ximian.com>
3977 * XmlDocumentNavigator.cs (GetNode): Make it implement
3980 2003-06-05 Lluis Sanchez Gual <lluis@ideary.com>
3982 * XmlTextWriter.cs : Fixed bug. After calling for example WriteStartElement ("pref","ln","ns");
3983 a call to LookupPrefix ("pref") when still writting attributes should
3984 return "ns", and it didn't.
3986 2003-06-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3988 * XmlDocumentNavigator.cs : quick fix for MoveToFirstChild().
3989 * XmlConvert.cs : fixed VerifyNCName() to check correctly.
3991 2003-06-01 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3993 * XmlDocumentNavigator.cs : Compute document node one time.
3994 MoveToFirstChild() should move to PIs and comments.
3996 2003-05-30 Miguel de Icaza <miguel@ximian.com>
3998 * XmlReader.cs (ReadStartElement): Improve error message.
4000 2003-05-28 Lluis Sanchez Gual <lluis@ideary.com>
4002 * XmlTextReader.cs : MoveToAttribute methods must set the enumerator to the right
4003 position, since MoveToNextAttribute may be called after it.
4004 SetProperties(): attributes do not "inherit" the namespace.
4005 * XmlDocument.cs: ReadNode(), ReadAttributeNode(): must keep the current reader position.
4007 2003-05-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4009 * NameTable.cs : Add() sets the given name string interned.
4010 * XmlParserContext.cs : added internal PushScope() and PopScope() to
4011 hold stacks of xml:base, xml:lang and xml:space.
4012 * XmlTextReader.cs : implemented XmlLang and XmlSpace (only as a
4013 property for stacked attributes). Renamed Initialize() to Initialize-
4014 Context(). Modified to use XmlParserContext.PushScope()/PopScope().
4016 2003-05-26 Lluis Sanchez Gual <lluis@ximian.com>
4018 * XmlReader.cs: Little fix to WriteAttributeString()
4020 2003-05-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4022 * XmlAttribute.cs, XmlCharacterData.cs, XmlComment.cs, XmlDocument.cs,
4023 XmlDocumentFragment.cs, XmlElement.cs, XmlEntity.cs, XmlLinkedNode.cs,
4024 XmlNode.cs, XmlNotation.cs, XmlProcessingInstruction.cs, XmlReader.cs,
4025 XmlSignificantWhitespace.cs, XmlText.cs, XmlWhitespace.cs:
4026 Reverted the recent accessibility mistake (5/16).
4027 * XmlDocument.cs, XmlNode.cs : moved actual CreateNavigator() logic
4028 from XmlNode to XmlDocument.
4030 2003-05-18 Lluis Sanchez Gual <lluis@ideary.com>
4032 * XmlQualifiedName.cs : Fixed bug in equality operator.
4034 2003-05-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4036 * XmlTextWriter.cs : patch by Jonathan Hogg. Flush() does not close
4037 any open attributes or elements. WriteWhitespace() checks state and
4038 closes start tag. Fixed WriteStringInternal() to replace CR/LF chars
4039 when it is called inside attribute value.
4040 * XmlException.cs : added .NET 1.1 .ctor.
4041 * added XmlSecureResolver.cs (only stubbing).
4042 * XmlAttribute.cs : set_InnerXml() should remove children.
4045 XmlDocumentFragment.cs,
4046 XmlDocument.cs : removed XmlTextReader reuse (It was buggy stuff).
4047 * XmlNode.cs : RemoveAll() should also remove all attributes.
4048 * XmlTextRader.cs : .ctor() for attribute value reader should add
4049 quotations at initialization, since it requires quote chars.
4050 * XmlWriter.cs : WriteAttributeString() more correct xmlns check.
4052 2003-05-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4054 * changed XPathNodeType modifier to internal *protected* override.
4055 * XmlAttribute.cs : .ctor() now checks name validity e.g. xmlns.
4056 * XmlAttribute.cs, XmlElement.cs : set_Prefix checks NCName validity.
4057 * XmlAttributeCollection.cs : removed some incorrect TODO attributes.
4058 * XmlDocument.cs ; CreateAttribute(name) now auto-completes xmlns NSURI
4059 when the argument is "xmlns".
4060 * XmlElement.cs : more compliant IsEmpty support. See also WriteTo().
4061 * XmlNamespaceManager.cs : added initial "xml" and "xmlns" namespaces.
4062 * XmlNode.cs : ser_InnerXml() throws InvalidOperationException.
4063 * XmlNodeReader.cs : LookupNamespace() refactory. Fixed ReadInnerXml()
4064 not to set error state for non-started XmlNodeReader.
4065 * XmlTextReader.cs : fixed ReadAttributeValue() not to reset state.
4066 BaseURI support. Fixed Initialize() to handle Attribute correctly.
4067 SetProperty for attribute auto-completes xmlns NSURI.
4068 Attribute and whitespace handling became more correct.
4069 Don't parse external DTD if XmlResolver is null.
4070 * XmlTextWriter.cs : implemented WriteEntityRef().
4071 WriteStartAttribute() checks if ns does not equal to that of xmlns.
4072 * XmlWriter.cs : trivial refactoring (WriteNode() xmldecl output).
4074 2003-05-05 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4076 * XmlConvert.cs : IsInvalid() Now uses XmlConstructs.IsName(Start).
4077 EncodeName() now correctly encodes invalid names.
4078 Result string of ToString(DateTime) contains "fffffff".
4080 2003-04-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4082 * XmlElement.cs : fixed IsEmpty (removed private field isEmpty).
4083 * XmlNodeReader.cs : Fixed AttributeCount, each this[] (indexers),
4085 Fixed this[] to work correctly against XmlDeclarations.
4086 Fixed ReadInnerXml() and ReadOuterXml() to call Read() correctly.
4087 (which may prevent validations etc.)
4090 XmlTextReader.cs : Fixed ReadString() to be compliant with each
4092 * XmlTextReader.cs : ReadInnerXml() now moves to next node correctly.
4094 2003-04-27 Pedro MartÃnez Juliá <yoros@wanadoo.es>
4096 * XmlNode.cs: ensure to get a valid Uri in BaseUri when loading the
4097 source document from a file.
4099 2003-04-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4101 * XmlAttribute.cs : fixed WriteTo() and WriteContentTo() to write
4102 content EntityReference correctly.
4103 * XmlNodeReader.cs : many fix for EndElement handling (AttributeCount,
4104 HasAttributes, indexers, MoveTo*Attribute() and Read() ).
4105 Modified Skip() to call Read () explicitly.
4106 * XmlTextReader.cs :
4107 Fixed ReadInnerXml() which ignored EndElement token in certain cases.
4108 Implemented MoveToAttribute (local, ns), and modified GetAttribute()
4109 in relation to this change.
4110 Attributes for XmlDeclaration are now correctly set.
4111 * XmlTextWriter.cs : WriteRaw() is now different from WriteString().
4112 Simplified WriteAttributes() for XmlDeclaration.
4114 2003-04-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4116 * XmlTextReader.cs : fixed ReadInnerXml(). it was inconsistent with
4119 2003-04-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4121 * XmlDocument.cs : fixed Load() to set baseURI correctly.
4122 * XmlReader.cs : patch by Gonzalo. Fixed not to skip XmlDeclaration.
4123 * XmlTextReader.cs :
4124 fixed Depth. When it's on StartElement, Depth was already incremented.
4125 fixed private SaveProperty(), which moved away its saved properties
4126 when MoveToElement was called repeatedly.
4127 * XmlTextWriter.cs : fixed WriteQualifiedName() to close start tag.
4129 WriteAttributes() refactory (for XMLDecl).
4130 WriteNode() don't Read() when the reader is Initial state, let other
4131 invokation to Read(). In case of Element, it should write entire
4132 element. In case of Attribute, it shouldn't Read().
4133 WriteStartDocument() should omit standalone decl. when there is no
4136 2003-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4138 * XmlReader.cs: reverted last patch. It breaks System.Configuration
4139 because 1. it considers XmlDeclaration as content and 2. always
4140 returns XmlNodeType.None.
4143 2003-04-23 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4145 * Added missing ChangeLog of 4/4/2003.
4146 * XmlTextWriter.cs : patch by Erik. fixed WriteQualifiedName.
4147 (write prefix instead of ns.)
4148 * XmlInputStream.cs : file access mode fix (FileAccess.Read was missing)
4149 * XmlTextReader.cs : modified to call Read() instead of ReadContent().
4150 (It may be required for decorated reader such as XmlValidatingReader.)
4151 Changed Read() error message for mismatch end tag.
4152 * XmlDocument.cs : (ReadNode) friendly message for mismatch EndElement.
4153 * XmlReader.cs : Corrected misinterpreted MoveToContent() method.
4155 2003-04-04 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4157 * XmlDocument.cs : Load() now closes the given XmlReader.
4158 Don't allow creation of XmlTextReader for Doctype. (workaround.)
4159 * XmlInputStream.cs : It now closes its internal stream explicitly.
4160 * XmlNode.cs : RemoveChild() bugfix for removing LastLinkedChild.
4161 * XmlNodeReader.cs : GetAttribute() bugfix for not-present attribute.
4162 * XmlParserInput.cs : added Close() method.
4163 * XmlReader.cs : MoveToContent() should (1) not Read in case of empty
4164 element, and (2) MoveToElement() in case of attribute.
4165 * XmlTextReader.cs : Close() now actually closes source TextReaders.
4167 2003-03-26 Duncan Mak <duncan@ximian.com>
4169 * XmlTextWriter.cs (Write): A patch from Atsushi to fix
4170 prematurely ending the write, or something like that. It was
4171 causing us to chop off the end of the document when we're trying
4172 to generate XML Schemas.
4174 2003-03-23 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4176 * XmlTextReader.cs : implemented ReadString().
4177 fixed ctor(string, XmlNodeType, XmlParserContext) - don't raise
4178 null reference exception when context is null.
4179 * XmlNodeReader.cs : fixed ReadString() - should ignore attributes etc.
4180 fixed Read() - when positioned at EndElement, it didn't progress.
4181 fixed HasAttribute - it didn't return false in all cases.
4182 fixed Name and LocalName - only limited type of nodes return names.
4183 fixed AttributeCount - in some cases it threw null ref exception.
4185 2003-03-22 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4187 * XmlTextWriter.cs : WriteStartDocument doesn't set hasRoot=true, then
4188 WriteEndDocument without root element now raises an error correctly.
4189 * XmlDocumentNavigator.cs : (MoveToFirstChild) fixed bugzilla #36672.
4190 implemented BaseURI, NameTable, XmlLang, GetAttributes, GetNamespace,
4193 2003-03-22 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4195 * XmlElement.cs : RemoveAttribute now don't throws when specified
4196 attribute does not exist.
4198 2003-03-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4200 * XmlNode.cs : add descriptions for some node type error.
4202 2003-03-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4204 * XmlNodeArrayList.cs, XmlNodeListChildren.cs : bugzilla #39920 fix.
4206 2003-03-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4208 * XmlDeclaration.cs : quick fix, not to use regex for set_Value.
4210 2003-03-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4212 * XmlTextReader.cs : Fixed wrong notationdecl SYSTEM id read.
4213 * XmlInputStream.cs : Should allow versionless input stream entity.
4215 2003-03-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4217 * added XmlParserInput.cs for multi xml document sources.
4218 * added DTDObjectModel.cs (maybe temporary).
4219 * XmlTextReader.cs :
4220 + fixed ctor to use XmlStreamReader. Allowed null XmlParserContext.
4221 + Some members such as LineNumber, ReadChar now uses XmlParserInput.
4222 + added support for Namespaces (namespace-ignorant parse available).
4223 + added support for XmlResolver.
4224 + replace SetReaderContext()/SetReaderFragment() with Initialize().
4225 + use NameTable in CreateNameString.
4226 + fixed ReadCData(). Now reads "]]]>" correctly.
4227 + support for DTD parse.
4228 + Read() now throws an error when it reached EOF while Depth > 0.
4230 XmlDocumentFragment.cs,
4231 XmlElement.cs : fix related to the changes of XmlTextReader.Initialize
4232 * XmlDocument.cs : ReadNode() now reads DocumentType.
4233 * XmlDocumentType.cs : implemented Entities, Notations, WriteTo().
4235 XmlNotation.cs : added override LastLinkedChild (for doctype node).
4236 * XmlNamedNodeMap.cs : Remove() raises an error if target is read only.
4237 * XmlElement.cs : bugfix for node removal of set_InnerXml.
4238 * XmlNode.cs : added insertBeforeIntern() derived from InsertBefore().
4239 (to append child XmlEntity into XmlDocumentType correctly.)
4240 * XmlInputStream.cs : fixed to access file with FileAccess.Read.
4242 2003-03-15 Duncan Mak <duncan@ximian.com>
4244 * XmlElement.cs (Name): Only append prefix + ':' when prefix is
4245 neither String.Empty nor null. Thanks to Simon Guindon for
4246 reporting the bug and Jackson for fixing this bug with me.
4248 2003-03-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4250 * XmlConstructs.cs : fix "int IsXXX()" to reject negative value.
4251 * XmlDocument.cs : simplify Load(string url) to use XmlTextReader.
4252 fixed ReadNode(), it should call reader.Read() only on Initial state.
4253 * XmlInputStream.cs : Changed namespace. Added XmlStreamReader(stream)
4254 and XmlStreamReader (string). Fixed XmlInputStream(url) not to use
4255 System.Net.WebClient directly.
4256 * XmlParserContext.cs : baseURI never be null.
4257 * XmlTextWriter.cs : use WebName for Encoding instead of HeaderName.
4258 * XmlUrlResolver.cs : namespace change for XmlInputStream.
4260 2003-03-12 Elan Feingold <efeingold@mn.rr.com>
4262 * XmlTextReader.cs: When throwing a ReaderException, show what
4263 character was the culprit
4265 2003-03-05 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4267 * XmlDocumentFragment.cs, XmlElement.cs :
4268 modified InnerXml (fragment type from Element to DocumentFragment).
4270 * XmlElement.cs : fixed WriteTo() ns check.
4271 * XmlNamespaceManager.cs : MS.NET allows Add() used two or more times.
4272 * XmlNode.cs : fixed ConstructNamespaceManager().
4274 * XmlConstructs.cs : added IsSpace, IsName, IsNameStart, IsNCName,
4275 IsPubid with an int arg.
4276 * XmlReader.cs : changed to use XmlChar.cs (its role is as same as
4278 * XmlTextReader.cs :
4279 improved error messages with line info.
4280 / checking matching start and end tags.
4281 / prevents the apperance of multiple root elements. (patch by Erik)
4282 fixed and refactored ReadInnerXml() and ReadOuterXml()
4283 changed to use XmlChar.cs.
4285 * XmlTextWriter.cs : changed to put element's xmlns at CloseStartTag ()
4286 (It will help c14n implementation.)
4287 / blocks multiple attribute output with element node.
4289 2003-02-28 Alan Tam <Tam@SiuLung.com>
4291 * XmlConvert.cs: fixed the most ToXXX(string) and ToString(XXX)
4292 methods to make them compatible with the XML Schema Spec from W3C
4293 ToString(TimeSpan) is still outstanding
4295 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4298 (Load (string)): hack to workaround some issues with Uri.Parse. Once
4299 Parse is fixed, remove the hack.
4301 2003-02-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4303 * XmlQualifiedName.cs : fixed GetHashCode() to avoid null reference
4304 * XmlTextReader.cs : fixed ReadAttributeValue() to handle
4305 entity reference, and some refactory.
4307 2003-02-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4309 * XmlUrlResolver.cs : WebClient.Credentials was not implemented yet.
4311 2003-02-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4313 * XmlInputStream.cs : added (also contains internal XmlStreamReader).
4314 * XmlDocument.cs : Load () now can specify URL using XmlUrlResolver,
4315 and can read non-UTF-8 stream.
4316 * XmlTextReader.cs : related to above stream fix.
4317 * XmlUrlResolver.cs : implemented GetEntity ().
4319 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4321 * XmlTextWriter.cs: implemented WriteRaw (char[], int, int).
4323 2003-02-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4325 * XmlTextReader.cs : implemented QuoteChar.
4327 2003-01-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4329 * XmlNode.cs : implemented ReplaceChild.
4330 removed DocElem checking at InsertBefore.
4331 * XmlNodeReader.cs : fixed ReadString and Read for correct node info.
4332 * XmlText.cs : implemented CloneNode and SplitText.
4334 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4336 * XmlCharacterData.cs: added XPathNodeType property.
4338 2003-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4340 * XmlTextWriter.cs: throw an exception if WriteEndDocument is
4341 called without a prior call to WriteStartDocument.
4343 2003-01-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4345 * XmlNodeReader.cs : several fix to get more compatible with MS.NET.
4347 2003-01-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4349 * XmlNamespaceManager.cs : fundamental change of LookupPrefix to return
4350 null when no matching uri.
4351 * XmlElement.cs : removed unnecessary xmlns output.
4352 * XmlNode.cs : GetPrefixOfNamespace fix along with the change above.
4353 * XmlTextWriter.cs : LookupPrefix and WriteStartElementInternal fix
4354 along with the change above, and moved timing of 'xmlns' output
4355 to CloseStartElement.
4356 * XmlWriter.cs: modified WriteStartAttribute, same as yesterday.
4358 2003-01-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4360 * XmlWriter.cs: modified WriteStartElement (see test for detail).
4363 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
4365 * XmlDocument.cs: Added CheckName () method to check names validity.
4367 2003-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4370 (ReadOuterXml): use Depth property which return elementDepth, not depth.
4372 2003-01-11 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4374 * XmlElement.cs : (by ville) XmlElement.set_InnerText event bugfix.
4375 * XmlTextReader.cs : some fix for ReadOuterXml().
4377 2003-01-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4379 * XmlTextReader.cs : bugfix for attributes related to creation of
4380 XmlAttribute *node*.
4382 2003-01-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4384 * XmlTextReader.cs : bugfix for attribute values which have entity
4387 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
4389 * XmlDocument.cs: XmlTextWriter.Formatting == Indented when
4390 calling Save () -methods.
4392 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4394 * XmlNodeReader.cs : primitive reading implementation.
4396 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4398 * XmlElement.cs : quick fix for the incomplete patch of #35308 below.
4400 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4402 * XmlDocument.cs : removed inconsistent line-feed output.
4403 * XmlElement.cs, XmlTextWriter.cs :
4404 fixed for bugzilla 35308 (default ns output)
4405 * XmlWhitespace.cs : limited output only when preserving whitespace.
4407 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4409 * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
4410 Implemented XmlTextReader.ReadAttributeValue().
4411 Added internal ReadAttributeNodeValue().
4412 Fixed XmlAttribute.InnerXml to use these methods.
4414 * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
4415 Implemented XmlDocument.ReadNode() and removed ConstructDOM().
4416 Other changes are replacing them.
4418 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4420 * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
4422 2002-12-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4424 * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
4425 patch by JD Conley <jconley@winfessor.com>.
4426 (Fix for xmlns attribute output.)
4428 2002-12-05 Ville Palo <vi64p@koti.soon.fi>
4430 * XmlQualifiedName.cs: Little fix to ToString () -method
4432 2002-12-04 Tim Haynes <thaynes@openlinksw.com>
4434 * class/System.XML/System.Xml/XmlElement.cs: Made more refined
4435 checks on attributeNode to fix 32262.
4437 2002-12-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4439 * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
4440 * XmlTextWriter.cs (WriteStartElementInternal):
4441 fixed when default namespace was specified, all descendants
4442 fail to omit the default namespace declarations.
4445 XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
4447 XmlDocumentFragment.cs,
4448 XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
4449 * XmlElement.cs (set_IsEmpty) : implemented
4450 (WriteTo) : removed my improper indenting (Writer already done)
4451 * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
4452 (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
4453 ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
4455 2002-12-01 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4457 * XmlNode.cs (RemoveChild):
4458 bugfixed when XmlNode is Document OwnerDocument is null
4459 * XmlDeclaration.cs (Value):
4460 bugfixed regular expression pattern.
4461 * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
4463 2002-11-24 Duncan Mak <duncan@ximian.com>
4465 * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
4466 Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
4467 first patch to Mono! ;-)
4469 2002-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4472 (AppendChild): readded refChild != null condition before throwing
4473 "cannot insert this node in this position" exception. There's probably
4474 a better solution. Fixes #34191.
4475 (RemoveAll): changed following Atsushi instructions.
4478 2002-11-13 Duncan Mak <duncan@ximian.com>
4480 * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
4483 2002-11-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4485 * XmlDocument.cs : unified all constructors, added ConventionalParser,
4486 implemented CloneNode() and CreateEntityReference(),
4487 * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
4488 set BaseURI to MonoTODO
4489 * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
4490 bugfix InsertAfter (incorrect prepending) and InsertBefore
4491 (more than one DocumentElements hadn't caused errors)
4492 * XmlTextReader.cs : unified all constructors,
4493 added internal SetReaderContext(), SetReaderFragment()
4494 bugfix (syntax check of PUBLIC / getting internal subset)
4496 2002-11-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4498 XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
4499 XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
4500 XmlCharacterData.cs : exchanged Data and Value
4501 (for processing events and inheritance)
4502 XmlDocumentFragment.cs : set_InnerXml
4503 XmlSignificantWhitespace.cs : set_Value
4504 XmlTextReader.cs : ReadAttributeValue
4506 2002-11-04 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
4508 XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
4510 2002-11-03 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
4512 * XmlAttributeCollection.cs : checks owner element.
4513 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
4514 Remove, RemoveAt, SetNamedItem.
4515 removed some logics that sets 'Parent' (that should be null)
4516 * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
4517 * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
4518 * XmlElement.cs : implemented WriteTo, set_InnerText.
4519 Fixed WriteTo() to add xmlns:* attributes when
4520 writer.LookupPrefix() returned mismatching.
4521 * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
4522 Removing different prefixes for the same uri now runs correct.
4523 added SetNamedItem(XmlNode node, int position_to_insert).
4524 * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
4525 XmlWhitespace, and XmlSignificantWhitespace
4527 2002-10-31 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
4529 * XmlDocument.cs : implemented CreateDocumentFragment()
4530 * XmlElement.cs, XmlLinkedNode.cs :
4531 moved LastLinkedChild from XmlElement to XmlLinkedNode.
4532 * XmlEntityReference.cs : must throw NotImplementedException.
4534 + implemented InsertBefore() and then implemented InsertAfter()
4535 and modified AppendChild() to call it.
4536 + added logic to check ReadOnly, parent document equivalence,
4537 and inserting any 'content' before/after DocumentElement.
4538 + implemented Clone() [it is equals to CloneNode() by MS doc.]
4539 + added logic in RemoveChild() to check parent of oldChild.
4540 + fixed ConstructNamespaceManager() to internal only.
4542 2002-10-29 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
4544 * XmlAttribute.cs : add internal 'IsDefault' property
4545 (equals to !Specified)
4546 * XmlImplementation.cs : added 'internalNameTable' property.
4548 + now allows "" for 'standalone' in CreateXmlDeclaration.
4549 + implemented 'Implementation' property and constructor with it.
4550 + added logic for appending name table (but still no use)
4551 + implemented property 'DocumentType'
4552 (but without internalSubset parsing. wait for next update.)
4554 + modified AppendChild() and RemoveChild() to support fragment.
4555 + modified AppendChild() to remove newChild from its parent
4556 when newChild is already in the other place.
4557 + modified RemoveChild() to set parentNode null.
4558 + modified ConstructDOM() to create DocumentType,
4559 and fixed access modifier ('internal protected' to 'internal')
4560 * XmlLinkedNode.cs : fixed 'NextSibling' to return null
4561 when its parent is null.
4562 * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
4563 property to enable AppendChild() for this class.
4564 * XmlTextReader.cs : appended private publicId and systemId fields.
4566 2002-10-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4568 * XmlTextReader.cs: make it work when the underlying Stream is not
4571 2002-10-26 Piers Haken <piersh@friskit.com>
4573 * XmlNode.cs: add virtual property XPathNodeType
4578 * XmlProcessingInstruction.cs:
4579 * XmlSignificantWhitespace.cs:
4581 * XmlWhitespace.cs: implement XPathNodeType property
4582 * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
4584 2002-10-26 Piers Haken <piersh@friskit.com>
4586 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
4588 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4590 * XmlTextReader.cs: don't increment depth for entity references.
4592 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
4594 * - Fixed the duplication of xmlns:xx = yy when serializing the
4595 XML for serialization
4597 Fixed the unnecessary parsing/serializing when adding assemblies
4600 Avoided setting the XmlNode.InnerXml property
4601 (as it's not implemented)
4603 Fixed the usage/implementation of
4604 XmlElement.GetElementsByTagName()
4606 2002-10-21 Duncan Mak <duncan@ximian.com>
4611 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
4612 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
4614 2002-10-18 Duncan Mak <duncan@ximian.com>
4616 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
4617 <ginga@kit.hi-ho.ne.jp>.
4619 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
4621 * XmlDocument.cs (ImportNode): Implemented
4623 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4625 * XmlDocument.cs: one more Load method implemented.
4626 * XmlTextReader.cs: Depth now works.
4628 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4630 * XmlConvert.cs: IsInvalid is now internal.
4631 * XmlNamespaceManager.cs: implemented RemoveNamespace
4632 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
4633 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
4635 2002-09-19 Matt Hunter <mahunter@tconl.com>
4637 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
4638 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
4640 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4642 * XmlConvert.cs: finished implementation.
4643 * XmlTextReader.cs: fixed #30239.
4644 * XmlTextWriter.cs: fixed #30240.
4646 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4648 * XmlTextReader.cs: line and position begin with 1.
4650 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4652 * XmlException.cs: added a new internal constructor for IXmlLineInfo
4653 and output line and position info in Message.
4655 * XmlReader.cs: implemented missing bits.
4657 2002-09-12 Piers Haken <piersh@friksit.com>
4659 * XmlDocumentNavigator.cs: implement MoveToId()
4661 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4663 * XmlTextWriter.cs: fixed bug #29886.
4665 2002-08-26 Ravi Pratap <ravi@ximian.com>
4668 * XmlAttribute.cs (InnerText): Implement getting this property.
4670 * XmlNode.cs (InnerText): Ensure that we append only values of
4673 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4675 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
4676 that allowed compiling this.
4677 [ FIXME: filed bug #29435. mcs should have failed on this ]
4679 2002-08-25 Tim Coleman <tim@timcoleman.com>
4681 Change CreateNavigator to not be virtual.
4683 Add set_Prefix and InnerText accessors.
4684 * XmlEntityReference.cs:
4685 Add set_Value accessor.
4687 Make objects which should be private private.
4689 Remove WriteStartElementInternal abstract definition.
4690 * XmlValidatingReader.cs:
4693 2002-08-22 Jason Diamond <jason@injektilo.org>
4695 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
4696 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
4698 2002-08-22 Jason Diamond <jason@injektilo.org>
4700 * XmlElement.cs: Correction to previous GetElementsByTagName patch
4701 courtesy of Matt Hunter <xrkune@tconl.com>.
4703 2002-08-22 Jason Diamond <jason@injektilo.org>
4705 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
4706 qualified GetElementsByTagName courtesy of Matt Hunter
4709 2002-08-19 Jason Diamond <jason@injektilo.org>
4711 * XmlDocument.cs, XmlElement.cs: Added implementation of
4712 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
4714 2002-08-16 Jason Diamond <jason@injektilo.org>
4716 * XmlElement.cs: Fixed writing out qualified elements courtesy of
4717 Marcus Bürgel <marcus.buergel@gmx.de>.
4719 2002-08-13 Tim Coleman <tim@timcoleman.com>
4721 Partial implementation of WriteQualifiedName ().
4723 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
4724 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
4725 InsertData(), and ReplaceData(). These methods fire the
4726 NodeChanging and NodeChanged events.
4728 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
4730 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
4731 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
4733 2002-08-03 Tim Coleman <tim@timcoleman.com>
4734 * XmlNamespaceManager.cs:
4735 .Net allows the empty namespace to be redefined
4736 at a later point, but the current implementation
4737 did not. This fixes a hashtable conflict.
4739 2002-07-26 Tim Coleman <tim@timcoleman.com>
4741 When given a textwriter, check to see if it has a
4742 null encoding. This was being done for other inputs
4745 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
4747 * XmlTextReader.cs: rough line/column support.
4749 2002-07-23 Duncan Mak <duncan@ximian.com>
4751 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
4752 (string, string []) is particularly strange.
4754 * XmlException.cs: Remember to call the base serialization
4757 * XmlNodeReader.cs: Keep a new variable to store the Depth.
4759 2002-07-14 Jason Diamond <jason@injektilo.org>
4761 * XmlAttribute.cs: Removed ownerElement field since we can reuse
4764 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
4765 if the current node is an attribute.
4767 * XmlElement.cs: SetAttributeNode now sets the new attribute's
4770 2002-07-12 Jason Diamond <jason@injektilo.org>
4772 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
4773 creating an element, use String.Empty instead.
4775 2002-07-12 Piers Haken <piersh@friksit.com>
4777 * XmlAttributeCollection.cs: implement some ItemOf indexers
4778 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
4779 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
4781 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
4784 2002-10-26 Piers Haken <piersh@friskit.com>
4786 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
4788 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4790 * XmlTextReader.cs: don't increment depth for entity references.
4792 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
4794 * - Fixed the duplication of xmlns:xx = yy when serializing the
4795 XML for serialization
4797 Fixed the unnecessary parsing/serializing when adding assemblies
4800 Avoided setting the XmlNode.InnerXml property
4801 (as it's not implemented)
4803 Fixed the usage/implementation of
4804 XmlElement.GetElementsByTagName()
4806 2002-10-21 Duncan Mak <duncan@ximian.com>
4811 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
4812 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
4814 2002-10-18 Duncan Mak <duncan@ximian.com>
4816 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
4817 <ginga@kit.hi-ho.ne.jp>.
4819 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
4821 * XmlDocument.cs (ImportNode): Implemented
4823 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4825 * XmlDocument.cs: one more Load method implemented.
4826 * XmlTextReader.cs: Depth now works.
4828 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4830 * XmlConvert.cs: IsInvalid is now internal.
4831 * XmlNamespaceManager.cs: implemented RemoveNamespace
4832 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
4833 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
4835 2002-09-19 Matt Hunter <mahunter@tconl.com>
4837 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
4838 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
4840 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4842 * XmlConvert.cs: finished implementation.
4843 * XmlTextReader.cs: fixed #30239.
4844 * XmlTextWriter.cs: fixed #30240.
4846 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4848 * XmlTextReader.cs: line and position begin with 1.
4850 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4852 * XmlException.cs: added a new internal constructor for IXmlLineInfo
4853 and output line and position info in Message.
4855 * XmlReader.cs: implemented missing bits.
4857 2002-09-12 Piers Haken <piersh@friksit.com>
4859 * XmlDocumentNavigator.cs: implement MoveToId()
4861 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4863 * XmlTextWriter.cs: fixed bug #29886.
4865 2002-08-26 Ravi Pratap <ravi@ximian.com>
4868 * XmlAttribute.cs (InnerText): Implement getting this property.
4870 * XmlNode.cs (InnerText): Ensure that we append only values of
4873 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4875 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
4876 that allowed compiling this.
4877 [ FIXME: filed bug #29435. mcs should have failed on this ]
4879 2002-08-25 Tim Coleman <tim@timcoleman.com>
4881 Change CreateNavigator to not be virtual.
4883 Add set_Prefix and InnerText accessors.
4884 * XmlEntityReference.cs:
4885 Add set_Value accessor.
4887 Make objects which should be private private.
4889 Remove WriteStartElementInternal abstract definition.
4890 * XmlValidatingReader.cs:
4893 2002-08-22 Jason Diamond <jason@injektilo.org>
4895 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
4896 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
4898 2002-08-22 Jason Diamond <jason@injektilo.org>
4900 * XmlElement.cs: Correction to previous GetElementsByTagName patch
4901 courtesy of Matt Hunter <xrkune@tconl.com>.
4903 2002-08-22 Jason Diamond <jason@injektilo.org>
4905 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
4906 qualified GetElementsByTagName courtesy of Matt Hunter
4909 2002-08-19 Jason Diamond <jason@injektilo.org>
4911 * XmlDocument.cs, XmlElement.cs: Added implementation of
4912 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
4914 2002-08-16 Jason Diamond <jason@injektilo.org>
4916 * XmlElement.cs: Fixed writing out qualified elements courtesy of
4917 Marcus Bürgel <marcus.buergel@gmx.de>.
4919 2002-08-13 Tim Coleman <tim@timcoleman.com>
4921 Partial implementation of WriteQualifiedName ().
4923 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
4924 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
4925 InsertData(), and ReplaceData(). These methods fire the
4926 NodeChanging and NodeChanged events.
4928 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
4930 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
4931 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
4933 2002-08-03 Tim Coleman <tim@timcoleman.com>
4934 * XmlNamespaceManager.cs:
4935 .Net allows the empty namespace to be redefined
4936 at a later point, but the current implementation
4937 did not. This fixes a hashtable conflict.
4939 2002-07-26 Tim Coleman <tim@timcoleman.com>
4941 When given a textwriter, check to see if it has a
4942 null encoding. This was being done for other inputs
4945 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
4947 * XmlTextReader.cs: rough line/column support.
4949 2002-07-23 Duncan Mak <duncan@ximian.com>
4951 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
4952 (string, string []) is particularly strange.
4954 * XmlException.cs: Remember to call the base serialization
4957 * XmlNodeReader.cs: Keep a new variable to store the Depth.
4959 2002-07-14 Jason Diamond <jason@injektilo.org>
4961 * XmlAttribute.cs: Removed ownerElement field since we can reuse
4964 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
4965 if the current node is an attribute.
4967 * XmlElement.cs: SetAttributeNode now sets the new attribute's
4970 2002-07-12 Jason Diamond <jason@injektilo.org>
4972 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
4973 creating an element, use String.Empty instead.
4975 2002-07-12 Piers Haken <piersh@friksit.com>
4977 * XmlAttributeCollection.cs: implement some ItemOf indexers
4978 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
4979 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
4981 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
4983 * XmlTextWriter: Fixed Indentation. IndentationOverridden should
4984 not be set when inside a attribute.
4986 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
4988 * XmlTextWriter: In WriteStartElement, if namespace is null and
4989 prefix is null|empty do not write out xmlns=""
4991 * XmlWriter: WriteStartElement calls the virtual method with null
4992 argument instead of empty string.
4994 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4996 * XmlTextReader.cs: implemented .ctor (Stream).
4998 2002-06-26 Duncan Mak <duncan@ximian.com>
5000 * XmlNodeReader.cs: Implementation of most of the properties, and
5001 some of the related methods.
5003 2002-06-23 Piers Haken <piersh@friskit.com>
5005 * XmlDocumentNavigator.cs: implement Clone()
5006 * XmlElement.cs: remove bogus unimplemented override of InnerText
5007 * XmlNode.cs: implment SelectNodes/SelectSingleNode
5008 * XmlNodeArrayList.cs: new support class for SelectNodes
5010 2002-06-21 Ajay kumar Dwivedi <adwiv@yahoo.com>
5012 * XmlQualifiedName: Name and Namespaces are never null. If null is passed
5013 to the constructor, set them to empty strings.
5014 Fixed the Operators.
5016 2002-06-18 Ajay kumar Dwivedi <adwiv@yahoo.com>
5018 * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
5021 2002-06-14 Duncan Mak <duncan@ximian.com>
5023 * XmlConvert.cs: Added CLSCompliant attributes to methods.
5025 2002-06-12 Duncan Mak <duncan@ximian.com>
5027 * XmlCharacterData.cs (Value): Throw an ArgumentException in the
5028 set block if the node is read-only.
5030 2002-06-10 Ajay kumar Dwivedi <adwiv@yahoo.com>
5031 * XmlConstruct.cs : New Internal class with Helper methods for
5032 Checking XmlConstructs
5033 * XmlConvert.cs: Implemented most of the methods
5035 2002-06-08 Duncan Mak <duncan@ximian.com>
5037 * XmlDocument.cs (Load):
5038 Added bits to Load (string) for BaseURI support.
5040 * XmlAttribute.cs (BaseURI):
5041 * XmlDocument.cs (BaseURI):
5042 * XmlEntity.cs (BaseURI): Implemented.
5044 2002-05-27 Jason Diamond <jason@injektilo.org>
5046 * XmlDocumentNavigator.cs: Added file to directory.
5048 * XmlNode.cs (CreateNavigator): Implemented.
5049 (InnerText): Implemented.
5051 * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
5053 (Load(XmlReader)): Allow for namespace qualified attributes.
5055 * XmlElement.cs: Implemented GetAttribute(string, string) and both
5056 GetAttributeNode overloads.
5057 (SetAttributeNode(XmlAttribute)): Implemented.
5059 * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
5060 and RemoveNamedItem(string, string).
5062 * XmlLinkedNode.cs (PreviousSibling): Implemented.
5064 * XmlTextReader.cs: Added code to maintain the order of attributes as
5065 they're parsed. XML doesn't require this but Microsoft's parser does it and
5066 matching them makes testing easier so now we have it, too.
5068 2002-05-26 Miguel de Icaza <miguel@ximian.com>
5070 * XmlDocument.cs: Implement the Save methods.
5072 2002-05-08 Mike Kestner <mkestner@speakeasy.net>
5074 * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
5076 2002-04-28 Duncan Mak <duncan@ximian.com>
5078 * XmlSignificantWhitespace.cs (Value):
5079 * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
5080 block. Added new private method, IsValidWhitespaceChar, for
5083 2002-04-16 Duncan Mak <duncan@ximian.com>
5085 * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
5087 2002-04-12 Duncan Mak <duncan@ximian.com>
5089 * XmlAttribute.cs (Prefix): Added preliminary code for set block,
5090 added comment on work that needs to be done here. A new MonoTODO item.
5092 * XmlDocument.cs (ctor): Corrected constructor signature, changed
5093 parameter from 'NameTable' to 'XmlNameTable'.
5095 * XmlDocumentFragment.cs (InnerXml): Added missing set block.
5097 * XmlCaseOrder.cs: Moved to System.Xml.XPath.
5099 2002-04-10 Duncan Mak <duncan@ximian.com>
5101 * XmlNodeReader.cs: Initial stubs for the class.
5103 2002-04-08 Kral Ferch <kral_ferch@hotmail.com>
5105 * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
5108 * XmlDeclaration.cs: WriteTo implementation.
5110 * XmlDocument.cs: InnerXml getter implementation.
5112 * XmlElement.cs: InnerXml getter implementation.
5114 * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
5116 * XmlSignificantWhitespace.cs: WriteTo implementation.
5118 * XmlText.cs: WriteContentTo and WriteTo implementation.
5120 * XmlTextWriter.cs: WriteRaw implementation.
5122 * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
5124 2002-04-05 Kral Ferch <kral_ferch@hotmail.com>
5126 * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
5127 if prefix in constructor is one of the default ones.
5129 * XmlCharacterData.cs: Returns String.Empty for Value and Data
5130 even when constructed with null.
5132 * XmlDeclaration.cs: Value doesn't put encoding or standalone
5133 in if they are empty.
5135 * XmlDocument.cs: Implemented CreateNode methods and this caused
5136 the changes in the other files in this checkin.
5138 * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
5139 even when constructed with null.
5141 * XmlWhitespace.cs: Changed Value 'get' to return Data.
5143 2002-04-01 Kral Ferch <kral_ferch@hotmail.com>
5145 * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
5147 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
5149 * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
5150 and WriteCharEntity.
5152 * XmlWrite.cs: Fixed bug where attribute namespace decl
5153 was pushing a scope onto the namespace manager when it shouldn't
5156 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
5158 * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
5159 in different states (no open start element, in WriteState.Content mode).
5161 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
5163 * XmlTextWriter.cs: XmlLang and XmlSpace properties
5164 and WriteWhitespace.
5166 * XmlTextWriterOpenElement.cs: scope support for XmlLang
5169 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
5171 * XmlTextWriter.cs: Working on Attribute methods.
5173 * XmlWriter.cs: Working on Attribute methods.
5175 2002-03-28 Duncan Mak <duncan@ximian.com>
5177 * XmlDocument.cs (CreateWhitespace):
5178 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
5181 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
5183 2002-03-26 Duncan Mak <duncan@ximian.com>
5185 * XmlDocument.cs (CreateDocumentType): Implemented.
5187 * XmlNode.cs (Value): Implemented.
5189 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
5190 like XmlCharacterData.
5192 * XmlDeclaration.cs (CloneNode):
5193 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
5196 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
5197 docs say it is the "The concatenated values of the node and all
5198 the children of the node.". I wrote some test programs and
5199 couldn't get any of the derived nodes to AppendChild. For now,
5200 InnerText == Data == Value.
5201 (Substring): Fixed typo.
5203 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
5205 * XmlImplementation.cs (CreateDocument): Implemented.
5207 2002-03-25 Duncan Mak <duncan@ximian.com>
5209 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
5210 missing properties (InnerText, Value).
5212 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
5214 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
5216 * XmlTextWriter.cs: Impls for BaseStream and
5217 Namespaces and WriteState.
5219 * XmlWriter.cs: WriteState and WriteStartElementInternal.
5221 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
5223 * XmlNodeListChildren.cs: made class internal
5224 instead of public. Shouldn't be visible outside
5227 * XmlTextWriter.cs: Implementations for Formatting,
5228 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
5229 Suppresses encoding on xml declaration if null stream passed in.
5230 Formats output including suppressing indentation for elements in
5233 * XmlTextWriterOpenElement.cs: Initial checkin.
5234 XmlTextWriter uses stack of these objects to track
5237 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
5239 * XmlElement.cs: impl HasAttribute(string name).
5241 2002-03-22 Duncan Mak <duncan@ximian.com>
5243 * XmlElement.cs: Reformatted.
5244 (CloneNode) Corrected.
5246 * XmlDocument.cs (CreateWhitespace):
5247 (CreateSignificantWhitespace): Implemented.
5249 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
5250 true, because Attributes have ChildNodes.
5252 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
5254 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
5255 xml declaration along with encoding. WriteEndElement throws
5256 exception if no WriteStartElement exists.
5258 2002-03-20 Duncan Mak <duncan@ximian.com>
5260 * XmlEntityReference.cs (CloneNode): Implemented.
5262 * XmlException.cs (Message): Implemented. We need to cache the
5263 message string because SystemException doesn't expose 'message'
5266 * XmlText.cs (Value): Added in the missing Value property.
5268 2002-03-20 Duncan Mak <duncan@ximian.com>
5270 * XmlAttribute.cs (CloneNode): Implemented.
5272 * XmlDocumentFragment.cs (CloneNode): Implemented.
5274 * XmlElement.cs (CloneNode): Implemented.
5276 2002-03-19 Duncan Mak <duncan@ximian.com>
5278 * XmlNotation.cs: Added to CVS.
5280 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
5282 * XmlCDataSection.cs (CloneNode): Implemented.
5284 * XmlDocumentFragment.cs: Reformatted and added the missing properties
5285 (InnerXml, OwnerDocument, ParentNode).
5286 (CloneNode): Implemented.
5288 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
5289 (Value) Implemented the 'get' property.
5291 * XmlWhitespace.cs (Module): implemented.
5293 2002-03-19 Jason Diamond <jason@injektilo.org>
5295 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
5298 2002-03-18 Jason Diamond <jason@injektilo.org>
5300 * XmlTextReader.cs: Don't restore properties after reading last
5301 attribute on an element.
5303 * XmlDocument.cs: Move back to element after reading attributes
5304 so that IsEmptyElement test succeeds.
5306 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
5308 * XmlNamespaceManager.cs: Implemented LookupPrefix.
5310 * XmlTextWriter.cs: Implemented namespace and prefix support.
5312 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
5314 * XmlTextReader.cs: Restores properties after
5315 reading last attribute on an element.
5317 * XmlNode.cs: AppendChild sets the parent
5320 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
5322 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
5324 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
5326 * XmlElement.cs: Fixed bug in WriteTo.
5328 * XmlProcessingInstruction.cs: Formatting.
5330 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
5331 fixes for WriteEndElement, WriteProcessingInstruction.
5333 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
5335 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
5336 had Load() add PIs to the document, moved onXXX methods to alphabetical
5339 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
5341 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
5343 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
5346 * XmlTextWriter.cs: Implementations for WriteEndElement,
5347 WriteProcessingInstruction, WriteStartElement, and WriteString.
5349 * XmlWriter.cs: Implemented WriteStartElement() methods.
5351 2002-03-15 Duncan Mak <duncan@ximian.com>
5353 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
5354 InnerText once I know what they do.
5356 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
5357 that we can properly chain constructors.
5358 (CloneNode): implemented.
5359 (WriteContentTo): Removed MonoTODO attribute as this method has no
5360 effect in this class.
5362 * XmlProcessingInstruction.cs (Value): Added the missing Set
5364 (InnerText): Added in, but not implemented.
5366 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
5368 * XmlTextWriter.cs: implemented constructors and
5369 WriteCData and WriteComment.
5371 2002-03-14 Duncan Mak <duncan@ximian.com>
5373 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
5374 file, and updated the callbacks to reflect the change.
5375 (XmlDocument): Added the NameTable constructor.
5376 (NameTable): Also the NameTable property.
5378 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
5379 was in XmlDocument.cs. It has two arguments now (object,
5380 EventArgs) , instead of one (object).
5382 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
5384 * XmlWriter.cs: Formatting.
5386 * XmlTextWriter.cs: Initial checkin.
5388 2002-03-14 Duncan Mak <duncan@ximian.com>
5390 * Validation.cs: Removed, replaced by ValidationType.cs.
5392 * ValidationType.cs: Added.
5394 2002-03-13 Duncan Mak <duncan@ximian.com>
5396 * XmlException.cs: Made it [Serializable], implemented good ol'
5397 GetObjectData, and the serialization constructor.
5399 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
5400 (SetNamedItem): Reverted (added back in) the patch with the
5401 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
5403 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
5404 (GetNamedItem (string, string)): implemented.
5405 (RemoveNamedItem): implemented.
5406 (SetNamedItem): implemented.
5408 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
5410 * XmlAttribute.cs: Moved a method from amongst properties down to
5411 it's alphabetical position in the methods section.
5413 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
5414 last linked child. Set XmlNode base class to return false for IsReadOnly().
5415 Implemented GetEnumerator() and RemoveChild().
5417 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
5418 This is to support the behavior that the Enumerator doesn't become invalid
5419 when changes to the children occur. Flushed out rest of implementation for
5420 MoveNext, Current, and Reset.
5422 2002-03-12 Duncan Mak <duncan@ximian.com>
5424 * XmlCharacterData.cs: Reformatted the properties for better readability.
5426 * XmlLinkedNode.cs: Removed the awful boxy comments.
5428 * XmlNamedNodeMap.cs (Count):
5429 (Item): Implemented. Tests will be coming.
5431 * XmlEntityReference.cs:
5432 * XmlSignificantWhitespace.cs: Implemented these classes except for
5433 the Clone, WriteContentTo and WriteTo methods. Will have to
5434 investigate into these later.
5436 2002-03-11 Duncan Mak <duncan@ximian.com>
5438 * IHasXmlNode.cs: Added to CVS.
5440 2002-03-08 Jason Diamond <jason@injektilo.org>
5442 * XmlParserContext.cs: Added missing constructors and missing Encoding
5445 * XmlTextReader.cs: Start using the XmlParserContext class.
5447 2002-03-08 Jason Diamond <jason@injektilo.org>
5449 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
5451 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
5453 * XmlNode.cs (Item): Implemented both indexers.
5455 2002-03-08 Jason Diamond <jason@injektilo.org>
5457 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
5458 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
5460 2002-03-08 Jason Diamond <jason@injektilo.org>
5462 * XmlAttribute.cs: Attribute nodes are supposed to store their values
5463 as child nodes so updated to reflect that.
5465 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
5466 duplicated in XmlDocument and XmlElement into XmlNode so that it
5467 wouldn't have to be duplicated in XmlAttribute, too.
5469 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
5471 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
5472 XmlNode.cs: Formatting.
5474 * XmlNodeListChildren.cs: Implementation of XmlNodeList
5475 for XmlNode.ChildNodes property.
5477 * XmlNodeListAsArrayList.cs: Removed file. Using different
5478 data structure (circular list) in XmlNode so this file
5481 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
5482 bug in setter property of LastLinkedChild so fixed it.
5484 2002-03-06 Jason Diamond <jason@injektilo.org>
5486 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
5487 We already have a parser in XmlTextReader.
5489 * XmlException.cs: Removed constructor accepting XmlInputSource.
5491 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
5493 * XmlNode.cs: Rewrote this class from scratch with
5494 MonoToDo attribs and NotImplementedExceptions. Now defines an
5495 internal LastLinkedNode property to aid the new implementation.
5496 XmlNodes only have ref to owner doc and parent nodes now.
5498 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
5499 and ref to next sibling to support walking our circular child
5502 * XmlDocument.cs: Added ref to last child node and overrides
5503 XmlNode's internal LastLinkedChild property to support walking
5504 our circular child node list.
5506 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
5508 * XmlProcessingInstructions.cs: Class was empty. Implemented
5509 constructor, properties, and CloneNode() method. Put in
5510 MonoToDo attrib for remaining methods.
5512 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
5513 Got rid of helper methods and fields since they were no
5516 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
5518 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
5519 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
5520 Createxxx() methods for those three node types.
5522 2002-03-02 Jason Diamond <jason@injektilo.org>
5524 * XmlDocument.cs: Implemented the remaining CreateElement and
5525 CreateAttribute methods.
5527 * XmlAttribute.cs: Re-implemented.
5529 * XmlElement.cs: Set owner element on attributes. Reformatted.
5531 2002-03-02 Jason Diamond <jason@injektilo.org>
5533 * XmlTextReader.cs: Implemented MoveToNextAttribute().
5535 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
5536 attributes. Create attribute nodes while loading. Implemented
5537 Load(string) and CreateTextNode().
5539 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
5541 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
5544 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
5546 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
5548 * XmlAttribute.cs : Using fix.
5549 * XmlDocument.cs (CreateAttribute(String)): Implement.
5551 2002-03-02 Jason Diamond <jason@injektilo.org>
5553 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
5556 2002-02-28 Jason Diamond <jason@injektilo.org>
5558 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
5559 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
5561 2002-02-28 Jason Diamond <jason@injektilo.org>
5563 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
5564 added missing members and MonoTODO attributes.
5566 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
5568 2002-02-27 Jason Diamond <jason@injektilo.org>
5570 * XmlElement.cs: Reformatted, added missing members and MonoTODO
5573 2002-02-26 Duncan Mak <duncan@ximian.com>
5575 * XmlCDataSection.cs: Initial implementation.
5577 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
5578 it out. This should (hopefully) be correct.
5580 2002-02-26 Jason Diamond <jason@injektilo.org>
5582 * XmlTextReader.cs: Apparently Microsoft's implementation treats
5583 namespace declarations as attributes so we do now, too.
5585 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
5586 checks the current scope.
5588 2002-02-26 Duncan Mak <duncan@ximian.com>
5590 * XmlDocumentType.cs: Added a few hacks here and there to
5591 temporarily fix the "I broke the build issue".
5593 2002-02-25 Jason Diamond <jason@injektilo.org>
5595 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
5596 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
5597 simple test to pass. The existing code is really shitty so I'll
5598 probably start writing tests and refactoring before much else
5601 2002-02-25 Duncan Mak <duncan@ximian.com>
5603 * NameTable.cs: Implemented.
5605 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
5607 2002-02-24 Duncan Mak <duncan@ximian.com>
5609 * XmlNodeOrder.cs: Added to CVS.
5611 * XmlQualifiedName.cs: Fixed a warning from Equals ().
5613 * XmlTokenizedType.cs: Added to CVS.
5615 * XmlUrlResolver.cs: Added to CVS with one TODO task.
5617 2002-02-23 Duncan Mak <duncan@ximian.com>
5619 * XmlQualifiedName.cs: Fixed ToString () and added the operators
5622 2002-02-23 Jason Diamond <jason@injektilo.org>
5624 * XmlTextReader.cs: Added support for qualified attributes.
5626 2002-02-23 Jason Diamond <jason@injektilo.org>
5628 * XmlNamespaceManager.cs: Initial implementation.
5630 * XmlTextReader.cs: Added support for NamespaceURI property on
5633 2002-02-23 Nick Drochak <ndrochak@gol.com>
5635 * ChangeLog: Add the change log to this directory
5637 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has