1 2002-11-04 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
3 XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
5 2002-11-03 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
7 * XmlAttributeCollection.cs : checks owner element.
8 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
9 Remove, RemoveAt, SetNamedItem.
10 removed some logics that sets 'Parent' (that should be null)
11 * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
12 * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
13 * XmlElement.cs : implemented WriteTo, set_InnerText.
14 Fixed WriteTo() to add xmlns:* attributes when
15 writer.LookupPrefix() returned mismatching.
16 * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
17 Removing different prefixes for the same uri now runs correct.
18 added SetNamedItem(XmlNode node, int position_to_insert).
19 * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
20 XmlWhitespace, and XmlSignificantWhitespace
22 2002-10-31 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
24 * XmlDocument.cs : implemented CreateDocumentFragment()
25 * XmlElement.cs, XmlLinkedNode.cs :
26 moved LastLinkedChild from XmlElement to XmlLinkedNode.
27 * XmlEntityReference.cs : must throw NotImplementedException.
29 + implemented InsertBefore() and then implemented InsertAfter()
30 and modified AppendChild() to call it.
31 + added logic to check ReadOnly, parent document equivalence,
32 and inserting any 'content' before/after DocumentElement.
33 + implemented Clone() [it is equals to CloneNode() by MS doc.]
34 + added logic in RemoveChild() to check parent of oldChild.
35 + fixed ConstructNamespaceManager() to internal only.
37 2002-10-29 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
39 * XmlAttribute.cs : add internal 'IsDefault' property
40 (equals to !Specified)
41 * XmlImplementation.cs : added 'internalNameTable' property.
43 + now allows "" for 'standalone' in CreateXmlDeclaration.
44 + implemented 'Implementation' property and constructor with it.
45 + added logic for appending name table (but still no use)
46 + implemented property 'DocumentType'
47 (but without internalSubset parsing. wait for next update.)
49 + modified AppendChild() and RemoveChild() to support fragment.
50 + modified AppendChild() to remove newChild from its parent
51 when newChild is already in the other place.
52 + modified RemoveChild() to set parentNode null.
53 + modified ConstructDOM() to create DocumentType,
54 and fixed access modifier ('internal protected' to 'internal')
55 * XmlLinkedNode.cs : fixed 'NextSibling' to return null
56 when its parent is null.
57 * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
58 property to enable AppendChild() for this class.
59 * XmlTextReader.cs : appended private publicId and systemId fields.
61 2002-10-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
63 * XmlTextReader.cs: make it work when the underlying Stream is not
66 2002-10-26 Piers Haken <piersh@friskit.com>
68 * XmlNode.cs: add virtual property XPathNodeType
73 * XmlProcessingInstruction.cs:
74 * XmlSignificantWhitespace.cs:
76 * XmlWhitespace.cs: implement XPathNodeType property
77 * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
79 2002-10-26 Piers Haken <piersh@friskit.com>
81 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
83 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
85 * XmlTextReader.cs: don't increment depth for entity references.
87 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
89 * - Fixed the duplication of xmlns:xx = yy when serializing the
92 Fixed the unnecessary parsing/serializing when adding assemblies
95 Avoided setting the XmlNode.InnerXml property
96 (as it's not implemented)
98 Fixed the usage/implementation of
99 XmlElement.GetElementsByTagName()
101 2002-10-21 Duncan Mak <duncan@ximian.com>
106 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
107 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
109 2002-10-18 Duncan Mak <duncan@ximian.com>
111 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
112 <ginga@kit.hi-ho.ne.jp>.
114 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
116 * XmlDocument.cs (ImportNode): Implemented
118 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
120 * XmlDocument.cs: one more Load method implemented.
121 * XmlTextReader.cs: Depth now works.
123 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
125 * XmlConvert.cs: IsInvalid is now internal.
126 * XmlNamespaceManager.cs: implemented RemoveNamespace
127 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
128 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
130 2002-09-19 Matt Hunter <mahunter@tconl.com>
132 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
133 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
135 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
137 * XmlConvert.cs: finished implementation.
138 * XmlTextReader.cs: fixed #30239.
139 * XmlTextWriter.cs: fixed #30240.
141 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
143 * XmlTextReader.cs: line and position begin with 1.
145 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
147 * XmlException.cs: added a new internal constructor for IXmlLineInfo
148 and output line and position info in Message.
150 * XmlReader.cs: implemented missing bits.
152 2002-09-12 Piers Haken <piersh@friksit.com>
154 * XmlDocumentNavigator.cs: implement MoveToId()
156 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
158 * XmlTextWriter.cs: fixed bug #29886.
160 2002-08-26 Ravi Pratap <ravi@ximian.com>
163 * XmlAttribute.cs (InnerText): Implement getting this property.
165 * XmlNode.cs (InnerText): Ensure that we append only values of
168 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
170 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
171 that allowed compiling this.
172 [ FIXME: filed bug #29435. mcs should have failed on this ]
174 2002-08-25 Tim Coleman <tim@timcoleman.com>
176 Change CreateNavigator to not be virtual.
178 Add set_Prefix and InnerText accessors.
179 * XmlEntityReference.cs:
180 Add set_Value accessor.
182 Make objects which should be private private.
184 Remove WriteStartElementInternal abstract definition.
185 * XmlValidatingReader.cs:
188 2002-08-22 Jason Diamond <jason@injektilo.org>
190 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
191 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
193 2002-08-22 Jason Diamond <jason@injektilo.org>
195 * XmlElement.cs: Correction to previous GetElementsByTagName patch
196 courtesy of Matt Hunter <xrkune@tconl.com>.
198 2002-08-22 Jason Diamond <jason@injektilo.org>
200 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
201 qualified GetElementsByTagName courtesy of Matt Hunter
204 2002-08-19 Jason Diamond <jason@injektilo.org>
206 * XmlDocument.cs, XmlElement.cs: Added implementation of
207 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
209 2002-08-16 Jason Diamond <jason@injektilo.org>
211 * XmlElement.cs: Fixed writing out qualified elements courtesy of
212 Marcus Bürgel <marcus.buergel@gmx.de>.
214 2002-08-13 Tim Coleman <tim@timcoleman.com>
216 Partial implementation of WriteQualifiedName ().
218 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
219 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
220 InsertData(), and ReplaceData(). These methods fire the
221 NodeChanging and NodeChanged events.
223 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
225 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
226 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
228 2002-08-03 Tim Coleman <tim@timcoleman.com>
229 * XmlNamespaceManager.cs:
230 .Net allows the empty namespace to be redefined
231 at a later point, but the current implementation
232 did not. This fixes a hashtable conflict.
234 2002-07-26 Tim Coleman <tim@timcoleman.com>
236 When given a textwriter, check to see if it has a
237 null encoding. This was being done for other inputs
240 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
242 * XmlTextReader.cs: rough line/column support.
244 2002-07-23 Duncan Mak <duncan@ximian.com>
246 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
247 (string, string []) is particularly strange.
249 * XmlException.cs: Remember to call the base serialization
252 * XmlNodeReader.cs: Keep a new variable to store the Depth.
254 2002-07-14 Jason Diamond <jason@injektilo.org>
256 * XmlAttribute.cs: Removed ownerElement field since we can reuse
259 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
260 if the current node is an attribute.
262 * XmlElement.cs: SetAttributeNode now sets the new attribute's
265 2002-07-12 Jason Diamond <jason@injektilo.org>
267 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
268 creating an element, use String.Empty instead.
270 2002-07-12 Piers Haken <piersh@friksit.com>
272 * XmlAttributeCollection.cs: implement some ItemOf indexers
273 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
274 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
276 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
279 2002-10-26 Piers Haken <piersh@friskit.com>
281 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
283 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
285 * XmlTextReader.cs: don't increment depth for entity references.
287 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
289 * - Fixed the duplication of xmlns:xx = yy when serializing the
290 XML for serialization
292 Fixed the unnecessary parsing/serializing when adding assemblies
295 Avoided setting the XmlNode.InnerXml property
296 (as it's not implemented)
298 Fixed the usage/implementation of
299 XmlElement.GetElementsByTagName()
301 2002-10-21 Duncan Mak <duncan@ximian.com>
306 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
307 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
309 2002-10-18 Duncan Mak <duncan@ximian.com>
311 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
312 <ginga@kit.hi-ho.ne.jp>.
314 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
316 * XmlDocument.cs (ImportNode): Implemented
318 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
320 * XmlDocument.cs: one more Load method implemented.
321 * XmlTextReader.cs: Depth now works.
323 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
325 * XmlConvert.cs: IsInvalid is now internal.
326 * XmlNamespaceManager.cs: implemented RemoveNamespace
327 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
328 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
330 2002-09-19 Matt Hunter <mahunter@tconl.com>
332 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
333 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
335 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
337 * XmlConvert.cs: finished implementation.
338 * XmlTextReader.cs: fixed #30239.
339 * XmlTextWriter.cs: fixed #30240.
341 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
343 * XmlTextReader.cs: line and position begin with 1.
345 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
347 * XmlException.cs: added a new internal constructor for IXmlLineInfo
348 and output line and position info in Message.
350 * XmlReader.cs: implemented missing bits.
352 2002-09-12 Piers Haken <piersh@friksit.com>
354 * XmlDocumentNavigator.cs: implement MoveToId()
356 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
358 * XmlTextWriter.cs: fixed bug #29886.
360 2002-08-26 Ravi Pratap <ravi@ximian.com>
363 * XmlAttribute.cs (InnerText): Implement getting this property.
365 * XmlNode.cs (InnerText): Ensure that we append only values of
368 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
370 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
371 that allowed compiling this.
372 [ FIXME: filed bug #29435. mcs should have failed on this ]
374 2002-08-25 Tim Coleman <tim@timcoleman.com>
376 Change CreateNavigator to not be virtual.
378 Add set_Prefix and InnerText accessors.
379 * XmlEntityReference.cs:
380 Add set_Value accessor.
382 Make objects which should be private private.
384 Remove WriteStartElementInternal abstract definition.
385 * XmlValidatingReader.cs:
388 2002-08-22 Jason Diamond <jason@injektilo.org>
390 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
391 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
393 2002-08-22 Jason Diamond <jason@injektilo.org>
395 * XmlElement.cs: Correction to previous GetElementsByTagName patch
396 courtesy of Matt Hunter <xrkune@tconl.com>.
398 2002-08-22 Jason Diamond <jason@injektilo.org>
400 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
401 qualified GetElementsByTagName courtesy of Matt Hunter
404 2002-08-19 Jason Diamond <jason@injektilo.org>
406 * XmlDocument.cs, XmlElement.cs: Added implementation of
407 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
409 2002-08-16 Jason Diamond <jason@injektilo.org>
411 * XmlElement.cs: Fixed writing out qualified elements courtesy of
412 Marcus Bürgel <marcus.buergel@gmx.de>.
414 2002-08-13 Tim Coleman <tim@timcoleman.com>
416 Partial implementation of WriteQualifiedName ().
418 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
419 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
420 InsertData(), and ReplaceData(). These methods fire the
421 NodeChanging and NodeChanged events.
423 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
425 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
426 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
428 2002-08-03 Tim Coleman <tim@timcoleman.com>
429 * XmlNamespaceManager.cs:
430 .Net allows the empty namespace to be redefined
431 at a later point, but the current implementation
432 did not. This fixes a hashtable conflict.
434 2002-07-26 Tim Coleman <tim@timcoleman.com>
436 When given a textwriter, check to see if it has a
437 null encoding. This was being done for other inputs
440 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
442 * XmlTextReader.cs: rough line/column support.
444 2002-07-23 Duncan Mak <duncan@ximian.com>
446 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
447 (string, string []) is particularly strange.
449 * XmlException.cs: Remember to call the base serialization
452 * XmlNodeReader.cs: Keep a new variable to store the Depth.
454 2002-07-14 Jason Diamond <jason@injektilo.org>
456 * XmlAttribute.cs: Removed ownerElement field since we can reuse
459 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
460 if the current node is an attribute.
462 * XmlElement.cs: SetAttributeNode now sets the new attribute's
465 2002-07-12 Jason Diamond <jason@injektilo.org>
467 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
468 creating an element, use String.Empty instead.
470 2002-07-12 Piers Haken <piersh@friksit.com>
472 * XmlAttributeCollection.cs: implement some ItemOf indexers
473 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
474 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
476 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
478 * XmlTextWriter: Fixed Indentation. IndentationOverridden should
479 not be set when inside a attribute.
481 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
483 * XmlTextWriter: In WriteStartElement, if namespace is null and
484 prefix is null|empty do not write out xmlns=""
486 * XmlWriter: WriteStartElement calls the virtual method with null
487 argument instead of empty string.
489 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
491 * XmlTextReader.cs: implemented .ctor (Stream).
493 2002-06-26 Duncan Mak <duncan@ximian.com>
495 * XmlNodeReader.cs: Implementation of most of the properties, and
496 some of the related methods.
498 2002-06-23 Piers Haken <piersh@friskit.com>
500 * XmlDocumentNavigator.cs: implement Clone()
501 * XmlElement.cs: remove bogus unimplemented override of InnerText
502 * XmlNode.cs: implment SelectNodes/SelectSingleNode
503 * XmlNodeArrayList.cs: new support class for SelectNodes
505 2002-06-21 Ajay kumar Dwivedi <adwiv@yahoo.com>
507 * XmlQualifiedName: Name and Namespaces are never null. If null is passed
508 to the constructor, set them to empty strings.
511 2002-06-18 Ajay kumar Dwivedi <adwiv@yahoo.com>
513 * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
516 2002-06-14 Duncan Mak <duncan@ximian.com>
518 * XmlConvert.cs: Added CLSCompliant attributes to methods.
520 2002-06-12 Duncan Mak <duncan@ximian.com>
522 * XmlCharacterData.cs (Value): Throw an ArgumentException in the
523 set block if the node is read-only.
525 2002-06-10 Ajay kumar Dwivedi <adwiv@yahoo.com>
526 * XmlConstruct.cs : New Internal class with Helper methods for
527 Checking XmlConstructs
528 * XmlConvert.cs: Implemented most of the methods
530 2002-06-08 Duncan Mak <duncan@ximian.com>
532 * XmlDocument.cs (Load):
533 Added bits to Load (string) for BaseURI support.
535 * XmlAttribute.cs (BaseURI):
536 * XmlDocument.cs (BaseURI):
537 * XmlEntity.cs (BaseURI): Implemented.
539 2002-05-27 Jason Diamond <jason@injektilo.org>
541 * XmlDocumentNavigator.cs: Added file to directory.
543 * XmlNode.cs (CreateNavigator): Implemented.
544 (InnerText): Implemented.
546 * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
548 (Load(XmlReader)): Allow for namespace qualified attributes.
550 * XmlElement.cs: Implemented GetAttribute(string, string) and both
551 GetAttributeNode overloads.
552 (SetAttributeNode(XmlAttribute)): Implemented.
554 * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
555 and RemoveNamedItem(string, string).
557 * XmlLinkedNode.cs (PreviousSibling): Implemented.
559 * XmlTextReader.cs: Added code to maintain the order of attributes as
560 they're parsed. XML doesn't require this but Microsoft's parser does it and
561 matching them makes testing easier so now we have it, too.
563 2002-05-26 Miguel de Icaza <miguel@ximian.com>
565 * XmlDocument.cs: Implement the Save methods.
567 2002-05-08 Mike Kestner <mkestner@speakeasy.net>
569 * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
571 2002-04-28 Duncan Mak <duncan@ximian.com>
573 * XmlSignificantWhitespace.cs (Value):
574 * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
575 block. Added new private method, IsValidWhitespaceChar, for
578 2002-04-16 Duncan Mak <duncan@ximian.com>
580 * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
582 2002-04-12 Duncan Mak <duncan@ximian.com>
584 * XmlAttribute.cs (Prefix): Added preliminary code for set block,
585 added comment on work that needs to be done here. A new MonoTODO item.
587 * XmlDocument.cs (ctor): Corrected constructor signature, changed
588 parameter from 'NameTable' to 'XmlNameTable'.
590 * XmlDocumentFragment.cs (InnerXml): Added missing set block.
592 * XmlCaseOrder.cs: Moved to System.Xml.XPath.
594 2002-04-10 Duncan Mak <duncan@ximian.com>
596 * XmlNodeReader.cs: Initial stubs for the class.
598 2002-04-08 Kral Ferch <kral_ferch@hotmail.com>
600 * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
603 * XmlDeclaration.cs: WriteTo implementation.
605 * XmlDocument.cs: InnerXml getter implementation.
607 * XmlElement.cs: InnerXml getter implementation.
609 * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
611 * XmlSignificantWhitespace.cs: WriteTo implementation.
613 * XmlText.cs: WriteContentTo and WriteTo implementation.
615 * XmlTextWriter.cs: WriteRaw implementation.
617 * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
619 2002-04-05 Kral Ferch <kral_ferch@hotmail.com>
621 * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
622 if prefix in constructor is one of the default ones.
624 * XmlCharacterData.cs: Returns String.Empty for Value and Data
625 even when constructed with null.
627 * XmlDeclaration.cs: Value doesn't put encoding or standalone
628 in if they are empty.
630 * XmlDocument.cs: Implemented CreateNode methods and this caused
631 the changes in the other files in this checkin.
633 * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
634 even when constructed with null.
636 * XmlWhitespace.cs: Changed Value 'get' to return Data.
638 2002-04-01 Kral Ferch <kral_ferch@hotmail.com>
640 * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
642 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
644 * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
647 * XmlWrite.cs: Fixed bug where attribute namespace decl
648 was pushing a scope onto the namespace manager when it shouldn't
651 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
653 * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
654 in different states (no open start element, in WriteState.Content mode).
656 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
658 * XmlTextWriter.cs: XmlLang and XmlSpace properties
661 * XmlTextWriterOpenElement.cs: scope support for XmlLang
664 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
666 * XmlTextWriter.cs: Working on Attribute methods.
668 * XmlWriter.cs: Working on Attribute methods.
670 2002-03-28 Duncan Mak <duncan@ximian.com>
672 * XmlDocument.cs (CreateWhitespace):
673 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
676 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
678 2002-03-26 Duncan Mak <duncan@ximian.com>
680 * XmlDocument.cs (CreateDocumentType): Implemented.
682 * XmlNode.cs (Value): Implemented.
684 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
685 like XmlCharacterData.
687 * XmlDeclaration.cs (CloneNode):
688 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
691 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
692 docs say it is the "The concatenated values of the node and all
693 the children of the node.". I wrote some test programs and
694 couldn't get any of the derived nodes to AppendChild. For now,
695 InnerText == Data == Value.
696 (Substring): Fixed typo.
698 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
700 * XmlImplementation.cs (CreateDocument): Implemented.
702 2002-03-25 Duncan Mak <duncan@ximian.com>
704 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
705 missing properties (InnerText, Value).
707 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
709 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
711 * XmlTextWriter.cs: Impls for BaseStream and
712 Namespaces and WriteState.
714 * XmlWriter.cs: WriteState and WriteStartElementInternal.
716 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
718 * XmlNodeListChildren.cs: made class internal
719 instead of public. Shouldn't be visible outside
722 * XmlTextWriter.cs: Implementations for Formatting,
723 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
724 Suppresses encoding on xml declaration if null stream passed in.
725 Formats output including suppressing indentation for elements in
728 * XmlTextWriterOpenElement.cs: Initial checkin.
729 XmlTextWriter uses stack of these objects to track
732 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
734 * XmlElement.cs: impl HasAttribute(string name).
736 2002-03-22 Duncan Mak <duncan@ximian.com>
738 * XmlElement.cs: Reformatted.
739 (CloneNode) Corrected.
741 * XmlDocument.cs (CreateWhitespace):
742 (CreateSignificantWhitespace): Implemented.
744 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
745 true, because Attributes have ChildNodes.
747 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
749 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
750 xml declaration along with encoding. WriteEndElement throws
751 exception if no WriteStartElement exists.
753 2002-03-20 Duncan Mak <duncan@ximian.com>
755 * XmlEntityReference.cs (CloneNode): Implemented.
757 * XmlException.cs (Message): Implemented. We need to cache the
758 message string because SystemException doesn't expose 'message'
761 * XmlText.cs (Value): Added in the missing Value property.
763 2002-03-20 Duncan Mak <duncan@ximian.com>
765 * XmlAttribute.cs (CloneNode): Implemented.
767 * XmlDocumentFragment.cs (CloneNode): Implemented.
769 * XmlElement.cs (CloneNode): Implemented.
771 2002-03-19 Duncan Mak <duncan@ximian.com>
773 * XmlNotation.cs: Added to CVS.
775 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
777 * XmlCDataSection.cs (CloneNode): Implemented.
779 * XmlDocumentFragment.cs: Reformatted and added the missing properties
780 (InnerXml, OwnerDocument, ParentNode).
781 (CloneNode): Implemented.
783 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
784 (Value) Implemented the 'get' property.
786 * XmlWhitespace.cs (Module): implemented.
788 2002-03-19 Jason Diamond <jason@injektilo.org>
790 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
793 2002-03-18 Jason Diamond <jason@injektilo.org>
795 * XmlTextReader.cs: Don't restore properties after reading last
796 attribute on an element.
798 * XmlDocument.cs: Move back to element after reading attributes
799 so that IsEmptyElement test succeeds.
801 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
803 * XmlNamespaceManager.cs: Implemented LookupPrefix.
805 * XmlTextWriter.cs: Implemented namespace and prefix support.
807 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
809 * XmlTextReader.cs: Restores properties after
810 reading last attribute on an element.
812 * XmlNode.cs: AppendChild sets the parent
815 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
817 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
819 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
821 * XmlElement.cs: Fixed bug in WriteTo.
823 * XmlProcessingInstruction.cs: Formatting.
825 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
826 fixes for WriteEndElement, WriteProcessingInstruction.
828 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
830 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
831 had Load() add PIs to the document, moved onXXX methods to alphabetical
834 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
836 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
838 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
841 * XmlTextWriter.cs: Implementations for WriteEndElement,
842 WriteProcessingInstruction, WriteStartElement, and WriteString.
844 * XmlWriter.cs: Implemented WriteStartElement() methods.
846 2002-03-15 Duncan Mak <duncan@ximian.com>
848 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
849 InnerText once I know what they do.
851 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
852 that we can properly chain constructors.
853 (CloneNode): implemented.
854 (WriteContentTo): Removed MonoTODO attribute as this method has no
855 effect in this class.
857 * XmlProcessingInstruction.cs (Value): Added the missing Set
859 (InnerText): Added in, but not implemented.
861 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
863 * XmlTextWriter.cs: implemented constructors and
864 WriteCData and WriteComment.
866 2002-03-14 Duncan Mak <duncan@ximian.com>
868 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
869 file, and updated the callbacks to reflect the change.
870 (XmlDocument): Added the NameTable constructor.
871 (NameTable): Also the NameTable property.
873 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
874 was in XmlDocument.cs. It has two arguments now (object,
875 EventArgs) , instead of one (object).
877 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
879 * XmlWriter.cs: Formatting.
881 * XmlTextWriter.cs: Initial checkin.
883 2002-03-14 Duncan Mak <duncan@ximian.com>
885 * Validation.cs: Removed, replaced by ValidationType.cs.
887 * ValidationType.cs: Added.
889 2002-03-13 Duncan Mak <duncan@ximian.com>
891 * XmlException.cs: Made it [Serializable], implemented good ol'
892 GetObjectData, and the serialization constructor.
894 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
895 (SetNamedItem): Reverted (added back in) the patch with the
896 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
898 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
899 (GetNamedItem (string, string)): implemented.
900 (RemoveNamedItem): implemented.
901 (SetNamedItem): implemented.
903 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
905 * XmlAttribute.cs: Moved a method from amongst properties down to
906 it's alphabetical position in the methods section.
908 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
909 last linked child. Set XmlNode base class to return false for IsReadOnly().
910 Implemented GetEnumerator() and RemoveChild().
912 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
913 This is to support the behavior that the Enumerator doesn't become invalid
914 when changes to the children occur. Flushed out rest of implementation for
915 MoveNext, Current, and Reset.
917 2002-03-12 Duncan Mak <duncan@ximian.com>
919 * XmlCharacterData.cs: Reformatted the properties for better readability.
921 * XmlLinkedNode.cs: Removed the awful boxy comments.
923 * XmlNamedNodeMap.cs (Count):
924 (Item): Implemented. Tests will be coming.
926 * XmlEntityReference.cs:
927 * XmlSignificantWhitespace.cs: Implemented these classes except for
928 the Clone, WriteContentTo and WriteTo methods. Will have to
929 investigate into these later.
931 2002-03-11 Duncan Mak <duncan@ximian.com>
933 * IHasXmlNode.cs: Added to CVS.
935 2002-03-08 Jason Diamond <jason@injektilo.org>
937 * XmlParserContext.cs: Added missing constructors and missing Encoding
940 * XmlTextReader.cs: Start using the XmlParserContext class.
942 2002-03-08 Jason Diamond <jason@injektilo.org>
944 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
946 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
948 * XmlNode.cs (Item): Implemented both indexers.
950 2002-03-08 Jason Diamond <jason@injektilo.org>
952 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
953 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
955 2002-03-08 Jason Diamond <jason@injektilo.org>
957 * XmlAttribute.cs: Attribute nodes are supposed to store their values
958 as child nodes so updated to reflect that.
960 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
961 duplicated in XmlDocument and XmlElement into XmlNode so that it
962 wouldn't have to be duplicated in XmlAttribute, too.
964 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
966 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
967 XmlNode.cs: Formatting.
969 * XmlNodeListChildren.cs: Implementation of XmlNodeList
970 for XmlNode.ChildNodes property.
972 * XmlNodeListAsArrayList.cs: Removed file. Using different
973 data structure (circular list) in XmlNode so this file
976 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
977 bug in setter property of LastLinkedChild so fixed it.
979 2002-03-06 Jason Diamond <jason@injektilo.org>
981 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
982 We already have a parser in XmlTextReader.
984 * XmlException.cs: Removed constructor accepting XmlInputSource.
986 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
988 * XmlNode.cs: Rewrote this class from scratch with
989 MonoToDo attribs and NotImplementedExceptions. Now defines an
990 internal LastLinkedNode property to aid the new implementation.
991 XmlNodes only have ref to owner doc and parent nodes now.
993 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
994 and ref to next sibling to support walking our circular child
997 * XmlDocument.cs: Added ref to last child node and overrides
998 XmlNode's internal LastLinkedChild property to support walking
999 our circular child node list.
1001 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
1003 * XmlProcessingInstructions.cs: Class was empty. Implemented
1004 constructor, properties, and CloneNode() method. Put in
1005 MonoToDo attrib for remaining methods.
1007 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
1008 Got rid of helper methods and fields since they were no
1011 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
1013 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
1014 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
1015 Createxxx() methods for those three node types.
1017 2002-03-02 Jason Diamond <jason@injektilo.org>
1019 * XmlDocument.cs: Implemented the remaining CreateElement and
1020 CreateAttribute methods.
1022 * XmlAttribute.cs: Re-implemented.
1024 * XmlElement.cs: Set owner element on attributes. Reformatted.
1026 2002-03-02 Jason Diamond <jason@injektilo.org>
1028 * XmlTextReader.cs: Implemented MoveToNextAttribute().
1030 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
1031 attributes. Create attribute nodes while loading. Implemented
1032 Load(string) and CreateTextNode().
1034 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
1036 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
1039 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
1041 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
1043 * XmlAttribute.cs : Using fix.
1044 * XmlDocument.cs (CreateAttribute(String)): Implement.
1046 2002-03-02 Jason Diamond <jason@injektilo.org>
1048 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
1051 2002-02-28 Jason Diamond <jason@injektilo.org>
1053 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
1054 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
1056 2002-02-28 Jason Diamond <jason@injektilo.org>
1058 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
1059 added missing members and MonoTODO attributes.
1061 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
1063 2002-02-27 Jason Diamond <jason@injektilo.org>
1065 * XmlElement.cs: Reformatted, added missing members and MonoTODO
1068 2002-02-26 Duncan Mak <duncan@ximian.com>
1070 * XmlCDataSection.cs: Initial implementation.
1072 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
1073 it out. This should (hopefully) be correct.
1075 2002-02-26 Jason Diamond <jason@injektilo.org>
1077 * XmlTextReader.cs: Apparently Microsoft's implementation treats
1078 namespace declarations as attributes so we do now, too.
1080 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
1081 checks the current scope.
1083 2002-02-26 Duncan Mak <duncan@ximian.com>
1085 * XmlDocumentType.cs: Added a few hacks here and there to
1086 temporarily fix the "I broke the build issue".
1088 2002-02-25 Jason Diamond <jason@injektilo.org>
1090 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
1091 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
1092 simple test to pass. The existing code is really shitty so I'll
1093 probably start writing tests and refactoring before much else
1096 2002-02-25 Duncan Mak <duncan@ximian.com>
1098 * NameTable.cs: Implemented.
1100 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
1102 2002-02-24 Duncan Mak <duncan@ximian.com>
1104 * XmlNodeOrder.cs: Added to CVS.
1106 * XmlQualifiedName.cs: Fixed a warning from Equals ().
1108 * XmlTokenizedType.cs: Added to CVS.
1110 * XmlUrlResolver.cs: Added to CVS with one TODO task.
1112 2002-02-23 Duncan Mak <duncan@ximian.com>
1114 * XmlQualifiedName.cs: Fixed ToString () and added the operators
1117 2002-02-23 Jason Diamond <jason@injektilo.org>
1119 * XmlTextReader.cs: Added support for qualified attributes.
1121 2002-02-23 Jason Diamond <jason@injektilo.org>
1123 * XmlNamespaceManager.cs: Initial implementation.
1125 * XmlTextReader.cs: Added support for NamespaceURI property on
1128 2002-02-23 Nick Drochak <ndrochak@gol.com>
1130 * ChangeLog: Add the change log to this directory
1132 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has