1 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
3 * XmlDocument.cs: Added CheckName () method to check names validity.
5 2003-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8 (ReadOuterXml): use Depth property which return elementDepth, not depth.
10 2003-01-11 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
12 * XmlElement.cs : (by ville) XmlElement.set_InnerText event bugfix.
13 * XmlTextReader.cs : some fix for ReadOuterXml().
15 2003-01-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
17 * XmlTextReader.cs : bugfix for attributes related to creation of
20 2003-01-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
22 * XmlTextReader.cs : bugfix for attribute values which have entity
25 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
27 * XmlDocument.cs: XmlTextWriter.Formatting == Indented when
28 calling Save () -methods.
30 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
32 * XmlNodeReader.cs : primitive reading implementation.
34 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
36 * XmlElement.cs : quick fix for the incomplete patch of #35308 below.
38 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
40 * XmlDocument.cs : removed inconsistent line-feed output.
41 * XmlElement.cs, XmlTextWriter.cs :
42 fixed for bugzilla 35308 (default ns output)
43 * XmlWhitespace.cs : limited output only when preserving whitespace.
45 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
47 * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
48 Implemented XmlTextReader.ReadAttributeValue().
49 Added internal ReadAttributeNodeValue().
50 Fixed XmlAttribute.InnerXml to use these methods.
52 * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
53 Implemented XmlDocument.ReadNode() and removed ConstructDOM().
54 Other changes are replacing them.
56 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
58 * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
60 2002-12-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
62 * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
63 patch by JD Conley <jconley@winfessor.com>.
64 (Fix for xmlns attribute output.)
66 2002-12-05 Ville Palo <vi64p@koti.soon.fi>
68 * XmlQualifiedName.cs: Little fix to ToString () -method
70 2002-12-04 Tim Haynes <thaynes@openlinksw.com>
72 * class/System.XML/System.Xml/XmlElement.cs: Made more refined
73 checks on attributeNode to fix 32262.
75 2002-12-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
77 * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
78 * XmlTextWriter.cs (WriteStartElementInternal):
79 fixed when default namespace was specified, all descendants
80 fail to omit the default namespace declarations.
83 XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
85 XmlDocumentFragment.cs,
86 XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
87 * XmlElement.cs (set_IsEmpty) : implemented
88 (WriteTo) : removed my improper indenting (Writer already done)
89 * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
90 (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
91 ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
93 2002-12-01 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
95 * XmlNode.cs (RemoveChild):
96 bugfixed when XmlNode is Document OwnerDocument is null
97 * XmlDeclaration.cs (Value):
98 bugfixed regular expression pattern.
99 * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
101 2002-11-24 Duncan Mak <duncan@ximian.com>
103 * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
104 Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
105 first patch to Mono! ;-)
107 2002-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
110 (AppendChild): readded refChild != null condition before throwing
111 "cannot insert this node in this position" exception. There's probably
112 a better solution. Fixes #34191.
113 (RemoveAll): changed following Atsushi instructions.
116 2002-11-13 Duncan Mak <duncan@ximian.com>
118 * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
121 2002-11-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
123 * XmlDocument.cs : unified all constructors, added ConventionalParser,
124 implemented CloneNode() and CreateEntityReference(),
125 * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
126 set BaseURI to MonoTODO
127 * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
128 bugfix InsertAfter (incorrect prepending) and InsertBefore
129 (more than one DocumentElements hadn't caused errors)
130 * XmlTextReader.cs : unified all constructors,
131 added internal SetReaderContext(), SetReaderFragment()
132 bugfix (syntax check of PUBLIC / getting internal subset)
134 2002-11-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
136 XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
137 XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
138 XmlCharacterData.cs : exchanged Data and Value
139 (for processing events and inheritance)
140 XmlDocumentFragment.cs : set_InnerXml
141 XmlSignificantWhitespace.cs : set_Value
142 XmlTextReader.cs : ReadAttributeValue
144 2002-11-04 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
146 XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
148 2002-11-03 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
150 * XmlAttributeCollection.cs : checks owner element.
151 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
152 Remove, RemoveAt, SetNamedItem.
153 removed some logics that sets 'Parent' (that should be null)
154 * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
155 * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
156 * XmlElement.cs : implemented WriteTo, set_InnerText.
157 Fixed WriteTo() to add xmlns:* attributes when
158 writer.LookupPrefix() returned mismatching.
159 * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
160 Removing different prefixes for the same uri now runs correct.
161 added SetNamedItem(XmlNode node, int position_to_insert).
162 * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
163 XmlWhitespace, and XmlSignificantWhitespace
165 2002-10-31 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
167 * XmlDocument.cs : implemented CreateDocumentFragment()
168 * XmlElement.cs, XmlLinkedNode.cs :
169 moved LastLinkedChild from XmlElement to XmlLinkedNode.
170 * XmlEntityReference.cs : must throw NotImplementedException.
172 + implemented InsertBefore() and then implemented InsertAfter()
173 and modified AppendChild() to call it.
174 + added logic to check ReadOnly, parent document equivalence,
175 and inserting any 'content' before/after DocumentElement.
176 + implemented Clone() [it is equals to CloneNode() by MS doc.]
177 + added logic in RemoveChild() to check parent of oldChild.
178 + fixed ConstructNamespaceManager() to internal only.
180 2002-10-29 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
182 * XmlAttribute.cs : add internal 'IsDefault' property
183 (equals to !Specified)
184 * XmlImplementation.cs : added 'internalNameTable' property.
186 + now allows "" for 'standalone' in CreateXmlDeclaration.
187 + implemented 'Implementation' property and constructor with it.
188 + added logic for appending name table (but still no use)
189 + implemented property 'DocumentType'
190 (but without internalSubset parsing. wait for next update.)
192 + modified AppendChild() and RemoveChild() to support fragment.
193 + modified AppendChild() to remove newChild from its parent
194 when newChild is already in the other place.
195 + modified RemoveChild() to set parentNode null.
196 + modified ConstructDOM() to create DocumentType,
197 and fixed access modifier ('internal protected' to 'internal')
198 * XmlLinkedNode.cs : fixed 'NextSibling' to return null
199 when its parent is null.
200 * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
201 property to enable AppendChild() for this class.
202 * XmlTextReader.cs : appended private publicId and systemId fields.
204 2002-10-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
206 * XmlTextReader.cs: make it work when the underlying Stream is not
209 2002-10-26 Piers Haken <piersh@friskit.com>
211 * XmlNode.cs: add virtual property XPathNodeType
216 * XmlProcessingInstruction.cs:
217 * XmlSignificantWhitespace.cs:
219 * XmlWhitespace.cs: implement XPathNodeType property
220 * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
222 2002-10-26 Piers Haken <piersh@friskit.com>
224 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
226 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
228 * XmlTextReader.cs: don't increment depth for entity references.
230 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
232 * - Fixed the duplication of xmlns:xx = yy when serializing the
233 XML for serialization
235 Fixed the unnecessary parsing/serializing when adding assemblies
238 Avoided setting the XmlNode.InnerXml property
239 (as it's not implemented)
241 Fixed the usage/implementation of
242 XmlElement.GetElementsByTagName()
244 2002-10-21 Duncan Mak <duncan@ximian.com>
249 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
250 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
252 2002-10-18 Duncan Mak <duncan@ximian.com>
254 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
255 <ginga@kit.hi-ho.ne.jp>.
257 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
259 * XmlDocument.cs (ImportNode): Implemented
261 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
263 * XmlDocument.cs: one more Load method implemented.
264 * XmlTextReader.cs: Depth now works.
266 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
268 * XmlConvert.cs: IsInvalid is now internal.
269 * XmlNamespaceManager.cs: implemented RemoveNamespace
270 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
271 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
273 2002-09-19 Matt Hunter <mahunter@tconl.com>
275 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
276 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
278 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
280 * XmlConvert.cs: finished implementation.
281 * XmlTextReader.cs: fixed #30239.
282 * XmlTextWriter.cs: fixed #30240.
284 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
286 * XmlTextReader.cs: line and position begin with 1.
288 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
290 * XmlException.cs: added a new internal constructor for IXmlLineInfo
291 and output line and position info in Message.
293 * XmlReader.cs: implemented missing bits.
295 2002-09-12 Piers Haken <piersh@friksit.com>
297 * XmlDocumentNavigator.cs: implement MoveToId()
299 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
301 * XmlTextWriter.cs: fixed bug #29886.
303 2002-08-26 Ravi Pratap <ravi@ximian.com>
306 * XmlAttribute.cs (InnerText): Implement getting this property.
308 * XmlNode.cs (InnerText): Ensure that we append only values of
311 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
313 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
314 that allowed compiling this.
315 [ FIXME: filed bug #29435. mcs should have failed on this ]
317 2002-08-25 Tim Coleman <tim@timcoleman.com>
319 Change CreateNavigator to not be virtual.
321 Add set_Prefix and InnerText accessors.
322 * XmlEntityReference.cs:
323 Add set_Value accessor.
325 Make objects which should be private private.
327 Remove WriteStartElementInternal abstract definition.
328 * XmlValidatingReader.cs:
331 2002-08-22 Jason Diamond <jason@injektilo.org>
333 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
334 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
336 2002-08-22 Jason Diamond <jason@injektilo.org>
338 * XmlElement.cs: Correction to previous GetElementsByTagName patch
339 courtesy of Matt Hunter <xrkune@tconl.com>.
341 2002-08-22 Jason Diamond <jason@injektilo.org>
343 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
344 qualified GetElementsByTagName courtesy of Matt Hunter
347 2002-08-19 Jason Diamond <jason@injektilo.org>
349 * XmlDocument.cs, XmlElement.cs: Added implementation of
350 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
352 2002-08-16 Jason Diamond <jason@injektilo.org>
354 * XmlElement.cs: Fixed writing out qualified elements courtesy of
355 Marcus Bürgel <marcus.buergel@gmx.de>.
357 2002-08-13 Tim Coleman <tim@timcoleman.com>
359 Partial implementation of WriteQualifiedName ().
361 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
362 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
363 InsertData(), and ReplaceData(). These methods fire the
364 NodeChanging and NodeChanged events.
366 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
368 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
369 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
371 2002-08-03 Tim Coleman <tim@timcoleman.com>
372 * XmlNamespaceManager.cs:
373 .Net allows the empty namespace to be redefined
374 at a later point, but the current implementation
375 did not. This fixes a hashtable conflict.
377 2002-07-26 Tim Coleman <tim@timcoleman.com>
379 When given a textwriter, check to see if it has a
380 null encoding. This was being done for other inputs
383 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
385 * XmlTextReader.cs: rough line/column support.
387 2002-07-23 Duncan Mak <duncan@ximian.com>
389 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
390 (string, string []) is particularly strange.
392 * XmlException.cs: Remember to call the base serialization
395 * XmlNodeReader.cs: Keep a new variable to store the Depth.
397 2002-07-14 Jason Diamond <jason@injektilo.org>
399 * XmlAttribute.cs: Removed ownerElement field since we can reuse
402 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
403 if the current node is an attribute.
405 * XmlElement.cs: SetAttributeNode now sets the new attribute's
408 2002-07-12 Jason Diamond <jason@injektilo.org>
410 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
411 creating an element, use String.Empty instead.
413 2002-07-12 Piers Haken <piersh@friksit.com>
415 * XmlAttributeCollection.cs: implement some ItemOf indexers
416 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
417 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
419 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
422 2002-10-26 Piers Haken <piersh@friskit.com>
424 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
426 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
428 * XmlTextReader.cs: don't increment depth for entity references.
430 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
432 * - Fixed the duplication of xmlns:xx = yy when serializing the
433 XML for serialization
435 Fixed the unnecessary parsing/serializing when adding assemblies
438 Avoided setting the XmlNode.InnerXml property
439 (as it's not implemented)
441 Fixed the usage/implementation of
442 XmlElement.GetElementsByTagName()
444 2002-10-21 Duncan Mak <duncan@ximian.com>
449 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
450 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
452 2002-10-18 Duncan Mak <duncan@ximian.com>
454 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
455 <ginga@kit.hi-ho.ne.jp>.
457 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
459 * XmlDocument.cs (ImportNode): Implemented
461 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
463 * XmlDocument.cs: one more Load method implemented.
464 * XmlTextReader.cs: Depth now works.
466 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
468 * XmlConvert.cs: IsInvalid is now internal.
469 * XmlNamespaceManager.cs: implemented RemoveNamespace
470 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
471 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
473 2002-09-19 Matt Hunter <mahunter@tconl.com>
475 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
476 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
478 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
480 * XmlConvert.cs: finished implementation.
481 * XmlTextReader.cs: fixed #30239.
482 * XmlTextWriter.cs: fixed #30240.
484 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
486 * XmlTextReader.cs: line and position begin with 1.
488 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
490 * XmlException.cs: added a new internal constructor for IXmlLineInfo
491 and output line and position info in Message.
493 * XmlReader.cs: implemented missing bits.
495 2002-09-12 Piers Haken <piersh@friksit.com>
497 * XmlDocumentNavigator.cs: implement MoveToId()
499 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
501 * XmlTextWriter.cs: fixed bug #29886.
503 2002-08-26 Ravi Pratap <ravi@ximian.com>
506 * XmlAttribute.cs (InnerText): Implement getting this property.
508 * XmlNode.cs (InnerText): Ensure that we append only values of
511 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
513 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
514 that allowed compiling this.
515 [ FIXME: filed bug #29435. mcs should have failed on this ]
517 2002-08-25 Tim Coleman <tim@timcoleman.com>
519 Change CreateNavigator to not be virtual.
521 Add set_Prefix and InnerText accessors.
522 * XmlEntityReference.cs:
523 Add set_Value accessor.
525 Make objects which should be private private.
527 Remove WriteStartElementInternal abstract definition.
528 * XmlValidatingReader.cs:
531 2002-08-22 Jason Diamond <jason@injektilo.org>
533 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
534 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
536 2002-08-22 Jason Diamond <jason@injektilo.org>
538 * XmlElement.cs: Correction to previous GetElementsByTagName patch
539 courtesy of Matt Hunter <xrkune@tconl.com>.
541 2002-08-22 Jason Diamond <jason@injektilo.org>
543 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
544 qualified GetElementsByTagName courtesy of Matt Hunter
547 2002-08-19 Jason Diamond <jason@injektilo.org>
549 * XmlDocument.cs, XmlElement.cs: Added implementation of
550 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
552 2002-08-16 Jason Diamond <jason@injektilo.org>
554 * XmlElement.cs: Fixed writing out qualified elements courtesy of
555 Marcus Bürgel <marcus.buergel@gmx.de>.
557 2002-08-13 Tim Coleman <tim@timcoleman.com>
559 Partial implementation of WriteQualifiedName ().
561 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
562 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
563 InsertData(), and ReplaceData(). These methods fire the
564 NodeChanging and NodeChanged events.
566 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
568 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
569 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
571 2002-08-03 Tim Coleman <tim@timcoleman.com>
572 * XmlNamespaceManager.cs:
573 .Net allows the empty namespace to be redefined
574 at a later point, but the current implementation
575 did not. This fixes a hashtable conflict.
577 2002-07-26 Tim Coleman <tim@timcoleman.com>
579 When given a textwriter, check to see if it has a
580 null encoding. This was being done for other inputs
583 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
585 * XmlTextReader.cs: rough line/column support.
587 2002-07-23 Duncan Mak <duncan@ximian.com>
589 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
590 (string, string []) is particularly strange.
592 * XmlException.cs: Remember to call the base serialization
595 * XmlNodeReader.cs: Keep a new variable to store the Depth.
597 2002-07-14 Jason Diamond <jason@injektilo.org>
599 * XmlAttribute.cs: Removed ownerElement field since we can reuse
602 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
603 if the current node is an attribute.
605 * XmlElement.cs: SetAttributeNode now sets the new attribute's
608 2002-07-12 Jason Diamond <jason@injektilo.org>
610 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
611 creating an element, use String.Empty instead.
613 2002-07-12 Piers Haken <piersh@friksit.com>
615 * XmlAttributeCollection.cs: implement some ItemOf indexers
616 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
617 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
619 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
621 * XmlTextWriter: Fixed Indentation. IndentationOverridden should
622 not be set when inside a attribute.
624 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
626 * XmlTextWriter: In WriteStartElement, if namespace is null and
627 prefix is null|empty do not write out xmlns=""
629 * XmlWriter: WriteStartElement calls the virtual method with null
630 argument instead of empty string.
632 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
634 * XmlTextReader.cs: implemented .ctor (Stream).
636 2002-06-26 Duncan Mak <duncan@ximian.com>
638 * XmlNodeReader.cs: Implementation of most of the properties, and
639 some of the related methods.
641 2002-06-23 Piers Haken <piersh@friskit.com>
643 * XmlDocumentNavigator.cs: implement Clone()
644 * XmlElement.cs: remove bogus unimplemented override of InnerText
645 * XmlNode.cs: implment SelectNodes/SelectSingleNode
646 * XmlNodeArrayList.cs: new support class for SelectNodes
648 2002-06-21 Ajay kumar Dwivedi <adwiv@yahoo.com>
650 * XmlQualifiedName: Name and Namespaces are never null. If null is passed
651 to the constructor, set them to empty strings.
654 2002-06-18 Ajay kumar Dwivedi <adwiv@yahoo.com>
656 * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
659 2002-06-14 Duncan Mak <duncan@ximian.com>
661 * XmlConvert.cs: Added CLSCompliant attributes to methods.
663 2002-06-12 Duncan Mak <duncan@ximian.com>
665 * XmlCharacterData.cs (Value): Throw an ArgumentException in the
666 set block if the node is read-only.
668 2002-06-10 Ajay kumar Dwivedi <adwiv@yahoo.com>
669 * XmlConstruct.cs : New Internal class with Helper methods for
670 Checking XmlConstructs
671 * XmlConvert.cs: Implemented most of the methods
673 2002-06-08 Duncan Mak <duncan@ximian.com>
675 * XmlDocument.cs (Load):
676 Added bits to Load (string) for BaseURI support.
678 * XmlAttribute.cs (BaseURI):
679 * XmlDocument.cs (BaseURI):
680 * XmlEntity.cs (BaseURI): Implemented.
682 2002-05-27 Jason Diamond <jason@injektilo.org>
684 * XmlDocumentNavigator.cs: Added file to directory.
686 * XmlNode.cs (CreateNavigator): Implemented.
687 (InnerText): Implemented.
689 * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
691 (Load(XmlReader)): Allow for namespace qualified attributes.
693 * XmlElement.cs: Implemented GetAttribute(string, string) and both
694 GetAttributeNode overloads.
695 (SetAttributeNode(XmlAttribute)): Implemented.
697 * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
698 and RemoveNamedItem(string, string).
700 * XmlLinkedNode.cs (PreviousSibling): Implemented.
702 * XmlTextReader.cs: Added code to maintain the order of attributes as
703 they're parsed. XML doesn't require this but Microsoft's parser does it and
704 matching them makes testing easier so now we have it, too.
706 2002-05-26 Miguel de Icaza <miguel@ximian.com>
708 * XmlDocument.cs: Implement the Save methods.
710 2002-05-08 Mike Kestner <mkestner@speakeasy.net>
712 * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
714 2002-04-28 Duncan Mak <duncan@ximian.com>
716 * XmlSignificantWhitespace.cs (Value):
717 * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
718 block. Added new private method, IsValidWhitespaceChar, for
721 2002-04-16 Duncan Mak <duncan@ximian.com>
723 * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
725 2002-04-12 Duncan Mak <duncan@ximian.com>
727 * XmlAttribute.cs (Prefix): Added preliminary code for set block,
728 added comment on work that needs to be done here. A new MonoTODO item.
730 * XmlDocument.cs (ctor): Corrected constructor signature, changed
731 parameter from 'NameTable' to 'XmlNameTable'.
733 * XmlDocumentFragment.cs (InnerXml): Added missing set block.
735 * XmlCaseOrder.cs: Moved to System.Xml.XPath.
737 2002-04-10 Duncan Mak <duncan@ximian.com>
739 * XmlNodeReader.cs: Initial stubs for the class.
741 2002-04-08 Kral Ferch <kral_ferch@hotmail.com>
743 * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
746 * XmlDeclaration.cs: WriteTo implementation.
748 * XmlDocument.cs: InnerXml getter implementation.
750 * XmlElement.cs: InnerXml getter implementation.
752 * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
754 * XmlSignificantWhitespace.cs: WriteTo implementation.
756 * XmlText.cs: WriteContentTo and WriteTo implementation.
758 * XmlTextWriter.cs: WriteRaw implementation.
760 * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
762 2002-04-05 Kral Ferch <kral_ferch@hotmail.com>
764 * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
765 if prefix in constructor is one of the default ones.
767 * XmlCharacterData.cs: Returns String.Empty for Value and Data
768 even when constructed with null.
770 * XmlDeclaration.cs: Value doesn't put encoding or standalone
771 in if they are empty.
773 * XmlDocument.cs: Implemented CreateNode methods and this caused
774 the changes in the other files in this checkin.
776 * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
777 even when constructed with null.
779 * XmlWhitespace.cs: Changed Value 'get' to return Data.
781 2002-04-01 Kral Ferch <kral_ferch@hotmail.com>
783 * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
785 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
787 * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
790 * XmlWrite.cs: Fixed bug where attribute namespace decl
791 was pushing a scope onto the namespace manager when it shouldn't
794 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
796 * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
797 in different states (no open start element, in WriteState.Content mode).
799 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
801 * XmlTextWriter.cs: XmlLang and XmlSpace properties
804 * XmlTextWriterOpenElement.cs: scope support for XmlLang
807 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
809 * XmlTextWriter.cs: Working on Attribute methods.
811 * XmlWriter.cs: Working on Attribute methods.
813 2002-03-28 Duncan Mak <duncan@ximian.com>
815 * XmlDocument.cs (CreateWhitespace):
816 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
819 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
821 2002-03-26 Duncan Mak <duncan@ximian.com>
823 * XmlDocument.cs (CreateDocumentType): Implemented.
825 * XmlNode.cs (Value): Implemented.
827 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
828 like XmlCharacterData.
830 * XmlDeclaration.cs (CloneNode):
831 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
834 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
835 docs say it is the "The concatenated values of the node and all
836 the children of the node.". I wrote some test programs and
837 couldn't get any of the derived nodes to AppendChild. For now,
838 InnerText == Data == Value.
839 (Substring): Fixed typo.
841 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
843 * XmlImplementation.cs (CreateDocument): Implemented.
845 2002-03-25 Duncan Mak <duncan@ximian.com>
847 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
848 missing properties (InnerText, Value).
850 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
852 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
854 * XmlTextWriter.cs: Impls for BaseStream and
855 Namespaces and WriteState.
857 * XmlWriter.cs: WriteState and WriteStartElementInternal.
859 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
861 * XmlNodeListChildren.cs: made class internal
862 instead of public. Shouldn't be visible outside
865 * XmlTextWriter.cs: Implementations for Formatting,
866 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
867 Suppresses encoding on xml declaration if null stream passed in.
868 Formats output including suppressing indentation for elements in
871 * XmlTextWriterOpenElement.cs: Initial checkin.
872 XmlTextWriter uses stack of these objects to track
875 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
877 * XmlElement.cs: impl HasAttribute(string name).
879 2002-03-22 Duncan Mak <duncan@ximian.com>
881 * XmlElement.cs: Reformatted.
882 (CloneNode) Corrected.
884 * XmlDocument.cs (CreateWhitespace):
885 (CreateSignificantWhitespace): Implemented.
887 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
888 true, because Attributes have ChildNodes.
890 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
892 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
893 xml declaration along with encoding. WriteEndElement throws
894 exception if no WriteStartElement exists.
896 2002-03-20 Duncan Mak <duncan@ximian.com>
898 * XmlEntityReference.cs (CloneNode): Implemented.
900 * XmlException.cs (Message): Implemented. We need to cache the
901 message string because SystemException doesn't expose 'message'
904 * XmlText.cs (Value): Added in the missing Value property.
906 2002-03-20 Duncan Mak <duncan@ximian.com>
908 * XmlAttribute.cs (CloneNode): Implemented.
910 * XmlDocumentFragment.cs (CloneNode): Implemented.
912 * XmlElement.cs (CloneNode): Implemented.
914 2002-03-19 Duncan Mak <duncan@ximian.com>
916 * XmlNotation.cs: Added to CVS.
918 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
920 * XmlCDataSection.cs (CloneNode): Implemented.
922 * XmlDocumentFragment.cs: Reformatted and added the missing properties
923 (InnerXml, OwnerDocument, ParentNode).
924 (CloneNode): Implemented.
926 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
927 (Value) Implemented the 'get' property.
929 * XmlWhitespace.cs (Module): implemented.
931 2002-03-19 Jason Diamond <jason@injektilo.org>
933 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
936 2002-03-18 Jason Diamond <jason@injektilo.org>
938 * XmlTextReader.cs: Don't restore properties after reading last
939 attribute on an element.
941 * XmlDocument.cs: Move back to element after reading attributes
942 so that IsEmptyElement test succeeds.
944 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
946 * XmlNamespaceManager.cs: Implemented LookupPrefix.
948 * XmlTextWriter.cs: Implemented namespace and prefix support.
950 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
952 * XmlTextReader.cs: Restores properties after
953 reading last attribute on an element.
955 * XmlNode.cs: AppendChild sets the parent
958 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
960 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
962 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
964 * XmlElement.cs: Fixed bug in WriteTo.
966 * XmlProcessingInstruction.cs: Formatting.
968 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
969 fixes for WriteEndElement, WriteProcessingInstruction.
971 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
973 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
974 had Load() add PIs to the document, moved onXXX methods to alphabetical
977 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
979 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
981 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
984 * XmlTextWriter.cs: Implementations for WriteEndElement,
985 WriteProcessingInstruction, WriteStartElement, and WriteString.
987 * XmlWriter.cs: Implemented WriteStartElement() methods.
989 2002-03-15 Duncan Mak <duncan@ximian.com>
991 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
992 InnerText once I know what they do.
994 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
995 that we can properly chain constructors.
996 (CloneNode): implemented.
997 (WriteContentTo): Removed MonoTODO attribute as this method has no
998 effect in this class.
1000 * XmlProcessingInstruction.cs (Value): Added the missing Set
1002 (InnerText): Added in, but not implemented.
1004 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
1006 * XmlTextWriter.cs: implemented constructors and
1007 WriteCData and WriteComment.
1009 2002-03-14 Duncan Mak <duncan@ximian.com>
1011 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
1012 file, and updated the callbacks to reflect the change.
1013 (XmlDocument): Added the NameTable constructor.
1014 (NameTable): Also the NameTable property.
1016 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
1017 was in XmlDocument.cs. It has two arguments now (object,
1018 EventArgs) , instead of one (object).
1020 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
1022 * XmlWriter.cs: Formatting.
1024 * XmlTextWriter.cs: Initial checkin.
1026 2002-03-14 Duncan Mak <duncan@ximian.com>
1028 * Validation.cs: Removed, replaced by ValidationType.cs.
1030 * ValidationType.cs: Added.
1032 2002-03-13 Duncan Mak <duncan@ximian.com>
1034 * XmlException.cs: Made it [Serializable], implemented good ol'
1035 GetObjectData, and the serialization constructor.
1037 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
1038 (SetNamedItem): Reverted (added back in) the patch with the
1039 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
1041 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
1042 (GetNamedItem (string, string)): implemented.
1043 (RemoveNamedItem): implemented.
1044 (SetNamedItem): implemented.
1046 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
1048 * XmlAttribute.cs: Moved a method from amongst properties down to
1049 it's alphabetical position in the methods section.
1051 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
1052 last linked child. Set XmlNode base class to return false for IsReadOnly().
1053 Implemented GetEnumerator() and RemoveChild().
1055 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
1056 This is to support the behavior that the Enumerator doesn't become invalid
1057 when changes to the children occur. Flushed out rest of implementation for
1058 MoveNext, Current, and Reset.
1060 2002-03-12 Duncan Mak <duncan@ximian.com>
1062 * XmlCharacterData.cs: Reformatted the properties for better readability.
1064 * XmlLinkedNode.cs: Removed the awful boxy comments.
1066 * XmlNamedNodeMap.cs (Count):
1067 (Item): Implemented. Tests will be coming.
1069 * XmlEntityReference.cs:
1070 * XmlSignificantWhitespace.cs: Implemented these classes except for
1071 the Clone, WriteContentTo and WriteTo methods. Will have to
1072 investigate into these later.
1074 2002-03-11 Duncan Mak <duncan@ximian.com>
1076 * IHasXmlNode.cs: Added to CVS.
1078 2002-03-08 Jason Diamond <jason@injektilo.org>
1080 * XmlParserContext.cs: Added missing constructors and missing Encoding
1083 * XmlTextReader.cs: Start using the XmlParserContext class.
1085 2002-03-08 Jason Diamond <jason@injektilo.org>
1087 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
1089 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
1091 * XmlNode.cs (Item): Implemented both indexers.
1093 2002-03-08 Jason Diamond <jason@injektilo.org>
1095 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
1096 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
1098 2002-03-08 Jason Diamond <jason@injektilo.org>
1100 * XmlAttribute.cs: Attribute nodes are supposed to store their values
1101 as child nodes so updated to reflect that.
1103 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
1104 duplicated in XmlDocument and XmlElement into XmlNode so that it
1105 wouldn't have to be duplicated in XmlAttribute, too.
1107 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
1109 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
1110 XmlNode.cs: Formatting.
1112 * XmlNodeListChildren.cs: Implementation of XmlNodeList
1113 for XmlNode.ChildNodes property.
1115 * XmlNodeListAsArrayList.cs: Removed file. Using different
1116 data structure (circular list) in XmlNode so this file
1119 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
1120 bug in setter property of LastLinkedChild so fixed it.
1122 2002-03-06 Jason Diamond <jason@injektilo.org>
1124 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
1125 We already have a parser in XmlTextReader.
1127 * XmlException.cs: Removed constructor accepting XmlInputSource.
1129 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
1131 * XmlNode.cs: Rewrote this class from scratch with
1132 MonoToDo attribs and NotImplementedExceptions. Now defines an
1133 internal LastLinkedNode property to aid the new implementation.
1134 XmlNodes only have ref to owner doc and parent nodes now.
1136 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
1137 and ref to next sibling to support walking our circular child
1140 * XmlDocument.cs: Added ref to last child node and overrides
1141 XmlNode's internal LastLinkedChild property to support walking
1142 our circular child node list.
1144 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
1146 * XmlProcessingInstructions.cs: Class was empty. Implemented
1147 constructor, properties, and CloneNode() method. Put in
1148 MonoToDo attrib for remaining methods.
1150 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
1151 Got rid of helper methods and fields since they were no
1154 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
1156 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
1157 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
1158 Createxxx() methods for those three node types.
1160 2002-03-02 Jason Diamond <jason@injektilo.org>
1162 * XmlDocument.cs: Implemented the remaining CreateElement and
1163 CreateAttribute methods.
1165 * XmlAttribute.cs: Re-implemented.
1167 * XmlElement.cs: Set owner element on attributes. Reformatted.
1169 2002-03-02 Jason Diamond <jason@injektilo.org>
1171 * XmlTextReader.cs: Implemented MoveToNextAttribute().
1173 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
1174 attributes. Create attribute nodes while loading. Implemented
1175 Load(string) and CreateTextNode().
1177 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
1179 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
1182 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
1184 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
1186 * XmlAttribute.cs : Using fix.
1187 * XmlDocument.cs (CreateAttribute(String)): Implement.
1189 2002-03-02 Jason Diamond <jason@injektilo.org>
1191 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
1194 2002-02-28 Jason Diamond <jason@injektilo.org>
1196 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
1197 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
1199 2002-02-28 Jason Diamond <jason@injektilo.org>
1201 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
1202 added missing members and MonoTODO attributes.
1204 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
1206 2002-02-27 Jason Diamond <jason@injektilo.org>
1208 * XmlElement.cs: Reformatted, added missing members and MonoTODO
1211 2002-02-26 Duncan Mak <duncan@ximian.com>
1213 * XmlCDataSection.cs: Initial implementation.
1215 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
1216 it out. This should (hopefully) be correct.
1218 2002-02-26 Jason Diamond <jason@injektilo.org>
1220 * XmlTextReader.cs: Apparently Microsoft's implementation treats
1221 namespace declarations as attributes so we do now, too.
1223 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
1224 checks the current scope.
1226 2002-02-26 Duncan Mak <duncan@ximian.com>
1228 * XmlDocumentType.cs: Added a few hacks here and there to
1229 temporarily fix the "I broke the build issue".
1231 2002-02-25 Jason Diamond <jason@injektilo.org>
1233 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
1234 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
1235 simple test to pass. The existing code is really shitty so I'll
1236 probably start writing tests and refactoring before much else
1239 2002-02-25 Duncan Mak <duncan@ximian.com>
1241 * NameTable.cs: Implemented.
1243 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
1245 2002-02-24 Duncan Mak <duncan@ximian.com>
1247 * XmlNodeOrder.cs: Added to CVS.
1249 * XmlQualifiedName.cs: Fixed a warning from Equals ().
1251 * XmlTokenizedType.cs: Added to CVS.
1253 * XmlUrlResolver.cs: Added to CVS with one TODO task.
1255 2002-02-23 Duncan Mak <duncan@ximian.com>
1257 * XmlQualifiedName.cs: Fixed ToString () and added the operators
1260 2002-02-23 Jason Diamond <jason@injektilo.org>
1262 * XmlTextReader.cs: Added support for qualified attributes.
1264 2002-02-23 Jason Diamond <jason@injektilo.org>
1266 * XmlNamespaceManager.cs: Initial implementation.
1268 * XmlTextReader.cs: Added support for NamespaceURI property on
1271 2002-02-23 Nick Drochak <ndrochak@gol.com>
1273 * ChangeLog: Add the change log to this directory
1275 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has