1 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3 * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
4 Implemented XmlTextReader.ReadAttributeValue().
5 Added internal ReadAttributeNodeValue().
6 Fixed XmlAttribute.InnerXml to use these methods.
8 * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
9 Implemented XmlDocument.ReadNode() and removed ConstructDOM().
10 Other changes are replacing them.
12 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
14 * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
16 2002-12-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
18 * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
19 patch by JD Conley <jconley@winfessor.com>.
20 (Fix for xmlns attribute output.)
22 2002-12-05 Ville Palo <vi64p@koti.soon.fi>
24 * XmlQualifiedName.cs: Little fix to ToString () -method
26 2002-12-04 Tim Haynes <thaynes@openlinksw.com>
28 * class/System.XML/System.Xml/XmlElement.cs: Made more refined
29 checks on attributeNode to fix 32262.
31 2002-12-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
33 * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
34 * XmlTextWriter.cs (WriteStartElementInternal):
35 fixed when default namespace was specified, all descendants
36 fail to omit the default namespace declarations.
39 XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
41 XmlDocumentFragment.cs,
42 XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
43 * XmlElement.cs (set_IsEmpty) : implemented
44 (WriteTo) : removed my improper indenting (Writer already done)
45 * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
46 (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
47 ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
49 2002-12-01 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
51 * XmlNode.cs (RemoveChild):
52 bugfixed when XmlNode is Document OwnerDocument is null
53 * XmlDeclaration.cs (Value):
54 bugfixed regular expression pattern.
55 * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
57 2002-11-24 Duncan Mak <duncan@ximian.com>
59 * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
60 Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
61 first patch to Mono! ;-)
63 2002-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
66 (AppendChild): readded refChild != null condition before throwing
67 "cannot insert this node in this position" exception. There's probably
68 a better solution. Fixes #34191.
69 (RemoveAll): changed following Atsushi instructions.
72 2002-11-13 Duncan Mak <duncan@ximian.com>
74 * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
77 2002-11-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
79 * XmlDocument.cs : unified all constructors, added ConventionalParser,
80 implemented CloneNode() and CreateEntityReference(),
81 * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
82 set BaseURI to MonoTODO
83 * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
84 bugfix InsertAfter (incorrect prepending) and InsertBefore
85 (more than one DocumentElements hadn't caused errors)
86 * XmlTextReader.cs : unified all constructors,
87 added internal SetReaderContext(), SetReaderFragment()
88 bugfix (syntax check of PUBLIC / getting internal subset)
90 2002-11-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
92 XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
93 XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
94 XmlCharacterData.cs : exchanged Data and Value
95 (for processing events and inheritance)
96 XmlDocumentFragment.cs : set_InnerXml
97 XmlSignificantWhitespace.cs : set_Value
98 XmlTextReader.cs : ReadAttributeValue
100 2002-11-04 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
102 XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
104 2002-11-03 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
106 * XmlAttributeCollection.cs : checks owner element.
107 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
108 Remove, RemoveAt, SetNamedItem.
109 removed some logics that sets 'Parent' (that should be null)
110 * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
111 * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
112 * XmlElement.cs : implemented WriteTo, set_InnerText.
113 Fixed WriteTo() to add xmlns:* attributes when
114 writer.LookupPrefix() returned mismatching.
115 * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
116 Removing different prefixes for the same uri now runs correct.
117 added SetNamedItem(XmlNode node, int position_to_insert).
118 * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
119 XmlWhitespace, and XmlSignificantWhitespace
121 2002-10-31 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
123 * XmlDocument.cs : implemented CreateDocumentFragment()
124 * XmlElement.cs, XmlLinkedNode.cs :
125 moved LastLinkedChild from XmlElement to XmlLinkedNode.
126 * XmlEntityReference.cs : must throw NotImplementedException.
128 + implemented InsertBefore() and then implemented InsertAfter()
129 and modified AppendChild() to call it.
130 + added logic to check ReadOnly, parent document equivalence,
131 and inserting any 'content' before/after DocumentElement.
132 + implemented Clone() [it is equals to CloneNode() by MS doc.]
133 + added logic in RemoveChild() to check parent of oldChild.
134 + fixed ConstructNamespaceManager() to internal only.
136 2002-10-29 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
138 * XmlAttribute.cs : add internal 'IsDefault' property
139 (equals to !Specified)
140 * XmlImplementation.cs : added 'internalNameTable' property.
142 + now allows "" for 'standalone' in CreateXmlDeclaration.
143 + implemented 'Implementation' property and constructor with it.
144 + added logic for appending name table (but still no use)
145 + implemented property 'DocumentType'
146 (but without internalSubset parsing. wait for next update.)
148 + modified AppendChild() and RemoveChild() to support fragment.
149 + modified AppendChild() to remove newChild from its parent
150 when newChild is already in the other place.
151 + modified RemoveChild() to set parentNode null.
152 + modified ConstructDOM() to create DocumentType,
153 and fixed access modifier ('internal protected' to 'internal')
154 * XmlLinkedNode.cs : fixed 'NextSibling' to return null
155 when its parent is null.
156 * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
157 property to enable AppendChild() for this class.
158 * XmlTextReader.cs : appended private publicId and systemId fields.
160 2002-10-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
162 * XmlTextReader.cs: make it work when the underlying Stream is not
165 2002-10-26 Piers Haken <piersh@friskit.com>
167 * XmlNode.cs: add virtual property XPathNodeType
172 * XmlProcessingInstruction.cs:
173 * XmlSignificantWhitespace.cs:
175 * XmlWhitespace.cs: implement XPathNodeType property
176 * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
178 2002-10-26 Piers Haken <piersh@friskit.com>
180 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
182 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
184 * XmlTextReader.cs: don't increment depth for entity references.
186 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
188 * - Fixed the duplication of xmlns:xx = yy when serializing the
189 XML for serialization
191 Fixed the unnecessary parsing/serializing when adding assemblies
194 Avoided setting the XmlNode.InnerXml property
195 (as it's not implemented)
197 Fixed the usage/implementation of
198 XmlElement.GetElementsByTagName()
200 2002-10-21 Duncan Mak <duncan@ximian.com>
205 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
206 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
208 2002-10-18 Duncan Mak <duncan@ximian.com>
210 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
211 <ginga@kit.hi-ho.ne.jp>.
213 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
215 * XmlDocument.cs (ImportNode): Implemented
217 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
219 * XmlDocument.cs: one more Load method implemented.
220 * XmlTextReader.cs: Depth now works.
222 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
224 * XmlConvert.cs: IsInvalid is now internal.
225 * XmlNamespaceManager.cs: implemented RemoveNamespace
226 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
227 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
229 2002-09-19 Matt Hunter <mahunter@tconl.com>
231 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
232 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
234 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
236 * XmlConvert.cs: finished implementation.
237 * XmlTextReader.cs: fixed #30239.
238 * XmlTextWriter.cs: fixed #30240.
240 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
242 * XmlTextReader.cs: line and position begin with 1.
244 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
246 * XmlException.cs: added a new internal constructor for IXmlLineInfo
247 and output line and position info in Message.
249 * XmlReader.cs: implemented missing bits.
251 2002-09-12 Piers Haken <piersh@friksit.com>
253 * XmlDocumentNavigator.cs: implement MoveToId()
255 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
257 * XmlTextWriter.cs: fixed bug #29886.
259 2002-08-26 Ravi Pratap <ravi@ximian.com>
262 * XmlAttribute.cs (InnerText): Implement getting this property.
264 * XmlNode.cs (InnerText): Ensure that we append only values of
267 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
269 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
270 that allowed compiling this.
271 [ FIXME: filed bug #29435. mcs should have failed on this ]
273 2002-08-25 Tim Coleman <tim@timcoleman.com>
275 Change CreateNavigator to not be virtual.
277 Add set_Prefix and InnerText accessors.
278 * XmlEntityReference.cs:
279 Add set_Value accessor.
281 Make objects which should be private private.
283 Remove WriteStartElementInternal abstract definition.
284 * XmlValidatingReader.cs:
287 2002-08-22 Jason Diamond <jason@injektilo.org>
289 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
290 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
292 2002-08-22 Jason Diamond <jason@injektilo.org>
294 * XmlElement.cs: Correction to previous GetElementsByTagName patch
295 courtesy of Matt Hunter <xrkune@tconl.com>.
297 2002-08-22 Jason Diamond <jason@injektilo.org>
299 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
300 qualified GetElementsByTagName courtesy of Matt Hunter
303 2002-08-19 Jason Diamond <jason@injektilo.org>
305 * XmlDocument.cs, XmlElement.cs: Added implementation of
306 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
308 2002-08-16 Jason Diamond <jason@injektilo.org>
310 * XmlElement.cs: Fixed writing out qualified elements courtesy of
311 Marcus Bürgel <marcus.buergel@gmx.de>.
313 2002-08-13 Tim Coleman <tim@timcoleman.com>
315 Partial implementation of WriteQualifiedName ().
317 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
318 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
319 InsertData(), and ReplaceData(). These methods fire the
320 NodeChanging and NodeChanged events.
322 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
324 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
325 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
327 2002-08-03 Tim Coleman <tim@timcoleman.com>
328 * XmlNamespaceManager.cs:
329 .Net allows the empty namespace to be redefined
330 at a later point, but the current implementation
331 did not. This fixes a hashtable conflict.
333 2002-07-26 Tim Coleman <tim@timcoleman.com>
335 When given a textwriter, check to see if it has a
336 null encoding. This was being done for other inputs
339 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
341 * XmlTextReader.cs: rough line/column support.
343 2002-07-23 Duncan Mak <duncan@ximian.com>
345 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
346 (string, string []) is particularly strange.
348 * XmlException.cs: Remember to call the base serialization
351 * XmlNodeReader.cs: Keep a new variable to store the Depth.
353 2002-07-14 Jason Diamond <jason@injektilo.org>
355 * XmlAttribute.cs: Removed ownerElement field since we can reuse
358 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
359 if the current node is an attribute.
361 * XmlElement.cs: SetAttributeNode now sets the new attribute's
364 2002-07-12 Jason Diamond <jason@injektilo.org>
366 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
367 creating an element, use String.Empty instead.
369 2002-07-12 Piers Haken <piersh@friksit.com>
371 * XmlAttributeCollection.cs: implement some ItemOf indexers
372 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
373 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
375 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
378 2002-10-26 Piers Haken <piersh@friskit.com>
380 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
382 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
384 * XmlTextReader.cs: don't increment depth for entity references.
386 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
388 * - Fixed the duplication of xmlns:xx = yy when serializing the
389 XML for serialization
391 Fixed the unnecessary parsing/serializing when adding assemblies
394 Avoided setting the XmlNode.InnerXml property
395 (as it's not implemented)
397 Fixed the usage/implementation of
398 XmlElement.GetElementsByTagName()
400 2002-10-21 Duncan Mak <duncan@ximian.com>
405 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
406 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
408 2002-10-18 Duncan Mak <duncan@ximian.com>
410 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
411 <ginga@kit.hi-ho.ne.jp>.
413 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
415 * XmlDocument.cs (ImportNode): Implemented
417 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
419 * XmlDocument.cs: one more Load method implemented.
420 * XmlTextReader.cs: Depth now works.
422 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
424 * XmlConvert.cs: IsInvalid is now internal.
425 * XmlNamespaceManager.cs: implemented RemoveNamespace
426 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
427 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
429 2002-09-19 Matt Hunter <mahunter@tconl.com>
431 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
432 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
434 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
436 * XmlConvert.cs: finished implementation.
437 * XmlTextReader.cs: fixed #30239.
438 * XmlTextWriter.cs: fixed #30240.
440 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
442 * XmlTextReader.cs: line and position begin with 1.
444 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
446 * XmlException.cs: added a new internal constructor for IXmlLineInfo
447 and output line and position info in Message.
449 * XmlReader.cs: implemented missing bits.
451 2002-09-12 Piers Haken <piersh@friksit.com>
453 * XmlDocumentNavigator.cs: implement MoveToId()
455 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
457 * XmlTextWriter.cs: fixed bug #29886.
459 2002-08-26 Ravi Pratap <ravi@ximian.com>
462 * XmlAttribute.cs (InnerText): Implement getting this property.
464 * XmlNode.cs (InnerText): Ensure that we append only values of
467 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
469 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
470 that allowed compiling this.
471 [ FIXME: filed bug #29435. mcs should have failed on this ]
473 2002-08-25 Tim Coleman <tim@timcoleman.com>
475 Change CreateNavigator to not be virtual.
477 Add set_Prefix and InnerText accessors.
478 * XmlEntityReference.cs:
479 Add set_Value accessor.
481 Make objects which should be private private.
483 Remove WriteStartElementInternal abstract definition.
484 * XmlValidatingReader.cs:
487 2002-08-22 Jason Diamond <jason@injektilo.org>
489 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
490 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
492 2002-08-22 Jason Diamond <jason@injektilo.org>
494 * XmlElement.cs: Correction to previous GetElementsByTagName patch
495 courtesy of Matt Hunter <xrkune@tconl.com>.
497 2002-08-22 Jason Diamond <jason@injektilo.org>
499 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
500 qualified GetElementsByTagName courtesy of Matt Hunter
503 2002-08-19 Jason Diamond <jason@injektilo.org>
505 * XmlDocument.cs, XmlElement.cs: Added implementation of
506 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
508 2002-08-16 Jason Diamond <jason@injektilo.org>
510 * XmlElement.cs: Fixed writing out qualified elements courtesy of
511 Marcus Bürgel <marcus.buergel@gmx.de>.
513 2002-08-13 Tim Coleman <tim@timcoleman.com>
515 Partial implementation of WriteQualifiedName ().
517 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
518 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
519 InsertData(), and ReplaceData(). These methods fire the
520 NodeChanging and NodeChanged events.
522 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
524 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
525 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
527 2002-08-03 Tim Coleman <tim@timcoleman.com>
528 * XmlNamespaceManager.cs:
529 .Net allows the empty namespace to be redefined
530 at a later point, but the current implementation
531 did not. This fixes a hashtable conflict.
533 2002-07-26 Tim Coleman <tim@timcoleman.com>
535 When given a textwriter, check to see if it has a
536 null encoding. This was being done for other inputs
539 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
541 * XmlTextReader.cs: rough line/column support.
543 2002-07-23 Duncan Mak <duncan@ximian.com>
545 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
546 (string, string []) is particularly strange.
548 * XmlException.cs: Remember to call the base serialization
551 * XmlNodeReader.cs: Keep a new variable to store the Depth.
553 2002-07-14 Jason Diamond <jason@injektilo.org>
555 * XmlAttribute.cs: Removed ownerElement field since we can reuse
558 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
559 if the current node is an attribute.
561 * XmlElement.cs: SetAttributeNode now sets the new attribute's
564 2002-07-12 Jason Diamond <jason@injektilo.org>
566 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
567 creating an element, use String.Empty instead.
569 2002-07-12 Piers Haken <piersh@friksit.com>
571 * XmlAttributeCollection.cs: implement some ItemOf indexers
572 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
573 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
575 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
577 * XmlTextWriter: Fixed Indentation. IndentationOverridden should
578 not be set when inside a attribute.
580 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
582 * XmlTextWriter: In WriteStartElement, if namespace is null and
583 prefix is null|empty do not write out xmlns=""
585 * XmlWriter: WriteStartElement calls the virtual method with null
586 argument instead of empty string.
588 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
590 * XmlTextReader.cs: implemented .ctor (Stream).
592 2002-06-26 Duncan Mak <duncan@ximian.com>
594 * XmlNodeReader.cs: Implementation of most of the properties, and
595 some of the related methods.
597 2002-06-23 Piers Haken <piersh@friskit.com>
599 * XmlDocumentNavigator.cs: implement Clone()
600 * XmlElement.cs: remove bogus unimplemented override of InnerText
601 * XmlNode.cs: implment SelectNodes/SelectSingleNode
602 * XmlNodeArrayList.cs: new support class for SelectNodes
604 2002-06-21 Ajay kumar Dwivedi <adwiv@yahoo.com>
606 * XmlQualifiedName: Name and Namespaces are never null. If null is passed
607 to the constructor, set them to empty strings.
610 2002-06-18 Ajay kumar Dwivedi <adwiv@yahoo.com>
612 * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
615 2002-06-14 Duncan Mak <duncan@ximian.com>
617 * XmlConvert.cs: Added CLSCompliant attributes to methods.
619 2002-06-12 Duncan Mak <duncan@ximian.com>
621 * XmlCharacterData.cs (Value): Throw an ArgumentException in the
622 set block if the node is read-only.
624 2002-06-10 Ajay kumar Dwivedi <adwiv@yahoo.com>
625 * XmlConstruct.cs : New Internal class with Helper methods for
626 Checking XmlConstructs
627 * XmlConvert.cs: Implemented most of the methods
629 2002-06-08 Duncan Mak <duncan@ximian.com>
631 * XmlDocument.cs (Load):
632 Added bits to Load (string) for BaseURI support.
634 * XmlAttribute.cs (BaseURI):
635 * XmlDocument.cs (BaseURI):
636 * XmlEntity.cs (BaseURI): Implemented.
638 2002-05-27 Jason Diamond <jason@injektilo.org>
640 * XmlDocumentNavigator.cs: Added file to directory.
642 * XmlNode.cs (CreateNavigator): Implemented.
643 (InnerText): Implemented.
645 * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
647 (Load(XmlReader)): Allow for namespace qualified attributes.
649 * XmlElement.cs: Implemented GetAttribute(string, string) and both
650 GetAttributeNode overloads.
651 (SetAttributeNode(XmlAttribute)): Implemented.
653 * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
654 and RemoveNamedItem(string, string).
656 * XmlLinkedNode.cs (PreviousSibling): Implemented.
658 * XmlTextReader.cs: Added code to maintain the order of attributes as
659 they're parsed. XML doesn't require this but Microsoft's parser does it and
660 matching them makes testing easier so now we have it, too.
662 2002-05-26 Miguel de Icaza <miguel@ximian.com>
664 * XmlDocument.cs: Implement the Save methods.
666 2002-05-08 Mike Kestner <mkestner@speakeasy.net>
668 * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
670 2002-04-28 Duncan Mak <duncan@ximian.com>
672 * XmlSignificantWhitespace.cs (Value):
673 * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
674 block. Added new private method, IsValidWhitespaceChar, for
677 2002-04-16 Duncan Mak <duncan@ximian.com>
679 * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
681 2002-04-12 Duncan Mak <duncan@ximian.com>
683 * XmlAttribute.cs (Prefix): Added preliminary code for set block,
684 added comment on work that needs to be done here. A new MonoTODO item.
686 * XmlDocument.cs (ctor): Corrected constructor signature, changed
687 parameter from 'NameTable' to 'XmlNameTable'.
689 * XmlDocumentFragment.cs (InnerXml): Added missing set block.
691 * XmlCaseOrder.cs: Moved to System.Xml.XPath.
693 2002-04-10 Duncan Mak <duncan@ximian.com>
695 * XmlNodeReader.cs: Initial stubs for the class.
697 2002-04-08 Kral Ferch <kral_ferch@hotmail.com>
699 * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
702 * XmlDeclaration.cs: WriteTo implementation.
704 * XmlDocument.cs: InnerXml getter implementation.
706 * XmlElement.cs: InnerXml getter implementation.
708 * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
710 * XmlSignificantWhitespace.cs: WriteTo implementation.
712 * XmlText.cs: WriteContentTo and WriteTo implementation.
714 * XmlTextWriter.cs: WriteRaw implementation.
716 * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
718 2002-04-05 Kral Ferch <kral_ferch@hotmail.com>
720 * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
721 if prefix in constructor is one of the default ones.
723 * XmlCharacterData.cs: Returns String.Empty for Value and Data
724 even when constructed with null.
726 * XmlDeclaration.cs: Value doesn't put encoding or standalone
727 in if they are empty.
729 * XmlDocument.cs: Implemented CreateNode methods and this caused
730 the changes in the other files in this checkin.
732 * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
733 even when constructed with null.
735 * XmlWhitespace.cs: Changed Value 'get' to return Data.
737 2002-04-01 Kral Ferch <kral_ferch@hotmail.com>
739 * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
741 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
743 * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
746 * XmlWrite.cs: Fixed bug where attribute namespace decl
747 was pushing a scope onto the namespace manager when it shouldn't
750 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
752 * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
753 in different states (no open start element, in WriteState.Content mode).
755 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
757 * XmlTextWriter.cs: XmlLang and XmlSpace properties
760 * XmlTextWriterOpenElement.cs: scope support for XmlLang
763 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
765 * XmlTextWriter.cs: Working on Attribute methods.
767 * XmlWriter.cs: Working on Attribute methods.
769 2002-03-28 Duncan Mak <duncan@ximian.com>
771 * XmlDocument.cs (CreateWhitespace):
772 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
775 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
777 2002-03-26 Duncan Mak <duncan@ximian.com>
779 * XmlDocument.cs (CreateDocumentType): Implemented.
781 * XmlNode.cs (Value): Implemented.
783 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
784 like XmlCharacterData.
786 * XmlDeclaration.cs (CloneNode):
787 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
790 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
791 docs say it is the "The concatenated values of the node and all
792 the children of the node.". I wrote some test programs and
793 couldn't get any of the derived nodes to AppendChild. For now,
794 InnerText == Data == Value.
795 (Substring): Fixed typo.
797 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
799 * XmlImplementation.cs (CreateDocument): Implemented.
801 2002-03-25 Duncan Mak <duncan@ximian.com>
803 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
804 missing properties (InnerText, Value).
806 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
808 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
810 * XmlTextWriter.cs: Impls for BaseStream and
811 Namespaces and WriteState.
813 * XmlWriter.cs: WriteState and WriteStartElementInternal.
815 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
817 * XmlNodeListChildren.cs: made class internal
818 instead of public. Shouldn't be visible outside
821 * XmlTextWriter.cs: Implementations for Formatting,
822 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
823 Suppresses encoding on xml declaration if null stream passed in.
824 Formats output including suppressing indentation for elements in
827 * XmlTextWriterOpenElement.cs: Initial checkin.
828 XmlTextWriter uses stack of these objects to track
831 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
833 * XmlElement.cs: impl HasAttribute(string name).
835 2002-03-22 Duncan Mak <duncan@ximian.com>
837 * XmlElement.cs: Reformatted.
838 (CloneNode) Corrected.
840 * XmlDocument.cs (CreateWhitespace):
841 (CreateSignificantWhitespace): Implemented.
843 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
844 true, because Attributes have ChildNodes.
846 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
848 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
849 xml declaration along with encoding. WriteEndElement throws
850 exception if no WriteStartElement exists.
852 2002-03-20 Duncan Mak <duncan@ximian.com>
854 * XmlEntityReference.cs (CloneNode): Implemented.
856 * XmlException.cs (Message): Implemented. We need to cache the
857 message string because SystemException doesn't expose 'message'
860 * XmlText.cs (Value): Added in the missing Value property.
862 2002-03-20 Duncan Mak <duncan@ximian.com>
864 * XmlAttribute.cs (CloneNode): Implemented.
866 * XmlDocumentFragment.cs (CloneNode): Implemented.
868 * XmlElement.cs (CloneNode): Implemented.
870 2002-03-19 Duncan Mak <duncan@ximian.com>
872 * XmlNotation.cs: Added to CVS.
874 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
876 * XmlCDataSection.cs (CloneNode): Implemented.
878 * XmlDocumentFragment.cs: Reformatted and added the missing properties
879 (InnerXml, OwnerDocument, ParentNode).
880 (CloneNode): Implemented.
882 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
883 (Value) Implemented the 'get' property.
885 * XmlWhitespace.cs (Module): implemented.
887 2002-03-19 Jason Diamond <jason@injektilo.org>
889 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
892 2002-03-18 Jason Diamond <jason@injektilo.org>
894 * XmlTextReader.cs: Don't restore properties after reading last
895 attribute on an element.
897 * XmlDocument.cs: Move back to element after reading attributes
898 so that IsEmptyElement test succeeds.
900 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
902 * XmlNamespaceManager.cs: Implemented LookupPrefix.
904 * XmlTextWriter.cs: Implemented namespace and prefix support.
906 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
908 * XmlTextReader.cs: Restores properties after
909 reading last attribute on an element.
911 * XmlNode.cs: AppendChild sets the parent
914 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
916 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
918 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
920 * XmlElement.cs: Fixed bug in WriteTo.
922 * XmlProcessingInstruction.cs: Formatting.
924 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
925 fixes for WriteEndElement, WriteProcessingInstruction.
927 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
929 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
930 had Load() add PIs to the document, moved onXXX methods to alphabetical
933 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
935 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
937 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
940 * XmlTextWriter.cs: Implementations for WriteEndElement,
941 WriteProcessingInstruction, WriteStartElement, and WriteString.
943 * XmlWriter.cs: Implemented WriteStartElement() methods.
945 2002-03-15 Duncan Mak <duncan@ximian.com>
947 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
948 InnerText once I know what they do.
950 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
951 that we can properly chain constructors.
952 (CloneNode): implemented.
953 (WriteContentTo): Removed MonoTODO attribute as this method has no
954 effect in this class.
956 * XmlProcessingInstruction.cs (Value): Added the missing Set
958 (InnerText): Added in, but not implemented.
960 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
962 * XmlTextWriter.cs: implemented constructors and
963 WriteCData and WriteComment.
965 2002-03-14 Duncan Mak <duncan@ximian.com>
967 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
968 file, and updated the callbacks to reflect the change.
969 (XmlDocument): Added the NameTable constructor.
970 (NameTable): Also the NameTable property.
972 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
973 was in XmlDocument.cs. It has two arguments now (object,
974 EventArgs) , instead of one (object).
976 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
978 * XmlWriter.cs: Formatting.
980 * XmlTextWriter.cs: Initial checkin.
982 2002-03-14 Duncan Mak <duncan@ximian.com>
984 * Validation.cs: Removed, replaced by ValidationType.cs.
986 * ValidationType.cs: Added.
988 2002-03-13 Duncan Mak <duncan@ximian.com>
990 * XmlException.cs: Made it [Serializable], implemented good ol'
991 GetObjectData, and the serialization constructor.
993 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
994 (SetNamedItem): Reverted (added back in) the patch with the
995 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
997 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
998 (GetNamedItem (string, string)): implemented.
999 (RemoveNamedItem): implemented.
1000 (SetNamedItem): implemented.
1002 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
1004 * XmlAttribute.cs: Moved a method from amongst properties down to
1005 it's alphabetical position in the methods section.
1007 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
1008 last linked child. Set XmlNode base class to return false for IsReadOnly().
1009 Implemented GetEnumerator() and RemoveChild().
1011 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
1012 This is to support the behavior that the Enumerator doesn't become invalid
1013 when changes to the children occur. Flushed out rest of implementation for
1014 MoveNext, Current, and Reset.
1016 2002-03-12 Duncan Mak <duncan@ximian.com>
1018 * XmlCharacterData.cs: Reformatted the properties for better readability.
1020 * XmlLinkedNode.cs: Removed the awful boxy comments.
1022 * XmlNamedNodeMap.cs (Count):
1023 (Item): Implemented. Tests will be coming.
1025 * XmlEntityReference.cs:
1026 * XmlSignificantWhitespace.cs: Implemented these classes except for
1027 the Clone, WriteContentTo and WriteTo methods. Will have to
1028 investigate into these later.
1030 2002-03-11 Duncan Mak <duncan@ximian.com>
1032 * IHasXmlNode.cs: Added to CVS.
1034 2002-03-08 Jason Diamond <jason@injektilo.org>
1036 * XmlParserContext.cs: Added missing constructors and missing Encoding
1039 * XmlTextReader.cs: Start using the XmlParserContext class.
1041 2002-03-08 Jason Diamond <jason@injektilo.org>
1043 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
1045 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
1047 * XmlNode.cs (Item): Implemented both indexers.
1049 2002-03-08 Jason Diamond <jason@injektilo.org>
1051 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
1052 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
1054 2002-03-08 Jason Diamond <jason@injektilo.org>
1056 * XmlAttribute.cs: Attribute nodes are supposed to store their values
1057 as child nodes so updated to reflect that.
1059 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
1060 duplicated in XmlDocument and XmlElement into XmlNode so that it
1061 wouldn't have to be duplicated in XmlAttribute, too.
1063 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
1065 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
1066 XmlNode.cs: Formatting.
1068 * XmlNodeListChildren.cs: Implementation of XmlNodeList
1069 for XmlNode.ChildNodes property.
1071 * XmlNodeListAsArrayList.cs: Removed file. Using different
1072 data structure (circular list) in XmlNode so this file
1075 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
1076 bug in setter property of LastLinkedChild so fixed it.
1078 2002-03-06 Jason Diamond <jason@injektilo.org>
1080 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
1081 We already have a parser in XmlTextReader.
1083 * XmlException.cs: Removed constructor accepting XmlInputSource.
1085 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
1087 * XmlNode.cs: Rewrote this class from scratch with
1088 MonoToDo attribs and NotImplementedExceptions. Now defines an
1089 internal LastLinkedNode property to aid the new implementation.
1090 XmlNodes only have ref to owner doc and parent nodes now.
1092 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
1093 and ref to next sibling to support walking our circular child
1096 * XmlDocument.cs: Added ref to last child node and overrides
1097 XmlNode's internal LastLinkedChild property to support walking
1098 our circular child node list.
1100 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
1102 * XmlProcessingInstructions.cs: Class was empty. Implemented
1103 constructor, properties, and CloneNode() method. Put in
1104 MonoToDo attrib for remaining methods.
1106 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
1107 Got rid of helper methods and fields since they were no
1110 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
1112 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
1113 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
1114 Createxxx() methods for those three node types.
1116 2002-03-02 Jason Diamond <jason@injektilo.org>
1118 * XmlDocument.cs: Implemented the remaining CreateElement and
1119 CreateAttribute methods.
1121 * XmlAttribute.cs: Re-implemented.
1123 * XmlElement.cs: Set owner element on attributes. Reformatted.
1125 2002-03-02 Jason Diamond <jason@injektilo.org>
1127 * XmlTextReader.cs: Implemented MoveToNextAttribute().
1129 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
1130 attributes. Create attribute nodes while loading. Implemented
1131 Load(string) and CreateTextNode().
1133 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
1135 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
1138 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
1140 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
1142 * XmlAttribute.cs : Using fix.
1143 * XmlDocument.cs (CreateAttribute(String)): Implement.
1145 2002-03-02 Jason Diamond <jason@injektilo.org>
1147 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
1150 2002-02-28 Jason Diamond <jason@injektilo.org>
1152 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
1153 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
1155 2002-02-28 Jason Diamond <jason@injektilo.org>
1157 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
1158 added missing members and MonoTODO attributes.
1160 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
1162 2002-02-27 Jason Diamond <jason@injektilo.org>
1164 * XmlElement.cs: Reformatted, added missing members and MonoTODO
1167 2002-02-26 Duncan Mak <duncan@ximian.com>
1169 * XmlCDataSection.cs: Initial implementation.
1171 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
1172 it out. This should (hopefully) be correct.
1174 2002-02-26 Jason Diamond <jason@injektilo.org>
1176 * XmlTextReader.cs: Apparently Microsoft's implementation treats
1177 namespace declarations as attributes so we do now, too.
1179 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
1180 checks the current scope.
1182 2002-02-26 Duncan Mak <duncan@ximian.com>
1184 * XmlDocumentType.cs: Added a few hacks here and there to
1185 temporarily fix the "I broke the build issue".
1187 2002-02-25 Jason Diamond <jason@injektilo.org>
1189 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
1190 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
1191 simple test to pass. The existing code is really shitty so I'll
1192 probably start writing tests and refactoring before much else
1195 2002-02-25 Duncan Mak <duncan@ximian.com>
1197 * NameTable.cs: Implemented.
1199 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
1201 2002-02-24 Duncan Mak <duncan@ximian.com>
1203 * XmlNodeOrder.cs: Added to CVS.
1205 * XmlQualifiedName.cs: Fixed a warning from Equals ().
1207 * XmlTokenizedType.cs: Added to CVS.
1209 * XmlUrlResolver.cs: Added to CVS with one TODO task.
1211 2002-02-23 Duncan Mak <duncan@ximian.com>
1213 * XmlQualifiedName.cs: Fixed ToString () and added the operators
1216 2002-02-23 Jason Diamond <jason@injektilo.org>
1218 * XmlTextReader.cs: Added support for qualified attributes.
1220 2002-02-23 Jason Diamond <jason@injektilo.org>
1222 * XmlNamespaceManager.cs: Initial implementation.
1224 * XmlTextReader.cs: Added support for NamespaceURI property on
1227 2002-02-23 Nick Drochak <ndrochak@gol.com>
1229 * ChangeLog: Add the change log to this directory
1231 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has