1 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
3 * XmlTextWriter.cs: Working on Attribute methods.
5 * XmlWriter.cs: Working on Attribute methods.
7 2002-03-28 Duncan Mak <duncan@ximian.com>
9 * XmlDocument.cs (CreateWhitespace):
10 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
13 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
15 2002-03-26 Duncan Mak <duncan@ximian.com>
17 * XmlDocument.cs (CreateDocumentType): Implemented.
19 * XmlNode.cs (Value): Implemented.
21 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
22 like XmlCharacterData.
24 * XmlDeclaration.cs (CloneNode):
25 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
28 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
29 docs say it is the "The concatenated values of the node and all
30 the children of the node.". I wrote some test programs and
31 couldn't get any of the derived nodes to AppendChild. For now,
32 InnerText == Data == Value.
33 (Substring): Fixed typo.
35 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
37 * XmlImplementation.cs (CreateDocument): Implemented.
39 2002-03-25 Duncan Mak <duncan@ximian.com>
41 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
42 missing properties (InnerText, Value).
44 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
46 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
48 * XmlTextWriter.cs: Impls for BaseStream and
49 Namespaces and WriteState.
51 * XmlWriter.cs: WriteState and WriteStartElementInternal.
53 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
55 * XmlNodeListChildren.cs: made class internal
56 instead of public. Shouldn't be visible outside
59 * XmlTextWriter.cs: Implementations for Formatting,
60 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
61 Suppresses encoding on xml declaration if null stream passed in.
62 Formats output including suppressing indentation for elements in
65 * XmlTextWriterOpenElement.cs: Initial checkin.
66 XmlTextWriter uses stack of these objects to track
69 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
71 * XmlElement.cs: impl HasAttribute(string name).
73 2002-03-22 Duncan Mak <duncan@ximian.com>
75 * XmlElement.cs: Reformatted.
76 (CloneNode) Corrected.
78 * XmlDocument.cs (CreateWhitespace):
79 (CreateSignificantWhitespace): Implemented.
81 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
82 true, because Attributes have ChildNodes.
84 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
86 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
87 xml declaration along with encoding. WriteEndElement throws
88 exception if no WriteStartElement exists.
90 2002-03-20 Duncan Mak <duncan@ximian.com>
92 * XmlEntityReference.cs (CloneNode): Implemented.
94 * XmlException.cs (Message): Implemented. We need to cache the
95 message string because SystemException doesn't expose 'message'
98 * XmlText.cs (Value): Added in the missing Value property.
100 2002-03-20 Duncan Mak <duncan@ximian.com>
102 * XmlAttribute.cs (CloneNode): Implemented.
104 * XmlDocumentFragment.cs (CloneNode): Implemented.
106 * XmlElement.cs (CloneNode): Implemented.
108 2002-03-19 Duncan Mak <duncan@ximian.com>
110 * XmlNotation.cs: Added to CVS.
112 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
114 * XmlCDataSection.cs (CloneNode): Implemented.
116 * XmlDocumentFragment.cs: Reformatted and added the missing properties
117 (InnerXml, OwnerDocument, ParentNode).
118 (CloneNode): Implemented.
120 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
121 (Value) Implemented the 'get' property.
123 * XmlWhitespace.cs (Module): implemented.
125 2002-03-19 Jason Diamond <jason@injektilo.org>
127 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
130 2002-03-18 Jason Diamond <jason@injektilo.org>
132 * XmlTextReader.cs: Don't restore properties after reading last
133 attribute on an element.
135 * XmlDocument.cs: Move back to element after reading attributes
136 so that IsEmptyElement test succeeds.
138 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
140 * XmlNamespaceManager.cs: Implemented LookupPrefix.
142 * XmlTextWriter.cs: Implemented namespace and prefix support.
144 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
146 * XmlTextReader.cs: Restores properties after
147 reading last attribute on an element.
149 * XmlNode.cs: AppendChild sets the parent
152 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
154 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
156 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
158 * XmlElement.cs: Fixed bug in WriteTo.
160 * XmlProcessingInstruction.cs: Formatting.
162 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
163 fixes for WriteEndElement, WriteProcessingInstruction.
165 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
167 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
168 had Load() add PIs to the document, moved onXXX methods to alphabetical
171 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
173 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
175 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
178 * XmlTextWriter.cs: Implementations for WriteEndElement,
179 WriteProcessingInstruction, WriteStartElement, and WriteString.
181 * XmlWriter.cs: Implemented WriteStartElement() methods.
183 2002-03-15 Duncan Mak <duncan@ximian.com>
185 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
186 InnerText once I know what they do.
188 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
189 that we can properly chain constructors.
190 (CloneNode): implemented.
191 (WriteContentTo): Removed MonoTODO attribute as this method has no
192 effect in this class.
194 * XmlProcessingInstruction.cs (Value): Added the missing Set
196 (InnerText): Added in, but not implemented.
198 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
200 * XmlTextWriter.cs: implemented constructors and
201 WriteCData and WriteComment.
203 2002-03-14 Duncan Mak <duncan@ximian.com>
205 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
206 file, and updated the callbacks to reflect the change.
207 (XmlDocument): Added the NameTable constructor.
208 (NameTable): Also the NameTable property.
210 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
211 was in XmlDocument.cs. It has two arguments now (object,
212 EventArgs) , instead of one (object).
214 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
216 * XmlWriter.cs: Formatting.
218 * XmlTextWriter.cs: Initial checkin.
220 2002-03-14 Duncan Mak <duncan@ximian.com>
222 * Validation.cs: Removed, replaced by ValidationType.cs.
224 * ValidationType.cs: Added.
226 2002-03-13 Duncan Mak <duncan@ximian.com>
228 * XmlException.cs: Made it [Serializable], implemented good ol'
229 GetObjectData, and the serialization constructor.
231 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
232 (SetNamedItem): Reverted (added back in) the patch with the
233 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
235 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
236 (GetNamedItem (string, string)): implemented.
237 (RemoveNamedItem): implemented.
238 (SetNamedItem): implemented.
240 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
242 * XmlAttribute.cs: Moved a method from amongst properties down to
243 it's alphabetical position in the methods section.
245 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
246 last linked child. Set XmlNode base class to return false for IsReadOnly().
247 Implemented GetEnumerator() and RemoveChild().
249 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
250 This is to support the behavior that the Enumerator doesn't become invalid
251 when changes to the children occur. Flushed out rest of implementation for
252 MoveNext, Current, and Reset.
254 2002-03-12 Duncan Mak <duncan@ximian.com>
256 * XmlCharacterData.cs: Reformatted the properties for better readability.
258 * XmlLinkedNode.cs: Removed the awful boxy comments.
260 * XmlNamedNodeMap.cs (Count):
261 (Item): Implemented. Tests will be coming.
263 * XmlEntityReference.cs:
264 * XmlSignificantWhitespace.cs: Implemented these classes except for
265 the Clone, WriteContentTo and WriteTo methods. Will have to
266 investigate into these later.
268 2002-03-11 Duncan Mak <duncan@ximian.com>
270 * IHasXmlNode.cs: Added to CVS.
272 2002-03-08 Jason Diamond <jason@injektilo.org>
274 * XmlParserContext.cs: Added missing constructors and missing Encoding
277 * XmlTextReader.cs: Start using the XmlParserContext class.
279 2002-03-08 Jason Diamond <jason@injektilo.org>
281 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
283 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
285 * XmlNode.cs (Item): Implemented both indexers.
287 2002-03-08 Jason Diamond <jason@injektilo.org>
289 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
290 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
292 2002-03-08 Jason Diamond <jason@injektilo.org>
294 * XmlAttribute.cs: Attribute nodes are supposed to store their values
295 as child nodes so updated to reflect that.
297 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
298 duplicated in XmlDocument and XmlElement into XmlNode so that it
299 wouldn't have to be duplicated in XmlAttribute, too.
301 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
303 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
304 XmlNode.cs: Formatting.
306 * XmlNodeListChildren.cs: Implementation of XmlNodeList
307 for XmlNode.ChildNodes property.
309 * XmlNodeListAsArrayList.cs: Removed file. Using different
310 data structure (circular list) in XmlNode so this file
313 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
314 bug in setter property of LastLinkedChild so fixed it.
316 2002-03-06 Jason Diamond <jason@injektilo.org>
318 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
319 We already have a parser in XmlTextReader.
321 * XmlException.cs: Removed constructor accepting XmlInputSource.
323 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
325 * XmlNode.cs: Rewrote this class from scratch with
326 MonoToDo attribs and NotImplementedExceptions. Now defines an
327 internal LastLinkedNode property to aid the new implementation.
328 XmlNodes only have ref to owner doc and parent nodes now.
330 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
331 and ref to next sibling to support walking our circular child
334 * XmlDocument.cs: Added ref to last child node and overrides
335 XmlNode's internal LastLinkedChild property to support walking
336 our circular child node list.
338 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
340 * XmlProcessingInstructions.cs: Class was empty. Implemented
341 constructor, properties, and CloneNode() method. Put in
342 MonoToDo attrib for remaining methods.
344 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
345 Got rid of helper methods and fields since they were no
348 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
350 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
351 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
352 Createxxx() methods for those three node types.
354 2002-03-02 Jason Diamond <jason@injektilo.org>
356 * XmlDocument.cs: Implemented the remaining CreateElement and
357 CreateAttribute methods.
359 * XmlAttribute.cs: Re-implemented.
361 * XmlElement.cs: Set owner element on attributes. Reformatted.
363 2002-03-02 Jason Diamond <jason@injektilo.org>
365 * XmlTextReader.cs: Implemented MoveToNextAttribute().
367 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
368 attributes. Create attribute nodes while loading. Implemented
369 Load(string) and CreateTextNode().
371 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
373 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
376 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
378 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
380 * XmlAttribute.cs : Using fix.
381 * XmlDocument.cs (CreateAttribute(String)): Implement.
383 2002-03-02 Jason Diamond <jason@injektilo.org>
385 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
388 2002-02-28 Jason Diamond <jason@injektilo.org>
390 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
391 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
393 2002-02-28 Jason Diamond <jason@injektilo.org>
395 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
396 added missing members and MonoTODO attributes.
398 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
400 2002-02-27 Jason Diamond <jason@injektilo.org>
402 * XmlElement.cs: Reformatted, added missing members and MonoTODO
405 2002-02-26 Duncan Mak <duncan@ximian.com>
407 * XmlCDataSection.cs: Initial implementation.
409 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
410 it out. This should (hopefully) be correct.
412 2002-02-26 Jason Diamond <jason@injektilo.org>
414 * XmlTextReader.cs: Apparently Microsoft's implementation treats
415 namespace declarations as attributes so we do now, too.
417 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
418 checks the current scope.
420 2002-02-26 Duncan Mak <duncan@ximian.com>
422 * XmlDocumentType.cs: Added a few hacks here and there to
423 temporarily fix the "I broke the build issue".
425 2002-02-25 Jason Diamond <jason@injektilo.org>
427 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
428 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
429 simple test to pass. The existing code is really shitty so I'll
430 probably start writing tests and refactoring before much else
433 2002-02-25 Duncan Mak <duncan@ximian.com>
435 * NameTable.cs: Implemented.
437 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
439 2002-02-24 Duncan Mak <duncan@ximian.com>
441 * XmlNodeOrder.cs: Added to CVS.
443 * XmlQualifiedName.cs: Fixed a warning from Equals ().
445 * XmlTokenizedType.cs: Added to CVS.
447 * XmlUrlResolver.cs: Added to CVS with one TODO task.
449 2002-02-23 Duncan Mak <duncan@ximian.com>
451 * XmlQualifiedName.cs: Fixed ToString () and added the operators
454 2002-02-23 Jason Diamond <jason@injektilo.org>
456 * XmlTextReader.cs: Added support for qualified attributes.
458 2002-02-23 Jason Diamond <jason@injektilo.org>
460 * XmlNamespaceManager.cs: Initial implementation.
462 * XmlTextReader.cs: Added support for NamespaceURI property on
465 2002-02-23 Nick Drochak <ndrochak@gol.com>
467 * ChangeLog: Add the change log to this directory
469 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has