*** empty log message ***
[mono.git] / mcs / class / System.XML / System.Xml / ChangeLog
index f75061e59cd8aff34990f7615170ffc92de7b31b..53fd2e5c5fe5ed93654531b31ef1068ef6bddb29 100644 (file)
@@ -1,3 +1,430 @@
+2002-11-04  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
+
+       XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
+
+2002-11-03  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
+
+       * XmlAttributeCollection.cs : checks owner element.
+               implemented CopyTo, InsertAfter, InsertBefore, Prepend,
+               Remove, RemoveAt, SetNamedItem.
+               removed some logics that sets 'Parent' (that should be null)
+       * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
+       * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
+       * XmlElement.cs : implemented WriteTo, set_InnerText.
+               Fixed WriteTo() to add xmlns:* attributes when
+               writer.LookupPrefix() returned mismatching.
+       * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
+               Removing different prefixes for the same uri now runs correct.
+               added SetNamedItem(XmlNode node, int position_to_insert).
+       * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
+               XmlWhitespace, and XmlSignificantWhitespace
+
+2002-10-31  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
+
+       * XmlDocument.cs : implemented CreateDocumentFragment()
+       * XmlElement.cs, XmlLinkedNode.cs :
+               moved LastLinkedChild from XmlElement to XmlLinkedNode.
+       * XmlEntityReference.cs : must throw NotImplementedException.
+       * XmlNode.cs :
+             + implemented InsertBefore() and then implemented InsertAfter()
+               and modified AppendChild() to call it.
+             + added logic to check ReadOnly, parent document equivalence,
+               and inserting any 'content' before/after DocumentElement.
+             + implemented Clone() [it is equals to CloneNode() by MS doc.]
+             + added logic in RemoveChild() to check parent of oldChild.
+             + fixed ConstructNamespaceManager() to internal only.
+
+2002-10-29  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
+
+       * XmlAttribute.cs : add internal 'IsDefault' property
+                           (equals to !Specified)
+       * XmlImplementation.cs : added 'internalNameTable' property.
+       * XmlDocument.cs :
+           + now allows "" for 'standalone' in CreateXmlDeclaration.
+           + implemented 'Implementation' property and constructor with it.
+           + added logic for appending name table (but still no use)
+           + implemented property 'DocumentType'
+             (but without internalSubset parsing. wait for next update.)
+       * XmlNode.cs :
+           + modified AppendChild() and RemoveChild() to support fragment.
+           + modified AppendChild() to remove newChild from its parent
+             when newChild is already in the other place.
+           + modified RemoveChild() to set parentNode null.
+           + modified ConstructDOM() to create DocumentType,
+             and fixed access modifier ('internal protected' to 'internal')
+       * XmlLinkedNode.cs : fixed 'NextSibling' to return null
+               when its parent is null.
+       * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
+               property to enable AppendChild() for this class.
+       * XmlTextReader.cs : appended private publicId and systemId fields.
+
+2002-10-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlTextReader.cs: make it work when the underlying Stream is not
+       'seekable'.
+
+2002-10-26  Piers Haken <piersh@friskit.com>
+
+       * XmlNode.cs: add virtual property XPathNodeType
+       * XmlAttribute.cs:
+       * XmlComment.cs:
+       * XmlDocument.cs:
+       * XmlElement.cs::
+       * XmlProcessingInstruction.cs:
+       * XmlSignificantWhitespace.cs:
+       * XmlText.cs:
+       * XmlWhitespace.cs: implement XPathNodeType property
+       * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
+
+2002-10-26  Piers Haken <piersh@friskit.com>
+
+       * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
+
+2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlTextReader.cs: don't increment depth for entity references.
+
+2002-10-22  Tim Haynes <thaynes@openlinksw.com>
+
+       * - Fixed the duplication of xmlns:xx = yy when serializing the
+       XML for serialization
+       
+       Fixed the unnecessary parsing/serializing when adding assemblies
+       for serialization 
+
+       Avoided setting the XmlNode.InnerXml property
+       (as it's not implemented) 
+
+       Fixed the usage/implementation of
+       XmlElement.GetElementsByTagName()
+       
+2002-10-21  Duncan Mak  <duncan@ximian.com>
+
+       * XmlDocument.cs:
+       * XmlElement.cs:
+       * XmlNode.cs:
+       * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
+       Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
+
+2002-10-18  Duncan Mak  <duncan@ximian.com>
+
+       * XmlDocument.cs: Applied a patch by Atsushi Enomoto
+       <ginga@kit.hi-ho.ne.jp>.
+
+2002-10-12  A.Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlDocument.cs (ImportNode): Implemented
+
+2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlDocument.cs: one more Load method implemented.
+       * XmlTextReader.cs: Depth now works.
+
+2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlConvert.cs: IsInvalid is now internal.
+       * XmlNamespaceManager.cs: implemented RemoveNamespace
+       * XmlTextReader.cs: return BaseURI and Encoding from the parser.
+       * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
+
+2002-09-19  Matt Hunter <mahunter@tconl.com>
+
+       * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
+       * XmlAttributeCollection.cs: Implemented Append (XmlAttribute) 
+         
+2002-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlConvert.cs: finished implementation.
+       * XmlTextReader.cs: fixed #30239.
+       * XmlTextWriter.cs: fixed #30240.
+
+2002-09-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlTextReader.cs: line and position begin with 1.
+
+2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlException.cs: added a new internal constructor for IXmlLineInfo
+       and output line and position info in Message.
+
+       * XmlReader.cs: implemented missing bits.
+
+2002-09-12     Piers Haken <piersh@friksit.com>
+
+       * XmlDocumentNavigator.cs: implement MoveToId()
+
+2002-09-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlTextWriter.cs: fixed bug #29886.
+
+2002-08-26  Ravi Pratap  <ravi@ximian.com>
+
+
+       * XmlAttribute.cs (InnerText): Implement getting this property.
+
+       * XmlNode.cs (InnerText): Ensure that we append only values of
+       text nodes.
+
+2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
+       that allowed compiling this.
+       [ FIXME: filed bug #29435. mcs should have failed on this ]
+
+2002-08-25  Tim Coleman <tim@timcoleman.com>
+        * XmlNode.cs:
+                Change CreateNavigator to not be virtual.
+        * XmlElement.cs:
+                Add set_Prefix and InnerText accessors.
+        * XmlEntityReference.cs:
+                Add set_Value accessor.
+        * XmlTextWriter.cs:
+                Make objects which should be private private.
+        * XmlWriter.cs:
+                Remove WriteStartElementInternal abstract definition.
+        * XmlValidatingReader.cs:
+                New stubs added.
+
+2002-08-22  Jason Diamond <jason@injektilo.org>
+
+       * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
+       and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
+
+2002-08-22  Jason Diamond <jason@injektilo.org>
+
+       * XmlElement.cs: Correction to previous GetElementsByTagName patch
+       courtesy of Matt Hunter <xrkune@tconl.com>.
+
+2002-08-22  Jason Diamond <jason@injektilo.org>
+
+       * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
+       qualified GetElementsByTagName courtesy of Matt Hunter 
+       <xrkune@tconl.com>.
+
+2002-08-19  Jason Diamond <jason@injektilo.org>
+
+       * XmlDocument.cs, XmlElement.cs: Added implementation of 
+       GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
+
+2002-08-16  Jason Diamond <jason@injektilo.org>
+
+       * XmlElement.cs: Fixed writing out qualified elements courtesy of
+       Marcus Bürgel <marcus.buergel@gmx.de>.
+
+2002-08-13  Tim Coleman <tim@timcoleman.com>
+       * XmlTextWriter.cs:
+               Partial implementation of WriteQualifiedName ().
+
+2002-08-07  Kral Ferch <kral_ferch@hotmail.com>
+       * XmlCharacterData.cs:  Implemented AppendData(), DeleteData(),
+               InsertData(), and ReplaceData().  These methods fire the
+               NodeChanging and NodeChanged events.
+               
+       * XmlDocument.cs:  Fixed bugs in onNodeChanged() and onNodeChanging().
+       
+       * XmlNode.cs:  AppendChild() fires NodeInserting and NodeInserted events.
+               RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
+       
+2002-08-03  Tim Coleman <tim@timcoleman.com>
+       * XmlNamespaceManager.cs:
+               .Net allows the empty namespace to be redefined
+               at a later point, but the current implementation
+               did not.  This fixes a hashtable conflict.
+
+2002-07-26  Tim Coleman <tim@timcoleman.com>
+       * XmlTextWriter.cs:
+               When given a textwriter, check to see if it has a
+               null encoding. This was being done for other inputs
+               than a textwriter.
+
+Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * XmlTextReader.cs: rough line/column support.
+
+2002-07-23  Duncan Mak  <duncan@ximian.com>
+
+       * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
+       (string, string []) is particularly strange.
+
+       * XmlException.cs: Remember to call the base serialization
+       constructor.
+
+       * XmlNodeReader.cs: Keep a new variable to store the Depth. 
+
+2002-07-14  Jason Diamond  <jason@injektilo.org>
+
+       * XmlAttribute.cs: Removed ownerElement field since we can reuse 
+       parentNode field.
+
+       * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
+       if the current node is an attribute.
+
+       * XmlElement.cs: SetAttributeNode now sets the new attribute's
+       owner element.
+
+2002-07-12  Jason Diamond  <jason@injektilo.org>
+
+       * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
+       creating an element, use String.Empty instead.
+
+2002-07-12     Piers Haken <piersh@friksit.com>
+
+       * XmlAttributeCollection.cs: implement some ItemOf indexers
+       * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
+       * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
+
+2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
+
+
+2002-10-26  Piers Haken <piersh@friskit.com>
+
+       * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
+
+2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlTextReader.cs: don't increment depth for entity references.
+
+2002-10-22  Tim Haynes <thaynes@openlinksw.com>
+
+       * - Fixed the duplication of xmlns:xx = yy when serializing the
+       XML for serialization
+       
+       Fixed the unnecessary parsing/serializing when adding assemblies
+       for serialization 
+
+       Avoided setting the XmlNode.InnerXml property
+       (as it's not implemented) 
+
+       Fixed the usage/implementation of
+       XmlElement.GetElementsByTagName()
+       
+2002-10-21  Duncan Mak  <duncan@ximian.com>
+
+       * XmlDocument.cs:
+       * XmlElement.cs:
+       * XmlNode.cs:
+       * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
+       Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
+
+2002-10-18  Duncan Mak  <duncan@ximian.com>
+
+       * XmlDocument.cs: Applied a patch by Atsushi Enomoto
+       <ginga@kit.hi-ho.ne.jp>.
+
+2002-10-12  A.Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlDocument.cs (ImportNode): Implemented
+
+2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlDocument.cs: one more Load method implemented.
+       * XmlTextReader.cs: Depth now works.
+
+2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlConvert.cs: IsInvalid is now internal.
+       * XmlNamespaceManager.cs: implemented RemoveNamespace
+       * XmlTextReader.cs: return BaseURI and Encoding from the parser.
+       * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
+
+2002-09-19  Matt Hunter <mahunter@tconl.com>
+
+       * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
+       * XmlAttributeCollection.cs: Implemented Append (XmlAttribute) 
+         
+2002-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlConvert.cs: finished implementation.
+       * XmlTextReader.cs: fixed #30239.
+       * XmlTextWriter.cs: fixed #30240.
+
+2002-09-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlTextReader.cs: line and position begin with 1.
+
+2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlException.cs: added a new internal constructor for IXmlLineInfo
+       and output line and position info in Message.
+
+       * XmlReader.cs: implemented missing bits.
+
+2002-09-12     Piers Haken <piersh@friksit.com>
+
+       * XmlDocumentNavigator.cs: implement MoveToId()
+
+2002-09-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlTextWriter.cs: fixed bug #29886.
+
+2002-08-26  Ravi Pratap  <ravi@ximian.com>
+
+
+       * XmlAttribute.cs (InnerText): Implement getting this property.
+
+       * XmlNode.cs (InnerText): Ensure that we append only values of
+       text nodes.
+
+2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
+       that allowed compiling this.
+       [ FIXME: filed bug #29435. mcs should have failed on this ]
+
+2002-08-25  Tim Coleman <tim@timcoleman.com>
+        * XmlNode.cs:
+                Change CreateNavigator to not be virtual.
+        * XmlElement.cs:
+                Add set_Prefix and InnerText accessors.
+        * XmlEntityReference.cs:
+                Add set_Value accessor.
+        * XmlTextWriter.cs:
+                Make objects which should be private private.
+        * XmlWriter.cs:
+                Remove WriteStartElementInternal abstract definition.
+        * XmlValidatingReader.cs:
+                New stubs added.
+
+2002-08-22  Jason Diamond <jason@injektilo.org>
+
+       * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
+       and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
+
+2002-08-22  Jason Diamond <jason@injektilo.org>
+
+       * XmlElement.cs: Correction to previous GetElementsByTagName patch
+       courtesy of Matt Hunter <xrkune@tconl.com>.
+
+2002-08-22  Jason Diamond <jason@injektilo.org>
+
+       * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
+       qualified GetElementsByTagName courtesy of Matt Hunter 
+       <xrkune@tconl.com>.
+
+2002-08-19  Jason Diamond <jason@injektilo.org>
+
+       * XmlDocument.cs, XmlElement.cs: Added implementation of 
+       GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
+
+2002-08-16  Jason Diamond <jason@injektilo.org>
+
+       * XmlElement.cs: Fixed writing out qualified elements courtesy of
+       Marcus Bürgel <marcus.buergel@gmx.de>.
+
+2002-08-13  Tim Coleman <tim@timcoleman.com>
+       * XmlTextWriter.cs:
+               Partial implementation of WriteQualifiedName ().
+
+2002-08-07  Kral Ferch <kral_ferch@hotmail.com>
+       * XmlCharacterData.cs:  Implemented AppendData(), DeleteData(),
+               InsertData(), and ReplaceData().  These methods fire the
+               NodeChanging and NodeChanged events.
+               
+       * XmlDocument.cs:  Fixed bugs in onNodeChanged() and onNodeChanging().
+       
+       * XmlNode.cs:  AppendChild() fires NodeInserting and NodeInserted events.
+               RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
+       
 2002-08-03  Tim Coleman <tim@timcoleman.com>
        * XmlNamespaceManager.cs:
                .Net allows the empty namespace to be redefined