MoveToAttribute* Fix 'if' brackets.
[mono.git] / mcs / class / System.XML / System.Xml / ChangeLog
index a8c7a2f8596f989c6fa454ebf589ffdaeb1e2564..6f621e03e68dae5a6c2dd7ce38b537d2f353f69d 100644 (file)
@@ -1,5 +1,259 @@
+2002-04-01  Kral Ferch  <kral_ferch@hotmail.com>
+
+       * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
+       
+2002-03-31  Kral Ferch  <kral_ferch@hotmail.com>
+
+       * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
+       and WriteCharEntity.
+       
+       * XmlWrite.cs:  Fixed bug where attribute namespace decl
+       was pushing a scope onto the namespace manager when it shouldn't
+       have been.
+       
+2002-03-31  Kral Ferch  <kral_ferch@hotmail.com>
+
+       * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
+       in different states (no open start element, in WriteState.Content mode).
+       
+2002-03-29  Kral Ferch  <kral_ferch@hotmail.com>
+
+       * XmlTextWriter.cs: XmlLang and XmlSpace properties
+       and WriteWhitespace.
+       
+       * XmlTextWriterOpenElement.cs: scope support for XmlLang
+       and XmlSpace.
+
+2002-03-29  Kral Ferch  <kral_ferch@hotmail.com>
+
+       * XmlTextWriter.cs: Working on Attribute methods.
+       
+       * XmlWriter.cs: Working on Attribute methods.
+
+2002-03-28  Duncan Mak  <duncan@ximian.com>
+
+       * XmlDocument.cs (CreateWhitespace):
+       (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
+       method.
+
+       * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
+
+2002-03-26  Duncan Mak  <duncan@ximian.com>
+
+       * XmlDocument.cs (CreateDocumentType): Implemented.
+
+       * XmlNode.cs (Value): Implemented.
+
+       * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
+       like XmlCharacterData.
+
+       * XmlDeclaration.cs (CloneNode): 
+       * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
+       arguments.
+
+       * XmlCharacterData.cs (InnerText): Implemented. Funny that the
+       docs say it is the "The concatenated values of the node and all
+       the children of the node.". I wrote some test programs and
+       couldn't get any of the derived nodes to AppendChild. For now,
+       InnerText == Data == Value.
+       (Substring): Fixed typo.
+
+       * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
+
+       * XmlImplementation.cs (CreateDocument): Implemented.
+
+2002-03-25  Duncan Mak  <duncan@ximian.com>
+
+       * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
+       missing properties (InnerText, Value).
+       
+       * XmlDocument.cs (CreateXmlDeclaration): Implemented.
+
+2002-03-23  Kral Ferch <kral_ferch@hotmail.com>
+
+       * XmlTextWriter.cs: Impls for BaseStream and
+       Namespaces and WriteState.
+       
+       * XmlWriter.cs: WriteState and WriteStartElementInternal.
+
+2002-03-23  Kral Ferch <kral_ferch@hotmail.com>
+
+       * XmlNodeListChildren.cs: made class internal
+       instead of public.  Shouldn't be visible outside
+       of System.Xml.
+       
+       * XmlTextWriter.cs: Implementations for Formatting,
+       IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
+       Suppresses encoding on xml declaration if null stream passed in.
+       Formats output including suppressing indentation for elements in
+       mixed content mode.
+       
+       * XmlTextWriterOpenElement.cs: Initial checkin.
+       XmlTextWriter uses stack of these objects to track
+       state.
+       
+2002-03-22  Mike Kestner  <mkestner@speakeasy.net>
+
+       * XmlElement.cs: impl HasAttribute(string name).
+
+2002-03-22  Duncan Mak  <duncan@ximian.com>
+
+       * XmlElement.cs: Reformatted.
+       (CloneNode) Corrected.
+
+       * XmlDocument.cs (CreateWhitespace):
+       (CreateSignificantWhitespace): Implemented.
+
+       * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
+       true, because Attributes have ChildNodes.
+
+2002-03-21  Kral Ferch <kral_ferch@hotmail.com>
+
+       * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
+       xml declaration along with encoding.  WriteEndElement throws
+       exception if no WriteStartElement exists.
+
+2002-03-20  Duncan Mak  <duncan@ximian.com>
+
+       * XmlEntityReference.cs (CloneNode): Implemented.
+
+       * XmlException.cs (Message): Implemented. We need to cache the
+       message string because SystemException doesn't expose 'message'
+       from Exception.
+
+       * XmlText.cs (Value): Added in the missing Value property.
+
+2002-03-20  Duncan Mak  <duncan@ximian.com>    
+
+       * XmlAttribute.cs (CloneNode): Implemented.
+
+       * XmlDocumentFragment.cs (CloneNode): Implemented.
+
+       * XmlElement.cs (CloneNode): Implemented.
+
+2002-03-19  Duncan Mak  <duncan@ximian.com>
+
+       * XmlNotation.cs: Added to CVS.
+
+       * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
+
+       * XmlCDataSection.cs (CloneNode): Implemented.
+
+       * XmlDocumentFragment.cs: Reformatted and added the missing properties
+       (InnerXml, OwnerDocument, ParentNode).
+       (CloneNode): Implemented.
+
+       * XmlSignificantWhitespace.cs (CloneNode): Implemented.
+       (Value) Implemented the 'get' property.
+
+       * XmlWhitespace.cs (Module): implemented.
+
+2002-03-19  Jason Diamond <jason@injektilo.org>
+
+       * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
+       in the prefix.
+
+2002-03-18  Jason Diamond <jason@injektilo.org>
+
+       * XmlTextReader.cs: Don't restore properties after reading last
+       attribute on an element.
+
+       * XmlDocument.cs: Move back to element after reading attributes
+       so that IsEmptyElement test succeeds.
+
+2002-03-18  Kral Ferch <kral_ferch@hotmail.com>
+
+       * XmlNamespaceManager.cs: Implemented LookupPrefix.
+       
+       * XmlTextWriter.cs: Implemented namespace and prefix support.
+
+2002-03-18  Kral Ferch <kral_ferch@hotmail.com>
+
+       * XmlTextReader.cs: Restores properties after
+       reading last attribute on an element.
+       
+       * XmlNode.cs: AppendChild sets the parent
+       on the child.
+
+2002-03-17  Kral Ferch  <kral_ferch@hotmail.com>
+
+       * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
+
+       * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
+       
+       * XmlElement.cs: Fixed bug in WriteTo.
+       
+       * XmlProcessingInstruction.cs: Formatting.
+       
+       * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
+       fixes for WriteEndElement, WriteProcessingInstruction.
+
+2002-03-17  Kral Ferch  <kral_ferch@hotmail.com>
+
+       * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
+       had Load() add PIs to the document, moved onXXX methods to alphabetical
+       order in the file.
+       
+       * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
+       
+       * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
+       
+       * XmlProcessingInstruction.cs: Implementations for WriteTo() and
+       WriteContentTo().
+       
+       * XmlTextWriter.cs: Implementations for WriteEndElement,
+       WriteProcessingInstruction, WriteStartElement, and WriteString.
+       
+       * XmlWriter.cs: Implemented WriteStartElement() methods.
+
+2002-03-15  Duncan Mak  <duncan@ximian.com>
+
+       * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
+       InnerText once I know what they do.
+
+       * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
+       that we can properly chain constructors.
+       (CloneNode): implemented.
+       (WriteContentTo): Removed MonoTODO attribute as this method has no
+       effect in this class.
+
+       * XmlProcessingInstruction.cs (Value): Added the missing Set
+       block.
+       (InnerText): Added in, but not implemented.
+
+2002-03-14  Kral Ferch  <kral_ferch@hotmail.com>
+
+       * XmlTextWriter.cs: implemented constructors and 
+       WriteCData and WriteComment.
+
+2002-03-14  Duncan Mak  <duncan@ximian.com>
+
+       * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
+       file, and updated the callbacks to reflect the change.
+       (XmlDocument): Added the NameTable constructor.
+       (NameTable): Also the NameTable property.
+
+       * XmlNodeChangedEventHandler.cs: Added, replacing the version that
+       was in XmlDocument.cs. It has two arguments now (object,
+       EventArgs) , instead of one (object).
+
+2002-03-14  Kral Ferch  <kral_ferch@hotmail.com>
+
+       * XmlWriter.cs: Formatting.
+       
+       * XmlTextWriter.cs: Initial checkin.
+       
+2002-03-14  Duncan Mak  <duncan@ximian.com>
+
+       * Validation.cs: Removed, replaced by ValidationType.cs.
+
+       * ValidationType.cs: Added.
+
 2002-03-13  Duncan Mak  <duncan@ximian.com>
 
+       * XmlException.cs: Made it [Serializable], implemented good ol'
+       GetObjectData, and the serialization constructor.
+
        * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
        (SetNamedItem): Reverted (added back in) the patch with the
        ReadOnly checks. "Don't doubt yourself, my son... you were right!"