2002-12-24 Atsushi Enomoto * 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 * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace) 2002-12-21 Atsushi Enomoto * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs: patch by JD Conley . (Fix for xmlns attribute output.) 2002-12-05 Ville Palo * XmlQualifiedName.cs: Little fix to ToString () -method 2002-12-04 Tim Haynes * class/System.XML/System.Xml/XmlElement.cs: Made more refined checks on attributeNode to fix 32262. 2002-12-03 Atsushi Enomoto * 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 * 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 * 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 * 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 * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp compiling. 2002-11-14 Atsushi Enomoto * 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 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 XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement' 2002-11-03 Atsushi Enomoto * 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 * 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 * 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 * XmlTextReader.cs: make it work when the underlying Stream is not 'seekable'. 2002-10-26 Piers Haken * 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 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types. 2002-10-23 Gonzalo Paniagua Javier * XmlTextReader.cs: don't increment depth for entity references. 2002-10-22 Tim Haynes * - 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 * XmlDocument.cs: * XmlElement.cs: * XmlNode.cs: * XmlTextReader.cs: Implementation for XmlNode.InnerXml from Atsushi Enomoto . 2002-10-18 Duncan Mak * XmlDocument.cs: Applied a patch by Atsushi Enomoto . 2002-10-12 A.Enomoto * XmlDocument.cs (ImportNode): Implemented 2002-10-06 Gonzalo Paniagua Javier * XmlDocument.cs: one more Load method implemented. * XmlTextReader.cs: Depth now works. 2002-09-22 Gonzalo Paniagua Javier * 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 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI) * XmlAttributeCollection.cs: Implemented Append (XmlAttribute) 2002-09-19 Gonzalo Paniagua Javier * XmlConvert.cs: finished implementation. * XmlTextReader.cs: fixed #30239. * XmlTextWriter.cs: fixed #30240. 2002-09-15 Gonzalo Paniagua Javier * XmlTextReader.cs: line and position begin with 1. 2002-09-13 Gonzalo Paniagua Javier * 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 * XmlDocumentNavigator.cs: implement MoveToId() 2002-09-05 Gonzalo Paniagua Javier * XmlTextWriter.cs: fixed bug #29886. 2002-08-26 Ravi Pratap * 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 * 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 * 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 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll and RemoveAllAttributes courtesy of Matt Hunter . 2002-08-22 Jason Diamond * XmlElement.cs: Correction to previous GetElementsByTagName patch courtesy of Matt Hunter . 2002-08-22 Jason Diamond * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace qualified GetElementsByTagName courtesy of Matt Hunter . 2002-08-19 Jason Diamond * XmlDocument.cs, XmlElement.cs: Added implementation of GetElementsByTagName courtesy of Matt Hunter . 2002-08-16 Jason Diamond * XmlElement.cs: Fixed writing out qualified elements courtesy of Marcus Bürgel . 2002-08-13 Tim Coleman * XmlTextWriter.cs: Partial implementation of WriteQualifiedName (). 2002-08-07 Kral Ferch * 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 * 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 * 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 * XmlTextReader.cs: rough line/column support. 2002-07-23 Duncan Mak * 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 * 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 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when creating an element, use String.Empty instead. 2002-07-12 Piers Haken * 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 2002-10-26 Piers Haken * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types. 2002-10-23 Gonzalo Paniagua Javier * XmlTextReader.cs: don't increment depth for entity references. 2002-10-22 Tim Haynes * - 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 * XmlDocument.cs: * XmlElement.cs: * XmlNode.cs: * XmlTextReader.cs: Implementation for XmlNode.InnerXml from Atsushi Enomoto . 2002-10-18 Duncan Mak * XmlDocument.cs: Applied a patch by Atsushi Enomoto . 2002-10-12 A.Enomoto * XmlDocument.cs (ImportNode): Implemented 2002-10-06 Gonzalo Paniagua Javier * XmlDocument.cs: one more Load method implemented. * XmlTextReader.cs: Depth now works. 2002-09-22 Gonzalo Paniagua Javier * 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 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI) * XmlAttributeCollection.cs: Implemented Append (XmlAttribute) 2002-09-19 Gonzalo Paniagua Javier * XmlConvert.cs: finished implementation. * XmlTextReader.cs: fixed #30239. * XmlTextWriter.cs: fixed #30240. 2002-09-15 Gonzalo Paniagua Javier * XmlTextReader.cs: line and position begin with 1. 2002-09-13 Gonzalo Paniagua Javier * 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 * XmlDocumentNavigator.cs: implement MoveToId() 2002-09-05 Gonzalo Paniagua Javier * XmlTextWriter.cs: fixed bug #29886. 2002-08-26 Ravi Pratap * 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 * 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 * 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 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll and RemoveAllAttributes courtesy of Matt Hunter . 2002-08-22 Jason Diamond * XmlElement.cs: Correction to previous GetElementsByTagName patch courtesy of Matt Hunter . 2002-08-22 Jason Diamond * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace qualified GetElementsByTagName courtesy of Matt Hunter . 2002-08-19 Jason Diamond * XmlDocument.cs, XmlElement.cs: Added implementation of GetElementsByTagName courtesy of Matt Hunter . 2002-08-16 Jason Diamond * XmlElement.cs: Fixed writing out qualified elements courtesy of Marcus Bürgel . 2002-08-13 Tim Coleman * XmlTextWriter.cs: Partial implementation of WriteQualifiedName (). 2002-08-07 Kral Ferch * 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 * 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 * 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 * XmlTextReader.cs: rough line/column support. 2002-07-23 Duncan Mak * 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 * 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 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when creating an element, use String.Empty instead. 2002-07-12 Piers Haken * 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 * XmlTextWriter: Fixed Indentation. IndentationOverridden should not be set when inside a attribute. 2002-07-06 Ajay kumar Dwivedi * XmlTextWriter: In WriteStartElement, if namespace is null and prefix is null|empty do not write out xmlns="" * XmlWriter: WriteStartElement calls the virtual method with null argument instead of empty string. 2002-07-05 Gonzalo Paniagua Javier * XmlTextReader.cs: implemented .ctor (Stream). 2002-06-26 Duncan Mak * XmlNodeReader.cs: Implementation of most of the properties, and some of the related methods. 2002-06-23 Piers Haken * XmlDocumentNavigator.cs: implement Clone() * XmlElement.cs: remove bogus unimplemented override of InnerText * XmlNode.cs: implment SelectNodes/SelectSingleNode * XmlNodeArrayList.cs: new support class for SelectNodes 2002-06-21 Ajay kumar Dwivedi * XmlQualifiedName: Name and Namespaces are never null. If null is passed to the constructor, set them to empty strings. Fixed the Operators. 2002-06-18 Ajay kumar Dwivedi * XmlTextReader.cs: HasLineInfo returns false instead of throwing an Exception. 2002-06-14 Duncan Mak * XmlConvert.cs: Added CLSCompliant attributes to methods. 2002-06-12 Duncan Mak * XmlCharacterData.cs (Value): Throw an ArgumentException in the set block if the node is read-only. 2002-06-10 Ajay kumar Dwivedi * XmlConstruct.cs : New Internal class with Helper methods for Checking XmlConstructs * XmlConvert.cs: Implemented most of the methods 2002-06-08 Duncan Mak * XmlDocument.cs (Load): Added bits to Load (string) for BaseURI support. * XmlAttribute.cs (BaseURI): * XmlDocument.cs (BaseURI): * XmlEntity.cs (BaseURI): Implemented. 2002-05-27 Jason Diamond * XmlDocumentNavigator.cs: Added file to directory. * XmlNode.cs (CreateNavigator): Implemented. (InnerText): Implemented. * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of throwing exception. (Load(XmlReader)): Allow for namespace qualified attributes. * XmlElement.cs: Implemented GetAttribute(string, string) and both GetAttributeNode overloads. (SetAttributeNode(XmlAttribute)): Implemented. * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string) and RemoveNamedItem(string, string). * XmlLinkedNode.cs (PreviousSibling): Implemented. * XmlTextReader.cs: Added code to maintain the order of attributes as they're parsed. XML doesn't require this but Microsoft's parser does it and matching them makes testing easier so now we have it, too. 2002-05-26 Miguel de Icaza * XmlDocument.cs: Implement the Save methods. 2002-05-08 Mike Kestner * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug. 2002-04-28 Duncan Mak * XmlSignificantWhitespace.cs (Value): * XmlWhitespace.cs (Value): Added MonoTODO to the 'set' block. Added new private method, IsValidWhitespaceChar, for checking. 2002-04-16 Duncan Mak * XmlParserContext.cs (NameTable): Fixed a typo in the set block. 2002-04-12 Duncan Mak * XmlAttribute.cs (Prefix): Added preliminary code for set block, added comment on work that needs to be done here. A new MonoTODO item. * XmlDocument.cs (ctor): Corrected constructor signature, changed parameter from 'NameTable' to 'XmlNameTable'. * XmlDocumentFragment.cs (InnerXml): Added missing set block. * XmlCaseOrder.cs: Moved to System.Xml.XPath. 2002-04-10 Duncan Mak * XmlNodeReader.cs: Initial stubs for the class. 2002-04-08 Kral Ferch * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo implementations. * XmlDeclaration.cs: WriteTo implementation. * XmlDocument.cs: InnerXml getter implementation. * XmlElement.cs: InnerXml getter implementation. * XmlNode.cs: Removed MonoTODO attrib on OuterXml. * XmlSignificantWhitespace.cs: WriteTo implementation. * XmlText.cs: WriteContentTo and WriteTo implementation. * XmlTextWriter.cs: WriteRaw implementation. * XmlWhitespace.cs: WriteContentTo and WriteTo implementations. 2002-04-05 Kral Ferch * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI if prefix in constructor is one of the default ones. * XmlCharacterData.cs: Returns String.Empty for Value and Data even when constructed with null. * XmlDeclaration.cs: Value doesn't put encoding or standalone in if they are empty. * XmlDocument.cs: Implemented CreateNode methods and this caused the changes in the other files in this checkin. * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data even when constructed with null. * XmlWhitespace.cs: Changed Value 'get' to return Data. 2002-04-01 Kral Ferch * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement. 2002-03-31 Kral Ferch * 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 * 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