2002-03-31 Kral Ferch * XmlTextWriter.cs: Some tweaks for WriteAttibuteString in different states (no open start element, in WriteState.Content mode). 2002-03-29 Kral Ferch * XmlTextWriter.cs: XmlLang and XmlSpace properties and WriteWhitespace. * XmlTextWriterOpenElement.cs: scope support for XmlLang and XmlSpace. 2002-03-29 Kral Ferch * XmlTextWriter.cs: Working on Attribute methods. * XmlWriter.cs: Working on Attribute methods. 2002-03-28 Duncan Mak * XmlDocument.cs (CreateWhitespace): (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray method. * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute. 2002-03-26 Duncan Mak * 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 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added missing properties (InnerText, Value). * XmlDocument.cs (CreateXmlDeclaration): Implemented. 2002-03-23 Kral Ferch * XmlTextWriter.cs: Impls for BaseStream and Namespaces and WriteState. * XmlWriter.cs: WriteState and WriteStartElementInternal. 2002-03-23 Kral Ferch * 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 * XmlElement.cs: impl HasAttribute(string name). 2002-03-22 Duncan Mak * 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 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out xml declaration along with encoding. WriteEndElement throws exception if no WriteStartElement exists. 2002-03-20 Duncan Mak * 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 * XmlAttribute.cs (CloneNode): Implemented. * XmlDocumentFragment.cs (CloneNode): Implemented. * XmlElement.cs (CloneNode): Implemented. 2002-03-19 Duncan Mak * 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 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName in the prefix. 2002-03-18 Jason Diamond * 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 * XmlNamespaceManager.cs: Implemented LookupPrefix. * XmlTextWriter.cs: Implemented namespace and prefix support. 2002-03-18 Kral Ferch * 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 * 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 * 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 * 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 * XmlTextWriter.cs: implemented constructors and WriteCData and WriteComment. 2002-03-14 Duncan Mak * 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 * XmlWriter.cs: Formatting. * XmlTextWriter.cs: Initial checkin. 2002-03-14 Duncan Mak * Validation.cs: Removed, replaced by ValidationType.cs. * ValidationType.cs: Added. 2002-03-13 Duncan Mak * 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!" * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation. (GetNamedItem (string, string)): implemented. (RemoveNamedItem): implemented. (SetNamedItem): implemented. 2002-03-12 Kral Ferch * XmlAttribute.cs: Moved a method from amongst properties down to it's alphabetical position in the methods section. * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of last linked child. Set XmlNode base class to return false for IsReadOnly(). Implemented GetEnumerator() and RemoveChild(). * XmlNodeListChildren.cs: Now stores the parent instead of the last child. This is to support the behavior that the Enumerator doesn't become invalid when changes to the children occur. Flushed out rest of implementation for MoveNext, Current, and Reset. 2002-03-12 Duncan Mak * XmlCharacterData.cs: Reformatted the properties for better readability. * XmlLinkedNode.cs: Removed the awful boxy comments. * XmlNamedNodeMap.cs (Count): (Item): Implemented. Tests will be coming. * XmlEntityReference.cs: * XmlSignificantWhitespace.cs: Implemented these classes except for the Clone, WriteContentTo and WriteTo methods. Will have to investigate into these later. 2002-03-11 Duncan Mak * IHasXmlNode.cs: Added to CVS. 2002-03-08 Jason Diamond * XmlParserContext.cs: Added missing constructors and missing Encoding property. * XmlTextReader.cs: Start using the XmlParserContext class. 2002-03-08 Jason Diamond * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute. 2002-03-08 Mike Kestner * XmlNode.cs (Item): Implemented both indexers. 2002-03-08 Jason Diamond * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs, XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files. 2002-03-08 Jason Diamond * XmlAttribute.cs: Attribute nodes are supposed to store their values as child nodes so updated to reflect that. * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was duplicated in XmlDocument and XmlElement into XmlNode so that it wouldn't have to be duplicated in XmlAttribute, too. 2002-03-08 Kral Ferch * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs, XmlNode.cs: Formatting. * XmlNodeListChildren.cs: Implementation of XmlNodeList for XmlNode.ChildNodes property. * XmlNodeListAsArrayList.cs: Removed file. Using different data structure (circular list) in XmlNode so this file is no longer valid. * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found bug in setter property of LastLinkedChild so fixed it. 2002-03-06 Jason Diamond * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files. We already have a parser in XmlTextReader. * XmlException.cs: Removed constructor accepting XmlInputSource. 2002-03-06 Kral Ferch * XmlNode.cs: Rewrote this class from scratch with MonoToDo attribs and NotImplementedExceptions. Now defines an internal LastLinkedNode property to aid the new implementation. XmlNodes only have ref to owner doc and parent nodes now. * XmlLinkedNode.cs: Added NextLinkedSibling internal property and ref to next sibling to support walking our circular child node list. * XmlDocument.cs: Added ref to last child node and overrides XmlNode's internal LastLinkedChild property to support walking our circular child node list. 2002-03-02 Kral Ferch * XmlProcessingInstructions.cs: Class was empty. Implemented constructor, properties, and CloneNode() method. Put in MonoToDo attrib for remaining methods. * XmlComment.cs: Reformatted and put in MonoToDo attribs. Got rid of helper methods and fields since they were no longer needed. * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs. * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment, XmlCDataSection, and XmlProcessingInstruction nodes. Implemented Createxxx() methods for those three node types. 2002-03-02 Jason Diamond * XmlDocument.cs: Implemented the remaining CreateElement and CreateAttribute methods. * XmlAttribute.cs: Re-implemented. * XmlElement.cs: Set owner element on attributes. Reformatted. 2002-03-02 Jason Diamond * XmlTextReader.cs: Implemented MoveToNextAttribute(). * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO attributes. Create attribute nodes while loading. Implemented Load(string) and CreateTextNode(). * XmlCharacterData.cs, XmlText.cs: Re-implemented. * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in XmlCharacterData. * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out. 2002-03-02 Mike Kestner * XmlAttribute.cs : Using fix. * XmlDocument.cs (CreateAttribute(String)): Implement. 2002-03-02 Jason Diamond * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in the name table. 2002-02-28 Jason Diamond * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml courtesy of Kral Ferch . 2002-02-28 Jason Diamond * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted, added missing members and MonoTODO attributes. * XmlTextReader.cs: Throw XmlException instead of System.Exception. 2002-02-27 Jason Diamond * XmlElement.cs: Reformatted, added missing members and MonoTODO attributes. 2002-02-26 Duncan Mak * XmlCDataSection.cs: Initial implementation. * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test it out. This should (hopefully) be correct. 2002-02-26 Jason Diamond * XmlTextReader.cs: Apparently Microsoft's implementation treats namespace declarations as attributes so we do now, too. * XmlNamespaceManager.cs: HasNamespace fixed so that it only checks the current scope. 2002-02-26 Duncan Mak * XmlDocumentType.cs: Added a few hacks here and there to temporarily fix the "I broke the build issue". 2002-02-25 Jason Diamond * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs, XmlNodeListAsArrayList.cs: Multiple fixes necessary to get simple test to pass. The existing code is really shitty so I'll probably start writing tests and refactoring before much else can get done. 2002-02-25 Duncan Mak * NameTable.cs: Implemented. * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode. 2002-02-24 Duncan Mak * XmlNodeOrder.cs: Added to CVS. * XmlQualifiedName.cs: Fixed a warning from Equals (). * XmlTokenizedType.cs: Added to CVS. * XmlUrlResolver.cs: Added to CVS with one TODO task. 2002-02-23 Duncan Mak * XmlQualifiedName.cs: Fixed ToString () and added the operators (== and !=). 2002-02-23 Jason Diamond * XmlTextReader.cs: Added support for qualified attributes. 2002-02-23 Jason Diamond * XmlNamespaceManager.cs: Initial implementation. * XmlTextReader.cs: Added support for NamespaceURI property on elements. 2002-02-23 Nick Drochak * ChangeLog: Add the change log to this directory * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has MonoTODO's