1 2002-05-08 Mike Kestner <mkestner@speakeasy.net>
3 * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
5 2002-04-28 Duncan Mak <duncan@ximian.com>
7 * XmlSignificantWhitespace.cs (Value):
8 * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
9 block. Added new private method, IsValidWhitespaceChar, for
12 2002-04-16 Duncan Mak <duncan@ximian.com>
14 * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
16 2002-04-12 Duncan Mak <duncan@ximian.com>
18 * XmlAttribute.cs (Prefix): Added preliminary code for set block,
19 added comment on work that needs to be done here. A new MonoTODO item.
21 * XmlDocument.cs (ctor): Corrected constructor signature, changed
22 parameter from 'NameTable' to 'XmlNameTable'.
24 * XmlDocumentFragment.cs (InnerXml): Added missing set block.
26 * XmlCaseOrder.cs: Moved to System.Xml.XPath.
28 2002-04-10 Duncan Mak <duncan@ximian.com>
30 * XmlNodeReader.cs: Initial stubs for the class.
32 2002-04-08 Kral Ferch <kral_ferch@hotmail.com>
34 * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
37 * XmlDeclaration.cs: WriteTo implementation.
39 * XmlDocument.cs: InnerXml getter implementation.
41 * XmlElement.cs: InnerXml getter implementation.
43 * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
45 * XmlSignificantWhitespace.cs: WriteTo implementation.
47 * XmlText.cs: WriteContentTo and WriteTo implementation.
49 * XmlTextWriter.cs: WriteRaw implementation.
51 * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
53 2002-04-05 Kral Ferch <kral_ferch@hotmail.com>
55 * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
56 if prefix in constructor is one of the default ones.
58 * XmlCharacterData.cs: Returns String.Empty for Value and Data
59 even when constructed with null.
61 * XmlDeclaration.cs: Value doesn't put encoding or standalone
64 * XmlDocument.cs: Implemented CreateNode methods and this caused
65 the changes in the other files in this checkin.
67 * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
68 even when constructed with null.
70 * XmlWhitespace.cs: Changed Value 'get' to return Data.
72 2002-04-01 Kral Ferch <kral_ferch@hotmail.com>
74 * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
76 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
78 * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
81 * XmlWrite.cs: Fixed bug where attribute namespace decl
82 was pushing a scope onto the namespace manager when it shouldn't
85 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
87 * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
88 in different states (no open start element, in WriteState.Content mode).
90 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
92 * XmlTextWriter.cs: XmlLang and XmlSpace properties
95 * XmlTextWriterOpenElement.cs: scope support for XmlLang
98 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
100 * XmlTextWriter.cs: Working on Attribute methods.
102 * XmlWriter.cs: Working on Attribute methods.
104 2002-03-28 Duncan Mak <duncan@ximian.com>
106 * XmlDocument.cs (CreateWhitespace):
107 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
110 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
112 2002-03-26 Duncan Mak <duncan@ximian.com>
114 * XmlDocument.cs (CreateDocumentType): Implemented.
116 * XmlNode.cs (Value): Implemented.
118 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
119 like XmlCharacterData.
121 * XmlDeclaration.cs (CloneNode):
122 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
125 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
126 docs say it is the "The concatenated values of the node and all
127 the children of the node.". I wrote some test programs and
128 couldn't get any of the derived nodes to AppendChild. For now,
129 InnerText == Data == Value.
130 (Substring): Fixed typo.
132 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
134 * XmlImplementation.cs (CreateDocument): Implemented.
136 2002-03-25 Duncan Mak <duncan@ximian.com>
138 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
139 missing properties (InnerText, Value).
141 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
143 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
145 * XmlTextWriter.cs: Impls for BaseStream and
146 Namespaces and WriteState.
148 * XmlWriter.cs: WriteState and WriteStartElementInternal.
150 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
152 * XmlNodeListChildren.cs: made class internal
153 instead of public. Shouldn't be visible outside
156 * XmlTextWriter.cs: Implementations for Formatting,
157 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
158 Suppresses encoding on xml declaration if null stream passed in.
159 Formats output including suppressing indentation for elements in
162 * XmlTextWriterOpenElement.cs: Initial checkin.
163 XmlTextWriter uses stack of these objects to track
166 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
168 * XmlElement.cs: impl HasAttribute(string name).
170 2002-03-22 Duncan Mak <duncan@ximian.com>
172 * XmlElement.cs: Reformatted.
173 (CloneNode) Corrected.
175 * XmlDocument.cs (CreateWhitespace):
176 (CreateSignificantWhitespace): Implemented.
178 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
179 true, because Attributes have ChildNodes.
181 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
183 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
184 xml declaration along with encoding. WriteEndElement throws
185 exception if no WriteStartElement exists.
187 2002-03-20 Duncan Mak <duncan@ximian.com>
189 * XmlEntityReference.cs (CloneNode): Implemented.
191 * XmlException.cs (Message): Implemented. We need to cache the
192 message string because SystemException doesn't expose 'message'
195 * XmlText.cs (Value): Added in the missing Value property.
197 2002-03-20 Duncan Mak <duncan@ximian.com>
199 * XmlAttribute.cs (CloneNode): Implemented.
201 * XmlDocumentFragment.cs (CloneNode): Implemented.
203 * XmlElement.cs (CloneNode): Implemented.
205 2002-03-19 Duncan Mak <duncan@ximian.com>
207 * XmlNotation.cs: Added to CVS.
209 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
211 * XmlCDataSection.cs (CloneNode): Implemented.
213 * XmlDocumentFragment.cs: Reformatted and added the missing properties
214 (InnerXml, OwnerDocument, ParentNode).
215 (CloneNode): Implemented.
217 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
218 (Value) Implemented the 'get' property.
220 * XmlWhitespace.cs (Module): implemented.
222 2002-03-19 Jason Diamond <jason@injektilo.org>
224 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
227 2002-03-18 Jason Diamond <jason@injektilo.org>
229 * XmlTextReader.cs: Don't restore properties after reading last
230 attribute on an element.
232 * XmlDocument.cs: Move back to element after reading attributes
233 so that IsEmptyElement test succeeds.
235 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
237 * XmlNamespaceManager.cs: Implemented LookupPrefix.
239 * XmlTextWriter.cs: Implemented namespace and prefix support.
241 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
243 * XmlTextReader.cs: Restores properties after
244 reading last attribute on an element.
246 * XmlNode.cs: AppendChild sets the parent
249 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
251 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
253 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
255 * XmlElement.cs: Fixed bug in WriteTo.
257 * XmlProcessingInstruction.cs: Formatting.
259 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
260 fixes for WriteEndElement, WriteProcessingInstruction.
262 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
264 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
265 had Load() add PIs to the document, moved onXXX methods to alphabetical
268 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
270 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
272 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
275 * XmlTextWriter.cs: Implementations for WriteEndElement,
276 WriteProcessingInstruction, WriteStartElement, and WriteString.
278 * XmlWriter.cs: Implemented WriteStartElement() methods.
280 2002-03-15 Duncan Mak <duncan@ximian.com>
282 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
283 InnerText once I know what they do.
285 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
286 that we can properly chain constructors.
287 (CloneNode): implemented.
288 (WriteContentTo): Removed MonoTODO attribute as this method has no
289 effect in this class.
291 * XmlProcessingInstruction.cs (Value): Added the missing Set
293 (InnerText): Added in, but not implemented.
295 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
297 * XmlTextWriter.cs: implemented constructors and
298 WriteCData and WriteComment.
300 2002-03-14 Duncan Mak <duncan@ximian.com>
302 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
303 file, and updated the callbacks to reflect the change.
304 (XmlDocument): Added the NameTable constructor.
305 (NameTable): Also the NameTable property.
307 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
308 was in XmlDocument.cs. It has two arguments now (object,
309 EventArgs) , instead of one (object).
311 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
313 * XmlWriter.cs: Formatting.
315 * XmlTextWriter.cs: Initial checkin.
317 2002-03-14 Duncan Mak <duncan@ximian.com>
319 * Validation.cs: Removed, replaced by ValidationType.cs.
321 * ValidationType.cs: Added.
323 2002-03-13 Duncan Mak <duncan@ximian.com>
325 * XmlException.cs: Made it [Serializable], implemented good ol'
326 GetObjectData, and the serialization constructor.
328 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
329 (SetNamedItem): Reverted (added back in) the patch with the
330 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
332 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
333 (GetNamedItem (string, string)): implemented.
334 (RemoveNamedItem): implemented.
335 (SetNamedItem): implemented.
337 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
339 * XmlAttribute.cs: Moved a method from amongst properties down to
340 it's alphabetical position in the methods section.
342 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
343 last linked child. Set XmlNode base class to return false for IsReadOnly().
344 Implemented GetEnumerator() and RemoveChild().
346 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
347 This is to support the behavior that the Enumerator doesn't become invalid
348 when changes to the children occur. Flushed out rest of implementation for
349 MoveNext, Current, and Reset.
351 2002-03-12 Duncan Mak <duncan@ximian.com>
353 * XmlCharacterData.cs: Reformatted the properties for better readability.
355 * XmlLinkedNode.cs: Removed the awful boxy comments.
357 * XmlNamedNodeMap.cs (Count):
358 (Item): Implemented. Tests will be coming.
360 * XmlEntityReference.cs:
361 * XmlSignificantWhitespace.cs: Implemented these classes except for
362 the Clone, WriteContentTo and WriteTo methods. Will have to
363 investigate into these later.
365 2002-03-11 Duncan Mak <duncan@ximian.com>
367 * IHasXmlNode.cs: Added to CVS.
369 2002-03-08 Jason Diamond <jason@injektilo.org>
371 * XmlParserContext.cs: Added missing constructors and missing Encoding
374 * XmlTextReader.cs: Start using the XmlParserContext class.
376 2002-03-08 Jason Diamond <jason@injektilo.org>
378 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
380 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
382 * XmlNode.cs (Item): Implemented both indexers.
384 2002-03-08 Jason Diamond <jason@injektilo.org>
386 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
387 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
389 2002-03-08 Jason Diamond <jason@injektilo.org>
391 * XmlAttribute.cs: Attribute nodes are supposed to store their values
392 as child nodes so updated to reflect that.
394 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
395 duplicated in XmlDocument and XmlElement into XmlNode so that it
396 wouldn't have to be duplicated in XmlAttribute, too.
398 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
400 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
401 XmlNode.cs: Formatting.
403 * XmlNodeListChildren.cs: Implementation of XmlNodeList
404 for XmlNode.ChildNodes property.
406 * XmlNodeListAsArrayList.cs: Removed file. Using different
407 data structure (circular list) in XmlNode so this file
410 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
411 bug in setter property of LastLinkedChild so fixed it.
413 2002-03-06 Jason Diamond <jason@injektilo.org>
415 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
416 We already have a parser in XmlTextReader.
418 * XmlException.cs: Removed constructor accepting XmlInputSource.
420 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
422 * XmlNode.cs: Rewrote this class from scratch with
423 MonoToDo attribs and NotImplementedExceptions. Now defines an
424 internal LastLinkedNode property to aid the new implementation.
425 XmlNodes only have ref to owner doc and parent nodes now.
427 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
428 and ref to next sibling to support walking our circular child
431 * XmlDocument.cs: Added ref to last child node and overrides
432 XmlNode's internal LastLinkedChild property to support walking
433 our circular child node list.
435 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
437 * XmlProcessingInstructions.cs: Class was empty. Implemented
438 constructor, properties, and CloneNode() method. Put in
439 MonoToDo attrib for remaining methods.
441 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
442 Got rid of helper methods and fields since they were no
445 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
447 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
448 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
449 Createxxx() methods for those three node types.
451 2002-03-02 Jason Diamond <jason@injektilo.org>
453 * XmlDocument.cs: Implemented the remaining CreateElement and
454 CreateAttribute methods.
456 * XmlAttribute.cs: Re-implemented.
458 * XmlElement.cs: Set owner element on attributes. Reformatted.
460 2002-03-02 Jason Diamond <jason@injektilo.org>
462 * XmlTextReader.cs: Implemented MoveToNextAttribute().
464 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
465 attributes. Create attribute nodes while loading. Implemented
466 Load(string) and CreateTextNode().
468 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
470 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
473 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
475 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
477 * XmlAttribute.cs : Using fix.
478 * XmlDocument.cs (CreateAttribute(String)): Implement.
480 2002-03-02 Jason Diamond <jason@injektilo.org>
482 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
485 2002-02-28 Jason Diamond <jason@injektilo.org>
487 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
488 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
490 2002-02-28 Jason Diamond <jason@injektilo.org>
492 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
493 added missing members and MonoTODO attributes.
495 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
497 2002-02-27 Jason Diamond <jason@injektilo.org>
499 * XmlElement.cs: Reformatted, added missing members and MonoTODO
502 2002-02-26 Duncan Mak <duncan@ximian.com>
504 * XmlCDataSection.cs: Initial implementation.
506 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
507 it out. This should (hopefully) be correct.
509 2002-02-26 Jason Diamond <jason@injektilo.org>
511 * XmlTextReader.cs: Apparently Microsoft's implementation treats
512 namespace declarations as attributes so we do now, too.
514 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
515 checks the current scope.
517 2002-02-26 Duncan Mak <duncan@ximian.com>
519 * XmlDocumentType.cs: Added a few hacks here and there to
520 temporarily fix the "I broke the build issue".
522 2002-02-25 Jason Diamond <jason@injektilo.org>
524 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
525 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
526 simple test to pass. The existing code is really shitty so I'll
527 probably start writing tests and refactoring before much else
530 2002-02-25 Duncan Mak <duncan@ximian.com>
532 * NameTable.cs: Implemented.
534 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
536 2002-02-24 Duncan Mak <duncan@ximian.com>
538 * XmlNodeOrder.cs: Added to CVS.
540 * XmlQualifiedName.cs: Fixed a warning from Equals ().
542 * XmlTokenizedType.cs: Added to CVS.
544 * XmlUrlResolver.cs: Added to CVS with one TODO task.
546 2002-02-23 Duncan Mak <duncan@ximian.com>
548 * XmlQualifiedName.cs: Fixed ToString () and added the operators
551 2002-02-23 Jason Diamond <jason@injektilo.org>
553 * XmlTextReader.cs: Added support for qualified attributes.
555 2002-02-23 Jason Diamond <jason@injektilo.org>
557 * XmlNamespaceManager.cs: Initial implementation.
559 * XmlTextReader.cs: Added support for NamespaceURI property on
562 2002-02-23 Nick Drochak <ndrochak@gol.com>
564 * ChangeLog: Add the change log to this directory
566 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has