1 2002-11-03 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
3 * XmlAttributeCollection.cs : checks owner element.
4 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
5 Remove, RemoveAt, SetNamedItem.
6 removed some logics that sets 'Parent' (that should be null)
7 * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
8 * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
9 * XmlElement.cs : implemented WriteTo, set_InnerText.
10 Fixed WriteTo() to add xmlns:* attributes when
11 writer.LookupPrefix() returned mismatching.
12 * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
13 Removing different prefixes for the same uri now runs correct.
14 added SetNamedItem(XmlNode node, int position_to_insert).
15 * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
16 XmlWhitespace, and XmlSignificantWhitespace
18 2002-10-31 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
20 * XmlDocument.cs : implemented CreateDocumentFragment()
21 * XmlElement.cs, XmlLinkedNode.cs :
22 moved LastLinkedChild from XmlElement to XmlLinkedNode.
23 * XmlEntityReference.cs : must throw NotImplementedException.
25 + implemented InsertBefore() and then implemented InsertAfter()
26 and modified AppendChild() to call it.
27 + added logic to check ReadOnly, parent document equivalence,
28 and inserting any 'content' before/after DocumentElement.
29 + implemented Clone() [it is equals to CloneNode() by MS doc.]
30 + added logic in RemoveChild() to check parent of oldChild.
31 + fixed ConstructNamespaceManager() to internal only.
33 2002-10-29 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
35 * XmlAttribute.cs : add internal 'IsDefault' property
36 (equals to !Specified)
37 * XmlImplementation.cs : added 'internalNameTable' property.
39 + now allows "" for 'standalone' in CreateXmlDeclaration.
40 + implemented 'Implementation' property and constructor with it.
41 + added logic for appending name table (but still no use)
42 + implemented property 'DocumentType'
43 (but without internalSubset parsing. wait for next update.)
45 + modified AppendChild() and RemoveChild() to support fragment.
46 + modified AppendChild() to remove newChild from its parent
47 when newChild is already in the other place.
48 + modified RemoveChild() to set parentNode null.
49 + modified ConstructDOM() to create DocumentType,
50 and fixed access modifier ('internal protected' to 'internal')
51 * XmlLinkedNode.cs : fixed 'NextSibling' to return null
52 when its parent is null.
53 * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
54 property to enable AppendChild() for this class.
55 * XmlTextReader.cs : appended private publicId and systemId fields.
57 2002-10-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
59 * XmlTextReader.cs: make it work when the underlying Stream is not
62 2002-10-26 Piers Haken <piersh@friskit.com>
64 * XmlNode.cs: add virtual property XPathNodeType
69 * XmlProcessingInstruction.cs:
70 * XmlSignificantWhitespace.cs:
72 * XmlWhitespace.cs: implement XPathNodeType property
73 * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
75 2002-10-26 Piers Haken <piersh@friskit.com>
77 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
79 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
81 * XmlTextReader.cs: don't increment depth for entity references.
83 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
85 * - Fixed the duplication of xmlns:xx = yy when serializing the
88 Fixed the unnecessary parsing/serializing when adding assemblies
91 Avoided setting the XmlNode.InnerXml property
92 (as it's not implemented)
94 Fixed the usage/implementation of
95 XmlElement.GetElementsByTagName()
97 2002-10-21 Duncan Mak <duncan@ximian.com>
102 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
103 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
105 2002-10-18 Duncan Mak <duncan@ximian.com>
107 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
108 <ginga@kit.hi-ho.ne.jp>.
110 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
112 * XmlDocument.cs (ImportNode): Implemented
114 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
116 * XmlDocument.cs: one more Load method implemented.
117 * XmlTextReader.cs: Depth now works.
119 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
121 * XmlConvert.cs: IsInvalid is now internal.
122 * XmlNamespaceManager.cs: implemented RemoveNamespace
123 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
124 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
126 2002-09-19 Matt Hunter <mahunter@tconl.com>
128 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
129 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
131 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
133 * XmlConvert.cs: finished implementation.
134 * XmlTextReader.cs: fixed #30239.
135 * XmlTextWriter.cs: fixed #30240.
137 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
139 * XmlTextReader.cs: line and position begin with 1.
141 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
143 * XmlException.cs: added a new internal constructor for IXmlLineInfo
144 and output line and position info in Message.
146 * XmlReader.cs: implemented missing bits.
148 2002-09-12 Piers Haken <piersh@friksit.com>
150 * XmlDocumentNavigator.cs: implement MoveToId()
152 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
154 * XmlTextWriter.cs: fixed bug #29886.
156 2002-08-26 Ravi Pratap <ravi@ximian.com>
159 * XmlAttribute.cs (InnerText): Implement getting this property.
161 * XmlNode.cs (InnerText): Ensure that we append only values of
164 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
166 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
167 that allowed compiling this.
168 [ FIXME: filed bug #29435. mcs should have failed on this ]
170 2002-08-25 Tim Coleman <tim@timcoleman.com>
172 Change CreateNavigator to not be virtual.
174 Add set_Prefix and InnerText accessors.
175 * XmlEntityReference.cs:
176 Add set_Value accessor.
178 Make objects which should be private private.
180 Remove WriteStartElementInternal abstract definition.
181 * XmlValidatingReader.cs:
184 2002-08-22 Jason Diamond <jason@injektilo.org>
186 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
187 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
189 2002-08-22 Jason Diamond <jason@injektilo.org>
191 * XmlElement.cs: Correction to previous GetElementsByTagName patch
192 courtesy of Matt Hunter <xrkune@tconl.com>.
194 2002-08-22 Jason Diamond <jason@injektilo.org>
196 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
197 qualified GetElementsByTagName courtesy of Matt Hunter
200 2002-08-19 Jason Diamond <jason@injektilo.org>
202 * XmlDocument.cs, XmlElement.cs: Added implementation of
203 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
205 2002-08-16 Jason Diamond <jason@injektilo.org>
207 * XmlElement.cs: Fixed writing out qualified elements courtesy of
208 Marcus Bürgel <marcus.buergel@gmx.de>.
210 2002-08-13 Tim Coleman <tim@timcoleman.com>
212 Partial implementation of WriteQualifiedName ().
214 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
215 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
216 InsertData(), and ReplaceData(). These methods fire the
217 NodeChanging and NodeChanged events.
219 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
221 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
222 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
224 2002-08-03 Tim Coleman <tim@timcoleman.com>
225 * XmlNamespaceManager.cs:
226 .Net allows the empty namespace to be redefined
227 at a later point, but the current implementation
228 did not. This fixes a hashtable conflict.
230 2002-07-26 Tim Coleman <tim@timcoleman.com>
232 When given a textwriter, check to see if it has a
233 null encoding. This was being done for other inputs
236 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
238 * XmlTextReader.cs: rough line/column support.
240 2002-07-23 Duncan Mak <duncan@ximian.com>
242 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
243 (string, string []) is particularly strange.
245 * XmlException.cs: Remember to call the base serialization
248 * XmlNodeReader.cs: Keep a new variable to store the Depth.
250 2002-07-14 Jason Diamond <jason@injektilo.org>
252 * XmlAttribute.cs: Removed ownerElement field since we can reuse
255 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
256 if the current node is an attribute.
258 * XmlElement.cs: SetAttributeNode now sets the new attribute's
261 2002-07-12 Jason Diamond <jason@injektilo.org>
263 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
264 creating an element, use String.Empty instead.
266 2002-07-12 Piers Haken <piersh@friksit.com>
268 * XmlAttributeCollection.cs: implement some ItemOf indexers
269 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
270 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
272 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
275 2002-10-26 Piers Haken <piersh@friskit.com>
277 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
279 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
281 * XmlTextReader.cs: don't increment depth for entity references.
283 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
285 * - Fixed the duplication of xmlns:xx = yy when serializing the
286 XML for serialization
288 Fixed the unnecessary parsing/serializing when adding assemblies
291 Avoided setting the XmlNode.InnerXml property
292 (as it's not implemented)
294 Fixed the usage/implementation of
295 XmlElement.GetElementsByTagName()
297 2002-10-21 Duncan Mak <duncan@ximian.com>
302 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
303 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
305 2002-10-18 Duncan Mak <duncan@ximian.com>
307 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
308 <ginga@kit.hi-ho.ne.jp>.
310 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
312 * XmlDocument.cs (ImportNode): Implemented
314 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
316 * XmlDocument.cs: one more Load method implemented.
317 * XmlTextReader.cs: Depth now works.
319 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
321 * XmlConvert.cs: IsInvalid is now internal.
322 * XmlNamespaceManager.cs: implemented RemoveNamespace
323 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
324 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
326 2002-09-19 Matt Hunter <mahunter@tconl.com>
328 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
329 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
331 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
333 * XmlConvert.cs: finished implementation.
334 * XmlTextReader.cs: fixed #30239.
335 * XmlTextWriter.cs: fixed #30240.
337 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
339 * XmlTextReader.cs: line and position begin with 1.
341 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
343 * XmlException.cs: added a new internal constructor for IXmlLineInfo
344 and output line and position info in Message.
346 * XmlReader.cs: implemented missing bits.
348 2002-09-12 Piers Haken <piersh@friksit.com>
350 * XmlDocumentNavigator.cs: implement MoveToId()
352 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
354 * XmlTextWriter.cs: fixed bug #29886.
356 2002-08-26 Ravi Pratap <ravi@ximian.com>
359 * XmlAttribute.cs (InnerText): Implement getting this property.
361 * XmlNode.cs (InnerText): Ensure that we append only values of
364 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
366 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
367 that allowed compiling this.
368 [ FIXME: filed bug #29435. mcs should have failed on this ]
370 2002-08-25 Tim Coleman <tim@timcoleman.com>
372 Change CreateNavigator to not be virtual.
374 Add set_Prefix and InnerText accessors.
375 * XmlEntityReference.cs:
376 Add set_Value accessor.
378 Make objects which should be private private.
380 Remove WriteStartElementInternal abstract definition.
381 * XmlValidatingReader.cs:
384 2002-08-22 Jason Diamond <jason@injektilo.org>
386 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
387 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
389 2002-08-22 Jason Diamond <jason@injektilo.org>
391 * XmlElement.cs: Correction to previous GetElementsByTagName patch
392 courtesy of Matt Hunter <xrkune@tconl.com>.
394 2002-08-22 Jason Diamond <jason@injektilo.org>
396 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
397 qualified GetElementsByTagName courtesy of Matt Hunter
400 2002-08-19 Jason Diamond <jason@injektilo.org>
402 * XmlDocument.cs, XmlElement.cs: Added implementation of
403 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
405 2002-08-16 Jason Diamond <jason@injektilo.org>
407 * XmlElement.cs: Fixed writing out qualified elements courtesy of
408 Marcus Bürgel <marcus.buergel@gmx.de>.
410 2002-08-13 Tim Coleman <tim@timcoleman.com>
412 Partial implementation of WriteQualifiedName ().
414 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
415 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
416 InsertData(), and ReplaceData(). These methods fire the
417 NodeChanging and NodeChanged events.
419 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
421 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
422 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
424 2002-08-03 Tim Coleman <tim@timcoleman.com>
425 * XmlNamespaceManager.cs:
426 .Net allows the empty namespace to be redefined
427 at a later point, but the current implementation
428 did not. This fixes a hashtable conflict.
430 2002-07-26 Tim Coleman <tim@timcoleman.com>
432 When given a textwriter, check to see if it has a
433 null encoding. This was being done for other inputs
436 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
438 * XmlTextReader.cs: rough line/column support.
440 2002-07-23 Duncan Mak <duncan@ximian.com>
442 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
443 (string, string []) is particularly strange.
445 * XmlException.cs: Remember to call the base serialization
448 * XmlNodeReader.cs: Keep a new variable to store the Depth.
450 2002-07-14 Jason Diamond <jason@injektilo.org>
452 * XmlAttribute.cs: Removed ownerElement field since we can reuse
455 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
456 if the current node is an attribute.
458 * XmlElement.cs: SetAttributeNode now sets the new attribute's
461 2002-07-12 Jason Diamond <jason@injektilo.org>
463 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
464 creating an element, use String.Empty instead.
466 2002-07-12 Piers Haken <piersh@friksit.com>
468 * XmlAttributeCollection.cs: implement some ItemOf indexers
469 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
470 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
472 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
474 * XmlTextWriter: Fixed Indentation. IndentationOverridden should
475 not be set when inside a attribute.
477 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
479 * XmlTextWriter: In WriteStartElement, if namespace is null and
480 prefix is null|empty do not write out xmlns=""
482 * XmlWriter: WriteStartElement calls the virtual method with null
483 argument instead of empty string.
485 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
487 * XmlTextReader.cs: implemented .ctor (Stream).
489 2002-06-26 Duncan Mak <duncan@ximian.com>
491 * XmlNodeReader.cs: Implementation of most of the properties, and
492 some of the related methods.
494 2002-06-23 Piers Haken <piersh@friskit.com>
496 * XmlDocumentNavigator.cs: implement Clone()
497 * XmlElement.cs: remove bogus unimplemented override of InnerText
498 * XmlNode.cs: implment SelectNodes/SelectSingleNode
499 * XmlNodeArrayList.cs: new support class for SelectNodes
501 2002-06-21 Ajay kumar Dwivedi <adwiv@yahoo.com>
503 * XmlQualifiedName: Name and Namespaces are never null. If null is passed
504 to the constructor, set them to empty strings.
507 2002-06-18 Ajay kumar Dwivedi <adwiv@yahoo.com>
509 * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
512 2002-06-14 Duncan Mak <duncan@ximian.com>
514 * XmlConvert.cs: Added CLSCompliant attributes to methods.
516 2002-06-12 Duncan Mak <duncan@ximian.com>
518 * XmlCharacterData.cs (Value): Throw an ArgumentException in the
519 set block if the node is read-only.
521 2002-06-10 Ajay kumar Dwivedi <adwiv@yahoo.com>
522 * XmlConstruct.cs : New Internal class with Helper methods for
523 Checking XmlConstructs
524 * XmlConvert.cs: Implemented most of the methods
526 2002-06-08 Duncan Mak <duncan@ximian.com>
528 * XmlDocument.cs (Load):
529 Added bits to Load (string) for BaseURI support.
531 * XmlAttribute.cs (BaseURI):
532 * XmlDocument.cs (BaseURI):
533 * XmlEntity.cs (BaseURI): Implemented.
535 2002-05-27 Jason Diamond <jason@injektilo.org>
537 * XmlDocumentNavigator.cs: Added file to directory.
539 * XmlNode.cs (CreateNavigator): Implemented.
540 (InnerText): Implemented.
542 * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
544 (Load(XmlReader)): Allow for namespace qualified attributes.
546 * XmlElement.cs: Implemented GetAttribute(string, string) and both
547 GetAttributeNode overloads.
548 (SetAttributeNode(XmlAttribute)): Implemented.
550 * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
551 and RemoveNamedItem(string, string).
553 * XmlLinkedNode.cs (PreviousSibling): Implemented.
555 * XmlTextReader.cs: Added code to maintain the order of attributes as
556 they're parsed. XML doesn't require this but Microsoft's parser does it and
557 matching them makes testing easier so now we have it, too.
559 2002-05-26 Miguel de Icaza <miguel@ximian.com>
561 * XmlDocument.cs: Implement the Save methods.
563 2002-05-08 Mike Kestner <mkestner@speakeasy.net>
565 * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
567 2002-04-28 Duncan Mak <duncan@ximian.com>
569 * XmlSignificantWhitespace.cs (Value):
570 * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
571 block. Added new private method, IsValidWhitespaceChar, for
574 2002-04-16 Duncan Mak <duncan@ximian.com>
576 * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
578 2002-04-12 Duncan Mak <duncan@ximian.com>
580 * XmlAttribute.cs (Prefix): Added preliminary code for set block,
581 added comment on work that needs to be done here. A new MonoTODO item.
583 * XmlDocument.cs (ctor): Corrected constructor signature, changed
584 parameter from 'NameTable' to 'XmlNameTable'.
586 * XmlDocumentFragment.cs (InnerXml): Added missing set block.
588 * XmlCaseOrder.cs: Moved to System.Xml.XPath.
590 2002-04-10 Duncan Mak <duncan@ximian.com>
592 * XmlNodeReader.cs: Initial stubs for the class.
594 2002-04-08 Kral Ferch <kral_ferch@hotmail.com>
596 * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
599 * XmlDeclaration.cs: WriteTo implementation.
601 * XmlDocument.cs: InnerXml getter implementation.
603 * XmlElement.cs: InnerXml getter implementation.
605 * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
607 * XmlSignificantWhitespace.cs: WriteTo implementation.
609 * XmlText.cs: WriteContentTo and WriteTo implementation.
611 * XmlTextWriter.cs: WriteRaw implementation.
613 * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
615 2002-04-05 Kral Ferch <kral_ferch@hotmail.com>
617 * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
618 if prefix in constructor is one of the default ones.
620 * XmlCharacterData.cs: Returns String.Empty for Value and Data
621 even when constructed with null.
623 * XmlDeclaration.cs: Value doesn't put encoding or standalone
624 in if they are empty.
626 * XmlDocument.cs: Implemented CreateNode methods and this caused
627 the changes in the other files in this checkin.
629 * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
630 even when constructed with null.
632 * XmlWhitespace.cs: Changed Value 'get' to return Data.
634 2002-04-01 Kral Ferch <kral_ferch@hotmail.com>
636 * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
638 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
640 * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
643 * XmlWrite.cs: Fixed bug where attribute namespace decl
644 was pushing a scope onto the namespace manager when it shouldn't
647 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
649 * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
650 in different states (no open start element, in WriteState.Content mode).
652 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
654 * XmlTextWriter.cs: XmlLang and XmlSpace properties
657 * XmlTextWriterOpenElement.cs: scope support for XmlLang
660 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
662 * XmlTextWriter.cs: Working on Attribute methods.
664 * XmlWriter.cs: Working on Attribute methods.
666 2002-03-28 Duncan Mak <duncan@ximian.com>
668 * XmlDocument.cs (CreateWhitespace):
669 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
672 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
674 2002-03-26 Duncan Mak <duncan@ximian.com>
676 * XmlDocument.cs (CreateDocumentType): Implemented.
678 * XmlNode.cs (Value): Implemented.
680 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
681 like XmlCharacterData.
683 * XmlDeclaration.cs (CloneNode):
684 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
687 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
688 docs say it is the "The concatenated values of the node and all
689 the children of the node.". I wrote some test programs and
690 couldn't get any of the derived nodes to AppendChild. For now,
691 InnerText == Data == Value.
692 (Substring): Fixed typo.
694 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
696 * XmlImplementation.cs (CreateDocument): Implemented.
698 2002-03-25 Duncan Mak <duncan@ximian.com>
700 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
701 missing properties (InnerText, Value).
703 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
705 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
707 * XmlTextWriter.cs: Impls for BaseStream and
708 Namespaces and WriteState.
710 * XmlWriter.cs: WriteState and WriteStartElementInternal.
712 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
714 * XmlNodeListChildren.cs: made class internal
715 instead of public. Shouldn't be visible outside
718 * XmlTextWriter.cs: Implementations for Formatting,
719 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
720 Suppresses encoding on xml declaration if null stream passed in.
721 Formats output including suppressing indentation for elements in
724 * XmlTextWriterOpenElement.cs: Initial checkin.
725 XmlTextWriter uses stack of these objects to track
728 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
730 * XmlElement.cs: impl HasAttribute(string name).
732 2002-03-22 Duncan Mak <duncan@ximian.com>
734 * XmlElement.cs: Reformatted.
735 (CloneNode) Corrected.
737 * XmlDocument.cs (CreateWhitespace):
738 (CreateSignificantWhitespace): Implemented.
740 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
741 true, because Attributes have ChildNodes.
743 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
745 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
746 xml declaration along with encoding. WriteEndElement throws
747 exception if no WriteStartElement exists.
749 2002-03-20 Duncan Mak <duncan@ximian.com>
751 * XmlEntityReference.cs (CloneNode): Implemented.
753 * XmlException.cs (Message): Implemented. We need to cache the
754 message string because SystemException doesn't expose 'message'
757 * XmlText.cs (Value): Added in the missing Value property.
759 2002-03-20 Duncan Mak <duncan@ximian.com>
761 * XmlAttribute.cs (CloneNode): Implemented.
763 * XmlDocumentFragment.cs (CloneNode): Implemented.
765 * XmlElement.cs (CloneNode): Implemented.
767 2002-03-19 Duncan Mak <duncan@ximian.com>
769 * XmlNotation.cs: Added to CVS.
771 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
773 * XmlCDataSection.cs (CloneNode): Implemented.
775 * XmlDocumentFragment.cs: Reformatted and added the missing properties
776 (InnerXml, OwnerDocument, ParentNode).
777 (CloneNode): Implemented.
779 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
780 (Value) Implemented the 'get' property.
782 * XmlWhitespace.cs (Module): implemented.
784 2002-03-19 Jason Diamond <jason@injektilo.org>
786 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
789 2002-03-18 Jason Diamond <jason@injektilo.org>
791 * XmlTextReader.cs: Don't restore properties after reading last
792 attribute on an element.
794 * XmlDocument.cs: Move back to element after reading attributes
795 so that IsEmptyElement test succeeds.
797 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
799 * XmlNamespaceManager.cs: Implemented LookupPrefix.
801 * XmlTextWriter.cs: Implemented namespace and prefix support.
803 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
805 * XmlTextReader.cs: Restores properties after
806 reading last attribute on an element.
808 * XmlNode.cs: AppendChild sets the parent
811 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
813 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
815 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
817 * XmlElement.cs: Fixed bug in WriteTo.
819 * XmlProcessingInstruction.cs: Formatting.
821 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
822 fixes for WriteEndElement, WriteProcessingInstruction.
824 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
826 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
827 had Load() add PIs to the document, moved onXXX methods to alphabetical
830 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
832 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
834 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
837 * XmlTextWriter.cs: Implementations for WriteEndElement,
838 WriteProcessingInstruction, WriteStartElement, and WriteString.
840 * XmlWriter.cs: Implemented WriteStartElement() methods.
842 2002-03-15 Duncan Mak <duncan@ximian.com>
844 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
845 InnerText once I know what they do.
847 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
848 that we can properly chain constructors.
849 (CloneNode): implemented.
850 (WriteContentTo): Removed MonoTODO attribute as this method has no
851 effect in this class.
853 * XmlProcessingInstruction.cs (Value): Added the missing Set
855 (InnerText): Added in, but not implemented.
857 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
859 * XmlTextWriter.cs: implemented constructors and
860 WriteCData and WriteComment.
862 2002-03-14 Duncan Mak <duncan@ximian.com>
864 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
865 file, and updated the callbacks to reflect the change.
866 (XmlDocument): Added the NameTable constructor.
867 (NameTable): Also the NameTable property.
869 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
870 was in XmlDocument.cs. It has two arguments now (object,
871 EventArgs) , instead of one (object).
873 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
875 * XmlWriter.cs: Formatting.
877 * XmlTextWriter.cs: Initial checkin.
879 2002-03-14 Duncan Mak <duncan@ximian.com>
881 * Validation.cs: Removed, replaced by ValidationType.cs.
883 * ValidationType.cs: Added.
885 2002-03-13 Duncan Mak <duncan@ximian.com>
887 * XmlException.cs: Made it [Serializable], implemented good ol'
888 GetObjectData, and the serialization constructor.
890 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
891 (SetNamedItem): Reverted (added back in) the patch with the
892 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
894 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
895 (GetNamedItem (string, string)): implemented.
896 (RemoveNamedItem): implemented.
897 (SetNamedItem): implemented.
899 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
901 * XmlAttribute.cs: Moved a method from amongst properties down to
902 it's alphabetical position in the methods section.
904 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
905 last linked child. Set XmlNode base class to return false for IsReadOnly().
906 Implemented GetEnumerator() and RemoveChild().
908 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
909 This is to support the behavior that the Enumerator doesn't become invalid
910 when changes to the children occur. Flushed out rest of implementation for
911 MoveNext, Current, and Reset.
913 2002-03-12 Duncan Mak <duncan@ximian.com>
915 * XmlCharacterData.cs: Reformatted the properties for better readability.
917 * XmlLinkedNode.cs: Removed the awful boxy comments.
919 * XmlNamedNodeMap.cs (Count):
920 (Item): Implemented. Tests will be coming.
922 * XmlEntityReference.cs:
923 * XmlSignificantWhitespace.cs: Implemented these classes except for
924 the Clone, WriteContentTo and WriteTo methods. Will have to
925 investigate into these later.
927 2002-03-11 Duncan Mak <duncan@ximian.com>
929 * IHasXmlNode.cs: Added to CVS.
931 2002-03-08 Jason Diamond <jason@injektilo.org>
933 * XmlParserContext.cs: Added missing constructors and missing Encoding
936 * XmlTextReader.cs: Start using the XmlParserContext class.
938 2002-03-08 Jason Diamond <jason@injektilo.org>
940 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
942 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
944 * XmlNode.cs (Item): Implemented both indexers.
946 2002-03-08 Jason Diamond <jason@injektilo.org>
948 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
949 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
951 2002-03-08 Jason Diamond <jason@injektilo.org>
953 * XmlAttribute.cs: Attribute nodes are supposed to store their values
954 as child nodes so updated to reflect that.
956 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
957 duplicated in XmlDocument and XmlElement into XmlNode so that it
958 wouldn't have to be duplicated in XmlAttribute, too.
960 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
962 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
963 XmlNode.cs: Formatting.
965 * XmlNodeListChildren.cs: Implementation of XmlNodeList
966 for XmlNode.ChildNodes property.
968 * XmlNodeListAsArrayList.cs: Removed file. Using different
969 data structure (circular list) in XmlNode so this file
972 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
973 bug in setter property of LastLinkedChild so fixed it.
975 2002-03-06 Jason Diamond <jason@injektilo.org>
977 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
978 We already have a parser in XmlTextReader.
980 * XmlException.cs: Removed constructor accepting XmlInputSource.
982 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
984 * XmlNode.cs: Rewrote this class from scratch with
985 MonoToDo attribs and NotImplementedExceptions. Now defines an
986 internal LastLinkedNode property to aid the new implementation.
987 XmlNodes only have ref to owner doc and parent nodes now.
989 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
990 and ref to next sibling to support walking our circular child
993 * XmlDocument.cs: Added ref to last child node and overrides
994 XmlNode's internal LastLinkedChild property to support walking
995 our circular child node list.
997 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
999 * XmlProcessingInstructions.cs: Class was empty. Implemented
1000 constructor, properties, and CloneNode() method. Put in
1001 MonoToDo attrib for remaining methods.
1003 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
1004 Got rid of helper methods and fields since they were no
1007 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
1009 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
1010 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
1011 Createxxx() methods for those three node types.
1013 2002-03-02 Jason Diamond <jason@injektilo.org>
1015 * XmlDocument.cs: Implemented the remaining CreateElement and
1016 CreateAttribute methods.
1018 * XmlAttribute.cs: Re-implemented.
1020 * XmlElement.cs: Set owner element on attributes. Reformatted.
1022 2002-03-02 Jason Diamond <jason@injektilo.org>
1024 * XmlTextReader.cs: Implemented MoveToNextAttribute().
1026 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
1027 attributes. Create attribute nodes while loading. Implemented
1028 Load(string) and CreateTextNode().
1030 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
1032 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
1035 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
1037 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
1039 * XmlAttribute.cs : Using fix.
1040 * XmlDocument.cs (CreateAttribute(String)): Implement.
1042 2002-03-02 Jason Diamond <jason@injektilo.org>
1044 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
1047 2002-02-28 Jason Diamond <jason@injektilo.org>
1049 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
1050 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
1052 2002-02-28 Jason Diamond <jason@injektilo.org>
1054 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
1055 added missing members and MonoTODO attributes.
1057 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
1059 2002-02-27 Jason Diamond <jason@injektilo.org>
1061 * XmlElement.cs: Reformatted, added missing members and MonoTODO
1064 2002-02-26 Duncan Mak <duncan@ximian.com>
1066 * XmlCDataSection.cs: Initial implementation.
1068 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
1069 it out. This should (hopefully) be correct.
1071 2002-02-26 Jason Diamond <jason@injektilo.org>
1073 * XmlTextReader.cs: Apparently Microsoft's implementation treats
1074 namespace declarations as attributes so we do now, too.
1076 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
1077 checks the current scope.
1079 2002-02-26 Duncan Mak <duncan@ximian.com>
1081 * XmlDocumentType.cs: Added a few hacks here and there to
1082 temporarily fix the "I broke the build issue".
1084 2002-02-25 Jason Diamond <jason@injektilo.org>
1086 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
1087 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
1088 simple test to pass. The existing code is really shitty so I'll
1089 probably start writing tests and refactoring before much else
1092 2002-02-25 Duncan Mak <duncan@ximian.com>
1094 * NameTable.cs: Implemented.
1096 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
1098 2002-02-24 Duncan Mak <duncan@ximian.com>
1100 * XmlNodeOrder.cs: Added to CVS.
1102 * XmlQualifiedName.cs: Fixed a warning from Equals ().
1104 * XmlTokenizedType.cs: Added to CVS.
1106 * XmlUrlResolver.cs: Added to CVS with one TODO task.
1108 2002-02-23 Duncan Mak <duncan@ximian.com>
1110 * XmlQualifiedName.cs: Fixed ToString () and added the operators
1113 2002-02-23 Jason Diamond <jason@injektilo.org>
1115 * XmlTextReader.cs: Added support for qualified attributes.
1117 2002-02-23 Jason Diamond <jason@injektilo.org>
1119 * XmlNamespaceManager.cs: Initial implementation.
1121 * XmlTextReader.cs: Added support for NamespaceURI property on
1124 2002-02-23 Nick Drochak <ndrochak@gol.com>
1126 * ChangeLog: Add the change log to this directory
1128 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has