1 2002-10-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * XmlTextReader.cs: make it work when the underlying Stream is not
6 2002-10-26 Piers Haken <piersh@friskit.com>
8 * XmlNode.cs: add virtual property XPathNodeType
13 * XmlProcessingInstruction.cs:
14 * XmlSignificantWhitespace.cs:
16 * XmlWhitespace.cs: implement XPathNodeType property
17 * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
19 2002-10-26 Piers Haken <piersh@friskit.com>
21 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
23 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
25 * XmlTextReader.cs: don't increment depth for entity references.
27 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
29 * - Fixed the duplication of xmlns:xx = yy when serializing the
32 Fixed the unnecessary parsing/serializing when adding assemblies
35 Avoided setting the XmlNode.InnerXml property
36 (as it's not implemented)
38 Fixed the usage/implementation of
39 XmlElement.GetElementsByTagName()
41 2002-10-21 Duncan Mak <duncan@ximian.com>
46 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
47 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
49 2002-10-18 Duncan Mak <duncan@ximian.com>
51 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
52 <ginga@kit.hi-ho.ne.jp>.
54 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
56 * XmlDocument.cs (ImportNode): Implemented
58 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
60 * XmlDocument.cs: one more Load method implemented.
61 * XmlTextReader.cs: Depth now works.
63 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
65 * XmlConvert.cs: IsInvalid is now internal.
66 * XmlNamespaceManager.cs: implemented RemoveNamespace
67 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
68 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
70 2002-09-19 Matt Hunter <mahunter@tconl.com>
72 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
73 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
75 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
77 * XmlConvert.cs: finished implementation.
78 * XmlTextReader.cs: fixed #30239.
79 * XmlTextWriter.cs: fixed #30240.
81 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
83 * XmlTextReader.cs: line and position begin with 1.
85 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
87 * XmlException.cs: added a new internal constructor for IXmlLineInfo
88 and output line and position info in Message.
90 * XmlReader.cs: implemented missing bits.
92 2002-09-12 Piers Haken <piersh@friksit.com>
94 * XmlDocumentNavigator.cs: implement MoveToId()
96 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
98 * XmlTextWriter.cs: fixed bug #29886.
100 2002-08-26 Ravi Pratap <ravi@ximian.com>
103 * XmlAttribute.cs (InnerText): Implement getting this property.
105 * XmlNode.cs (InnerText): Ensure that we append only values of
108 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
110 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
111 that allowed compiling this.
112 [ FIXME: filed bug #29435. mcs should have failed on this ]
114 2002-08-25 Tim Coleman <tim@timcoleman.com>
116 Change CreateNavigator to not be virtual.
118 Add set_Prefix and InnerText accessors.
119 * XmlEntityReference.cs:
120 Add set_Value accessor.
122 Make objects which should be private private.
124 Remove WriteStartElementInternal abstract definition.
125 * XmlValidatingReader.cs:
128 2002-08-22 Jason Diamond <jason@injektilo.org>
130 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
131 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
133 2002-08-22 Jason Diamond <jason@injektilo.org>
135 * XmlElement.cs: Correction to previous GetElementsByTagName patch
136 courtesy of Matt Hunter <xrkune@tconl.com>.
138 2002-08-22 Jason Diamond <jason@injektilo.org>
140 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
141 qualified GetElementsByTagName courtesy of Matt Hunter
144 2002-08-19 Jason Diamond <jason@injektilo.org>
146 * XmlDocument.cs, XmlElement.cs: Added implementation of
147 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
149 2002-08-16 Jason Diamond <jason@injektilo.org>
151 * XmlElement.cs: Fixed writing out qualified elements courtesy of
152 Marcus Bürgel <marcus.buergel@gmx.de>.
154 2002-08-13 Tim Coleman <tim@timcoleman.com>
156 Partial implementation of WriteQualifiedName ().
158 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
159 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
160 InsertData(), and ReplaceData(). These methods fire the
161 NodeChanging and NodeChanged events.
163 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
165 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
166 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
168 2002-08-03 Tim Coleman <tim@timcoleman.com>
169 * XmlNamespaceManager.cs:
170 .Net allows the empty namespace to be redefined
171 at a later point, but the current implementation
172 did not. This fixes a hashtable conflict.
174 2002-07-26 Tim Coleman <tim@timcoleman.com>
176 When given a textwriter, check to see if it has a
177 null encoding. This was being done for other inputs
180 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
182 * XmlTextReader.cs: rough line/column support.
184 2002-07-23 Duncan Mak <duncan@ximian.com>
186 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
187 (string, string []) is particularly strange.
189 * XmlException.cs: Remember to call the base serialization
192 * XmlNodeReader.cs: Keep a new variable to store the Depth.
194 2002-07-14 Jason Diamond <jason@injektilo.org>
196 * XmlAttribute.cs: Removed ownerElement field since we can reuse
199 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
200 if the current node is an attribute.
202 * XmlElement.cs: SetAttributeNode now sets the new attribute's
205 2002-07-12 Jason Diamond <jason@injektilo.org>
207 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
208 creating an element, use String.Empty instead.
210 2002-07-12 Piers Haken <piersh@friksit.com>
212 * XmlAttributeCollection.cs: implement some ItemOf indexers
213 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
214 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
216 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
219 2002-10-26 Piers Haken <piersh@friskit.com>
221 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
223 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
225 * XmlTextReader.cs: don't increment depth for entity references.
227 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
229 * - Fixed the duplication of xmlns:xx = yy when serializing the
230 XML for serialization
232 Fixed the unnecessary parsing/serializing when adding assemblies
235 Avoided setting the XmlNode.InnerXml property
236 (as it's not implemented)
238 Fixed the usage/implementation of
239 XmlElement.GetElementsByTagName()
241 2002-10-21 Duncan Mak <duncan@ximian.com>
246 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
247 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
249 2002-10-18 Duncan Mak <duncan@ximian.com>
251 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
252 <ginga@kit.hi-ho.ne.jp>.
254 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
256 * XmlDocument.cs (ImportNode): Implemented
258 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
260 * XmlDocument.cs: one more Load method implemented.
261 * XmlTextReader.cs: Depth now works.
263 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
265 * XmlConvert.cs: IsInvalid is now internal.
266 * XmlNamespaceManager.cs: implemented RemoveNamespace
267 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
268 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
270 2002-09-19 Matt Hunter <mahunter@tconl.com>
272 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
273 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
275 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
277 * XmlConvert.cs: finished implementation.
278 * XmlTextReader.cs: fixed #30239.
279 * XmlTextWriter.cs: fixed #30240.
281 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
283 * XmlTextReader.cs: line and position begin with 1.
285 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
287 * XmlException.cs: added a new internal constructor for IXmlLineInfo
288 and output line and position info in Message.
290 * XmlReader.cs: implemented missing bits.
292 2002-09-12 Piers Haken <piersh@friksit.com>
294 * XmlDocumentNavigator.cs: implement MoveToId()
296 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
298 * XmlTextWriter.cs: fixed bug #29886.
300 2002-08-26 Ravi Pratap <ravi@ximian.com>
303 * XmlAttribute.cs (InnerText): Implement getting this property.
305 * XmlNode.cs (InnerText): Ensure that we append only values of
308 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
310 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
311 that allowed compiling this.
312 [ FIXME: filed bug #29435. mcs should have failed on this ]
314 2002-08-25 Tim Coleman <tim@timcoleman.com>
316 Change CreateNavigator to not be virtual.
318 Add set_Prefix and InnerText accessors.
319 * XmlEntityReference.cs:
320 Add set_Value accessor.
322 Make objects which should be private private.
324 Remove WriteStartElementInternal abstract definition.
325 * XmlValidatingReader.cs:
328 2002-08-22 Jason Diamond <jason@injektilo.org>
330 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
331 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
333 2002-08-22 Jason Diamond <jason@injektilo.org>
335 * XmlElement.cs: Correction to previous GetElementsByTagName patch
336 courtesy of Matt Hunter <xrkune@tconl.com>.
338 2002-08-22 Jason Diamond <jason@injektilo.org>
340 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
341 qualified GetElementsByTagName courtesy of Matt Hunter
344 2002-08-19 Jason Diamond <jason@injektilo.org>
346 * XmlDocument.cs, XmlElement.cs: Added implementation of
347 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
349 2002-08-16 Jason Diamond <jason@injektilo.org>
351 * XmlElement.cs: Fixed writing out qualified elements courtesy of
352 Marcus Bürgel <marcus.buergel@gmx.de>.
354 2002-08-13 Tim Coleman <tim@timcoleman.com>
356 Partial implementation of WriteQualifiedName ().
358 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
359 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
360 InsertData(), and ReplaceData(). These methods fire the
361 NodeChanging and NodeChanged events.
363 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
365 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
366 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
368 2002-08-03 Tim Coleman <tim@timcoleman.com>
369 * XmlNamespaceManager.cs:
370 .Net allows the empty namespace to be redefined
371 at a later point, but the current implementation
372 did not. This fixes a hashtable conflict.
374 2002-07-26 Tim Coleman <tim@timcoleman.com>
376 When given a textwriter, check to see if it has a
377 null encoding. This was being done for other inputs
380 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
382 * XmlTextReader.cs: rough line/column support.
384 2002-07-23 Duncan Mak <duncan@ximian.com>
386 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
387 (string, string []) is particularly strange.
389 * XmlException.cs: Remember to call the base serialization
392 * XmlNodeReader.cs: Keep a new variable to store the Depth.
394 2002-07-14 Jason Diamond <jason@injektilo.org>
396 * XmlAttribute.cs: Removed ownerElement field since we can reuse
399 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
400 if the current node is an attribute.
402 * XmlElement.cs: SetAttributeNode now sets the new attribute's
405 2002-07-12 Jason Diamond <jason@injektilo.org>
407 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
408 creating an element, use String.Empty instead.
410 2002-07-12 Piers Haken <piersh@friksit.com>
412 * XmlAttributeCollection.cs: implement some ItemOf indexers
413 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
414 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
416 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
418 * XmlTextWriter: Fixed Indentation. IndentationOverridden should
419 not be set when inside a attribute.
421 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
423 * XmlTextWriter: In WriteStartElement, if namespace is null and
424 prefix is null|empty do not write out xmlns=""
426 * XmlWriter: WriteStartElement calls the virtual method with null
427 argument instead of empty string.
429 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
431 * XmlTextReader.cs: implemented .ctor (Stream).
433 2002-06-26 Duncan Mak <duncan@ximian.com>
435 * XmlNodeReader.cs: Implementation of most of the properties, and
436 some of the related methods.
438 2002-06-23 Piers Haken <piersh@friskit.com>
440 * XmlDocumentNavigator.cs: implement Clone()
441 * XmlElement.cs: remove bogus unimplemented override of InnerText
442 * XmlNode.cs: implment SelectNodes/SelectSingleNode
443 * XmlNodeArrayList.cs: new support class for SelectNodes
445 2002-06-21 Ajay kumar Dwivedi <adwiv@yahoo.com>
447 * XmlQualifiedName: Name and Namespaces are never null. If null is passed
448 to the constructor, set them to empty strings.
451 2002-06-18 Ajay kumar Dwivedi <adwiv@yahoo.com>
453 * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
456 2002-06-14 Duncan Mak <duncan@ximian.com>
458 * XmlConvert.cs: Added CLSCompliant attributes to methods.
460 2002-06-12 Duncan Mak <duncan@ximian.com>
462 * XmlCharacterData.cs (Value): Throw an ArgumentException in the
463 set block if the node is read-only.
465 2002-06-10 Ajay kumar Dwivedi <adwiv@yahoo.com>
466 * XmlConstruct.cs : New Internal class with Helper methods for
467 Checking XmlConstructs
468 * XmlConvert.cs: Implemented most of the methods
470 2002-06-08 Duncan Mak <duncan@ximian.com>
472 * XmlDocument.cs (Load):
473 Added bits to Load (string) for BaseURI support.
475 * XmlAttribute.cs (BaseURI):
476 * XmlDocument.cs (BaseURI):
477 * XmlEntity.cs (BaseURI): Implemented.
479 2002-05-27 Jason Diamond <jason@injektilo.org>
481 * XmlDocumentNavigator.cs: Added file to directory.
483 * XmlNode.cs (CreateNavigator): Implemented.
484 (InnerText): Implemented.
486 * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
488 (Load(XmlReader)): Allow for namespace qualified attributes.
490 * XmlElement.cs: Implemented GetAttribute(string, string) and both
491 GetAttributeNode overloads.
492 (SetAttributeNode(XmlAttribute)): Implemented.
494 * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
495 and RemoveNamedItem(string, string).
497 * XmlLinkedNode.cs (PreviousSibling): Implemented.
499 * XmlTextReader.cs: Added code to maintain the order of attributes as
500 they're parsed. XML doesn't require this but Microsoft's parser does it and
501 matching them makes testing easier so now we have it, too.
503 2002-05-26 Miguel de Icaza <miguel@ximian.com>
505 * XmlDocument.cs: Implement the Save methods.
507 2002-05-08 Mike Kestner <mkestner@speakeasy.net>
509 * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
511 2002-04-28 Duncan Mak <duncan@ximian.com>
513 * XmlSignificantWhitespace.cs (Value):
514 * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
515 block. Added new private method, IsValidWhitespaceChar, for
518 2002-04-16 Duncan Mak <duncan@ximian.com>
520 * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
522 2002-04-12 Duncan Mak <duncan@ximian.com>
524 * XmlAttribute.cs (Prefix): Added preliminary code for set block,
525 added comment on work that needs to be done here. A new MonoTODO item.
527 * XmlDocument.cs (ctor): Corrected constructor signature, changed
528 parameter from 'NameTable' to 'XmlNameTable'.
530 * XmlDocumentFragment.cs (InnerXml): Added missing set block.
532 * XmlCaseOrder.cs: Moved to System.Xml.XPath.
534 2002-04-10 Duncan Mak <duncan@ximian.com>
536 * XmlNodeReader.cs: Initial stubs for the class.
538 2002-04-08 Kral Ferch <kral_ferch@hotmail.com>
540 * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
543 * XmlDeclaration.cs: WriteTo implementation.
545 * XmlDocument.cs: InnerXml getter implementation.
547 * XmlElement.cs: InnerXml getter implementation.
549 * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
551 * XmlSignificantWhitespace.cs: WriteTo implementation.
553 * XmlText.cs: WriteContentTo and WriteTo implementation.
555 * XmlTextWriter.cs: WriteRaw implementation.
557 * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
559 2002-04-05 Kral Ferch <kral_ferch@hotmail.com>
561 * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
562 if prefix in constructor is one of the default ones.
564 * XmlCharacterData.cs: Returns String.Empty for Value and Data
565 even when constructed with null.
567 * XmlDeclaration.cs: Value doesn't put encoding or standalone
568 in if they are empty.
570 * XmlDocument.cs: Implemented CreateNode methods and this caused
571 the changes in the other files in this checkin.
573 * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
574 even when constructed with null.
576 * XmlWhitespace.cs: Changed Value 'get' to return Data.
578 2002-04-01 Kral Ferch <kral_ferch@hotmail.com>
580 * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
582 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
584 * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
587 * XmlWrite.cs: Fixed bug where attribute namespace decl
588 was pushing a scope onto the namespace manager when it shouldn't
591 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
593 * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
594 in different states (no open start element, in WriteState.Content mode).
596 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
598 * XmlTextWriter.cs: XmlLang and XmlSpace properties
601 * XmlTextWriterOpenElement.cs: scope support for XmlLang
604 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
606 * XmlTextWriter.cs: Working on Attribute methods.
608 * XmlWriter.cs: Working on Attribute methods.
610 2002-03-28 Duncan Mak <duncan@ximian.com>
612 * XmlDocument.cs (CreateWhitespace):
613 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
616 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
618 2002-03-26 Duncan Mak <duncan@ximian.com>
620 * XmlDocument.cs (CreateDocumentType): Implemented.
622 * XmlNode.cs (Value): Implemented.
624 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
625 like XmlCharacterData.
627 * XmlDeclaration.cs (CloneNode):
628 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
631 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
632 docs say it is the "The concatenated values of the node and all
633 the children of the node.". I wrote some test programs and
634 couldn't get any of the derived nodes to AppendChild. For now,
635 InnerText == Data == Value.
636 (Substring): Fixed typo.
638 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
640 * XmlImplementation.cs (CreateDocument): Implemented.
642 2002-03-25 Duncan Mak <duncan@ximian.com>
644 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
645 missing properties (InnerText, Value).
647 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
649 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
651 * XmlTextWriter.cs: Impls for BaseStream and
652 Namespaces and WriteState.
654 * XmlWriter.cs: WriteState and WriteStartElementInternal.
656 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
658 * XmlNodeListChildren.cs: made class internal
659 instead of public. Shouldn't be visible outside
662 * XmlTextWriter.cs: Implementations for Formatting,
663 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
664 Suppresses encoding on xml declaration if null stream passed in.
665 Formats output including suppressing indentation for elements in
668 * XmlTextWriterOpenElement.cs: Initial checkin.
669 XmlTextWriter uses stack of these objects to track
672 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
674 * XmlElement.cs: impl HasAttribute(string name).
676 2002-03-22 Duncan Mak <duncan@ximian.com>
678 * XmlElement.cs: Reformatted.
679 (CloneNode) Corrected.
681 * XmlDocument.cs (CreateWhitespace):
682 (CreateSignificantWhitespace): Implemented.
684 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
685 true, because Attributes have ChildNodes.
687 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
689 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
690 xml declaration along with encoding. WriteEndElement throws
691 exception if no WriteStartElement exists.
693 2002-03-20 Duncan Mak <duncan@ximian.com>
695 * XmlEntityReference.cs (CloneNode): Implemented.
697 * XmlException.cs (Message): Implemented. We need to cache the
698 message string because SystemException doesn't expose 'message'
701 * XmlText.cs (Value): Added in the missing Value property.
703 2002-03-20 Duncan Mak <duncan@ximian.com>
705 * XmlAttribute.cs (CloneNode): Implemented.
707 * XmlDocumentFragment.cs (CloneNode): Implemented.
709 * XmlElement.cs (CloneNode): Implemented.
711 2002-03-19 Duncan Mak <duncan@ximian.com>
713 * XmlNotation.cs: Added to CVS.
715 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
717 * XmlCDataSection.cs (CloneNode): Implemented.
719 * XmlDocumentFragment.cs: Reformatted and added the missing properties
720 (InnerXml, OwnerDocument, ParentNode).
721 (CloneNode): Implemented.
723 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
724 (Value) Implemented the 'get' property.
726 * XmlWhitespace.cs (Module): implemented.
728 2002-03-19 Jason Diamond <jason@injektilo.org>
730 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
733 2002-03-18 Jason Diamond <jason@injektilo.org>
735 * XmlTextReader.cs: Don't restore properties after reading last
736 attribute on an element.
738 * XmlDocument.cs: Move back to element after reading attributes
739 so that IsEmptyElement test succeeds.
741 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
743 * XmlNamespaceManager.cs: Implemented LookupPrefix.
745 * XmlTextWriter.cs: Implemented namespace and prefix support.
747 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
749 * XmlTextReader.cs: Restores properties after
750 reading last attribute on an element.
752 * XmlNode.cs: AppendChild sets the parent
755 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
757 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
759 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
761 * XmlElement.cs: Fixed bug in WriteTo.
763 * XmlProcessingInstruction.cs: Formatting.
765 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
766 fixes for WriteEndElement, WriteProcessingInstruction.
768 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
770 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
771 had Load() add PIs to the document, moved onXXX methods to alphabetical
774 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
776 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
778 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
781 * XmlTextWriter.cs: Implementations for WriteEndElement,
782 WriteProcessingInstruction, WriteStartElement, and WriteString.
784 * XmlWriter.cs: Implemented WriteStartElement() methods.
786 2002-03-15 Duncan Mak <duncan@ximian.com>
788 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
789 InnerText once I know what they do.
791 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
792 that we can properly chain constructors.
793 (CloneNode): implemented.
794 (WriteContentTo): Removed MonoTODO attribute as this method has no
795 effect in this class.
797 * XmlProcessingInstruction.cs (Value): Added the missing Set
799 (InnerText): Added in, but not implemented.
801 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
803 * XmlTextWriter.cs: implemented constructors and
804 WriteCData and WriteComment.
806 2002-03-14 Duncan Mak <duncan@ximian.com>
808 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
809 file, and updated the callbacks to reflect the change.
810 (XmlDocument): Added the NameTable constructor.
811 (NameTable): Also the NameTable property.
813 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
814 was in XmlDocument.cs. It has two arguments now (object,
815 EventArgs) , instead of one (object).
817 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
819 * XmlWriter.cs: Formatting.
821 * XmlTextWriter.cs: Initial checkin.
823 2002-03-14 Duncan Mak <duncan@ximian.com>
825 * Validation.cs: Removed, replaced by ValidationType.cs.
827 * ValidationType.cs: Added.
829 2002-03-13 Duncan Mak <duncan@ximian.com>
831 * XmlException.cs: Made it [Serializable], implemented good ol'
832 GetObjectData, and the serialization constructor.
834 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
835 (SetNamedItem): Reverted (added back in) the patch with the
836 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
838 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
839 (GetNamedItem (string, string)): implemented.
840 (RemoveNamedItem): implemented.
841 (SetNamedItem): implemented.
843 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
845 * XmlAttribute.cs: Moved a method from amongst properties down to
846 it's alphabetical position in the methods section.
848 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
849 last linked child. Set XmlNode base class to return false for IsReadOnly().
850 Implemented GetEnumerator() and RemoveChild().
852 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
853 This is to support the behavior that the Enumerator doesn't become invalid
854 when changes to the children occur. Flushed out rest of implementation for
855 MoveNext, Current, and Reset.
857 2002-03-12 Duncan Mak <duncan@ximian.com>
859 * XmlCharacterData.cs: Reformatted the properties for better readability.
861 * XmlLinkedNode.cs: Removed the awful boxy comments.
863 * XmlNamedNodeMap.cs (Count):
864 (Item): Implemented. Tests will be coming.
866 * XmlEntityReference.cs:
867 * XmlSignificantWhitespace.cs: Implemented these classes except for
868 the Clone, WriteContentTo and WriteTo methods. Will have to
869 investigate into these later.
871 2002-03-11 Duncan Mak <duncan@ximian.com>
873 * IHasXmlNode.cs: Added to CVS.
875 2002-03-08 Jason Diamond <jason@injektilo.org>
877 * XmlParserContext.cs: Added missing constructors and missing Encoding
880 * XmlTextReader.cs: Start using the XmlParserContext class.
882 2002-03-08 Jason Diamond <jason@injektilo.org>
884 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
886 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
888 * XmlNode.cs (Item): Implemented both indexers.
890 2002-03-08 Jason Diamond <jason@injektilo.org>
892 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
893 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
895 2002-03-08 Jason Diamond <jason@injektilo.org>
897 * XmlAttribute.cs: Attribute nodes are supposed to store their values
898 as child nodes so updated to reflect that.
900 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
901 duplicated in XmlDocument and XmlElement into XmlNode so that it
902 wouldn't have to be duplicated in XmlAttribute, too.
904 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
906 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
907 XmlNode.cs: Formatting.
909 * XmlNodeListChildren.cs: Implementation of XmlNodeList
910 for XmlNode.ChildNodes property.
912 * XmlNodeListAsArrayList.cs: Removed file. Using different
913 data structure (circular list) in XmlNode so this file
916 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
917 bug in setter property of LastLinkedChild so fixed it.
919 2002-03-06 Jason Diamond <jason@injektilo.org>
921 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
922 We already have a parser in XmlTextReader.
924 * XmlException.cs: Removed constructor accepting XmlInputSource.
926 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
928 * XmlNode.cs: Rewrote this class from scratch with
929 MonoToDo attribs and NotImplementedExceptions. Now defines an
930 internal LastLinkedNode property to aid the new implementation.
931 XmlNodes only have ref to owner doc and parent nodes now.
933 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
934 and ref to next sibling to support walking our circular child
937 * XmlDocument.cs: Added ref to last child node and overrides
938 XmlNode's internal LastLinkedChild property to support walking
939 our circular child node list.
941 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
943 * XmlProcessingInstructions.cs: Class was empty. Implemented
944 constructor, properties, and CloneNode() method. Put in
945 MonoToDo attrib for remaining methods.
947 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
948 Got rid of helper methods and fields since they were no
951 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
953 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
954 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
955 Createxxx() methods for those three node types.
957 2002-03-02 Jason Diamond <jason@injektilo.org>
959 * XmlDocument.cs: Implemented the remaining CreateElement and
960 CreateAttribute methods.
962 * XmlAttribute.cs: Re-implemented.
964 * XmlElement.cs: Set owner element on attributes. Reformatted.
966 2002-03-02 Jason Diamond <jason@injektilo.org>
968 * XmlTextReader.cs: Implemented MoveToNextAttribute().
970 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
971 attributes. Create attribute nodes while loading. Implemented
972 Load(string) and CreateTextNode().
974 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
976 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
979 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
981 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
983 * XmlAttribute.cs : Using fix.
984 * XmlDocument.cs (CreateAttribute(String)): Implement.
986 2002-03-02 Jason Diamond <jason@injektilo.org>
988 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
991 2002-02-28 Jason Diamond <jason@injektilo.org>
993 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
994 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
996 2002-02-28 Jason Diamond <jason@injektilo.org>
998 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
999 added missing members and MonoTODO attributes.
1001 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
1003 2002-02-27 Jason Diamond <jason@injektilo.org>
1005 * XmlElement.cs: Reformatted, added missing members and MonoTODO
1008 2002-02-26 Duncan Mak <duncan@ximian.com>
1010 * XmlCDataSection.cs: Initial implementation.
1012 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
1013 it out. This should (hopefully) be correct.
1015 2002-02-26 Jason Diamond <jason@injektilo.org>
1017 * XmlTextReader.cs: Apparently Microsoft's implementation treats
1018 namespace declarations as attributes so we do now, too.
1020 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
1021 checks the current scope.
1023 2002-02-26 Duncan Mak <duncan@ximian.com>
1025 * XmlDocumentType.cs: Added a few hacks here and there to
1026 temporarily fix the "I broke the build issue".
1028 2002-02-25 Jason Diamond <jason@injektilo.org>
1030 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
1031 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
1032 simple test to pass. The existing code is really shitty so I'll
1033 probably start writing tests and refactoring before much else
1036 2002-02-25 Duncan Mak <duncan@ximian.com>
1038 * NameTable.cs: Implemented.
1040 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
1042 2002-02-24 Duncan Mak <duncan@ximian.com>
1044 * XmlNodeOrder.cs: Added to CVS.
1046 * XmlQualifiedName.cs: Fixed a warning from Equals ().
1048 * XmlTokenizedType.cs: Added to CVS.
1050 * XmlUrlResolver.cs: Added to CVS with one TODO task.
1052 2002-02-23 Duncan Mak <duncan@ximian.com>
1054 * XmlQualifiedName.cs: Fixed ToString () and added the operators
1057 2002-02-23 Jason Diamond <jason@injektilo.org>
1059 * XmlTextReader.cs: Added support for qualified attributes.
1061 2002-02-23 Jason Diamond <jason@injektilo.org>
1063 * XmlNamespaceManager.cs: Initial implementation.
1065 * XmlTextReader.cs: Added support for NamespaceURI property on
1068 2002-02-23 Nick Drochak <ndrochak@gol.com>
1070 * ChangeLog: Add the change log to this directory
1072 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has