1 2003-01-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3 * XmlWriter.cs: modified WriteStartElement (see test for detail).
6 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
8 * XmlDocument.cs: Added CheckName () method to check names validity.
10 2003-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
13 (ReadOuterXml): use Depth property which return elementDepth, not depth.
15 2003-01-11 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
17 * XmlElement.cs : (by ville) XmlElement.set_InnerText event bugfix.
18 * XmlTextReader.cs : some fix for ReadOuterXml().
20 2003-01-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
22 * XmlTextReader.cs : bugfix for attributes related to creation of
25 2003-01-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
27 * XmlTextReader.cs : bugfix for attribute values which have entity
30 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
32 * XmlDocument.cs: XmlTextWriter.Formatting == Indented when
33 calling Save () -methods.
35 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
37 * XmlNodeReader.cs : primitive reading implementation.
39 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
41 * XmlElement.cs : quick fix for the incomplete patch of #35308 below.
43 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
45 * XmlDocument.cs : removed inconsistent line-feed output.
46 * XmlElement.cs, XmlTextWriter.cs :
47 fixed for bugzilla 35308 (default ns output)
48 * XmlWhitespace.cs : limited output only when preserving whitespace.
50 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
52 * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
53 Implemented XmlTextReader.ReadAttributeValue().
54 Added internal ReadAttributeNodeValue().
55 Fixed XmlAttribute.InnerXml to use these methods.
57 * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
58 Implemented XmlDocument.ReadNode() and removed ConstructDOM().
59 Other changes are replacing them.
61 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
63 * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
65 2002-12-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
67 * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
68 patch by JD Conley <jconley@winfessor.com>.
69 (Fix for xmlns attribute output.)
71 2002-12-05 Ville Palo <vi64p@koti.soon.fi>
73 * XmlQualifiedName.cs: Little fix to ToString () -method
75 2002-12-04 Tim Haynes <thaynes@openlinksw.com>
77 * class/System.XML/System.Xml/XmlElement.cs: Made more refined
78 checks on attributeNode to fix 32262.
80 2002-12-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
82 * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
83 * XmlTextWriter.cs (WriteStartElementInternal):
84 fixed when default namespace was specified, all descendants
85 fail to omit the default namespace declarations.
88 XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
90 XmlDocumentFragment.cs,
91 XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
92 * XmlElement.cs (set_IsEmpty) : implemented
93 (WriteTo) : removed my improper indenting (Writer already done)
94 * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
95 (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
96 ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
98 2002-12-01 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
100 * XmlNode.cs (RemoveChild):
101 bugfixed when XmlNode is Document OwnerDocument is null
102 * XmlDeclaration.cs (Value):
103 bugfixed regular expression pattern.
104 * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
106 2002-11-24 Duncan Mak <duncan@ximian.com>
108 * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
109 Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
110 first patch to Mono! ;-)
112 2002-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
115 (AppendChild): readded refChild != null condition before throwing
116 "cannot insert this node in this position" exception. There's probably
117 a better solution. Fixes #34191.
118 (RemoveAll): changed following Atsushi instructions.
121 2002-11-13 Duncan Mak <duncan@ximian.com>
123 * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
126 2002-11-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
128 * XmlDocument.cs : unified all constructors, added ConventionalParser,
129 implemented CloneNode() and CreateEntityReference(),
130 * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
131 set BaseURI to MonoTODO
132 * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
133 bugfix InsertAfter (incorrect prepending) and InsertBefore
134 (more than one DocumentElements hadn't caused errors)
135 * XmlTextReader.cs : unified all constructors,
136 added internal SetReaderContext(), SetReaderFragment()
137 bugfix (syntax check of PUBLIC / getting internal subset)
139 2002-11-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
141 XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
142 XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
143 XmlCharacterData.cs : exchanged Data and Value
144 (for processing events and inheritance)
145 XmlDocumentFragment.cs : set_InnerXml
146 XmlSignificantWhitespace.cs : set_Value
147 XmlTextReader.cs : ReadAttributeValue
149 2002-11-04 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
151 XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
153 2002-11-03 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
155 * XmlAttributeCollection.cs : checks owner element.
156 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
157 Remove, RemoveAt, SetNamedItem.
158 removed some logics that sets 'Parent' (that should be null)
159 * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
160 * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
161 * XmlElement.cs : implemented WriteTo, set_InnerText.
162 Fixed WriteTo() to add xmlns:* attributes when
163 writer.LookupPrefix() returned mismatching.
164 * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
165 Removing different prefixes for the same uri now runs correct.
166 added SetNamedItem(XmlNode node, int position_to_insert).
167 * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
168 XmlWhitespace, and XmlSignificantWhitespace
170 2002-10-31 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
172 * XmlDocument.cs : implemented CreateDocumentFragment()
173 * XmlElement.cs, XmlLinkedNode.cs :
174 moved LastLinkedChild from XmlElement to XmlLinkedNode.
175 * XmlEntityReference.cs : must throw NotImplementedException.
177 + implemented InsertBefore() and then implemented InsertAfter()
178 and modified AppendChild() to call it.
179 + added logic to check ReadOnly, parent document equivalence,
180 and inserting any 'content' before/after DocumentElement.
181 + implemented Clone() [it is equals to CloneNode() by MS doc.]
182 + added logic in RemoveChild() to check parent of oldChild.
183 + fixed ConstructNamespaceManager() to internal only.
185 2002-10-29 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
187 * XmlAttribute.cs : add internal 'IsDefault' property
188 (equals to !Specified)
189 * XmlImplementation.cs : added 'internalNameTable' property.
191 + now allows "" for 'standalone' in CreateXmlDeclaration.
192 + implemented 'Implementation' property and constructor with it.
193 + added logic for appending name table (but still no use)
194 + implemented property 'DocumentType'
195 (but without internalSubset parsing. wait for next update.)
197 + modified AppendChild() and RemoveChild() to support fragment.
198 + modified AppendChild() to remove newChild from its parent
199 when newChild is already in the other place.
200 + modified RemoveChild() to set parentNode null.
201 + modified ConstructDOM() to create DocumentType,
202 and fixed access modifier ('internal protected' to 'internal')
203 * XmlLinkedNode.cs : fixed 'NextSibling' to return null
204 when its parent is null.
205 * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
206 property to enable AppendChild() for this class.
207 * XmlTextReader.cs : appended private publicId and systemId fields.
209 2002-10-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
211 * XmlTextReader.cs: make it work when the underlying Stream is not
214 2002-10-26 Piers Haken <piersh@friskit.com>
216 * XmlNode.cs: add virtual property XPathNodeType
221 * XmlProcessingInstruction.cs:
222 * XmlSignificantWhitespace.cs:
224 * XmlWhitespace.cs: implement XPathNodeType property
225 * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
227 2002-10-26 Piers Haken <piersh@friskit.com>
229 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
231 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
233 * XmlTextReader.cs: don't increment depth for entity references.
235 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
237 * - Fixed the duplication of xmlns:xx = yy when serializing the
238 XML for serialization
240 Fixed the unnecessary parsing/serializing when adding assemblies
243 Avoided setting the XmlNode.InnerXml property
244 (as it's not implemented)
246 Fixed the usage/implementation of
247 XmlElement.GetElementsByTagName()
249 2002-10-21 Duncan Mak <duncan@ximian.com>
254 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
255 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
257 2002-10-18 Duncan Mak <duncan@ximian.com>
259 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
260 <ginga@kit.hi-ho.ne.jp>.
262 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
264 * XmlDocument.cs (ImportNode): Implemented
266 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
268 * XmlDocument.cs: one more Load method implemented.
269 * XmlTextReader.cs: Depth now works.
271 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
273 * XmlConvert.cs: IsInvalid is now internal.
274 * XmlNamespaceManager.cs: implemented RemoveNamespace
275 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
276 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
278 2002-09-19 Matt Hunter <mahunter@tconl.com>
280 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
281 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
283 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
285 * XmlConvert.cs: finished implementation.
286 * XmlTextReader.cs: fixed #30239.
287 * XmlTextWriter.cs: fixed #30240.
289 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
291 * XmlTextReader.cs: line and position begin with 1.
293 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
295 * XmlException.cs: added a new internal constructor for IXmlLineInfo
296 and output line and position info in Message.
298 * XmlReader.cs: implemented missing bits.
300 2002-09-12 Piers Haken <piersh@friksit.com>
302 * XmlDocumentNavigator.cs: implement MoveToId()
304 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
306 * XmlTextWriter.cs: fixed bug #29886.
308 2002-08-26 Ravi Pratap <ravi@ximian.com>
311 * XmlAttribute.cs (InnerText): Implement getting this property.
313 * XmlNode.cs (InnerText): Ensure that we append only values of
316 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
318 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
319 that allowed compiling this.
320 [ FIXME: filed bug #29435. mcs should have failed on this ]
322 2002-08-25 Tim Coleman <tim@timcoleman.com>
324 Change CreateNavigator to not be virtual.
326 Add set_Prefix and InnerText accessors.
327 * XmlEntityReference.cs:
328 Add set_Value accessor.
330 Make objects which should be private private.
332 Remove WriteStartElementInternal abstract definition.
333 * XmlValidatingReader.cs:
336 2002-08-22 Jason Diamond <jason@injektilo.org>
338 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
339 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
341 2002-08-22 Jason Diamond <jason@injektilo.org>
343 * XmlElement.cs: Correction to previous GetElementsByTagName patch
344 courtesy of Matt Hunter <xrkune@tconl.com>.
346 2002-08-22 Jason Diamond <jason@injektilo.org>
348 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
349 qualified GetElementsByTagName courtesy of Matt Hunter
352 2002-08-19 Jason Diamond <jason@injektilo.org>
354 * XmlDocument.cs, XmlElement.cs: Added implementation of
355 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
357 2002-08-16 Jason Diamond <jason@injektilo.org>
359 * XmlElement.cs: Fixed writing out qualified elements courtesy of
360 Marcus Bürgel <marcus.buergel@gmx.de>.
362 2002-08-13 Tim Coleman <tim@timcoleman.com>
364 Partial implementation of WriteQualifiedName ().
366 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
367 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
368 InsertData(), and ReplaceData(). These methods fire the
369 NodeChanging and NodeChanged events.
371 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
373 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
374 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
376 2002-08-03 Tim Coleman <tim@timcoleman.com>
377 * XmlNamespaceManager.cs:
378 .Net allows the empty namespace to be redefined
379 at a later point, but the current implementation
380 did not. This fixes a hashtable conflict.
382 2002-07-26 Tim Coleman <tim@timcoleman.com>
384 When given a textwriter, check to see if it has a
385 null encoding. This was being done for other inputs
388 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
390 * XmlTextReader.cs: rough line/column support.
392 2002-07-23 Duncan Mak <duncan@ximian.com>
394 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
395 (string, string []) is particularly strange.
397 * XmlException.cs: Remember to call the base serialization
400 * XmlNodeReader.cs: Keep a new variable to store the Depth.
402 2002-07-14 Jason Diamond <jason@injektilo.org>
404 * XmlAttribute.cs: Removed ownerElement field since we can reuse
407 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
408 if the current node is an attribute.
410 * XmlElement.cs: SetAttributeNode now sets the new attribute's
413 2002-07-12 Jason Diamond <jason@injektilo.org>
415 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
416 creating an element, use String.Empty instead.
418 2002-07-12 Piers Haken <piersh@friksit.com>
420 * XmlAttributeCollection.cs: implement some ItemOf indexers
421 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
422 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
424 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
427 2002-10-26 Piers Haken <piersh@friskit.com>
429 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
431 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
433 * XmlTextReader.cs: don't increment depth for entity references.
435 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
437 * - Fixed the duplication of xmlns:xx = yy when serializing the
438 XML for serialization
440 Fixed the unnecessary parsing/serializing when adding assemblies
443 Avoided setting the XmlNode.InnerXml property
444 (as it's not implemented)
446 Fixed the usage/implementation of
447 XmlElement.GetElementsByTagName()
449 2002-10-21 Duncan Mak <duncan@ximian.com>
454 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
455 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
457 2002-10-18 Duncan Mak <duncan@ximian.com>
459 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
460 <ginga@kit.hi-ho.ne.jp>.
462 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
464 * XmlDocument.cs (ImportNode): Implemented
466 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
468 * XmlDocument.cs: one more Load method implemented.
469 * XmlTextReader.cs: Depth now works.
471 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
473 * XmlConvert.cs: IsInvalid is now internal.
474 * XmlNamespaceManager.cs: implemented RemoveNamespace
475 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
476 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
478 2002-09-19 Matt Hunter <mahunter@tconl.com>
480 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
481 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
483 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
485 * XmlConvert.cs: finished implementation.
486 * XmlTextReader.cs: fixed #30239.
487 * XmlTextWriter.cs: fixed #30240.
489 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
491 * XmlTextReader.cs: line and position begin with 1.
493 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
495 * XmlException.cs: added a new internal constructor for IXmlLineInfo
496 and output line and position info in Message.
498 * XmlReader.cs: implemented missing bits.
500 2002-09-12 Piers Haken <piersh@friksit.com>
502 * XmlDocumentNavigator.cs: implement MoveToId()
504 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
506 * XmlTextWriter.cs: fixed bug #29886.
508 2002-08-26 Ravi Pratap <ravi@ximian.com>
511 * XmlAttribute.cs (InnerText): Implement getting this property.
513 * XmlNode.cs (InnerText): Ensure that we append only values of
516 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
518 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
519 that allowed compiling this.
520 [ FIXME: filed bug #29435. mcs should have failed on this ]
522 2002-08-25 Tim Coleman <tim@timcoleman.com>
524 Change CreateNavigator to not be virtual.
526 Add set_Prefix and InnerText accessors.
527 * XmlEntityReference.cs:
528 Add set_Value accessor.
530 Make objects which should be private private.
532 Remove WriteStartElementInternal abstract definition.
533 * XmlValidatingReader.cs:
536 2002-08-22 Jason Diamond <jason@injektilo.org>
538 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
539 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
541 2002-08-22 Jason Diamond <jason@injektilo.org>
543 * XmlElement.cs: Correction to previous GetElementsByTagName patch
544 courtesy of Matt Hunter <xrkune@tconl.com>.
546 2002-08-22 Jason Diamond <jason@injektilo.org>
548 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
549 qualified GetElementsByTagName courtesy of Matt Hunter
552 2002-08-19 Jason Diamond <jason@injektilo.org>
554 * XmlDocument.cs, XmlElement.cs: Added implementation of
555 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
557 2002-08-16 Jason Diamond <jason@injektilo.org>
559 * XmlElement.cs: Fixed writing out qualified elements courtesy of
560 Marcus Bürgel <marcus.buergel@gmx.de>.
562 2002-08-13 Tim Coleman <tim@timcoleman.com>
564 Partial implementation of WriteQualifiedName ().
566 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
567 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
568 InsertData(), and ReplaceData(). These methods fire the
569 NodeChanging and NodeChanged events.
571 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
573 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
574 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
576 2002-08-03 Tim Coleman <tim@timcoleman.com>
577 * XmlNamespaceManager.cs:
578 .Net allows the empty namespace to be redefined
579 at a later point, but the current implementation
580 did not. This fixes a hashtable conflict.
582 2002-07-26 Tim Coleman <tim@timcoleman.com>
584 When given a textwriter, check to see if it has a
585 null encoding. This was being done for other inputs
588 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
590 * XmlTextReader.cs: rough line/column support.
592 2002-07-23 Duncan Mak <duncan@ximian.com>
594 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
595 (string, string []) is particularly strange.
597 * XmlException.cs: Remember to call the base serialization
600 * XmlNodeReader.cs: Keep a new variable to store the Depth.
602 2002-07-14 Jason Diamond <jason@injektilo.org>
604 * XmlAttribute.cs: Removed ownerElement field since we can reuse
607 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
608 if the current node is an attribute.
610 * XmlElement.cs: SetAttributeNode now sets the new attribute's
613 2002-07-12 Jason Diamond <jason@injektilo.org>
615 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
616 creating an element, use String.Empty instead.
618 2002-07-12 Piers Haken <piersh@friksit.com>
620 * XmlAttributeCollection.cs: implement some ItemOf indexers
621 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
622 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
624 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
626 * XmlTextWriter: Fixed Indentation. IndentationOverridden should
627 not be set when inside a attribute.
629 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
631 * XmlTextWriter: In WriteStartElement, if namespace is null and
632 prefix is null|empty do not write out xmlns=""
634 * XmlWriter: WriteStartElement calls the virtual method with null
635 argument instead of empty string.
637 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
639 * XmlTextReader.cs: implemented .ctor (Stream).
641 2002-06-26 Duncan Mak <duncan@ximian.com>
643 * XmlNodeReader.cs: Implementation of most of the properties, and
644 some of the related methods.
646 2002-06-23 Piers Haken <piersh@friskit.com>
648 * XmlDocumentNavigator.cs: implement Clone()
649 * XmlElement.cs: remove bogus unimplemented override of InnerText
650 * XmlNode.cs: implment SelectNodes/SelectSingleNode
651 * XmlNodeArrayList.cs: new support class for SelectNodes
653 2002-06-21 Ajay kumar Dwivedi <adwiv@yahoo.com>
655 * XmlQualifiedName: Name and Namespaces are never null. If null is passed
656 to the constructor, set them to empty strings.
659 2002-06-18 Ajay kumar Dwivedi <adwiv@yahoo.com>
661 * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
664 2002-06-14 Duncan Mak <duncan@ximian.com>
666 * XmlConvert.cs: Added CLSCompliant attributes to methods.
668 2002-06-12 Duncan Mak <duncan@ximian.com>
670 * XmlCharacterData.cs (Value): Throw an ArgumentException in the
671 set block if the node is read-only.
673 2002-06-10 Ajay kumar Dwivedi <adwiv@yahoo.com>
674 * XmlConstruct.cs : New Internal class with Helper methods for
675 Checking XmlConstructs
676 * XmlConvert.cs: Implemented most of the methods
678 2002-06-08 Duncan Mak <duncan@ximian.com>
680 * XmlDocument.cs (Load):
681 Added bits to Load (string) for BaseURI support.
683 * XmlAttribute.cs (BaseURI):
684 * XmlDocument.cs (BaseURI):
685 * XmlEntity.cs (BaseURI): Implemented.
687 2002-05-27 Jason Diamond <jason@injektilo.org>
689 * XmlDocumentNavigator.cs: Added file to directory.
691 * XmlNode.cs (CreateNavigator): Implemented.
692 (InnerText): Implemented.
694 * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
696 (Load(XmlReader)): Allow for namespace qualified attributes.
698 * XmlElement.cs: Implemented GetAttribute(string, string) and both
699 GetAttributeNode overloads.
700 (SetAttributeNode(XmlAttribute)): Implemented.
702 * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
703 and RemoveNamedItem(string, string).
705 * XmlLinkedNode.cs (PreviousSibling): Implemented.
707 * XmlTextReader.cs: Added code to maintain the order of attributes as
708 they're parsed. XML doesn't require this but Microsoft's parser does it and
709 matching them makes testing easier so now we have it, too.
711 2002-05-26 Miguel de Icaza <miguel@ximian.com>
713 * XmlDocument.cs: Implement the Save methods.
715 2002-05-08 Mike Kestner <mkestner@speakeasy.net>
717 * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
719 2002-04-28 Duncan Mak <duncan@ximian.com>
721 * XmlSignificantWhitespace.cs (Value):
722 * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
723 block. Added new private method, IsValidWhitespaceChar, for
726 2002-04-16 Duncan Mak <duncan@ximian.com>
728 * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
730 2002-04-12 Duncan Mak <duncan@ximian.com>
732 * XmlAttribute.cs (Prefix): Added preliminary code for set block,
733 added comment on work that needs to be done here. A new MonoTODO item.
735 * XmlDocument.cs (ctor): Corrected constructor signature, changed
736 parameter from 'NameTable' to 'XmlNameTable'.
738 * XmlDocumentFragment.cs (InnerXml): Added missing set block.
740 * XmlCaseOrder.cs: Moved to System.Xml.XPath.
742 2002-04-10 Duncan Mak <duncan@ximian.com>
744 * XmlNodeReader.cs: Initial stubs for the class.
746 2002-04-08 Kral Ferch <kral_ferch@hotmail.com>
748 * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
751 * XmlDeclaration.cs: WriteTo implementation.
753 * XmlDocument.cs: InnerXml getter implementation.
755 * XmlElement.cs: InnerXml getter implementation.
757 * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
759 * XmlSignificantWhitespace.cs: WriteTo implementation.
761 * XmlText.cs: WriteContentTo and WriteTo implementation.
763 * XmlTextWriter.cs: WriteRaw implementation.
765 * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
767 2002-04-05 Kral Ferch <kral_ferch@hotmail.com>
769 * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
770 if prefix in constructor is one of the default ones.
772 * XmlCharacterData.cs: Returns String.Empty for Value and Data
773 even when constructed with null.
775 * XmlDeclaration.cs: Value doesn't put encoding or standalone
776 in if they are empty.
778 * XmlDocument.cs: Implemented CreateNode methods and this caused
779 the changes in the other files in this checkin.
781 * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
782 even when constructed with null.
784 * XmlWhitespace.cs: Changed Value 'get' to return Data.
786 2002-04-01 Kral Ferch <kral_ferch@hotmail.com>
788 * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
790 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
792 * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
795 * XmlWrite.cs: Fixed bug where attribute namespace decl
796 was pushing a scope onto the namespace manager when it shouldn't
799 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
801 * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
802 in different states (no open start element, in WriteState.Content mode).
804 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
806 * XmlTextWriter.cs: XmlLang and XmlSpace properties
809 * XmlTextWriterOpenElement.cs: scope support for XmlLang
812 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
814 * XmlTextWriter.cs: Working on Attribute methods.
816 * XmlWriter.cs: Working on Attribute methods.
818 2002-03-28 Duncan Mak <duncan@ximian.com>
820 * XmlDocument.cs (CreateWhitespace):
821 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
824 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
826 2002-03-26 Duncan Mak <duncan@ximian.com>
828 * XmlDocument.cs (CreateDocumentType): Implemented.
830 * XmlNode.cs (Value): Implemented.
832 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
833 like XmlCharacterData.
835 * XmlDeclaration.cs (CloneNode):
836 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
839 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
840 docs say it is the "The concatenated values of the node and all
841 the children of the node.". I wrote some test programs and
842 couldn't get any of the derived nodes to AppendChild. For now,
843 InnerText == Data == Value.
844 (Substring): Fixed typo.
846 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
848 * XmlImplementation.cs (CreateDocument): Implemented.
850 2002-03-25 Duncan Mak <duncan@ximian.com>
852 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
853 missing properties (InnerText, Value).
855 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
857 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
859 * XmlTextWriter.cs: Impls for BaseStream and
860 Namespaces and WriteState.
862 * XmlWriter.cs: WriteState and WriteStartElementInternal.
864 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
866 * XmlNodeListChildren.cs: made class internal
867 instead of public. Shouldn't be visible outside
870 * XmlTextWriter.cs: Implementations for Formatting,
871 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
872 Suppresses encoding on xml declaration if null stream passed in.
873 Formats output including suppressing indentation for elements in
876 * XmlTextWriterOpenElement.cs: Initial checkin.
877 XmlTextWriter uses stack of these objects to track
880 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
882 * XmlElement.cs: impl HasAttribute(string name).
884 2002-03-22 Duncan Mak <duncan@ximian.com>
886 * XmlElement.cs: Reformatted.
887 (CloneNode) Corrected.
889 * XmlDocument.cs (CreateWhitespace):
890 (CreateSignificantWhitespace): Implemented.
892 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
893 true, because Attributes have ChildNodes.
895 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
897 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
898 xml declaration along with encoding. WriteEndElement throws
899 exception if no WriteStartElement exists.
901 2002-03-20 Duncan Mak <duncan@ximian.com>
903 * XmlEntityReference.cs (CloneNode): Implemented.
905 * XmlException.cs (Message): Implemented. We need to cache the
906 message string because SystemException doesn't expose 'message'
909 * XmlText.cs (Value): Added in the missing Value property.
911 2002-03-20 Duncan Mak <duncan@ximian.com>
913 * XmlAttribute.cs (CloneNode): Implemented.
915 * XmlDocumentFragment.cs (CloneNode): Implemented.
917 * XmlElement.cs (CloneNode): Implemented.
919 2002-03-19 Duncan Mak <duncan@ximian.com>
921 * XmlNotation.cs: Added to CVS.
923 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
925 * XmlCDataSection.cs (CloneNode): Implemented.
927 * XmlDocumentFragment.cs: Reformatted and added the missing properties
928 (InnerXml, OwnerDocument, ParentNode).
929 (CloneNode): Implemented.
931 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
932 (Value) Implemented the 'get' property.
934 * XmlWhitespace.cs (Module): implemented.
936 2002-03-19 Jason Diamond <jason@injektilo.org>
938 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
941 2002-03-18 Jason Diamond <jason@injektilo.org>
943 * XmlTextReader.cs: Don't restore properties after reading last
944 attribute on an element.
946 * XmlDocument.cs: Move back to element after reading attributes
947 so that IsEmptyElement test succeeds.
949 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
951 * XmlNamespaceManager.cs: Implemented LookupPrefix.
953 * XmlTextWriter.cs: Implemented namespace and prefix support.
955 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
957 * XmlTextReader.cs: Restores properties after
958 reading last attribute on an element.
960 * XmlNode.cs: AppendChild sets the parent
963 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
965 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
967 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
969 * XmlElement.cs: Fixed bug in WriteTo.
971 * XmlProcessingInstruction.cs: Formatting.
973 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
974 fixes for WriteEndElement, WriteProcessingInstruction.
976 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
978 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
979 had Load() add PIs to the document, moved onXXX methods to alphabetical
982 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
984 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
986 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
989 * XmlTextWriter.cs: Implementations for WriteEndElement,
990 WriteProcessingInstruction, WriteStartElement, and WriteString.
992 * XmlWriter.cs: Implemented WriteStartElement() methods.
994 2002-03-15 Duncan Mak <duncan@ximian.com>
996 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
997 InnerText once I know what they do.
999 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
1000 that we can properly chain constructors.
1001 (CloneNode): implemented.
1002 (WriteContentTo): Removed MonoTODO attribute as this method has no
1003 effect in this class.
1005 * XmlProcessingInstruction.cs (Value): Added the missing Set
1007 (InnerText): Added in, but not implemented.
1009 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
1011 * XmlTextWriter.cs: implemented constructors and
1012 WriteCData and WriteComment.
1014 2002-03-14 Duncan Mak <duncan@ximian.com>
1016 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
1017 file, and updated the callbacks to reflect the change.
1018 (XmlDocument): Added the NameTable constructor.
1019 (NameTable): Also the NameTable property.
1021 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
1022 was in XmlDocument.cs. It has two arguments now (object,
1023 EventArgs) , instead of one (object).
1025 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
1027 * XmlWriter.cs: Formatting.
1029 * XmlTextWriter.cs: Initial checkin.
1031 2002-03-14 Duncan Mak <duncan@ximian.com>
1033 * Validation.cs: Removed, replaced by ValidationType.cs.
1035 * ValidationType.cs: Added.
1037 2002-03-13 Duncan Mak <duncan@ximian.com>
1039 * XmlException.cs: Made it [Serializable], implemented good ol'
1040 GetObjectData, and the serialization constructor.
1042 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
1043 (SetNamedItem): Reverted (added back in) the patch with the
1044 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
1046 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
1047 (GetNamedItem (string, string)): implemented.
1048 (RemoveNamedItem): implemented.
1049 (SetNamedItem): implemented.
1051 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
1053 * XmlAttribute.cs: Moved a method from amongst properties down to
1054 it's alphabetical position in the methods section.
1056 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
1057 last linked child. Set XmlNode base class to return false for IsReadOnly().
1058 Implemented GetEnumerator() and RemoveChild().
1060 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
1061 This is to support the behavior that the Enumerator doesn't become invalid
1062 when changes to the children occur. Flushed out rest of implementation for
1063 MoveNext, Current, and Reset.
1065 2002-03-12 Duncan Mak <duncan@ximian.com>
1067 * XmlCharacterData.cs: Reformatted the properties for better readability.
1069 * XmlLinkedNode.cs: Removed the awful boxy comments.
1071 * XmlNamedNodeMap.cs (Count):
1072 (Item): Implemented. Tests will be coming.
1074 * XmlEntityReference.cs:
1075 * XmlSignificantWhitespace.cs: Implemented these classes except for
1076 the Clone, WriteContentTo and WriteTo methods. Will have to
1077 investigate into these later.
1079 2002-03-11 Duncan Mak <duncan@ximian.com>
1081 * IHasXmlNode.cs: Added to CVS.
1083 2002-03-08 Jason Diamond <jason@injektilo.org>
1085 * XmlParserContext.cs: Added missing constructors and missing Encoding
1088 * XmlTextReader.cs: Start using the XmlParserContext class.
1090 2002-03-08 Jason Diamond <jason@injektilo.org>
1092 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
1094 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
1096 * XmlNode.cs (Item): Implemented both indexers.
1098 2002-03-08 Jason Diamond <jason@injektilo.org>
1100 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
1101 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
1103 2002-03-08 Jason Diamond <jason@injektilo.org>
1105 * XmlAttribute.cs: Attribute nodes are supposed to store their values
1106 as child nodes so updated to reflect that.
1108 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
1109 duplicated in XmlDocument and XmlElement into XmlNode so that it
1110 wouldn't have to be duplicated in XmlAttribute, too.
1112 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
1114 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
1115 XmlNode.cs: Formatting.
1117 * XmlNodeListChildren.cs: Implementation of XmlNodeList
1118 for XmlNode.ChildNodes property.
1120 * XmlNodeListAsArrayList.cs: Removed file. Using different
1121 data structure (circular list) in XmlNode so this file
1124 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
1125 bug in setter property of LastLinkedChild so fixed it.
1127 2002-03-06 Jason Diamond <jason@injektilo.org>
1129 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
1130 We already have a parser in XmlTextReader.
1132 * XmlException.cs: Removed constructor accepting XmlInputSource.
1134 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
1136 * XmlNode.cs: Rewrote this class from scratch with
1137 MonoToDo attribs and NotImplementedExceptions. Now defines an
1138 internal LastLinkedNode property to aid the new implementation.
1139 XmlNodes only have ref to owner doc and parent nodes now.
1141 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
1142 and ref to next sibling to support walking our circular child
1145 * XmlDocument.cs: Added ref to last child node and overrides
1146 XmlNode's internal LastLinkedChild property to support walking
1147 our circular child node list.
1149 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
1151 * XmlProcessingInstructions.cs: Class was empty. Implemented
1152 constructor, properties, and CloneNode() method. Put in
1153 MonoToDo attrib for remaining methods.
1155 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
1156 Got rid of helper methods and fields since they were no
1159 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
1161 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
1162 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
1163 Createxxx() methods for those three node types.
1165 2002-03-02 Jason Diamond <jason@injektilo.org>
1167 * XmlDocument.cs: Implemented the remaining CreateElement and
1168 CreateAttribute methods.
1170 * XmlAttribute.cs: Re-implemented.
1172 * XmlElement.cs: Set owner element on attributes. Reformatted.
1174 2002-03-02 Jason Diamond <jason@injektilo.org>
1176 * XmlTextReader.cs: Implemented MoveToNextAttribute().
1178 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
1179 attributes. Create attribute nodes while loading. Implemented
1180 Load(string) and CreateTextNode().
1182 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
1184 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
1187 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
1189 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
1191 * XmlAttribute.cs : Using fix.
1192 * XmlDocument.cs (CreateAttribute(String)): Implement.
1194 2002-03-02 Jason Diamond <jason@injektilo.org>
1196 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
1199 2002-02-28 Jason Diamond <jason@injektilo.org>
1201 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
1202 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
1204 2002-02-28 Jason Diamond <jason@injektilo.org>
1206 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
1207 added missing members and MonoTODO attributes.
1209 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
1211 2002-02-27 Jason Diamond <jason@injektilo.org>
1213 * XmlElement.cs: Reformatted, added missing members and MonoTODO
1216 2002-02-26 Duncan Mak <duncan@ximian.com>
1218 * XmlCDataSection.cs: Initial implementation.
1220 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
1221 it out. This should (hopefully) be correct.
1223 2002-02-26 Jason Diamond <jason@injektilo.org>
1225 * XmlTextReader.cs: Apparently Microsoft's implementation treats
1226 namespace declarations as attributes so we do now, too.
1228 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
1229 checks the current scope.
1231 2002-02-26 Duncan Mak <duncan@ximian.com>
1233 * XmlDocumentType.cs: Added a few hacks here and there to
1234 temporarily fix the "I broke the build issue".
1236 2002-02-25 Jason Diamond <jason@injektilo.org>
1238 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
1239 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
1240 simple test to pass. The existing code is really shitty so I'll
1241 probably start writing tests and refactoring before much else
1244 2002-02-25 Duncan Mak <duncan@ximian.com>
1246 * NameTable.cs: Implemented.
1248 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
1250 2002-02-24 Duncan Mak <duncan@ximian.com>
1252 * XmlNodeOrder.cs: Added to CVS.
1254 * XmlQualifiedName.cs: Fixed a warning from Equals ().
1256 * XmlTokenizedType.cs: Added to CVS.
1258 * XmlUrlResolver.cs: Added to CVS with one TODO task.
1260 2002-02-23 Duncan Mak <duncan@ximian.com>
1262 * XmlQualifiedName.cs: Fixed ToString () and added the operators
1265 2002-02-23 Jason Diamond <jason@injektilo.org>
1267 * XmlTextReader.cs: Added support for qualified attributes.
1269 2002-02-23 Jason Diamond <jason@injektilo.org>
1271 * XmlNamespaceManager.cs: Initial implementation.
1273 * XmlTextReader.cs: Added support for NamespaceURI property on
1276 2002-02-23 Nick Drochak <ndrochak@gol.com>
1278 * ChangeLog: Add the change log to this directory
1280 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has