2003-02-28 Alan Tam <Tam@SiuLung.com>
[mono.git] / mcs / class / System.XML / System.Xml / ChangeLog
index 30c127ba7c5efd0a7ad85e8884ddd6cb0dc0e841..f6bd22add029c34d68ac02e90c039d8cbb97c2a2 100644 (file)
@@ -1,3 +1,280 @@
+2003-02-28  Alan Tam <Tam@SiuLung.com>
+
+       * XmlConvert.cs: fixed the most ToXXX(string) and ToString(XXX)
+       methods to make them compatible with the XML Schema Spec from W3C
+       ToString(TimeSpan) is still outstanding
+
+2003-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlDocument.cs:
+       (Load (string)): hack to workaround some issues with Uri.Parse. Once
+       Parse is fixed, remove the hack.
+
+2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlQualifiedName.cs : fixed GetHashCode() to avoid null reference
+       * XmlTextReader.cs : fixed ReadAttributeValue() to handle 
+               entity reference, and some refactory.
+
+2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlUrlResolver.cs : WebClient.Credentials was not implemented yet.
+
+2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlInputStream.cs : added (also contains internal XmlStreamReader).
+       * XmlDocument.cs : Load () now can specify URL using XmlUrlResolver,
+               and can read non-UTF-8 stream.
+       * XmlTextReader.cs : related to above stream fix.
+       * XmlUrlResolver.cs : implemented GetEntity ().
+
+2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlTextWriter.cs: implemented WriteRaw (char[], int, int).
+
+2003-02-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlTextReader.cs : implemented QuoteChar.
+
+2003-01-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlNode.cs : implemented ReplaceChild.
+         removed DocElem checking at InsertBefore.
+       * XmlNodeReader.cs : fixed ReadString and Read for correct node info.
+       * XmlText.cs : implemented CloneNode and SplitText.
+
+2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlCharacterData.cs: added XPathNodeType property.
+
+2003-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlTextWriter.cs: throw an exception if WriteEndDocument is
+       called without a prior call to WriteStartDocument.
+
+2003-01-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlNodeReader.cs : several fix to get more compatible with MS.NET.
+
+2003-01-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlNamespaceManager.cs : fundamental change of LookupPrefix to return
+               null when no matching uri.
+       * XmlElement.cs : removed unnecessary xmlns output.
+       * XmlNode.cs : GetPrefixOfNamespace fix along with the change above.
+       * XmlTextWriter.cs : LookupPrefix and WriteStartElementInternal fix 
+               along with the change above, and moved timing of 'xmlns' output 
+               to CloseStartElement.
+       * XmlWriter.cs: modified WriteStartAttribute, same as yesterday.
+
+2003-01-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlWriter.cs: modified WriteStartElement (see test for detail).
+       Added WriteNode.
+
+2003-01-13  Ville Palo <vi64pa@koti.soon.fi>
+
+       * XmlDocument.cs: Added CheckName () method to check names validity.
+       
+2003-01-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlTextReader.cs:
+       (ReadOuterXml): use Depth property which return elementDepth, not depth.
+
+2003-01-11  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlElement.cs : (by ville) XmlElement.set_InnerText event bugfix.
+       * XmlTextReader.cs : some fix for ReadOuterXml().
+
+2003-01-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlTextReader.cs : bugfix for attributes related to creation of 
+         XmlAttribute *node*.
+
+2003-01-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlTextReader.cs : bugfix for attribute values which have entity
+         references.
+
+2002-12-28  Ville Palo <vi64pa@koti.soon.fi>
+
+       * XmlDocument.cs: XmlTextWriter.Formatting == Indented when 
+       calling Save () -methods.
+       
+2002-12-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlNodeReader.cs : primitive reading implementation.
+
+2002-12-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlElement.cs : quick fix for the incomplete patch of #35308 below.
+
+2002-12-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlDocument.cs : removed inconsistent line-feed output.
+       * XmlElement.cs, XmlTextWriter.cs :
+               fixed for bugzilla 35308 (default ns output)
+       * XmlWhitespace.cs : limited output only when preserving whitespace.
+
+2002-12-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
+               Implemented XmlTextReader.ReadAttributeValue().
+               Added internal ReadAttributeNodeValue().
+               Fixed XmlAttribute.InnerXml to use these methods.
+       
+       * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
+               Implemented XmlDocument.ReadNode() and removed ConstructDOM().
+               Other changes are replacing them.
+
+2002-12-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
+
+2002-12-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
+               patch by JD Conley <jconley@winfessor.com>.
+               (Fix for xmlns attribute output.)
+
+2002-12-05  Ville Palo <vi64p@koti.soon.fi>
+
+       * XmlQualifiedName.cs: Little fix to ToString () -method
+
+2002-12-04  Tim Haynes  <thaynes@openlinksw.com>
+
+        * class/System.XML/System.Xml/XmlElement.cs: Made more refined
+        checks on attributeNode to fix 32262.
+
+2002-12-03  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
+
+       * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
+       * XmlTextWriter.cs (WriteStartElementInternal):
+         fixed when default namespace was specified, all descendants
+         fail to omit the default namespace declarations.
+       * XmlAttribute.cs,
+         XmlDocument.cs,
+         XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
+       * XmlAttribute.cs,
+         XmlDocumentFragment.cs,
+         XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
+       * XmlElement.cs (set_IsEmpty) : implemented
+         (WriteTo) : removed my improper indenting (Writer already done)
+       * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
+         (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
+       ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
+
+2002-12-01  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
+
+       * XmlNode.cs (RemoveChild):
+               bugfixed when XmlNode is Document OwnerDocument is null
+       * XmlDeclaration.cs (Value):
+               bugfixed regular expression pattern.
+       * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
+
+2002-11-24  Duncan Mak  <duncan@ximian.com>
+
+       * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
+       Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
+       first patch to Mono! ;-)
+
+2002-11-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlNode.cs:
+       (AppendChild): readded refChild != null condition before throwing
+       "cannot insert this node in this position" exception. There's probably
+       a better solution. Fixes #34191.
+       (RemoveAll): changed following Atsushi instructions.
+       
+
+2002-11-13  Duncan Mak  <duncan@ximian.com>
+
+       * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
+       compiling.
+
+2002-11-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlDocument.cs : unified all constructors, added ConventionalParser,
+               implemented CloneNode() and CreateEntityReference(),
+       * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
+               set BaseURI to MonoTODO
+       * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
+               bugfix InsertAfter (incorrect prepending) and InsertBefore
+               (more than one DocumentElements hadn't caused errors)
+       * XmlTextReader.cs : unified all constructors,
+               added internal SetReaderContext(), SetReaderFragment()
+               bugfix (syntax check of PUBLIC / getting internal subset)
+
+2002-11-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
+       XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
+       XmlCharacterData.cs : exchanged Data and Value
+               (for processing events and inheritance)
+       XmlDocumentFragment.cs : set_InnerXml
+       XmlSignificantWhitespace.cs : set_Value
+       XmlTextReader.cs : ReadAttributeValue
+
+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