1 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
3 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
4 xml declaration along with encoding. WriteEndElement throws
5 exception if no WriteStartElement exists.
7 2002-03-20 Duncan Mak <duncan@ximian.com>
9 * XmlEntityReference.cs (CloneNode): Implemented.
11 * XmlException.cs (Message): Implemented. We need to cache the
12 message string because SystemException doesn't expose 'message'
15 * XmlText.cs (Value): Added in the missing Value property.
17 2002-03-20 Duncan Mak <duncan@ximian.com>
19 * XmlAttribute.cs (CloneNode): Implemented.
21 * XmlDocumentFragment.cs (CloneNode): Implemented.
23 * XmlElement.cs (CloneNode): Implemented.
25 2002-03-19 Duncan Mak <duncan@ximian.com>
27 * XmlNotation.cs: Added to CVS.
29 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
31 * XmlCDataSection.cs (CloneNode): Implemented.
33 * XmlDocumentFragment.cs: Reformatted and added the missing properties
34 (InnerXml, OwnerDocument, ParentNode).
35 (CloneNode): Implemented.
37 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
38 (Value) Implemented the 'get' property.
40 * XmlWhitespace.cs (Module): implemented.
42 2002-03-19 Jason Diamond <jason@injektilo.org>
44 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
47 2002-03-18 Jason Diamond <jason@injektilo.org>
49 * XmlTextReader.cs: Don't restore properties after reading last
50 attribute on an element.
52 * XmlDocument.cs: Move back to element after reading attributes
53 so that IsEmptyElement test succeeds.
55 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
57 * XmlNamespaceManager.cs: Implemented LookupPrefix.
59 * XmlTextWriter.cs: Implemented namespace and prefix support.
61 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
63 * XmlTextReader.cs: Restores properties after
64 reading last attribute on an element.
66 * XmlNode.cs: AppendChild sets the parent
69 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
71 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
73 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
75 * XmlElement.cs: Fixed bug in WriteTo.
77 * XmlProcessingInstruction.cs: Formatting.
79 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
80 fixes for WriteEndElement, WriteProcessingInstruction.
82 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
84 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
85 had Load() add PIs to the document, moved onXXX methods to alphabetical
88 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
90 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
92 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
95 * XmlTextWriter.cs: Implementations for WriteEndElement,
96 WriteProcessingInstruction, WriteStartElement, and WriteString.
98 * XmlWriter.cs: Implemented WriteStartElement() methods.
100 2002-03-15 Duncan Mak <duncan@ximian.com>
102 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
103 InnerText once I know what they do.
105 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
106 that we can properly chain constructors.
107 (CloneNode): implemented.
108 (WriteContentTo): Removed MonoTODO attribute as this method has no
109 effect in this class.
111 * XmlProcessingInstruction.cs (Value): Added the missing Set
113 (InnerText): Added in, but not implemented.
115 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
117 * XmlTextWriter.cs: implemented constructors and
118 WriteCData and WriteComment.
120 2002-03-14 Duncan Mak <duncan@ximian.com>
122 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
123 file, and updated the callbacks to reflect the change.
124 (XmlDocument): Added the NameTable constructor.
125 (NameTable): Also the NameTable property.
127 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
128 was in XmlDocument.cs. It has two arguments now (object,
129 EventArgs) , instead of one (object).
131 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
133 * XmlWriter.cs: Formatting.
135 * XmlTextWriter.cs: Initial checkin.
137 2002-03-14 Duncan Mak <duncan@ximian.com>
139 * Validation.cs: Removed, replaced by ValidationType.cs.
141 * ValidationType.cs: Added.
143 2002-03-13 Duncan Mak <duncan@ximian.com>
145 * XmlException.cs: Made it [Serializable], implemented good ol'
146 GetObjectData, and the serialization constructor.
148 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
149 (SetNamedItem): Reverted (added back in) the patch with the
150 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
152 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
153 (GetNamedItem (string, string)): implemented.
154 (RemoveNamedItem): implemented.
155 (SetNamedItem): implemented.
157 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
159 * XmlAttribute.cs: Moved a method from amongst properties down to
160 it's alphabetical position in the methods section.
162 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
163 last linked child. Set XmlNode base class to return false for IsReadOnly().
164 Implemented GetEnumerator() and RemoveChild().
166 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
167 This is to support the behavior that the Enumerator doesn't become invalid
168 when changes to the children occur. Flushed out rest of implementation for
169 MoveNext, Current, and Reset.
171 2002-03-12 Duncan Mak <duncan@ximian.com>
173 * XmlCharacterData.cs: Reformatted the properties for better readability.
175 * XmlLinkedNode.cs: Removed the awful boxy comments.
177 * XmlNamedNodeMap.cs (Count):
178 (Item): Implemented. Tests will be coming.
180 * XmlEntityReference.cs:
181 * XmlSignificantWhitespace.cs: Implemented these classes except for
182 the Clone, WriteContentTo and WriteTo methods. Will have to
183 investigate into these later.
185 2002-03-11 Duncan Mak <duncan@ximian.com>
187 * IHasXmlNode.cs: Added to CVS.
189 2002-03-08 Jason Diamond <jason@injektilo.org>
191 * XmlParserContext.cs: Added missing constructors and missing Encoding
194 * XmlTextReader.cs: Start using the XmlParserContext class.
196 2002-03-08 Jason Diamond <jason@injektilo.org>
198 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
200 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
202 * XmlNode.cs (Item): Implemented both indexers.
204 2002-03-08 Jason Diamond <jason@injektilo.org>
206 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
207 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
209 2002-03-08 Jason Diamond <jason@injektilo.org>
211 * XmlAttribute.cs: Attribute nodes are supposed to store their values
212 as child nodes so updated to reflect that.
214 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
215 duplicated in XmlDocument and XmlElement into XmlNode so that it
216 wouldn't have to be duplicated in XmlAttribute, too.
218 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
220 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
221 XmlNode.cs: Formatting.
223 * XmlNodeListChildren.cs: Implementation of XmlNodeList
224 for XmlNode.ChildNodes property.
226 * XmlNodeListAsArrayList.cs: Removed file. Using different
227 data structure (circular list) in XmlNode so this file
230 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
231 bug in setter property of LastLinkedChild so fixed it.
233 2002-03-06 Jason Diamond <jason@injektilo.org>
235 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
236 We already have a parser in XmlTextReader.
238 * XmlException.cs: Removed constructor accepting XmlInputSource.
240 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
242 * XmlNode.cs: Rewrote this class from scratch with
243 MonoToDo attribs and NotImplementedExceptions. Now defines an
244 internal LastLinkedNode property to aid the new implementation.
245 XmlNodes only have ref to owner doc and parent nodes now.
247 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
248 and ref to next sibling to support walking our circular child
251 * XmlDocument.cs: Added ref to last child node and overrides
252 XmlNode's internal LastLinkedChild property to support walking
253 our circular child node list.
255 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
257 * XmlProcessingInstructions.cs: Class was empty. Implemented
258 constructor, properties, and CloneNode() method. Put in
259 MonoToDo attrib for remaining methods.
261 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
262 Got rid of helper methods and fields since they were no
265 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
267 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
268 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
269 Createxxx() methods for those three node types.
271 2002-03-02 Jason Diamond <jason@injektilo.org>
273 * XmlDocument.cs: Implemented the remaining CreateElement and
274 CreateAttribute methods.
276 * XmlAttribute.cs: Re-implemented.
278 * XmlElement.cs: Set owner element on attributes. Reformatted.
280 2002-03-02 Jason Diamond <jason@injektilo.org>
282 * XmlTextReader.cs: Implemented MoveToNextAttribute().
284 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
285 attributes. Create attribute nodes while loading. Implemented
286 Load(string) and CreateTextNode().
288 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
290 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
293 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
295 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
297 * XmlAttribute.cs : Using fix.
298 * XmlDocument.cs (CreateAttribute(String)): Implement.
300 2002-03-02 Jason Diamond <jason@injektilo.org>
302 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
305 2002-02-28 Jason Diamond <jason@injektilo.org>
307 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
308 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
310 2002-02-28 Jason Diamond <jason@injektilo.org>
312 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
313 added missing members and MonoTODO attributes.
315 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
317 2002-02-27 Jason Diamond <jason@injektilo.org>
319 * XmlElement.cs: Reformatted, added missing members and MonoTODO
322 2002-02-26 Duncan Mak <duncan@ximian.com>
324 * XmlCDataSection.cs: Initial implementation.
326 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
327 it out. This should (hopefully) be correct.
329 2002-02-26 Jason Diamond <jason@injektilo.org>
331 * XmlTextReader.cs: Apparently Microsoft's implementation treats
332 namespace declarations as attributes so we do now, too.
334 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
335 checks the current scope.
337 2002-02-26 Duncan Mak <duncan@ximian.com>
339 * XmlDocumentType.cs: Added a few hacks here and there to
340 temporarily fix the "I broke the build issue".
342 2002-02-25 Jason Diamond <jason@injektilo.org>
344 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
345 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
346 simple test to pass. The existing code is really shitty so I'll
347 probably start writing tests and refactoring before much else
350 2002-02-25 Duncan Mak <duncan@ximian.com>
352 * NameTable.cs: Implemented.
354 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
356 2002-02-24 Duncan Mak <duncan@ximian.com>
358 * XmlNodeOrder.cs: Added to CVS.
360 * XmlQualifiedName.cs: Fixed a warning from Equals ().
362 * XmlTokenizedType.cs: Added to CVS.
364 * XmlUrlResolver.cs: Added to CVS with one TODO task.
366 2002-02-23 Duncan Mak <duncan@ximian.com>
368 * XmlQualifiedName.cs: Fixed ToString () and added the operators
371 2002-02-23 Jason Diamond <jason@injektilo.org>
373 * XmlTextReader.cs: Added support for qualified attributes.
375 2002-02-23 Jason Diamond <jason@injektilo.org>
377 * XmlNamespaceManager.cs: Initial implementation.
379 * XmlTextReader.cs: Added support for NamespaceURI property on
382 2002-02-23 Nick Drochak <ndrochak@gol.com>
384 * ChangeLog: Add the change log to this directory
386 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has