1 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
3 * XmlDocument.cs: XmlTextWriter.Formatting == Indented when
4 calling Save () -methods.
6 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
8 * XmlNodeReader.cs : primitive reading implementation.
10 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
12 * XmlElement.cs : quick fix for the incomplete patch of #35308 below.
14 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
16 * XmlDocument.cs : removed inconsistent line-feed output.
17 * XmlElement.cs, XmlTextWriter.cs :
18 fixed for bugzilla 35308 (default ns output)
19 * XmlWhitespace.cs : limited output only when preserving whitespace.
21 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
23 * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
24 Implemented XmlTextReader.ReadAttributeValue().
25 Added internal ReadAttributeNodeValue().
26 Fixed XmlAttribute.InnerXml to use these methods.
28 * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
29 Implemented XmlDocument.ReadNode() and removed ConstructDOM().
30 Other changes are replacing them.
32 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
34 * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
36 2002-12-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
38 * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
39 patch by JD Conley <jconley@winfessor.com>.
40 (Fix for xmlns attribute output.)
42 2002-12-05 Ville Palo <vi64p@koti.soon.fi>
44 * XmlQualifiedName.cs: Little fix to ToString () -method
46 2002-12-04 Tim Haynes <thaynes@openlinksw.com>
48 * class/System.XML/System.Xml/XmlElement.cs: Made more refined
49 checks on attributeNode to fix 32262.
51 2002-12-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
53 * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
54 * XmlTextWriter.cs (WriteStartElementInternal):
55 fixed when default namespace was specified, all descendants
56 fail to omit the default namespace declarations.
59 XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
61 XmlDocumentFragment.cs,
62 XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
63 * XmlElement.cs (set_IsEmpty) : implemented
64 (WriteTo) : removed my improper indenting (Writer already done)
65 * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
66 (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
67 ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
69 2002-12-01 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
71 * XmlNode.cs (RemoveChild):
72 bugfixed when XmlNode is Document OwnerDocument is null
73 * XmlDeclaration.cs (Value):
74 bugfixed regular expression pattern.
75 * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
77 2002-11-24 Duncan Mak <duncan@ximian.com>
79 * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
80 Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
81 first patch to Mono! ;-)
83 2002-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
86 (AppendChild): readded refChild != null condition before throwing
87 "cannot insert this node in this position" exception. There's probably
88 a better solution. Fixes #34191.
89 (RemoveAll): changed following Atsushi instructions.
92 2002-11-13 Duncan Mak <duncan@ximian.com>
94 * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
97 2002-11-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
99 * XmlDocument.cs : unified all constructors, added ConventionalParser,
100 implemented CloneNode() and CreateEntityReference(),
101 * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
102 set BaseURI to MonoTODO
103 * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
104 bugfix InsertAfter (incorrect prepending) and InsertBefore
105 (more than one DocumentElements hadn't caused errors)
106 * XmlTextReader.cs : unified all constructors,
107 added internal SetReaderContext(), SetReaderFragment()
108 bugfix (syntax check of PUBLIC / getting internal subset)
110 2002-11-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
112 XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
113 XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
114 XmlCharacterData.cs : exchanged Data and Value
115 (for processing events and inheritance)
116 XmlDocumentFragment.cs : set_InnerXml
117 XmlSignificantWhitespace.cs : set_Value
118 XmlTextReader.cs : ReadAttributeValue
120 2002-11-04 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
122 XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
124 2002-11-03 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
126 * XmlAttributeCollection.cs : checks owner element.
127 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
128 Remove, RemoveAt, SetNamedItem.
129 removed some logics that sets 'Parent' (that should be null)
130 * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
131 * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
132 * XmlElement.cs : implemented WriteTo, set_InnerText.
133 Fixed WriteTo() to add xmlns:* attributes when
134 writer.LookupPrefix() returned mismatching.
135 * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
136 Removing different prefixes for the same uri now runs correct.
137 added SetNamedItem(XmlNode node, int position_to_insert).
138 * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
139 XmlWhitespace, and XmlSignificantWhitespace
141 2002-10-31 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
143 * XmlDocument.cs : implemented CreateDocumentFragment()
144 * XmlElement.cs, XmlLinkedNode.cs :
145 moved LastLinkedChild from XmlElement to XmlLinkedNode.
146 * XmlEntityReference.cs : must throw NotImplementedException.
148 + implemented InsertBefore() and then implemented InsertAfter()
149 and modified AppendChild() to call it.
150 + added logic to check ReadOnly, parent document equivalence,
151 and inserting any 'content' before/after DocumentElement.
152 + implemented Clone() [it is equals to CloneNode() by MS doc.]
153 + added logic in RemoveChild() to check parent of oldChild.
154 + fixed ConstructNamespaceManager() to internal only.
156 2002-10-29 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
158 * XmlAttribute.cs : add internal 'IsDefault' property
159 (equals to !Specified)
160 * XmlImplementation.cs : added 'internalNameTable' property.
162 + now allows "" for 'standalone' in CreateXmlDeclaration.
163 + implemented 'Implementation' property and constructor with it.
164 + added logic for appending name table (but still no use)
165 + implemented property 'DocumentType'
166 (but without internalSubset parsing. wait for next update.)
168 + modified AppendChild() and RemoveChild() to support fragment.
169 + modified AppendChild() to remove newChild from its parent
170 when newChild is already in the other place.
171 + modified RemoveChild() to set parentNode null.
172 + modified ConstructDOM() to create DocumentType,
173 and fixed access modifier ('internal protected' to 'internal')
174 * XmlLinkedNode.cs : fixed 'NextSibling' to return null
175 when its parent is null.
176 * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
177 property to enable AppendChild() for this class.
178 * XmlTextReader.cs : appended private publicId and systemId fields.
180 2002-10-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
182 * XmlTextReader.cs: make it work when the underlying Stream is not
185 2002-10-26 Piers Haken <piersh@friskit.com>
187 * XmlNode.cs: add virtual property XPathNodeType
192 * XmlProcessingInstruction.cs:
193 * XmlSignificantWhitespace.cs:
195 * XmlWhitespace.cs: implement XPathNodeType property
196 * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
198 2002-10-26 Piers Haken <piersh@friskit.com>
200 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
202 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
204 * XmlTextReader.cs: don't increment depth for entity references.
206 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
208 * - Fixed the duplication of xmlns:xx = yy when serializing the
209 XML for serialization
211 Fixed the unnecessary parsing/serializing when adding assemblies
214 Avoided setting the XmlNode.InnerXml property
215 (as it's not implemented)
217 Fixed the usage/implementation of
218 XmlElement.GetElementsByTagName()
220 2002-10-21 Duncan Mak <duncan@ximian.com>
225 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
226 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
228 2002-10-18 Duncan Mak <duncan@ximian.com>
230 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
231 <ginga@kit.hi-ho.ne.jp>.
233 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
235 * XmlDocument.cs (ImportNode): Implemented
237 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
239 * XmlDocument.cs: one more Load method implemented.
240 * XmlTextReader.cs: Depth now works.
242 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
244 * XmlConvert.cs: IsInvalid is now internal.
245 * XmlNamespaceManager.cs: implemented RemoveNamespace
246 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
247 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
249 2002-09-19 Matt Hunter <mahunter@tconl.com>
251 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
252 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
254 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
256 * XmlConvert.cs: finished implementation.
257 * XmlTextReader.cs: fixed #30239.
258 * XmlTextWriter.cs: fixed #30240.
260 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
262 * XmlTextReader.cs: line and position begin with 1.
264 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
266 * XmlException.cs: added a new internal constructor for IXmlLineInfo
267 and output line and position info in Message.
269 * XmlReader.cs: implemented missing bits.
271 2002-09-12 Piers Haken <piersh@friksit.com>
273 * XmlDocumentNavigator.cs: implement MoveToId()
275 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
277 * XmlTextWriter.cs: fixed bug #29886.
279 2002-08-26 Ravi Pratap <ravi@ximian.com>
282 * XmlAttribute.cs (InnerText): Implement getting this property.
284 * XmlNode.cs (InnerText): Ensure that we append only values of
287 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
289 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
290 that allowed compiling this.
291 [ FIXME: filed bug #29435. mcs should have failed on this ]
293 2002-08-25 Tim Coleman <tim@timcoleman.com>
295 Change CreateNavigator to not be virtual.
297 Add set_Prefix and InnerText accessors.
298 * XmlEntityReference.cs:
299 Add set_Value accessor.
301 Make objects which should be private private.
303 Remove WriteStartElementInternal abstract definition.
304 * XmlValidatingReader.cs:
307 2002-08-22 Jason Diamond <jason@injektilo.org>
309 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
310 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
312 2002-08-22 Jason Diamond <jason@injektilo.org>
314 * XmlElement.cs: Correction to previous GetElementsByTagName patch
315 courtesy of Matt Hunter <xrkune@tconl.com>.
317 2002-08-22 Jason Diamond <jason@injektilo.org>
319 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
320 qualified GetElementsByTagName courtesy of Matt Hunter
323 2002-08-19 Jason Diamond <jason@injektilo.org>
325 * XmlDocument.cs, XmlElement.cs: Added implementation of
326 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
328 2002-08-16 Jason Diamond <jason@injektilo.org>
330 * XmlElement.cs: Fixed writing out qualified elements courtesy of
331 Marcus Bürgel <marcus.buergel@gmx.de>.
333 2002-08-13 Tim Coleman <tim@timcoleman.com>
335 Partial implementation of WriteQualifiedName ().
337 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
338 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
339 InsertData(), and ReplaceData(). These methods fire the
340 NodeChanging and NodeChanged events.
342 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
344 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
345 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
347 2002-08-03 Tim Coleman <tim@timcoleman.com>
348 * XmlNamespaceManager.cs:
349 .Net allows the empty namespace to be redefined
350 at a later point, but the current implementation
351 did not. This fixes a hashtable conflict.
353 2002-07-26 Tim Coleman <tim@timcoleman.com>
355 When given a textwriter, check to see if it has a
356 null encoding. This was being done for other inputs
359 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
361 * XmlTextReader.cs: rough line/column support.
363 2002-07-23 Duncan Mak <duncan@ximian.com>
365 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
366 (string, string []) is particularly strange.
368 * XmlException.cs: Remember to call the base serialization
371 * XmlNodeReader.cs: Keep a new variable to store the Depth.
373 2002-07-14 Jason Diamond <jason@injektilo.org>
375 * XmlAttribute.cs: Removed ownerElement field since we can reuse
378 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
379 if the current node is an attribute.
381 * XmlElement.cs: SetAttributeNode now sets the new attribute's
384 2002-07-12 Jason Diamond <jason@injektilo.org>
386 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
387 creating an element, use String.Empty instead.
389 2002-07-12 Piers Haken <piersh@friksit.com>
391 * XmlAttributeCollection.cs: implement some ItemOf indexers
392 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
393 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
395 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
398 2002-10-26 Piers Haken <piersh@friskit.com>
400 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
402 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
404 * XmlTextReader.cs: don't increment depth for entity references.
406 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
408 * - Fixed the duplication of xmlns:xx = yy when serializing the
409 XML for serialization
411 Fixed the unnecessary parsing/serializing when adding assemblies
414 Avoided setting the XmlNode.InnerXml property
415 (as it's not implemented)
417 Fixed the usage/implementation of
418 XmlElement.GetElementsByTagName()
420 2002-10-21 Duncan Mak <duncan@ximian.com>
425 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
426 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
428 2002-10-18 Duncan Mak <duncan@ximian.com>
430 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
431 <ginga@kit.hi-ho.ne.jp>.
433 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
435 * XmlDocument.cs (ImportNode): Implemented
437 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
439 * XmlDocument.cs: one more Load method implemented.
440 * XmlTextReader.cs: Depth now works.
442 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
444 * XmlConvert.cs: IsInvalid is now internal.
445 * XmlNamespaceManager.cs: implemented RemoveNamespace
446 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
447 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
449 2002-09-19 Matt Hunter <mahunter@tconl.com>
451 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
452 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
454 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
456 * XmlConvert.cs: finished implementation.
457 * XmlTextReader.cs: fixed #30239.
458 * XmlTextWriter.cs: fixed #30240.
460 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
462 * XmlTextReader.cs: line and position begin with 1.
464 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
466 * XmlException.cs: added a new internal constructor for IXmlLineInfo
467 and output line and position info in Message.
469 * XmlReader.cs: implemented missing bits.
471 2002-09-12 Piers Haken <piersh@friksit.com>
473 * XmlDocumentNavigator.cs: implement MoveToId()
475 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
477 * XmlTextWriter.cs: fixed bug #29886.
479 2002-08-26 Ravi Pratap <ravi@ximian.com>
482 * XmlAttribute.cs (InnerText): Implement getting this property.
484 * XmlNode.cs (InnerText): Ensure that we append only values of
487 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
489 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
490 that allowed compiling this.
491 [ FIXME: filed bug #29435. mcs should have failed on this ]
493 2002-08-25 Tim Coleman <tim@timcoleman.com>
495 Change CreateNavigator to not be virtual.
497 Add set_Prefix and InnerText accessors.
498 * XmlEntityReference.cs:
499 Add set_Value accessor.
501 Make objects which should be private private.
503 Remove WriteStartElementInternal abstract definition.
504 * XmlValidatingReader.cs:
507 2002-08-22 Jason Diamond <jason@injektilo.org>
509 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
510 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
512 2002-08-22 Jason Diamond <jason@injektilo.org>
514 * XmlElement.cs: Correction to previous GetElementsByTagName patch
515 courtesy of Matt Hunter <xrkune@tconl.com>.
517 2002-08-22 Jason Diamond <jason@injektilo.org>
519 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
520 qualified GetElementsByTagName courtesy of Matt Hunter
523 2002-08-19 Jason Diamond <jason@injektilo.org>
525 * XmlDocument.cs, XmlElement.cs: Added implementation of
526 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
528 2002-08-16 Jason Diamond <jason@injektilo.org>
530 * XmlElement.cs: Fixed writing out qualified elements courtesy of
531 Marcus Bürgel <marcus.buergel@gmx.de>.
533 2002-08-13 Tim Coleman <tim@timcoleman.com>
535 Partial implementation of WriteQualifiedName ().
537 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
538 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
539 InsertData(), and ReplaceData(). These methods fire the
540 NodeChanging and NodeChanged events.
542 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
544 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
545 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
547 2002-08-03 Tim Coleman <tim@timcoleman.com>
548 * XmlNamespaceManager.cs:
549 .Net allows the empty namespace to be redefined
550 at a later point, but the current implementation
551 did not. This fixes a hashtable conflict.
553 2002-07-26 Tim Coleman <tim@timcoleman.com>
555 When given a textwriter, check to see if it has a
556 null encoding. This was being done for other inputs
559 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
561 * XmlTextReader.cs: rough line/column support.
563 2002-07-23 Duncan Mak <duncan@ximian.com>
565 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
566 (string, string []) is particularly strange.
568 * XmlException.cs: Remember to call the base serialization
571 * XmlNodeReader.cs: Keep a new variable to store the Depth.
573 2002-07-14 Jason Diamond <jason@injektilo.org>
575 * XmlAttribute.cs: Removed ownerElement field since we can reuse
578 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
579 if the current node is an attribute.
581 * XmlElement.cs: SetAttributeNode now sets the new attribute's
584 2002-07-12 Jason Diamond <jason@injektilo.org>
586 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
587 creating an element, use String.Empty instead.
589 2002-07-12 Piers Haken <piersh@friksit.com>
591 * XmlAttributeCollection.cs: implement some ItemOf indexers
592 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
593 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
595 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
597 * XmlTextWriter: Fixed Indentation. IndentationOverridden should
598 not be set when inside a attribute.
600 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
602 * XmlTextWriter: In WriteStartElement, if namespace is null and
603 prefix is null|empty do not write out xmlns=""
605 * XmlWriter: WriteStartElement calls the virtual method with null
606 argument instead of empty string.
608 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
610 * XmlTextReader.cs: implemented .ctor (Stream).
612 2002-06-26 Duncan Mak <duncan@ximian.com>
614 * XmlNodeReader.cs: Implementation of most of the properties, and
615 some of the related methods.
617 2002-06-23 Piers Haken <piersh@friskit.com>
619 * XmlDocumentNavigator.cs: implement Clone()
620 * XmlElement.cs: remove bogus unimplemented override of InnerText
621 * XmlNode.cs: implment SelectNodes/SelectSingleNode
622 * XmlNodeArrayList.cs: new support class for SelectNodes
624 2002-06-21 Ajay kumar Dwivedi <adwiv@yahoo.com>
626 * XmlQualifiedName: Name and Namespaces are never null. If null is passed
627 to the constructor, set them to empty strings.
630 2002-06-18 Ajay kumar Dwivedi <adwiv@yahoo.com>
632 * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
635 2002-06-14 Duncan Mak <duncan@ximian.com>
637 * XmlConvert.cs: Added CLSCompliant attributes to methods.
639 2002-06-12 Duncan Mak <duncan@ximian.com>
641 * XmlCharacterData.cs (Value): Throw an ArgumentException in the
642 set block if the node is read-only.
644 2002-06-10 Ajay kumar Dwivedi <adwiv@yahoo.com>
645 * XmlConstruct.cs : New Internal class with Helper methods for
646 Checking XmlConstructs
647 * XmlConvert.cs: Implemented most of the methods
649 2002-06-08 Duncan Mak <duncan@ximian.com>
651 * XmlDocument.cs (Load):
652 Added bits to Load (string) for BaseURI support.
654 * XmlAttribute.cs (BaseURI):
655 * XmlDocument.cs (BaseURI):
656 * XmlEntity.cs (BaseURI): Implemented.
658 2002-05-27 Jason Diamond <jason@injektilo.org>
660 * XmlDocumentNavigator.cs: Added file to directory.
662 * XmlNode.cs (CreateNavigator): Implemented.
663 (InnerText): Implemented.
665 * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
667 (Load(XmlReader)): Allow for namespace qualified attributes.
669 * XmlElement.cs: Implemented GetAttribute(string, string) and both
670 GetAttributeNode overloads.
671 (SetAttributeNode(XmlAttribute)): Implemented.
673 * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
674 and RemoveNamedItem(string, string).
676 * XmlLinkedNode.cs (PreviousSibling): Implemented.
678 * XmlTextReader.cs: Added code to maintain the order of attributes as
679 they're parsed. XML doesn't require this but Microsoft's parser does it and
680 matching them makes testing easier so now we have it, too.
682 2002-05-26 Miguel de Icaza <miguel@ximian.com>
684 * XmlDocument.cs: Implement the Save methods.
686 2002-05-08 Mike Kestner <mkestner@speakeasy.net>
688 * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
690 2002-04-28 Duncan Mak <duncan@ximian.com>
692 * XmlSignificantWhitespace.cs (Value):
693 * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
694 block. Added new private method, IsValidWhitespaceChar, for
697 2002-04-16 Duncan Mak <duncan@ximian.com>
699 * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
701 2002-04-12 Duncan Mak <duncan@ximian.com>
703 * XmlAttribute.cs (Prefix): Added preliminary code for set block,
704 added comment on work that needs to be done here. A new MonoTODO item.
706 * XmlDocument.cs (ctor): Corrected constructor signature, changed
707 parameter from 'NameTable' to 'XmlNameTable'.
709 * XmlDocumentFragment.cs (InnerXml): Added missing set block.
711 * XmlCaseOrder.cs: Moved to System.Xml.XPath.
713 2002-04-10 Duncan Mak <duncan@ximian.com>
715 * XmlNodeReader.cs: Initial stubs for the class.
717 2002-04-08 Kral Ferch <kral_ferch@hotmail.com>
719 * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
722 * XmlDeclaration.cs: WriteTo implementation.
724 * XmlDocument.cs: InnerXml getter implementation.
726 * XmlElement.cs: InnerXml getter implementation.
728 * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
730 * XmlSignificantWhitespace.cs: WriteTo implementation.
732 * XmlText.cs: WriteContentTo and WriteTo implementation.
734 * XmlTextWriter.cs: WriteRaw implementation.
736 * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
738 2002-04-05 Kral Ferch <kral_ferch@hotmail.com>
740 * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
741 if prefix in constructor is one of the default ones.
743 * XmlCharacterData.cs: Returns String.Empty for Value and Data
744 even when constructed with null.
746 * XmlDeclaration.cs: Value doesn't put encoding or standalone
747 in if they are empty.
749 * XmlDocument.cs: Implemented CreateNode methods and this caused
750 the changes in the other files in this checkin.
752 * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
753 even when constructed with null.
755 * XmlWhitespace.cs: Changed Value 'get' to return Data.
757 2002-04-01 Kral Ferch <kral_ferch@hotmail.com>
759 * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
761 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
763 * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
766 * XmlWrite.cs: Fixed bug where attribute namespace decl
767 was pushing a scope onto the namespace manager when it shouldn't
770 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
772 * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
773 in different states (no open start element, in WriteState.Content mode).
775 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
777 * XmlTextWriter.cs: XmlLang and XmlSpace properties
780 * XmlTextWriterOpenElement.cs: scope support for XmlLang
783 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
785 * XmlTextWriter.cs: Working on Attribute methods.
787 * XmlWriter.cs: Working on Attribute methods.
789 2002-03-28 Duncan Mak <duncan@ximian.com>
791 * XmlDocument.cs (CreateWhitespace):
792 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
795 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
797 2002-03-26 Duncan Mak <duncan@ximian.com>
799 * XmlDocument.cs (CreateDocumentType): Implemented.
801 * XmlNode.cs (Value): Implemented.
803 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
804 like XmlCharacterData.
806 * XmlDeclaration.cs (CloneNode):
807 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
810 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
811 docs say it is the "The concatenated values of the node and all
812 the children of the node.". I wrote some test programs and
813 couldn't get any of the derived nodes to AppendChild. For now,
814 InnerText == Data == Value.
815 (Substring): Fixed typo.
817 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
819 * XmlImplementation.cs (CreateDocument): Implemented.
821 2002-03-25 Duncan Mak <duncan@ximian.com>
823 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
824 missing properties (InnerText, Value).
826 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
828 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
830 * XmlTextWriter.cs: Impls for BaseStream and
831 Namespaces and WriteState.
833 * XmlWriter.cs: WriteState and WriteStartElementInternal.
835 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
837 * XmlNodeListChildren.cs: made class internal
838 instead of public. Shouldn't be visible outside
841 * XmlTextWriter.cs: Implementations for Formatting,
842 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
843 Suppresses encoding on xml declaration if null stream passed in.
844 Formats output including suppressing indentation for elements in
847 * XmlTextWriterOpenElement.cs: Initial checkin.
848 XmlTextWriter uses stack of these objects to track
851 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
853 * XmlElement.cs: impl HasAttribute(string name).
855 2002-03-22 Duncan Mak <duncan@ximian.com>
857 * XmlElement.cs: Reformatted.
858 (CloneNode) Corrected.
860 * XmlDocument.cs (CreateWhitespace):
861 (CreateSignificantWhitespace): Implemented.
863 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
864 true, because Attributes have ChildNodes.
866 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
868 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
869 xml declaration along with encoding. WriteEndElement throws
870 exception if no WriteStartElement exists.
872 2002-03-20 Duncan Mak <duncan@ximian.com>
874 * XmlEntityReference.cs (CloneNode): Implemented.
876 * XmlException.cs (Message): Implemented. We need to cache the
877 message string because SystemException doesn't expose 'message'
880 * XmlText.cs (Value): Added in the missing Value property.
882 2002-03-20 Duncan Mak <duncan@ximian.com>
884 * XmlAttribute.cs (CloneNode): Implemented.
886 * XmlDocumentFragment.cs (CloneNode): Implemented.
888 * XmlElement.cs (CloneNode): Implemented.
890 2002-03-19 Duncan Mak <duncan@ximian.com>
892 * XmlNotation.cs: Added to CVS.
894 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
896 * XmlCDataSection.cs (CloneNode): Implemented.
898 * XmlDocumentFragment.cs: Reformatted and added the missing properties
899 (InnerXml, OwnerDocument, ParentNode).
900 (CloneNode): Implemented.
902 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
903 (Value) Implemented the 'get' property.
905 * XmlWhitespace.cs (Module): implemented.
907 2002-03-19 Jason Diamond <jason@injektilo.org>
909 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
912 2002-03-18 Jason Diamond <jason@injektilo.org>
914 * XmlTextReader.cs: Don't restore properties after reading last
915 attribute on an element.
917 * XmlDocument.cs: Move back to element after reading attributes
918 so that IsEmptyElement test succeeds.
920 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
922 * XmlNamespaceManager.cs: Implemented LookupPrefix.
924 * XmlTextWriter.cs: Implemented namespace and prefix support.
926 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
928 * XmlTextReader.cs: Restores properties after
929 reading last attribute on an element.
931 * XmlNode.cs: AppendChild sets the parent
934 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
936 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
938 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
940 * XmlElement.cs: Fixed bug in WriteTo.
942 * XmlProcessingInstruction.cs: Formatting.
944 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
945 fixes for WriteEndElement, WriteProcessingInstruction.
947 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
949 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
950 had Load() add PIs to the document, moved onXXX methods to alphabetical
953 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
955 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
957 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
960 * XmlTextWriter.cs: Implementations for WriteEndElement,
961 WriteProcessingInstruction, WriteStartElement, and WriteString.
963 * XmlWriter.cs: Implemented WriteStartElement() methods.
965 2002-03-15 Duncan Mak <duncan@ximian.com>
967 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
968 InnerText once I know what they do.
970 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
971 that we can properly chain constructors.
972 (CloneNode): implemented.
973 (WriteContentTo): Removed MonoTODO attribute as this method has no
974 effect in this class.
976 * XmlProcessingInstruction.cs (Value): Added the missing Set
978 (InnerText): Added in, but not implemented.
980 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
982 * XmlTextWriter.cs: implemented constructors and
983 WriteCData and WriteComment.
985 2002-03-14 Duncan Mak <duncan@ximian.com>
987 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
988 file, and updated the callbacks to reflect the change.
989 (XmlDocument): Added the NameTable constructor.
990 (NameTable): Also the NameTable property.
992 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
993 was in XmlDocument.cs. It has two arguments now (object,
994 EventArgs) , instead of one (object).
996 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
998 * XmlWriter.cs: Formatting.
1000 * XmlTextWriter.cs: Initial checkin.
1002 2002-03-14 Duncan Mak <duncan@ximian.com>
1004 * Validation.cs: Removed, replaced by ValidationType.cs.
1006 * ValidationType.cs: Added.
1008 2002-03-13 Duncan Mak <duncan@ximian.com>
1010 * XmlException.cs: Made it [Serializable], implemented good ol'
1011 GetObjectData, and the serialization constructor.
1013 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
1014 (SetNamedItem): Reverted (added back in) the patch with the
1015 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
1017 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
1018 (GetNamedItem (string, string)): implemented.
1019 (RemoveNamedItem): implemented.
1020 (SetNamedItem): implemented.
1022 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
1024 * XmlAttribute.cs: Moved a method from amongst properties down to
1025 it's alphabetical position in the methods section.
1027 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
1028 last linked child. Set XmlNode base class to return false for IsReadOnly().
1029 Implemented GetEnumerator() and RemoveChild().
1031 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
1032 This is to support the behavior that the Enumerator doesn't become invalid
1033 when changes to the children occur. Flushed out rest of implementation for
1034 MoveNext, Current, and Reset.
1036 2002-03-12 Duncan Mak <duncan@ximian.com>
1038 * XmlCharacterData.cs: Reformatted the properties for better readability.
1040 * XmlLinkedNode.cs: Removed the awful boxy comments.
1042 * XmlNamedNodeMap.cs (Count):
1043 (Item): Implemented. Tests will be coming.
1045 * XmlEntityReference.cs:
1046 * XmlSignificantWhitespace.cs: Implemented these classes except for
1047 the Clone, WriteContentTo and WriteTo methods. Will have to
1048 investigate into these later.
1050 2002-03-11 Duncan Mak <duncan@ximian.com>
1052 * IHasXmlNode.cs: Added to CVS.
1054 2002-03-08 Jason Diamond <jason@injektilo.org>
1056 * XmlParserContext.cs: Added missing constructors and missing Encoding
1059 * XmlTextReader.cs: Start using the XmlParserContext class.
1061 2002-03-08 Jason Diamond <jason@injektilo.org>
1063 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
1065 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
1067 * XmlNode.cs (Item): Implemented both indexers.
1069 2002-03-08 Jason Diamond <jason@injektilo.org>
1071 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
1072 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
1074 2002-03-08 Jason Diamond <jason@injektilo.org>
1076 * XmlAttribute.cs: Attribute nodes are supposed to store their values
1077 as child nodes so updated to reflect that.
1079 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
1080 duplicated in XmlDocument and XmlElement into XmlNode so that it
1081 wouldn't have to be duplicated in XmlAttribute, too.
1083 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
1085 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
1086 XmlNode.cs: Formatting.
1088 * XmlNodeListChildren.cs: Implementation of XmlNodeList
1089 for XmlNode.ChildNodes property.
1091 * XmlNodeListAsArrayList.cs: Removed file. Using different
1092 data structure (circular list) in XmlNode so this file
1095 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
1096 bug in setter property of LastLinkedChild so fixed it.
1098 2002-03-06 Jason Diamond <jason@injektilo.org>
1100 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
1101 We already have a parser in XmlTextReader.
1103 * XmlException.cs: Removed constructor accepting XmlInputSource.
1105 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
1107 * XmlNode.cs: Rewrote this class from scratch with
1108 MonoToDo attribs and NotImplementedExceptions. Now defines an
1109 internal LastLinkedNode property to aid the new implementation.
1110 XmlNodes only have ref to owner doc and parent nodes now.
1112 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
1113 and ref to next sibling to support walking our circular child
1116 * XmlDocument.cs: Added ref to last child node and overrides
1117 XmlNode's internal LastLinkedChild property to support walking
1118 our circular child node list.
1120 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
1122 * XmlProcessingInstructions.cs: Class was empty. Implemented
1123 constructor, properties, and CloneNode() method. Put in
1124 MonoToDo attrib for remaining methods.
1126 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
1127 Got rid of helper methods and fields since they were no
1130 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
1132 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
1133 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
1134 Createxxx() methods for those three node types.
1136 2002-03-02 Jason Diamond <jason@injektilo.org>
1138 * XmlDocument.cs: Implemented the remaining CreateElement and
1139 CreateAttribute methods.
1141 * XmlAttribute.cs: Re-implemented.
1143 * XmlElement.cs: Set owner element on attributes. Reformatted.
1145 2002-03-02 Jason Diamond <jason@injektilo.org>
1147 * XmlTextReader.cs: Implemented MoveToNextAttribute().
1149 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
1150 attributes. Create attribute nodes while loading. Implemented
1151 Load(string) and CreateTextNode().
1153 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
1155 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
1158 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
1160 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
1162 * XmlAttribute.cs : Using fix.
1163 * XmlDocument.cs (CreateAttribute(String)): Implement.
1165 2002-03-02 Jason Diamond <jason@injektilo.org>
1167 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
1170 2002-02-28 Jason Diamond <jason@injektilo.org>
1172 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
1173 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
1175 2002-02-28 Jason Diamond <jason@injektilo.org>
1177 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
1178 added missing members and MonoTODO attributes.
1180 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
1182 2002-02-27 Jason Diamond <jason@injektilo.org>
1184 * XmlElement.cs: Reformatted, added missing members and MonoTODO
1187 2002-02-26 Duncan Mak <duncan@ximian.com>
1189 * XmlCDataSection.cs: Initial implementation.
1191 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
1192 it out. This should (hopefully) be correct.
1194 2002-02-26 Jason Diamond <jason@injektilo.org>
1196 * XmlTextReader.cs: Apparently Microsoft's implementation treats
1197 namespace declarations as attributes so we do now, too.
1199 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
1200 checks the current scope.
1202 2002-02-26 Duncan Mak <duncan@ximian.com>
1204 * XmlDocumentType.cs: Added a few hacks here and there to
1205 temporarily fix the "I broke the build issue".
1207 2002-02-25 Jason Diamond <jason@injektilo.org>
1209 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
1210 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
1211 simple test to pass. The existing code is really shitty so I'll
1212 probably start writing tests and refactoring before much else
1215 2002-02-25 Duncan Mak <duncan@ximian.com>
1217 * NameTable.cs: Implemented.
1219 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
1221 2002-02-24 Duncan Mak <duncan@ximian.com>
1223 * XmlNodeOrder.cs: Added to CVS.
1225 * XmlQualifiedName.cs: Fixed a warning from Equals ().
1227 * XmlTokenizedType.cs: Added to CVS.
1229 * XmlUrlResolver.cs: Added to CVS with one TODO task.
1231 2002-02-23 Duncan Mak <duncan@ximian.com>
1233 * XmlQualifiedName.cs: Fixed ToString () and added the operators
1236 2002-02-23 Jason Diamond <jason@injektilo.org>
1238 * XmlTextReader.cs: Added support for qualified attributes.
1240 2002-02-23 Jason Diamond <jason@injektilo.org>
1242 * XmlNamespaceManager.cs: Initial implementation.
1244 * XmlTextReader.cs: Added support for NamespaceURI property on
1247 2002-02-23 Nick Drochak <ndrochak@gol.com>
1249 * ChangeLog: Add the change log to this directory
1251 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has