1 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
3 * XmlTextWriter.cs: XmlLang and XmlSpace properties
6 * XmlTextWriterOpenElement.cs: scope support for XmlLang
9 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
11 * XmlTextWriter.cs: Working on Attribute methods.
13 * XmlWriter.cs: Working on Attribute methods.
15 2002-03-28 Duncan Mak <duncan@ximian.com>
17 * XmlDocument.cs (CreateWhitespace):
18 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
21 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
23 2002-03-26 Duncan Mak <duncan@ximian.com>
25 * XmlDocument.cs (CreateDocumentType): Implemented.
27 * XmlNode.cs (Value): Implemented.
29 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
30 like XmlCharacterData.
32 * XmlDeclaration.cs (CloneNode):
33 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
36 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
37 docs say it is the "The concatenated values of the node and all
38 the children of the node.". I wrote some test programs and
39 couldn't get any of the derived nodes to AppendChild. For now,
40 InnerText == Data == Value.
41 (Substring): Fixed typo.
43 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
45 * XmlImplementation.cs (CreateDocument): Implemented.
47 2002-03-25 Duncan Mak <duncan@ximian.com>
49 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
50 missing properties (InnerText, Value).
52 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
54 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
56 * XmlTextWriter.cs: Impls for BaseStream and
57 Namespaces and WriteState.
59 * XmlWriter.cs: WriteState and WriteStartElementInternal.
61 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
63 * XmlNodeListChildren.cs: made class internal
64 instead of public. Shouldn't be visible outside
67 * XmlTextWriter.cs: Implementations for Formatting,
68 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
69 Suppresses encoding on xml declaration if null stream passed in.
70 Formats output including suppressing indentation for elements in
73 * XmlTextWriterOpenElement.cs: Initial checkin.
74 XmlTextWriter uses stack of these objects to track
77 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
79 * XmlElement.cs: impl HasAttribute(string name).
81 2002-03-22 Duncan Mak <duncan@ximian.com>
83 * XmlElement.cs: Reformatted.
84 (CloneNode) Corrected.
86 * XmlDocument.cs (CreateWhitespace):
87 (CreateSignificantWhitespace): Implemented.
89 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
90 true, because Attributes have ChildNodes.
92 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
94 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
95 xml declaration along with encoding. WriteEndElement throws
96 exception if no WriteStartElement exists.
98 2002-03-20 Duncan Mak <duncan@ximian.com>
100 * XmlEntityReference.cs (CloneNode): Implemented.
102 * XmlException.cs (Message): Implemented. We need to cache the
103 message string because SystemException doesn't expose 'message'
106 * XmlText.cs (Value): Added in the missing Value property.
108 2002-03-20 Duncan Mak <duncan@ximian.com>
110 * XmlAttribute.cs (CloneNode): Implemented.
112 * XmlDocumentFragment.cs (CloneNode): Implemented.
114 * XmlElement.cs (CloneNode): Implemented.
116 2002-03-19 Duncan Mak <duncan@ximian.com>
118 * XmlNotation.cs: Added to CVS.
120 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
122 * XmlCDataSection.cs (CloneNode): Implemented.
124 * XmlDocumentFragment.cs: Reformatted and added the missing properties
125 (InnerXml, OwnerDocument, ParentNode).
126 (CloneNode): Implemented.
128 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
129 (Value) Implemented the 'get' property.
131 * XmlWhitespace.cs (Module): implemented.
133 2002-03-19 Jason Diamond <jason@injektilo.org>
135 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
138 2002-03-18 Jason Diamond <jason@injektilo.org>
140 * XmlTextReader.cs: Don't restore properties after reading last
141 attribute on an element.
143 * XmlDocument.cs: Move back to element after reading attributes
144 so that IsEmptyElement test succeeds.
146 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
148 * XmlNamespaceManager.cs: Implemented LookupPrefix.
150 * XmlTextWriter.cs: Implemented namespace and prefix support.
152 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
154 * XmlTextReader.cs: Restores properties after
155 reading last attribute on an element.
157 * XmlNode.cs: AppendChild sets the parent
160 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
162 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
164 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
166 * XmlElement.cs: Fixed bug in WriteTo.
168 * XmlProcessingInstruction.cs: Formatting.
170 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
171 fixes for WriteEndElement, WriteProcessingInstruction.
173 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
175 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
176 had Load() add PIs to the document, moved onXXX methods to alphabetical
179 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
181 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
183 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
186 * XmlTextWriter.cs: Implementations for WriteEndElement,
187 WriteProcessingInstruction, WriteStartElement, and WriteString.
189 * XmlWriter.cs: Implemented WriteStartElement() methods.
191 2002-03-15 Duncan Mak <duncan@ximian.com>
193 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
194 InnerText once I know what they do.
196 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
197 that we can properly chain constructors.
198 (CloneNode): implemented.
199 (WriteContentTo): Removed MonoTODO attribute as this method has no
200 effect in this class.
202 * XmlProcessingInstruction.cs (Value): Added the missing Set
204 (InnerText): Added in, but not implemented.
206 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
208 * XmlTextWriter.cs: implemented constructors and
209 WriteCData and WriteComment.
211 2002-03-14 Duncan Mak <duncan@ximian.com>
213 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
214 file, and updated the callbacks to reflect the change.
215 (XmlDocument): Added the NameTable constructor.
216 (NameTable): Also the NameTable property.
218 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
219 was in XmlDocument.cs. It has two arguments now (object,
220 EventArgs) , instead of one (object).
222 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
224 * XmlWriter.cs: Formatting.
226 * XmlTextWriter.cs: Initial checkin.
228 2002-03-14 Duncan Mak <duncan@ximian.com>
230 * Validation.cs: Removed, replaced by ValidationType.cs.
232 * ValidationType.cs: Added.
234 2002-03-13 Duncan Mak <duncan@ximian.com>
236 * XmlException.cs: Made it [Serializable], implemented good ol'
237 GetObjectData, and the serialization constructor.
239 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
240 (SetNamedItem): Reverted (added back in) the patch with the
241 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
243 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
244 (GetNamedItem (string, string)): implemented.
245 (RemoveNamedItem): implemented.
246 (SetNamedItem): implemented.
248 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
250 * XmlAttribute.cs: Moved a method from amongst properties down to
251 it's alphabetical position in the methods section.
253 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
254 last linked child. Set XmlNode base class to return false for IsReadOnly().
255 Implemented GetEnumerator() and RemoveChild().
257 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
258 This is to support the behavior that the Enumerator doesn't become invalid
259 when changes to the children occur. Flushed out rest of implementation for
260 MoveNext, Current, and Reset.
262 2002-03-12 Duncan Mak <duncan@ximian.com>
264 * XmlCharacterData.cs: Reformatted the properties for better readability.
266 * XmlLinkedNode.cs: Removed the awful boxy comments.
268 * XmlNamedNodeMap.cs (Count):
269 (Item): Implemented. Tests will be coming.
271 * XmlEntityReference.cs:
272 * XmlSignificantWhitespace.cs: Implemented these classes except for
273 the Clone, WriteContentTo and WriteTo methods. Will have to
274 investigate into these later.
276 2002-03-11 Duncan Mak <duncan@ximian.com>
278 * IHasXmlNode.cs: Added to CVS.
280 2002-03-08 Jason Diamond <jason@injektilo.org>
282 * XmlParserContext.cs: Added missing constructors and missing Encoding
285 * XmlTextReader.cs: Start using the XmlParserContext class.
287 2002-03-08 Jason Diamond <jason@injektilo.org>
289 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
291 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
293 * XmlNode.cs (Item): Implemented both indexers.
295 2002-03-08 Jason Diamond <jason@injektilo.org>
297 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
298 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
300 2002-03-08 Jason Diamond <jason@injektilo.org>
302 * XmlAttribute.cs: Attribute nodes are supposed to store their values
303 as child nodes so updated to reflect that.
305 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
306 duplicated in XmlDocument and XmlElement into XmlNode so that it
307 wouldn't have to be duplicated in XmlAttribute, too.
309 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
311 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
312 XmlNode.cs: Formatting.
314 * XmlNodeListChildren.cs: Implementation of XmlNodeList
315 for XmlNode.ChildNodes property.
317 * XmlNodeListAsArrayList.cs: Removed file. Using different
318 data structure (circular list) in XmlNode so this file
321 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
322 bug in setter property of LastLinkedChild so fixed it.
324 2002-03-06 Jason Diamond <jason@injektilo.org>
326 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
327 We already have a parser in XmlTextReader.
329 * XmlException.cs: Removed constructor accepting XmlInputSource.
331 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
333 * XmlNode.cs: Rewrote this class from scratch with
334 MonoToDo attribs and NotImplementedExceptions. Now defines an
335 internal LastLinkedNode property to aid the new implementation.
336 XmlNodes only have ref to owner doc and parent nodes now.
338 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
339 and ref to next sibling to support walking our circular child
342 * XmlDocument.cs: Added ref to last child node and overrides
343 XmlNode's internal LastLinkedChild property to support walking
344 our circular child node list.
346 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
348 * XmlProcessingInstructions.cs: Class was empty. Implemented
349 constructor, properties, and CloneNode() method. Put in
350 MonoToDo attrib for remaining methods.
352 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
353 Got rid of helper methods and fields since they were no
356 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
358 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
359 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
360 Createxxx() methods for those three node types.
362 2002-03-02 Jason Diamond <jason@injektilo.org>
364 * XmlDocument.cs: Implemented the remaining CreateElement and
365 CreateAttribute methods.
367 * XmlAttribute.cs: Re-implemented.
369 * XmlElement.cs: Set owner element on attributes. Reformatted.
371 2002-03-02 Jason Diamond <jason@injektilo.org>
373 * XmlTextReader.cs: Implemented MoveToNextAttribute().
375 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
376 attributes. Create attribute nodes while loading. Implemented
377 Load(string) and CreateTextNode().
379 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
381 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
384 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
386 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
388 * XmlAttribute.cs : Using fix.
389 * XmlDocument.cs (CreateAttribute(String)): Implement.
391 2002-03-02 Jason Diamond <jason@injektilo.org>
393 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
396 2002-02-28 Jason Diamond <jason@injektilo.org>
398 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
399 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
401 2002-02-28 Jason Diamond <jason@injektilo.org>
403 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
404 added missing members and MonoTODO attributes.
406 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
408 2002-02-27 Jason Diamond <jason@injektilo.org>
410 * XmlElement.cs: Reformatted, added missing members and MonoTODO
413 2002-02-26 Duncan Mak <duncan@ximian.com>
415 * XmlCDataSection.cs: Initial implementation.
417 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
418 it out. This should (hopefully) be correct.
420 2002-02-26 Jason Diamond <jason@injektilo.org>
422 * XmlTextReader.cs: Apparently Microsoft's implementation treats
423 namespace declarations as attributes so we do now, too.
425 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
426 checks the current scope.
428 2002-02-26 Duncan Mak <duncan@ximian.com>
430 * XmlDocumentType.cs: Added a few hacks here and there to
431 temporarily fix the "I broke the build issue".
433 2002-02-25 Jason Diamond <jason@injektilo.org>
435 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
436 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
437 simple test to pass. The existing code is really shitty so I'll
438 probably start writing tests and refactoring before much else
441 2002-02-25 Duncan Mak <duncan@ximian.com>
443 * NameTable.cs: Implemented.
445 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
447 2002-02-24 Duncan Mak <duncan@ximian.com>
449 * XmlNodeOrder.cs: Added to CVS.
451 * XmlQualifiedName.cs: Fixed a warning from Equals ().
453 * XmlTokenizedType.cs: Added to CVS.
455 * XmlUrlResolver.cs: Added to CVS with one TODO task.
457 2002-02-23 Duncan Mak <duncan@ximian.com>
459 * XmlQualifiedName.cs: Fixed ToString () and added the operators
462 2002-02-23 Jason Diamond <jason@injektilo.org>
464 * XmlTextReader.cs: Added support for qualified attributes.
466 2002-02-23 Jason Diamond <jason@injektilo.org>
468 * XmlNamespaceManager.cs: Initial implementation.
470 * XmlTextReader.cs: Added support for NamespaceURI property on
473 2002-02-23 Nick Drochak <ndrochak@gol.com>
475 * ChangeLog: Add the change log to this directory
477 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has