1 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3 * XmlNodeReader.cs : primitive reading implementation.
5 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
7 * XmlElement.cs : quick fix for the incomplete patch of #35308 below.
9 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
11 * XmlDocument.cs : removed inconsistent line-feed output.
12 * XmlElement.cs, XmlTextWriter.cs :
13 fixed for bugzilla 35308 (default ns output)
14 * XmlWhitespace.cs : limited output only when preserving whitespace.
16 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
18 * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
19 Implemented XmlTextReader.ReadAttributeValue().
20 Added internal ReadAttributeNodeValue().
21 Fixed XmlAttribute.InnerXml to use these methods.
23 * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
24 Implemented XmlDocument.ReadNode() and removed ConstructDOM().
25 Other changes are replacing them.
27 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
29 * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
31 2002-12-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
33 * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
34 patch by JD Conley <jconley@winfessor.com>.
35 (Fix for xmlns attribute output.)
37 2002-12-05 Ville Palo <vi64p@koti.soon.fi>
39 * XmlQualifiedName.cs: Little fix to ToString () -method
41 2002-12-04 Tim Haynes <thaynes@openlinksw.com>
43 * class/System.XML/System.Xml/XmlElement.cs: Made more refined
44 checks on attributeNode to fix 32262.
46 2002-12-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
48 * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
49 * XmlTextWriter.cs (WriteStartElementInternal):
50 fixed when default namespace was specified, all descendants
51 fail to omit the default namespace declarations.
54 XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
56 XmlDocumentFragment.cs,
57 XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
58 * XmlElement.cs (set_IsEmpty) : implemented
59 (WriteTo) : removed my improper indenting (Writer already done)
60 * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
61 (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
62 ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
64 2002-12-01 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
66 * XmlNode.cs (RemoveChild):
67 bugfixed when XmlNode is Document OwnerDocument is null
68 * XmlDeclaration.cs (Value):
69 bugfixed regular expression pattern.
70 * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
72 2002-11-24 Duncan Mak <duncan@ximian.com>
74 * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
75 Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
76 first patch to Mono! ;-)
78 2002-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
81 (AppendChild): readded refChild != null condition before throwing
82 "cannot insert this node in this position" exception. There's probably
83 a better solution. Fixes #34191.
84 (RemoveAll): changed following Atsushi instructions.
87 2002-11-13 Duncan Mak <duncan@ximian.com>
89 * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
92 2002-11-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
94 * XmlDocument.cs : unified all constructors, added ConventionalParser,
95 implemented CloneNode() and CreateEntityReference(),
96 * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
97 set BaseURI to MonoTODO
98 * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
99 bugfix InsertAfter (incorrect prepending) and InsertBefore
100 (more than one DocumentElements hadn't caused errors)
101 * XmlTextReader.cs : unified all constructors,
102 added internal SetReaderContext(), SetReaderFragment()
103 bugfix (syntax check of PUBLIC / getting internal subset)
105 2002-11-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
107 XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
108 XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
109 XmlCharacterData.cs : exchanged Data and Value
110 (for processing events and inheritance)
111 XmlDocumentFragment.cs : set_InnerXml
112 XmlSignificantWhitespace.cs : set_Value
113 XmlTextReader.cs : ReadAttributeValue
115 2002-11-04 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
117 XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
119 2002-11-03 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
121 * XmlAttributeCollection.cs : checks owner element.
122 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
123 Remove, RemoveAt, SetNamedItem.
124 removed some logics that sets 'Parent' (that should be null)
125 * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
126 * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
127 * XmlElement.cs : implemented WriteTo, set_InnerText.
128 Fixed WriteTo() to add xmlns:* attributes when
129 writer.LookupPrefix() returned mismatching.
130 * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
131 Removing different prefixes for the same uri now runs correct.
132 added SetNamedItem(XmlNode node, int position_to_insert).
133 * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
134 XmlWhitespace, and XmlSignificantWhitespace
136 2002-10-31 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
138 * XmlDocument.cs : implemented CreateDocumentFragment()
139 * XmlElement.cs, XmlLinkedNode.cs :
140 moved LastLinkedChild from XmlElement to XmlLinkedNode.
141 * XmlEntityReference.cs : must throw NotImplementedException.
143 + implemented InsertBefore() and then implemented InsertAfter()
144 and modified AppendChild() to call it.
145 + added logic to check ReadOnly, parent document equivalence,
146 and inserting any 'content' before/after DocumentElement.
147 + implemented Clone() [it is equals to CloneNode() by MS doc.]
148 + added logic in RemoveChild() to check parent of oldChild.
149 + fixed ConstructNamespaceManager() to internal only.
151 2002-10-29 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
153 * XmlAttribute.cs : add internal 'IsDefault' property
154 (equals to !Specified)
155 * XmlImplementation.cs : added 'internalNameTable' property.
157 + now allows "" for 'standalone' in CreateXmlDeclaration.
158 + implemented 'Implementation' property and constructor with it.
159 + added logic for appending name table (but still no use)
160 + implemented property 'DocumentType'
161 (but without internalSubset parsing. wait for next update.)
163 + modified AppendChild() and RemoveChild() to support fragment.
164 + modified AppendChild() to remove newChild from its parent
165 when newChild is already in the other place.
166 + modified RemoveChild() to set parentNode null.
167 + modified ConstructDOM() to create DocumentType,
168 and fixed access modifier ('internal protected' to 'internal')
169 * XmlLinkedNode.cs : fixed 'NextSibling' to return null
170 when its parent is null.
171 * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
172 property to enable AppendChild() for this class.
173 * XmlTextReader.cs : appended private publicId and systemId fields.
175 2002-10-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
177 * XmlTextReader.cs: make it work when the underlying Stream is not
180 2002-10-26 Piers Haken <piersh@friskit.com>
182 * XmlNode.cs: add virtual property XPathNodeType
187 * XmlProcessingInstruction.cs:
188 * XmlSignificantWhitespace.cs:
190 * XmlWhitespace.cs: implement XPathNodeType property
191 * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
193 2002-10-26 Piers Haken <piersh@friskit.com>
195 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
197 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
199 * XmlTextReader.cs: don't increment depth for entity references.
201 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
203 * - Fixed the duplication of xmlns:xx = yy when serializing the
204 XML for serialization
206 Fixed the unnecessary parsing/serializing when adding assemblies
209 Avoided setting the XmlNode.InnerXml property
210 (as it's not implemented)
212 Fixed the usage/implementation of
213 XmlElement.GetElementsByTagName()
215 2002-10-21 Duncan Mak <duncan@ximian.com>
220 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
221 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
223 2002-10-18 Duncan Mak <duncan@ximian.com>
225 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
226 <ginga@kit.hi-ho.ne.jp>.
228 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
230 * XmlDocument.cs (ImportNode): Implemented
232 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
234 * XmlDocument.cs: one more Load method implemented.
235 * XmlTextReader.cs: Depth now works.
237 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
239 * XmlConvert.cs: IsInvalid is now internal.
240 * XmlNamespaceManager.cs: implemented RemoveNamespace
241 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
242 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
244 2002-09-19 Matt Hunter <mahunter@tconl.com>
246 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
247 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
249 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
251 * XmlConvert.cs: finished implementation.
252 * XmlTextReader.cs: fixed #30239.
253 * XmlTextWriter.cs: fixed #30240.
255 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
257 * XmlTextReader.cs: line and position begin with 1.
259 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
261 * XmlException.cs: added a new internal constructor for IXmlLineInfo
262 and output line and position info in Message.
264 * XmlReader.cs: implemented missing bits.
266 2002-09-12 Piers Haken <piersh@friksit.com>
268 * XmlDocumentNavigator.cs: implement MoveToId()
270 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
272 * XmlTextWriter.cs: fixed bug #29886.
274 2002-08-26 Ravi Pratap <ravi@ximian.com>
277 * XmlAttribute.cs (InnerText): Implement getting this property.
279 * XmlNode.cs (InnerText): Ensure that we append only values of
282 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
284 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
285 that allowed compiling this.
286 [ FIXME: filed bug #29435. mcs should have failed on this ]
288 2002-08-25 Tim Coleman <tim@timcoleman.com>
290 Change CreateNavigator to not be virtual.
292 Add set_Prefix and InnerText accessors.
293 * XmlEntityReference.cs:
294 Add set_Value accessor.
296 Make objects which should be private private.
298 Remove WriteStartElementInternal abstract definition.
299 * XmlValidatingReader.cs:
302 2002-08-22 Jason Diamond <jason@injektilo.org>
304 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
305 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
307 2002-08-22 Jason Diamond <jason@injektilo.org>
309 * XmlElement.cs: Correction to previous GetElementsByTagName patch
310 courtesy of Matt Hunter <xrkune@tconl.com>.
312 2002-08-22 Jason Diamond <jason@injektilo.org>
314 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
315 qualified GetElementsByTagName courtesy of Matt Hunter
318 2002-08-19 Jason Diamond <jason@injektilo.org>
320 * XmlDocument.cs, XmlElement.cs: Added implementation of
321 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
323 2002-08-16 Jason Diamond <jason@injektilo.org>
325 * XmlElement.cs: Fixed writing out qualified elements courtesy of
326 Marcus Bürgel <marcus.buergel@gmx.de>.
328 2002-08-13 Tim Coleman <tim@timcoleman.com>
330 Partial implementation of WriteQualifiedName ().
332 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
333 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
334 InsertData(), and ReplaceData(). These methods fire the
335 NodeChanging and NodeChanged events.
337 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
339 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
340 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
342 2002-08-03 Tim Coleman <tim@timcoleman.com>
343 * XmlNamespaceManager.cs:
344 .Net allows the empty namespace to be redefined
345 at a later point, but the current implementation
346 did not. This fixes a hashtable conflict.
348 2002-07-26 Tim Coleman <tim@timcoleman.com>
350 When given a textwriter, check to see if it has a
351 null encoding. This was being done for other inputs
354 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
356 * XmlTextReader.cs: rough line/column support.
358 2002-07-23 Duncan Mak <duncan@ximian.com>
360 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
361 (string, string []) is particularly strange.
363 * XmlException.cs: Remember to call the base serialization
366 * XmlNodeReader.cs: Keep a new variable to store the Depth.
368 2002-07-14 Jason Diamond <jason@injektilo.org>
370 * XmlAttribute.cs: Removed ownerElement field since we can reuse
373 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
374 if the current node is an attribute.
376 * XmlElement.cs: SetAttributeNode now sets the new attribute's
379 2002-07-12 Jason Diamond <jason@injektilo.org>
381 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
382 creating an element, use String.Empty instead.
384 2002-07-12 Piers Haken <piersh@friksit.com>
386 * XmlAttributeCollection.cs: implement some ItemOf indexers
387 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
388 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
390 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
393 2002-10-26 Piers Haken <piersh@friskit.com>
395 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
397 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
399 * XmlTextReader.cs: don't increment depth for entity references.
401 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
403 * - Fixed the duplication of xmlns:xx = yy when serializing the
404 XML for serialization
406 Fixed the unnecessary parsing/serializing when adding assemblies
409 Avoided setting the XmlNode.InnerXml property
410 (as it's not implemented)
412 Fixed the usage/implementation of
413 XmlElement.GetElementsByTagName()
415 2002-10-21 Duncan Mak <duncan@ximian.com>
420 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
421 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
423 2002-10-18 Duncan Mak <duncan@ximian.com>
425 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
426 <ginga@kit.hi-ho.ne.jp>.
428 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
430 * XmlDocument.cs (ImportNode): Implemented
432 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
434 * XmlDocument.cs: one more Load method implemented.
435 * XmlTextReader.cs: Depth now works.
437 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
439 * XmlConvert.cs: IsInvalid is now internal.
440 * XmlNamespaceManager.cs: implemented RemoveNamespace
441 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
442 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
444 2002-09-19 Matt Hunter <mahunter@tconl.com>
446 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
447 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
449 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
451 * XmlConvert.cs: finished implementation.
452 * XmlTextReader.cs: fixed #30239.
453 * XmlTextWriter.cs: fixed #30240.
455 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
457 * XmlTextReader.cs: line and position begin with 1.
459 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
461 * XmlException.cs: added a new internal constructor for IXmlLineInfo
462 and output line and position info in Message.
464 * XmlReader.cs: implemented missing bits.
466 2002-09-12 Piers Haken <piersh@friksit.com>
468 * XmlDocumentNavigator.cs: implement MoveToId()
470 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
472 * XmlTextWriter.cs: fixed bug #29886.
474 2002-08-26 Ravi Pratap <ravi@ximian.com>
477 * XmlAttribute.cs (InnerText): Implement getting this property.
479 * XmlNode.cs (InnerText): Ensure that we append only values of
482 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
484 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
485 that allowed compiling this.
486 [ FIXME: filed bug #29435. mcs should have failed on this ]
488 2002-08-25 Tim Coleman <tim@timcoleman.com>
490 Change CreateNavigator to not be virtual.
492 Add set_Prefix and InnerText accessors.
493 * XmlEntityReference.cs:
494 Add set_Value accessor.
496 Make objects which should be private private.
498 Remove WriteStartElementInternal abstract definition.
499 * XmlValidatingReader.cs:
502 2002-08-22 Jason Diamond <jason@injektilo.org>
504 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
505 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
507 2002-08-22 Jason Diamond <jason@injektilo.org>
509 * XmlElement.cs: Correction to previous GetElementsByTagName patch
510 courtesy of Matt Hunter <xrkune@tconl.com>.
512 2002-08-22 Jason Diamond <jason@injektilo.org>
514 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
515 qualified GetElementsByTagName courtesy of Matt Hunter
518 2002-08-19 Jason Diamond <jason@injektilo.org>
520 * XmlDocument.cs, XmlElement.cs: Added implementation of
521 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
523 2002-08-16 Jason Diamond <jason@injektilo.org>
525 * XmlElement.cs: Fixed writing out qualified elements courtesy of
526 Marcus Bürgel <marcus.buergel@gmx.de>.
528 2002-08-13 Tim Coleman <tim@timcoleman.com>
530 Partial implementation of WriteQualifiedName ().
532 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
533 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
534 InsertData(), and ReplaceData(). These methods fire the
535 NodeChanging and NodeChanged events.
537 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
539 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
540 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
542 2002-08-03 Tim Coleman <tim@timcoleman.com>
543 * XmlNamespaceManager.cs:
544 .Net allows the empty namespace to be redefined
545 at a later point, but the current implementation
546 did not. This fixes a hashtable conflict.
548 2002-07-26 Tim Coleman <tim@timcoleman.com>
550 When given a textwriter, check to see if it has a
551 null encoding. This was being done for other inputs
554 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
556 * XmlTextReader.cs: rough line/column support.
558 2002-07-23 Duncan Mak <duncan@ximian.com>
560 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
561 (string, string []) is particularly strange.
563 * XmlException.cs: Remember to call the base serialization
566 * XmlNodeReader.cs: Keep a new variable to store the Depth.
568 2002-07-14 Jason Diamond <jason@injektilo.org>
570 * XmlAttribute.cs: Removed ownerElement field since we can reuse
573 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
574 if the current node is an attribute.
576 * XmlElement.cs: SetAttributeNode now sets the new attribute's
579 2002-07-12 Jason Diamond <jason@injektilo.org>
581 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
582 creating an element, use String.Empty instead.
584 2002-07-12 Piers Haken <piersh@friksit.com>
586 * XmlAttributeCollection.cs: implement some ItemOf indexers
587 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
588 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
590 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
592 * XmlTextWriter: Fixed Indentation. IndentationOverridden should
593 not be set when inside a attribute.
595 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
597 * XmlTextWriter: In WriteStartElement, if namespace is null and
598 prefix is null|empty do not write out xmlns=""
600 * XmlWriter: WriteStartElement calls the virtual method with null
601 argument instead of empty string.
603 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
605 * XmlTextReader.cs: implemented .ctor (Stream).
607 2002-06-26 Duncan Mak <duncan@ximian.com>
609 * XmlNodeReader.cs: Implementation of most of the properties, and
610 some of the related methods.
612 2002-06-23 Piers Haken <piersh@friskit.com>
614 * XmlDocumentNavigator.cs: implement Clone()
615 * XmlElement.cs: remove bogus unimplemented override of InnerText
616 * XmlNode.cs: implment SelectNodes/SelectSingleNode
617 * XmlNodeArrayList.cs: new support class for SelectNodes
619 2002-06-21 Ajay kumar Dwivedi <adwiv@yahoo.com>
621 * XmlQualifiedName: Name and Namespaces are never null. If null is passed
622 to the constructor, set them to empty strings.
625 2002-06-18 Ajay kumar Dwivedi <adwiv@yahoo.com>
627 * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
630 2002-06-14 Duncan Mak <duncan@ximian.com>
632 * XmlConvert.cs: Added CLSCompliant attributes to methods.
634 2002-06-12 Duncan Mak <duncan@ximian.com>
636 * XmlCharacterData.cs (Value): Throw an ArgumentException in the
637 set block if the node is read-only.
639 2002-06-10 Ajay kumar Dwivedi <adwiv@yahoo.com>
640 * XmlConstruct.cs : New Internal class with Helper methods for
641 Checking XmlConstructs
642 * XmlConvert.cs: Implemented most of the methods
644 2002-06-08 Duncan Mak <duncan@ximian.com>
646 * XmlDocument.cs (Load):
647 Added bits to Load (string) for BaseURI support.
649 * XmlAttribute.cs (BaseURI):
650 * XmlDocument.cs (BaseURI):
651 * XmlEntity.cs (BaseURI): Implemented.
653 2002-05-27 Jason Diamond <jason@injektilo.org>
655 * XmlDocumentNavigator.cs: Added file to directory.
657 * XmlNode.cs (CreateNavigator): Implemented.
658 (InnerText): Implemented.
660 * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
662 (Load(XmlReader)): Allow for namespace qualified attributes.
664 * XmlElement.cs: Implemented GetAttribute(string, string) and both
665 GetAttributeNode overloads.
666 (SetAttributeNode(XmlAttribute)): Implemented.
668 * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
669 and RemoveNamedItem(string, string).
671 * XmlLinkedNode.cs (PreviousSibling): Implemented.
673 * XmlTextReader.cs: Added code to maintain the order of attributes as
674 they're parsed. XML doesn't require this but Microsoft's parser does it and
675 matching them makes testing easier so now we have it, too.
677 2002-05-26 Miguel de Icaza <miguel@ximian.com>
679 * XmlDocument.cs: Implement the Save methods.
681 2002-05-08 Mike Kestner <mkestner@speakeasy.net>
683 * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
685 2002-04-28 Duncan Mak <duncan@ximian.com>
687 * XmlSignificantWhitespace.cs (Value):
688 * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
689 block. Added new private method, IsValidWhitespaceChar, for
692 2002-04-16 Duncan Mak <duncan@ximian.com>
694 * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
696 2002-04-12 Duncan Mak <duncan@ximian.com>
698 * XmlAttribute.cs (Prefix): Added preliminary code for set block,
699 added comment on work that needs to be done here. A new MonoTODO item.
701 * XmlDocument.cs (ctor): Corrected constructor signature, changed
702 parameter from 'NameTable' to 'XmlNameTable'.
704 * XmlDocumentFragment.cs (InnerXml): Added missing set block.
706 * XmlCaseOrder.cs: Moved to System.Xml.XPath.
708 2002-04-10 Duncan Mak <duncan@ximian.com>
710 * XmlNodeReader.cs: Initial stubs for the class.
712 2002-04-08 Kral Ferch <kral_ferch@hotmail.com>
714 * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
717 * XmlDeclaration.cs: WriteTo implementation.
719 * XmlDocument.cs: InnerXml getter implementation.
721 * XmlElement.cs: InnerXml getter implementation.
723 * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
725 * XmlSignificantWhitespace.cs: WriteTo implementation.
727 * XmlText.cs: WriteContentTo and WriteTo implementation.
729 * XmlTextWriter.cs: WriteRaw implementation.
731 * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
733 2002-04-05 Kral Ferch <kral_ferch@hotmail.com>
735 * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
736 if prefix in constructor is one of the default ones.
738 * XmlCharacterData.cs: Returns String.Empty for Value and Data
739 even when constructed with null.
741 * XmlDeclaration.cs: Value doesn't put encoding or standalone
742 in if they are empty.
744 * XmlDocument.cs: Implemented CreateNode methods and this caused
745 the changes in the other files in this checkin.
747 * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
748 even when constructed with null.
750 * XmlWhitespace.cs: Changed Value 'get' to return Data.
752 2002-04-01 Kral Ferch <kral_ferch@hotmail.com>
754 * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
756 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
758 * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
761 * XmlWrite.cs: Fixed bug where attribute namespace decl
762 was pushing a scope onto the namespace manager when it shouldn't
765 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
767 * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
768 in different states (no open start element, in WriteState.Content mode).
770 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
772 * XmlTextWriter.cs: XmlLang and XmlSpace properties
775 * XmlTextWriterOpenElement.cs: scope support for XmlLang
778 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
780 * XmlTextWriter.cs: Working on Attribute methods.
782 * XmlWriter.cs: Working on Attribute methods.
784 2002-03-28 Duncan Mak <duncan@ximian.com>
786 * XmlDocument.cs (CreateWhitespace):
787 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
790 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
792 2002-03-26 Duncan Mak <duncan@ximian.com>
794 * XmlDocument.cs (CreateDocumentType): Implemented.
796 * XmlNode.cs (Value): Implemented.
798 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
799 like XmlCharacterData.
801 * XmlDeclaration.cs (CloneNode):
802 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
805 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
806 docs say it is the "The concatenated values of the node and all
807 the children of the node.". I wrote some test programs and
808 couldn't get any of the derived nodes to AppendChild. For now,
809 InnerText == Data == Value.
810 (Substring): Fixed typo.
812 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
814 * XmlImplementation.cs (CreateDocument): Implemented.
816 2002-03-25 Duncan Mak <duncan@ximian.com>
818 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
819 missing properties (InnerText, Value).
821 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
823 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
825 * XmlTextWriter.cs: Impls for BaseStream and
826 Namespaces and WriteState.
828 * XmlWriter.cs: WriteState and WriteStartElementInternal.
830 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
832 * XmlNodeListChildren.cs: made class internal
833 instead of public. Shouldn't be visible outside
836 * XmlTextWriter.cs: Implementations for Formatting,
837 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
838 Suppresses encoding on xml declaration if null stream passed in.
839 Formats output including suppressing indentation for elements in
842 * XmlTextWriterOpenElement.cs: Initial checkin.
843 XmlTextWriter uses stack of these objects to track
846 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
848 * XmlElement.cs: impl HasAttribute(string name).
850 2002-03-22 Duncan Mak <duncan@ximian.com>
852 * XmlElement.cs: Reformatted.
853 (CloneNode) Corrected.
855 * XmlDocument.cs (CreateWhitespace):
856 (CreateSignificantWhitespace): Implemented.
858 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
859 true, because Attributes have ChildNodes.
861 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
863 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
864 xml declaration along with encoding. WriteEndElement throws
865 exception if no WriteStartElement exists.
867 2002-03-20 Duncan Mak <duncan@ximian.com>
869 * XmlEntityReference.cs (CloneNode): Implemented.
871 * XmlException.cs (Message): Implemented. We need to cache the
872 message string because SystemException doesn't expose 'message'
875 * XmlText.cs (Value): Added in the missing Value property.
877 2002-03-20 Duncan Mak <duncan@ximian.com>
879 * XmlAttribute.cs (CloneNode): Implemented.
881 * XmlDocumentFragment.cs (CloneNode): Implemented.
883 * XmlElement.cs (CloneNode): Implemented.
885 2002-03-19 Duncan Mak <duncan@ximian.com>
887 * XmlNotation.cs: Added to CVS.
889 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
891 * XmlCDataSection.cs (CloneNode): Implemented.
893 * XmlDocumentFragment.cs: Reformatted and added the missing properties
894 (InnerXml, OwnerDocument, ParentNode).
895 (CloneNode): Implemented.
897 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
898 (Value) Implemented the 'get' property.
900 * XmlWhitespace.cs (Module): implemented.
902 2002-03-19 Jason Diamond <jason@injektilo.org>
904 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
907 2002-03-18 Jason Diamond <jason@injektilo.org>
909 * XmlTextReader.cs: Don't restore properties after reading last
910 attribute on an element.
912 * XmlDocument.cs: Move back to element after reading attributes
913 so that IsEmptyElement test succeeds.
915 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
917 * XmlNamespaceManager.cs: Implemented LookupPrefix.
919 * XmlTextWriter.cs: Implemented namespace and prefix support.
921 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
923 * XmlTextReader.cs: Restores properties after
924 reading last attribute on an element.
926 * XmlNode.cs: AppendChild sets the parent
929 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
931 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
933 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
935 * XmlElement.cs: Fixed bug in WriteTo.
937 * XmlProcessingInstruction.cs: Formatting.
939 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
940 fixes for WriteEndElement, WriteProcessingInstruction.
942 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
944 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
945 had Load() add PIs to the document, moved onXXX methods to alphabetical
948 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
950 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
952 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
955 * XmlTextWriter.cs: Implementations for WriteEndElement,
956 WriteProcessingInstruction, WriteStartElement, and WriteString.
958 * XmlWriter.cs: Implemented WriteStartElement() methods.
960 2002-03-15 Duncan Mak <duncan@ximian.com>
962 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
963 InnerText once I know what they do.
965 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
966 that we can properly chain constructors.
967 (CloneNode): implemented.
968 (WriteContentTo): Removed MonoTODO attribute as this method has no
969 effect in this class.
971 * XmlProcessingInstruction.cs (Value): Added the missing Set
973 (InnerText): Added in, but not implemented.
975 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
977 * XmlTextWriter.cs: implemented constructors and
978 WriteCData and WriteComment.
980 2002-03-14 Duncan Mak <duncan@ximian.com>
982 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
983 file, and updated the callbacks to reflect the change.
984 (XmlDocument): Added the NameTable constructor.
985 (NameTable): Also the NameTable property.
987 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
988 was in XmlDocument.cs. It has two arguments now (object,
989 EventArgs) , instead of one (object).
991 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
993 * XmlWriter.cs: Formatting.
995 * XmlTextWriter.cs: Initial checkin.
997 2002-03-14 Duncan Mak <duncan@ximian.com>
999 * Validation.cs: Removed, replaced by ValidationType.cs.
1001 * ValidationType.cs: Added.
1003 2002-03-13 Duncan Mak <duncan@ximian.com>
1005 * XmlException.cs: Made it [Serializable], implemented good ol'
1006 GetObjectData, and the serialization constructor.
1008 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
1009 (SetNamedItem): Reverted (added back in) the patch with the
1010 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
1012 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
1013 (GetNamedItem (string, string)): implemented.
1014 (RemoveNamedItem): implemented.
1015 (SetNamedItem): implemented.
1017 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
1019 * XmlAttribute.cs: Moved a method from amongst properties down to
1020 it's alphabetical position in the methods section.
1022 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
1023 last linked child. Set XmlNode base class to return false for IsReadOnly().
1024 Implemented GetEnumerator() and RemoveChild().
1026 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
1027 This is to support the behavior that the Enumerator doesn't become invalid
1028 when changes to the children occur. Flushed out rest of implementation for
1029 MoveNext, Current, and Reset.
1031 2002-03-12 Duncan Mak <duncan@ximian.com>
1033 * XmlCharacterData.cs: Reformatted the properties for better readability.
1035 * XmlLinkedNode.cs: Removed the awful boxy comments.
1037 * XmlNamedNodeMap.cs (Count):
1038 (Item): Implemented. Tests will be coming.
1040 * XmlEntityReference.cs:
1041 * XmlSignificantWhitespace.cs: Implemented these classes except for
1042 the Clone, WriteContentTo and WriteTo methods. Will have to
1043 investigate into these later.
1045 2002-03-11 Duncan Mak <duncan@ximian.com>
1047 * IHasXmlNode.cs: Added to CVS.
1049 2002-03-08 Jason Diamond <jason@injektilo.org>
1051 * XmlParserContext.cs: Added missing constructors and missing Encoding
1054 * XmlTextReader.cs: Start using the XmlParserContext class.
1056 2002-03-08 Jason Diamond <jason@injektilo.org>
1058 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
1060 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
1062 * XmlNode.cs (Item): Implemented both indexers.
1064 2002-03-08 Jason Diamond <jason@injektilo.org>
1066 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
1067 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
1069 2002-03-08 Jason Diamond <jason@injektilo.org>
1071 * XmlAttribute.cs: Attribute nodes are supposed to store their values
1072 as child nodes so updated to reflect that.
1074 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
1075 duplicated in XmlDocument and XmlElement into XmlNode so that it
1076 wouldn't have to be duplicated in XmlAttribute, too.
1078 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
1080 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
1081 XmlNode.cs: Formatting.
1083 * XmlNodeListChildren.cs: Implementation of XmlNodeList
1084 for XmlNode.ChildNodes property.
1086 * XmlNodeListAsArrayList.cs: Removed file. Using different
1087 data structure (circular list) in XmlNode so this file
1090 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
1091 bug in setter property of LastLinkedChild so fixed it.
1093 2002-03-06 Jason Diamond <jason@injektilo.org>
1095 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
1096 We already have a parser in XmlTextReader.
1098 * XmlException.cs: Removed constructor accepting XmlInputSource.
1100 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
1102 * XmlNode.cs: Rewrote this class from scratch with
1103 MonoToDo attribs and NotImplementedExceptions. Now defines an
1104 internal LastLinkedNode property to aid the new implementation.
1105 XmlNodes only have ref to owner doc and parent nodes now.
1107 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
1108 and ref to next sibling to support walking our circular child
1111 * XmlDocument.cs: Added ref to last child node and overrides
1112 XmlNode's internal LastLinkedChild property to support walking
1113 our circular child node list.
1115 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
1117 * XmlProcessingInstructions.cs: Class was empty. Implemented
1118 constructor, properties, and CloneNode() method. Put in
1119 MonoToDo attrib for remaining methods.
1121 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
1122 Got rid of helper methods and fields since they were no
1125 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
1127 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
1128 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
1129 Createxxx() methods for those three node types.
1131 2002-03-02 Jason Diamond <jason@injektilo.org>
1133 * XmlDocument.cs: Implemented the remaining CreateElement and
1134 CreateAttribute methods.
1136 * XmlAttribute.cs: Re-implemented.
1138 * XmlElement.cs: Set owner element on attributes. Reformatted.
1140 2002-03-02 Jason Diamond <jason@injektilo.org>
1142 * XmlTextReader.cs: Implemented MoveToNextAttribute().
1144 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
1145 attributes. Create attribute nodes while loading. Implemented
1146 Load(string) and CreateTextNode().
1148 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
1150 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
1153 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
1155 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
1157 * XmlAttribute.cs : Using fix.
1158 * XmlDocument.cs (CreateAttribute(String)): Implement.
1160 2002-03-02 Jason Diamond <jason@injektilo.org>
1162 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
1165 2002-02-28 Jason Diamond <jason@injektilo.org>
1167 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
1168 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
1170 2002-02-28 Jason Diamond <jason@injektilo.org>
1172 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
1173 added missing members and MonoTODO attributes.
1175 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
1177 2002-02-27 Jason Diamond <jason@injektilo.org>
1179 * XmlElement.cs: Reformatted, added missing members and MonoTODO
1182 2002-02-26 Duncan Mak <duncan@ximian.com>
1184 * XmlCDataSection.cs: Initial implementation.
1186 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
1187 it out. This should (hopefully) be correct.
1189 2002-02-26 Jason Diamond <jason@injektilo.org>
1191 * XmlTextReader.cs: Apparently Microsoft's implementation treats
1192 namespace declarations as attributes so we do now, too.
1194 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
1195 checks the current scope.
1197 2002-02-26 Duncan Mak <duncan@ximian.com>
1199 * XmlDocumentType.cs: Added a few hacks here and there to
1200 temporarily fix the "I broke the build issue".
1202 2002-02-25 Jason Diamond <jason@injektilo.org>
1204 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
1205 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
1206 simple test to pass. The existing code is really shitty so I'll
1207 probably start writing tests and refactoring before much else
1210 2002-02-25 Duncan Mak <duncan@ximian.com>
1212 * NameTable.cs: Implemented.
1214 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
1216 2002-02-24 Duncan Mak <duncan@ximian.com>
1218 * XmlNodeOrder.cs: Added to CVS.
1220 * XmlQualifiedName.cs: Fixed a warning from Equals ().
1222 * XmlTokenizedType.cs: Added to CVS.
1224 * XmlUrlResolver.cs: Added to CVS with one TODO task.
1226 2002-02-23 Duncan Mak <duncan@ximian.com>
1228 * XmlQualifiedName.cs: Fixed ToString () and added the operators
1231 2002-02-23 Jason Diamond <jason@injektilo.org>
1233 * XmlTextReader.cs: Added support for qualified attributes.
1235 2002-02-23 Jason Diamond <jason@injektilo.org>
1237 * XmlNamespaceManager.cs: Initial implementation.
1239 * XmlTextReader.cs: Added support for NamespaceURI property on
1242 2002-02-23 Nick Drochak <ndrochak@gol.com>
1244 * ChangeLog: Add the change log to this directory
1246 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has