1 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3 * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
5 2002-12-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
7 * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
8 patch by JD Conley <jconley@winfessor.com>.
9 (Fix for xmlns attribute output.)
11 2002-12-05 Ville Palo <vi64p@koti.soon.fi>
13 * XmlQualifiedName.cs: Little fix to ToString () -method
15 2002-12-04 Tim Haynes <thaynes@openlinksw.com>
17 * class/System.XML/System.Xml/XmlElement.cs: Made more refined
18 checks on attributeNode to fix 32262.
20 2002-12-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
22 * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
23 * XmlTextWriter.cs (WriteStartElementInternal):
24 fixed when default namespace was specified, all descendants
25 fail to omit the default namespace declarations.
28 XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
30 XmlDocumentFragment.cs,
31 XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
32 * XmlElement.cs (set_IsEmpty) : implemented
33 (WriteTo) : removed my improper indenting (Writer already done)
34 * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
35 (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
36 ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
38 2002-12-01 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
40 * XmlNode.cs (RemoveChild):
41 bugfixed when XmlNode is Document OwnerDocument is null
42 * XmlDeclaration.cs (Value):
43 bugfixed regular expression pattern.
44 * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
46 2002-11-24 Duncan Mak <duncan@ximian.com>
48 * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
49 Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
50 first patch to Mono! ;-)
52 2002-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
55 (AppendChild): readded refChild != null condition before throwing
56 "cannot insert this node in this position" exception. There's probably
57 a better solution. Fixes #34191.
58 (RemoveAll): changed following Atsushi instructions.
61 2002-11-13 Duncan Mak <duncan@ximian.com>
63 * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
66 2002-11-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
68 * XmlDocument.cs : unified all constructors, added ConventionalParser,
69 implemented CloneNode() and CreateEntityReference(),
70 * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
71 set BaseURI to MonoTODO
72 * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
73 bugfix InsertAfter (incorrect prepending) and InsertBefore
74 (more than one DocumentElements hadn't caused errors)
75 * XmlTextReader.cs : unified all constructors,
76 added internal SetReaderContext(), SetReaderFragment()
77 bugfix (syntax check of PUBLIC / getting internal subset)
79 2002-11-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
81 XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
82 XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
83 XmlCharacterData.cs : exchanged Data and Value
84 (for processing events and inheritance)
85 XmlDocumentFragment.cs : set_InnerXml
86 XmlSignificantWhitespace.cs : set_Value
87 XmlTextReader.cs : ReadAttributeValue
89 2002-11-04 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
91 XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
93 2002-11-03 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
95 * XmlAttributeCollection.cs : checks owner element.
96 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
97 Remove, RemoveAt, SetNamedItem.
98 removed some logics that sets 'Parent' (that should be null)
99 * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
100 * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
101 * XmlElement.cs : implemented WriteTo, set_InnerText.
102 Fixed WriteTo() to add xmlns:* attributes when
103 writer.LookupPrefix() returned mismatching.
104 * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
105 Removing different prefixes for the same uri now runs correct.
106 added SetNamedItem(XmlNode node, int position_to_insert).
107 * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
108 XmlWhitespace, and XmlSignificantWhitespace
110 2002-10-31 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
112 * XmlDocument.cs : implemented CreateDocumentFragment()
113 * XmlElement.cs, XmlLinkedNode.cs :
114 moved LastLinkedChild from XmlElement to XmlLinkedNode.
115 * XmlEntityReference.cs : must throw NotImplementedException.
117 + implemented InsertBefore() and then implemented InsertAfter()
118 and modified AppendChild() to call it.
119 + added logic to check ReadOnly, parent document equivalence,
120 and inserting any 'content' before/after DocumentElement.
121 + implemented Clone() [it is equals to CloneNode() by MS doc.]
122 + added logic in RemoveChild() to check parent of oldChild.
123 + fixed ConstructNamespaceManager() to internal only.
125 2002-10-29 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
127 * XmlAttribute.cs : add internal 'IsDefault' property
128 (equals to !Specified)
129 * XmlImplementation.cs : added 'internalNameTable' property.
131 + now allows "" for 'standalone' in CreateXmlDeclaration.
132 + implemented 'Implementation' property and constructor with it.
133 + added logic for appending name table (but still no use)
134 + implemented property 'DocumentType'
135 (but without internalSubset parsing. wait for next update.)
137 + modified AppendChild() and RemoveChild() to support fragment.
138 + modified AppendChild() to remove newChild from its parent
139 when newChild is already in the other place.
140 + modified RemoveChild() to set parentNode null.
141 + modified ConstructDOM() to create DocumentType,
142 and fixed access modifier ('internal protected' to 'internal')
143 * XmlLinkedNode.cs : fixed 'NextSibling' to return null
144 when its parent is null.
145 * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
146 property to enable AppendChild() for this class.
147 * XmlTextReader.cs : appended private publicId and systemId fields.
149 2002-10-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
151 * XmlTextReader.cs: make it work when the underlying Stream is not
154 2002-10-26 Piers Haken <piersh@friskit.com>
156 * XmlNode.cs: add virtual property XPathNodeType
161 * XmlProcessingInstruction.cs:
162 * XmlSignificantWhitespace.cs:
164 * XmlWhitespace.cs: implement XPathNodeType property
165 * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
167 2002-10-26 Piers Haken <piersh@friskit.com>
169 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
171 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
173 * XmlTextReader.cs: don't increment depth for entity references.
175 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
177 * - Fixed the duplication of xmlns:xx = yy when serializing the
178 XML for serialization
180 Fixed the unnecessary parsing/serializing when adding assemblies
183 Avoided setting the XmlNode.InnerXml property
184 (as it's not implemented)
186 Fixed the usage/implementation of
187 XmlElement.GetElementsByTagName()
189 2002-10-21 Duncan Mak <duncan@ximian.com>
194 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
195 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
197 2002-10-18 Duncan Mak <duncan@ximian.com>
199 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
200 <ginga@kit.hi-ho.ne.jp>.
202 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
204 * XmlDocument.cs (ImportNode): Implemented
206 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
208 * XmlDocument.cs: one more Load method implemented.
209 * XmlTextReader.cs: Depth now works.
211 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
213 * XmlConvert.cs: IsInvalid is now internal.
214 * XmlNamespaceManager.cs: implemented RemoveNamespace
215 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
216 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
218 2002-09-19 Matt Hunter <mahunter@tconl.com>
220 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
221 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
223 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
225 * XmlConvert.cs: finished implementation.
226 * XmlTextReader.cs: fixed #30239.
227 * XmlTextWriter.cs: fixed #30240.
229 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
231 * XmlTextReader.cs: line and position begin with 1.
233 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
235 * XmlException.cs: added a new internal constructor for IXmlLineInfo
236 and output line and position info in Message.
238 * XmlReader.cs: implemented missing bits.
240 2002-09-12 Piers Haken <piersh@friksit.com>
242 * XmlDocumentNavigator.cs: implement MoveToId()
244 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
246 * XmlTextWriter.cs: fixed bug #29886.
248 2002-08-26 Ravi Pratap <ravi@ximian.com>
251 * XmlAttribute.cs (InnerText): Implement getting this property.
253 * XmlNode.cs (InnerText): Ensure that we append only values of
256 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
258 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
259 that allowed compiling this.
260 [ FIXME: filed bug #29435. mcs should have failed on this ]
262 2002-08-25 Tim Coleman <tim@timcoleman.com>
264 Change CreateNavigator to not be virtual.
266 Add set_Prefix and InnerText accessors.
267 * XmlEntityReference.cs:
268 Add set_Value accessor.
270 Make objects which should be private private.
272 Remove WriteStartElementInternal abstract definition.
273 * XmlValidatingReader.cs:
276 2002-08-22 Jason Diamond <jason@injektilo.org>
278 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
279 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
281 2002-08-22 Jason Diamond <jason@injektilo.org>
283 * XmlElement.cs: Correction to previous GetElementsByTagName patch
284 courtesy of Matt Hunter <xrkune@tconl.com>.
286 2002-08-22 Jason Diamond <jason@injektilo.org>
288 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
289 qualified GetElementsByTagName courtesy of Matt Hunter
292 2002-08-19 Jason Diamond <jason@injektilo.org>
294 * XmlDocument.cs, XmlElement.cs: Added implementation of
295 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
297 2002-08-16 Jason Diamond <jason@injektilo.org>
299 * XmlElement.cs: Fixed writing out qualified elements courtesy of
300 Marcus Bürgel <marcus.buergel@gmx.de>.
302 2002-08-13 Tim Coleman <tim@timcoleman.com>
304 Partial implementation of WriteQualifiedName ().
306 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
307 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
308 InsertData(), and ReplaceData(). These methods fire the
309 NodeChanging and NodeChanged events.
311 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
313 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
314 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
316 2002-08-03 Tim Coleman <tim@timcoleman.com>
317 * XmlNamespaceManager.cs:
318 .Net allows the empty namespace to be redefined
319 at a later point, but the current implementation
320 did not. This fixes a hashtable conflict.
322 2002-07-26 Tim Coleman <tim@timcoleman.com>
324 When given a textwriter, check to see if it has a
325 null encoding. This was being done for other inputs
328 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
330 * XmlTextReader.cs: rough line/column support.
332 2002-07-23 Duncan Mak <duncan@ximian.com>
334 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
335 (string, string []) is particularly strange.
337 * XmlException.cs: Remember to call the base serialization
340 * XmlNodeReader.cs: Keep a new variable to store the Depth.
342 2002-07-14 Jason Diamond <jason@injektilo.org>
344 * XmlAttribute.cs: Removed ownerElement field since we can reuse
347 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
348 if the current node is an attribute.
350 * XmlElement.cs: SetAttributeNode now sets the new attribute's
353 2002-07-12 Jason Diamond <jason@injektilo.org>
355 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
356 creating an element, use String.Empty instead.
358 2002-07-12 Piers Haken <piersh@friksit.com>
360 * XmlAttributeCollection.cs: implement some ItemOf indexers
361 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
362 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
364 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
367 2002-10-26 Piers Haken <piersh@friskit.com>
369 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
371 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
373 * XmlTextReader.cs: don't increment depth for entity references.
375 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
377 * - Fixed the duplication of xmlns:xx = yy when serializing the
378 XML for serialization
380 Fixed the unnecessary parsing/serializing when adding assemblies
383 Avoided setting the XmlNode.InnerXml property
384 (as it's not implemented)
386 Fixed the usage/implementation of
387 XmlElement.GetElementsByTagName()
389 2002-10-21 Duncan Mak <duncan@ximian.com>
394 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
395 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
397 2002-10-18 Duncan Mak <duncan@ximian.com>
399 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
400 <ginga@kit.hi-ho.ne.jp>.
402 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
404 * XmlDocument.cs (ImportNode): Implemented
406 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
408 * XmlDocument.cs: one more Load method implemented.
409 * XmlTextReader.cs: Depth now works.
411 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
413 * XmlConvert.cs: IsInvalid is now internal.
414 * XmlNamespaceManager.cs: implemented RemoveNamespace
415 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
416 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
418 2002-09-19 Matt Hunter <mahunter@tconl.com>
420 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
421 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
423 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
425 * XmlConvert.cs: finished implementation.
426 * XmlTextReader.cs: fixed #30239.
427 * XmlTextWriter.cs: fixed #30240.
429 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
431 * XmlTextReader.cs: line and position begin with 1.
433 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
435 * XmlException.cs: added a new internal constructor for IXmlLineInfo
436 and output line and position info in Message.
438 * XmlReader.cs: implemented missing bits.
440 2002-09-12 Piers Haken <piersh@friksit.com>
442 * XmlDocumentNavigator.cs: implement MoveToId()
444 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
446 * XmlTextWriter.cs: fixed bug #29886.
448 2002-08-26 Ravi Pratap <ravi@ximian.com>
451 * XmlAttribute.cs (InnerText): Implement getting this property.
453 * XmlNode.cs (InnerText): Ensure that we append only values of
456 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
458 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
459 that allowed compiling this.
460 [ FIXME: filed bug #29435. mcs should have failed on this ]
462 2002-08-25 Tim Coleman <tim@timcoleman.com>
464 Change CreateNavigator to not be virtual.
466 Add set_Prefix and InnerText accessors.
467 * XmlEntityReference.cs:
468 Add set_Value accessor.
470 Make objects which should be private private.
472 Remove WriteStartElementInternal abstract definition.
473 * XmlValidatingReader.cs:
476 2002-08-22 Jason Diamond <jason@injektilo.org>
478 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
479 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
481 2002-08-22 Jason Diamond <jason@injektilo.org>
483 * XmlElement.cs: Correction to previous GetElementsByTagName patch
484 courtesy of Matt Hunter <xrkune@tconl.com>.
486 2002-08-22 Jason Diamond <jason@injektilo.org>
488 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
489 qualified GetElementsByTagName courtesy of Matt Hunter
492 2002-08-19 Jason Diamond <jason@injektilo.org>
494 * XmlDocument.cs, XmlElement.cs: Added implementation of
495 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
497 2002-08-16 Jason Diamond <jason@injektilo.org>
499 * XmlElement.cs: Fixed writing out qualified elements courtesy of
500 Marcus Bürgel <marcus.buergel@gmx.de>.
502 2002-08-13 Tim Coleman <tim@timcoleman.com>
504 Partial implementation of WriteQualifiedName ().
506 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
507 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
508 InsertData(), and ReplaceData(). These methods fire the
509 NodeChanging and NodeChanged events.
511 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
513 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
514 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
516 2002-08-03 Tim Coleman <tim@timcoleman.com>
517 * XmlNamespaceManager.cs:
518 .Net allows the empty namespace to be redefined
519 at a later point, but the current implementation
520 did not. This fixes a hashtable conflict.
522 2002-07-26 Tim Coleman <tim@timcoleman.com>
524 When given a textwriter, check to see if it has a
525 null encoding. This was being done for other inputs
528 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
530 * XmlTextReader.cs: rough line/column support.
532 2002-07-23 Duncan Mak <duncan@ximian.com>
534 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
535 (string, string []) is particularly strange.
537 * XmlException.cs: Remember to call the base serialization
540 * XmlNodeReader.cs: Keep a new variable to store the Depth.
542 2002-07-14 Jason Diamond <jason@injektilo.org>
544 * XmlAttribute.cs: Removed ownerElement field since we can reuse
547 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
548 if the current node is an attribute.
550 * XmlElement.cs: SetAttributeNode now sets the new attribute's
553 2002-07-12 Jason Diamond <jason@injektilo.org>
555 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
556 creating an element, use String.Empty instead.
558 2002-07-12 Piers Haken <piersh@friksit.com>
560 * XmlAttributeCollection.cs: implement some ItemOf indexers
561 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
562 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
564 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
566 * XmlTextWriter: Fixed Indentation. IndentationOverridden should
567 not be set when inside a attribute.
569 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
571 * XmlTextWriter: In WriteStartElement, if namespace is null and
572 prefix is null|empty do not write out xmlns=""
574 * XmlWriter: WriteStartElement calls the virtual method with null
575 argument instead of empty string.
577 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
579 * XmlTextReader.cs: implemented .ctor (Stream).
581 2002-06-26 Duncan Mak <duncan@ximian.com>
583 * XmlNodeReader.cs: Implementation of most of the properties, and
584 some of the related methods.
586 2002-06-23 Piers Haken <piersh@friskit.com>
588 * XmlDocumentNavigator.cs: implement Clone()
589 * XmlElement.cs: remove bogus unimplemented override of InnerText
590 * XmlNode.cs: implment SelectNodes/SelectSingleNode
591 * XmlNodeArrayList.cs: new support class for SelectNodes
593 2002-06-21 Ajay kumar Dwivedi <adwiv@yahoo.com>
595 * XmlQualifiedName: Name and Namespaces are never null. If null is passed
596 to the constructor, set them to empty strings.
599 2002-06-18 Ajay kumar Dwivedi <adwiv@yahoo.com>
601 * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
604 2002-06-14 Duncan Mak <duncan@ximian.com>
606 * XmlConvert.cs: Added CLSCompliant attributes to methods.
608 2002-06-12 Duncan Mak <duncan@ximian.com>
610 * XmlCharacterData.cs (Value): Throw an ArgumentException in the
611 set block if the node is read-only.
613 2002-06-10 Ajay kumar Dwivedi <adwiv@yahoo.com>
614 * XmlConstruct.cs : New Internal class with Helper methods for
615 Checking XmlConstructs
616 * XmlConvert.cs: Implemented most of the methods
618 2002-06-08 Duncan Mak <duncan@ximian.com>
620 * XmlDocument.cs (Load):
621 Added bits to Load (string) for BaseURI support.
623 * XmlAttribute.cs (BaseURI):
624 * XmlDocument.cs (BaseURI):
625 * XmlEntity.cs (BaseURI): Implemented.
627 2002-05-27 Jason Diamond <jason@injektilo.org>
629 * XmlDocumentNavigator.cs: Added file to directory.
631 * XmlNode.cs (CreateNavigator): Implemented.
632 (InnerText): Implemented.
634 * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
636 (Load(XmlReader)): Allow for namespace qualified attributes.
638 * XmlElement.cs: Implemented GetAttribute(string, string) and both
639 GetAttributeNode overloads.
640 (SetAttributeNode(XmlAttribute)): Implemented.
642 * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
643 and RemoveNamedItem(string, string).
645 * XmlLinkedNode.cs (PreviousSibling): Implemented.
647 * XmlTextReader.cs: Added code to maintain the order of attributes as
648 they're parsed. XML doesn't require this but Microsoft's parser does it and
649 matching them makes testing easier so now we have it, too.
651 2002-05-26 Miguel de Icaza <miguel@ximian.com>
653 * XmlDocument.cs: Implement the Save methods.
655 2002-05-08 Mike Kestner <mkestner@speakeasy.net>
657 * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
659 2002-04-28 Duncan Mak <duncan@ximian.com>
661 * XmlSignificantWhitespace.cs (Value):
662 * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
663 block. Added new private method, IsValidWhitespaceChar, for
666 2002-04-16 Duncan Mak <duncan@ximian.com>
668 * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
670 2002-04-12 Duncan Mak <duncan@ximian.com>
672 * XmlAttribute.cs (Prefix): Added preliminary code for set block,
673 added comment on work that needs to be done here. A new MonoTODO item.
675 * XmlDocument.cs (ctor): Corrected constructor signature, changed
676 parameter from 'NameTable' to 'XmlNameTable'.
678 * XmlDocumentFragment.cs (InnerXml): Added missing set block.
680 * XmlCaseOrder.cs: Moved to System.Xml.XPath.
682 2002-04-10 Duncan Mak <duncan@ximian.com>
684 * XmlNodeReader.cs: Initial stubs for the class.
686 2002-04-08 Kral Ferch <kral_ferch@hotmail.com>
688 * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
691 * XmlDeclaration.cs: WriteTo implementation.
693 * XmlDocument.cs: InnerXml getter implementation.
695 * XmlElement.cs: InnerXml getter implementation.
697 * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
699 * XmlSignificantWhitespace.cs: WriteTo implementation.
701 * XmlText.cs: WriteContentTo and WriteTo implementation.
703 * XmlTextWriter.cs: WriteRaw implementation.
705 * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
707 2002-04-05 Kral Ferch <kral_ferch@hotmail.com>
709 * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
710 if prefix in constructor is one of the default ones.
712 * XmlCharacterData.cs: Returns String.Empty for Value and Data
713 even when constructed with null.
715 * XmlDeclaration.cs: Value doesn't put encoding or standalone
716 in if they are empty.
718 * XmlDocument.cs: Implemented CreateNode methods and this caused
719 the changes in the other files in this checkin.
721 * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
722 even when constructed with null.
724 * XmlWhitespace.cs: Changed Value 'get' to return Data.
726 2002-04-01 Kral Ferch <kral_ferch@hotmail.com>
728 * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
730 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
732 * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
735 * XmlWrite.cs: Fixed bug where attribute namespace decl
736 was pushing a scope onto the namespace manager when it shouldn't
739 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
741 * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
742 in different states (no open start element, in WriteState.Content mode).
744 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
746 * XmlTextWriter.cs: XmlLang and XmlSpace properties
749 * XmlTextWriterOpenElement.cs: scope support for XmlLang
752 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
754 * XmlTextWriter.cs: Working on Attribute methods.
756 * XmlWriter.cs: Working on Attribute methods.
758 2002-03-28 Duncan Mak <duncan@ximian.com>
760 * XmlDocument.cs (CreateWhitespace):
761 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
764 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
766 2002-03-26 Duncan Mak <duncan@ximian.com>
768 * XmlDocument.cs (CreateDocumentType): Implemented.
770 * XmlNode.cs (Value): Implemented.
772 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
773 like XmlCharacterData.
775 * XmlDeclaration.cs (CloneNode):
776 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
779 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
780 docs say it is the "The concatenated values of the node and all
781 the children of the node.". I wrote some test programs and
782 couldn't get any of the derived nodes to AppendChild. For now,
783 InnerText == Data == Value.
784 (Substring): Fixed typo.
786 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
788 * XmlImplementation.cs (CreateDocument): Implemented.
790 2002-03-25 Duncan Mak <duncan@ximian.com>
792 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
793 missing properties (InnerText, Value).
795 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
797 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
799 * XmlTextWriter.cs: Impls for BaseStream and
800 Namespaces and WriteState.
802 * XmlWriter.cs: WriteState and WriteStartElementInternal.
804 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
806 * XmlNodeListChildren.cs: made class internal
807 instead of public. Shouldn't be visible outside
810 * XmlTextWriter.cs: Implementations for Formatting,
811 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
812 Suppresses encoding on xml declaration if null stream passed in.
813 Formats output including suppressing indentation for elements in
816 * XmlTextWriterOpenElement.cs: Initial checkin.
817 XmlTextWriter uses stack of these objects to track
820 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
822 * XmlElement.cs: impl HasAttribute(string name).
824 2002-03-22 Duncan Mak <duncan@ximian.com>
826 * XmlElement.cs: Reformatted.
827 (CloneNode) Corrected.
829 * XmlDocument.cs (CreateWhitespace):
830 (CreateSignificantWhitespace): Implemented.
832 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
833 true, because Attributes have ChildNodes.
835 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
837 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
838 xml declaration along with encoding. WriteEndElement throws
839 exception if no WriteStartElement exists.
841 2002-03-20 Duncan Mak <duncan@ximian.com>
843 * XmlEntityReference.cs (CloneNode): Implemented.
845 * XmlException.cs (Message): Implemented. We need to cache the
846 message string because SystemException doesn't expose 'message'
849 * XmlText.cs (Value): Added in the missing Value property.
851 2002-03-20 Duncan Mak <duncan@ximian.com>
853 * XmlAttribute.cs (CloneNode): Implemented.
855 * XmlDocumentFragment.cs (CloneNode): Implemented.
857 * XmlElement.cs (CloneNode): Implemented.
859 2002-03-19 Duncan Mak <duncan@ximian.com>
861 * XmlNotation.cs: Added to CVS.
863 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
865 * XmlCDataSection.cs (CloneNode): Implemented.
867 * XmlDocumentFragment.cs: Reformatted and added the missing properties
868 (InnerXml, OwnerDocument, ParentNode).
869 (CloneNode): Implemented.
871 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
872 (Value) Implemented the 'get' property.
874 * XmlWhitespace.cs (Module): implemented.
876 2002-03-19 Jason Diamond <jason@injektilo.org>
878 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
881 2002-03-18 Jason Diamond <jason@injektilo.org>
883 * XmlTextReader.cs: Don't restore properties after reading last
884 attribute on an element.
886 * XmlDocument.cs: Move back to element after reading attributes
887 so that IsEmptyElement test succeeds.
889 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
891 * XmlNamespaceManager.cs: Implemented LookupPrefix.
893 * XmlTextWriter.cs: Implemented namespace and prefix support.
895 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
897 * XmlTextReader.cs: Restores properties after
898 reading last attribute on an element.
900 * XmlNode.cs: AppendChild sets the parent
903 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
905 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
907 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
909 * XmlElement.cs: Fixed bug in WriteTo.
911 * XmlProcessingInstruction.cs: Formatting.
913 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
914 fixes for WriteEndElement, WriteProcessingInstruction.
916 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
918 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
919 had Load() add PIs to the document, moved onXXX methods to alphabetical
922 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
924 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
926 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
929 * XmlTextWriter.cs: Implementations for WriteEndElement,
930 WriteProcessingInstruction, WriteStartElement, and WriteString.
932 * XmlWriter.cs: Implemented WriteStartElement() methods.
934 2002-03-15 Duncan Mak <duncan@ximian.com>
936 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
937 InnerText once I know what they do.
939 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
940 that we can properly chain constructors.
941 (CloneNode): implemented.
942 (WriteContentTo): Removed MonoTODO attribute as this method has no
943 effect in this class.
945 * XmlProcessingInstruction.cs (Value): Added the missing Set
947 (InnerText): Added in, but not implemented.
949 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
951 * XmlTextWriter.cs: implemented constructors and
952 WriteCData and WriteComment.
954 2002-03-14 Duncan Mak <duncan@ximian.com>
956 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
957 file, and updated the callbacks to reflect the change.
958 (XmlDocument): Added the NameTable constructor.
959 (NameTable): Also the NameTable property.
961 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
962 was in XmlDocument.cs. It has two arguments now (object,
963 EventArgs) , instead of one (object).
965 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
967 * XmlWriter.cs: Formatting.
969 * XmlTextWriter.cs: Initial checkin.
971 2002-03-14 Duncan Mak <duncan@ximian.com>
973 * Validation.cs: Removed, replaced by ValidationType.cs.
975 * ValidationType.cs: Added.
977 2002-03-13 Duncan Mak <duncan@ximian.com>
979 * XmlException.cs: Made it [Serializable], implemented good ol'
980 GetObjectData, and the serialization constructor.
982 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
983 (SetNamedItem): Reverted (added back in) the patch with the
984 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
986 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
987 (GetNamedItem (string, string)): implemented.
988 (RemoveNamedItem): implemented.
989 (SetNamedItem): implemented.
991 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
993 * XmlAttribute.cs: Moved a method from amongst properties down to
994 it's alphabetical position in the methods section.
996 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
997 last linked child. Set XmlNode base class to return false for IsReadOnly().
998 Implemented GetEnumerator() and RemoveChild().
1000 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
1001 This is to support the behavior that the Enumerator doesn't become invalid
1002 when changes to the children occur. Flushed out rest of implementation for
1003 MoveNext, Current, and Reset.
1005 2002-03-12 Duncan Mak <duncan@ximian.com>
1007 * XmlCharacterData.cs: Reformatted the properties for better readability.
1009 * XmlLinkedNode.cs: Removed the awful boxy comments.
1011 * XmlNamedNodeMap.cs (Count):
1012 (Item): Implemented. Tests will be coming.
1014 * XmlEntityReference.cs:
1015 * XmlSignificantWhitespace.cs: Implemented these classes except for
1016 the Clone, WriteContentTo and WriteTo methods. Will have to
1017 investigate into these later.
1019 2002-03-11 Duncan Mak <duncan@ximian.com>
1021 * IHasXmlNode.cs: Added to CVS.
1023 2002-03-08 Jason Diamond <jason@injektilo.org>
1025 * XmlParserContext.cs: Added missing constructors and missing Encoding
1028 * XmlTextReader.cs: Start using the XmlParserContext class.
1030 2002-03-08 Jason Diamond <jason@injektilo.org>
1032 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
1034 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
1036 * XmlNode.cs (Item): Implemented both indexers.
1038 2002-03-08 Jason Diamond <jason@injektilo.org>
1040 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
1041 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
1043 2002-03-08 Jason Diamond <jason@injektilo.org>
1045 * XmlAttribute.cs: Attribute nodes are supposed to store their values
1046 as child nodes so updated to reflect that.
1048 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
1049 duplicated in XmlDocument and XmlElement into XmlNode so that it
1050 wouldn't have to be duplicated in XmlAttribute, too.
1052 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
1054 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
1055 XmlNode.cs: Formatting.
1057 * XmlNodeListChildren.cs: Implementation of XmlNodeList
1058 for XmlNode.ChildNodes property.
1060 * XmlNodeListAsArrayList.cs: Removed file. Using different
1061 data structure (circular list) in XmlNode so this file
1064 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
1065 bug in setter property of LastLinkedChild so fixed it.
1067 2002-03-06 Jason Diamond <jason@injektilo.org>
1069 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
1070 We already have a parser in XmlTextReader.
1072 * XmlException.cs: Removed constructor accepting XmlInputSource.
1074 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
1076 * XmlNode.cs: Rewrote this class from scratch with
1077 MonoToDo attribs and NotImplementedExceptions. Now defines an
1078 internal LastLinkedNode property to aid the new implementation.
1079 XmlNodes only have ref to owner doc and parent nodes now.
1081 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
1082 and ref to next sibling to support walking our circular child
1085 * XmlDocument.cs: Added ref to last child node and overrides
1086 XmlNode's internal LastLinkedChild property to support walking
1087 our circular child node list.
1089 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
1091 * XmlProcessingInstructions.cs: Class was empty. Implemented
1092 constructor, properties, and CloneNode() method. Put in
1093 MonoToDo attrib for remaining methods.
1095 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
1096 Got rid of helper methods and fields since they were no
1099 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
1101 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
1102 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
1103 Createxxx() methods for those three node types.
1105 2002-03-02 Jason Diamond <jason@injektilo.org>
1107 * XmlDocument.cs: Implemented the remaining CreateElement and
1108 CreateAttribute methods.
1110 * XmlAttribute.cs: Re-implemented.
1112 * XmlElement.cs: Set owner element on attributes. Reformatted.
1114 2002-03-02 Jason Diamond <jason@injektilo.org>
1116 * XmlTextReader.cs: Implemented MoveToNextAttribute().
1118 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
1119 attributes. Create attribute nodes while loading. Implemented
1120 Load(string) and CreateTextNode().
1122 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
1124 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
1127 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
1129 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
1131 * XmlAttribute.cs : Using fix.
1132 * XmlDocument.cs (CreateAttribute(String)): Implement.
1134 2002-03-02 Jason Diamond <jason@injektilo.org>
1136 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
1139 2002-02-28 Jason Diamond <jason@injektilo.org>
1141 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
1142 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
1144 2002-02-28 Jason Diamond <jason@injektilo.org>
1146 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
1147 added missing members and MonoTODO attributes.
1149 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
1151 2002-02-27 Jason Diamond <jason@injektilo.org>
1153 * XmlElement.cs: Reformatted, added missing members and MonoTODO
1156 2002-02-26 Duncan Mak <duncan@ximian.com>
1158 * XmlCDataSection.cs: Initial implementation.
1160 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
1161 it out. This should (hopefully) be correct.
1163 2002-02-26 Jason Diamond <jason@injektilo.org>
1165 * XmlTextReader.cs: Apparently Microsoft's implementation treats
1166 namespace declarations as attributes so we do now, too.
1168 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
1169 checks the current scope.
1171 2002-02-26 Duncan Mak <duncan@ximian.com>
1173 * XmlDocumentType.cs: Added a few hacks here and there to
1174 temporarily fix the "I broke the build issue".
1176 2002-02-25 Jason Diamond <jason@injektilo.org>
1178 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
1179 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
1180 simple test to pass. The existing code is really shitty so I'll
1181 probably start writing tests and refactoring before much else
1184 2002-02-25 Duncan Mak <duncan@ximian.com>
1186 * NameTable.cs: Implemented.
1188 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
1190 2002-02-24 Duncan Mak <duncan@ximian.com>
1192 * XmlNodeOrder.cs: Added to CVS.
1194 * XmlQualifiedName.cs: Fixed a warning from Equals ().
1196 * XmlTokenizedType.cs: Added to CVS.
1198 * XmlUrlResolver.cs: Added to CVS with one TODO task.
1200 2002-02-23 Duncan Mak <duncan@ximian.com>
1202 * XmlQualifiedName.cs: Fixed ToString () and added the operators
1205 2002-02-23 Jason Diamond <jason@injektilo.org>
1207 * XmlTextReader.cs: Added support for qualified attributes.
1209 2002-02-23 Jason Diamond <jason@injektilo.org>
1211 * XmlNamespaceManager.cs: Initial implementation.
1213 * XmlTextReader.cs: Added support for NamespaceURI property on
1216 2002-02-23 Nick Drochak <ndrochak@gol.com>
1218 * ChangeLog: Add the change log to this directory
1220 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has