1 2002-06-21 Ajay kumar Dwivedi <adwiv@yahoo.com>
3 * XmlQualifiedName: Name and Namespaces are never null. If null is passed
4 to the constructor, set them to empty strings.
7 2002-06-18 Ajay kumar Dwivedi <adwiv@yahoo.com>
9 * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
12 2002-06-14 Duncan Mak <duncan@ximian.com>
14 * XmlConvert.cs: Added CLSCompliant attributes to methods.
16 2002-06-12 Duncan Mak <duncan@ximian.com>
18 * XmlCharacterData.cs (Value): Throw an ArgumentException in the
19 set block if the node is read-only.
21 2002-06-10 Ajay kumar Dwivedi <adwiv@yahoo.com>
22 * XmlConstruct.cs : New Internal class with Helper methods for
23 Checking XmlConstructs
24 * XmlConvert.cs: Implemented most of the methods
26 2002-06-08 Duncan Mak <duncan@ximian.com>
28 * XmlDocument.cs (Load):
29 Added bits to Load (string) for BaseURI support.
31 * XmlAttribute.cs (BaseURI):
32 * XmlDocument.cs (BaseURI):
33 * XmlEntity.cs (BaseURI): Implemented.
35 2002-05-27 Jason Diamond <jason@injektilo.org>
37 * XmlDocumentNavigator.cs: Added file to directory.
39 * XmlNode.cs (CreateNavigator): Implemented.
40 (InnerText): Implemented.
42 * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
44 (Load(XmlReader)): Allow for namespace qualified attributes.
46 * XmlElement.cs: Implemented GetAttribute(string, string) and both
47 GetAttributeNode overloads.
48 (SetAttributeNode(XmlAttribute)): Implemented.
50 * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
51 and RemoveNamedItem(string, string).
53 * XmlLinkedNode.cs (PreviousSibling): Implemented.
55 * XmlTextReader.cs: Added code to maintain the order of attributes as
56 they're parsed. XML doesn't require this but Microsoft's parser does it and
57 matching them makes testing easier so now we have it, too.
59 2002-05-26 Miguel de Icaza <miguel@ximian.com>
61 * XmlDocument.cs: Implement the Save methods.
63 2002-05-08 Mike Kestner <mkestner@speakeasy.net>
65 * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
67 2002-04-28 Duncan Mak <duncan@ximian.com>
69 * XmlSignificantWhitespace.cs (Value):
70 * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
71 block. Added new private method, IsValidWhitespaceChar, for
74 2002-04-16 Duncan Mak <duncan@ximian.com>
76 * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
78 2002-04-12 Duncan Mak <duncan@ximian.com>
80 * XmlAttribute.cs (Prefix): Added preliminary code for set block,
81 added comment on work that needs to be done here. A new MonoTODO item.
83 * XmlDocument.cs (ctor): Corrected constructor signature, changed
84 parameter from 'NameTable' to 'XmlNameTable'.
86 * XmlDocumentFragment.cs (InnerXml): Added missing set block.
88 * XmlCaseOrder.cs: Moved to System.Xml.XPath.
90 2002-04-10 Duncan Mak <duncan@ximian.com>
92 * XmlNodeReader.cs: Initial stubs for the class.
94 2002-04-08 Kral Ferch <kral_ferch@hotmail.com>
96 * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
99 * XmlDeclaration.cs: WriteTo implementation.
101 * XmlDocument.cs: InnerXml getter implementation.
103 * XmlElement.cs: InnerXml getter implementation.
105 * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
107 * XmlSignificantWhitespace.cs: WriteTo implementation.
109 * XmlText.cs: WriteContentTo and WriteTo implementation.
111 * XmlTextWriter.cs: WriteRaw implementation.
113 * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
115 2002-04-05 Kral Ferch <kral_ferch@hotmail.com>
117 * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
118 if prefix in constructor is one of the default ones.
120 * XmlCharacterData.cs: Returns String.Empty for Value and Data
121 even when constructed with null.
123 * XmlDeclaration.cs: Value doesn't put encoding or standalone
124 in if they are empty.
126 * XmlDocument.cs: Implemented CreateNode methods and this caused
127 the changes in the other files in this checkin.
129 * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
130 even when constructed with null.
132 * XmlWhitespace.cs: Changed Value 'get' to return Data.
134 2002-04-01 Kral Ferch <kral_ferch@hotmail.com>
136 * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
138 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
140 * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
143 * XmlWrite.cs: Fixed bug where attribute namespace decl
144 was pushing a scope onto the namespace manager when it shouldn't
147 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
149 * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
150 in different states (no open start element, in WriteState.Content mode).
152 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
154 * XmlTextWriter.cs: XmlLang and XmlSpace properties
157 * XmlTextWriterOpenElement.cs: scope support for XmlLang
160 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
162 * XmlTextWriter.cs: Working on Attribute methods.
164 * XmlWriter.cs: Working on Attribute methods.
166 2002-03-28 Duncan Mak <duncan@ximian.com>
168 * XmlDocument.cs (CreateWhitespace):
169 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
172 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
174 2002-03-26 Duncan Mak <duncan@ximian.com>
176 * XmlDocument.cs (CreateDocumentType): Implemented.
178 * XmlNode.cs (Value): Implemented.
180 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
181 like XmlCharacterData.
183 * XmlDeclaration.cs (CloneNode):
184 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
187 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
188 docs say it is the "The concatenated values of the node and all
189 the children of the node.". I wrote some test programs and
190 couldn't get any of the derived nodes to AppendChild. For now,
191 InnerText == Data == Value.
192 (Substring): Fixed typo.
194 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
196 * XmlImplementation.cs (CreateDocument): Implemented.
198 2002-03-25 Duncan Mak <duncan@ximian.com>
200 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
201 missing properties (InnerText, Value).
203 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
205 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
207 * XmlTextWriter.cs: Impls for BaseStream and
208 Namespaces and WriteState.
210 * XmlWriter.cs: WriteState and WriteStartElementInternal.
212 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
214 * XmlNodeListChildren.cs: made class internal
215 instead of public. Shouldn't be visible outside
218 * XmlTextWriter.cs: Implementations for Formatting,
219 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
220 Suppresses encoding on xml declaration if null stream passed in.
221 Formats output including suppressing indentation for elements in
224 * XmlTextWriterOpenElement.cs: Initial checkin.
225 XmlTextWriter uses stack of these objects to track
228 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
230 * XmlElement.cs: impl HasAttribute(string name).
232 2002-03-22 Duncan Mak <duncan@ximian.com>
234 * XmlElement.cs: Reformatted.
235 (CloneNode) Corrected.
237 * XmlDocument.cs (CreateWhitespace):
238 (CreateSignificantWhitespace): Implemented.
240 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
241 true, because Attributes have ChildNodes.
243 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
245 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
246 xml declaration along with encoding. WriteEndElement throws
247 exception if no WriteStartElement exists.
249 2002-03-20 Duncan Mak <duncan@ximian.com>
251 * XmlEntityReference.cs (CloneNode): Implemented.
253 * XmlException.cs (Message): Implemented. We need to cache the
254 message string because SystemException doesn't expose 'message'
257 * XmlText.cs (Value): Added in the missing Value property.
259 2002-03-20 Duncan Mak <duncan@ximian.com>
261 * XmlAttribute.cs (CloneNode): Implemented.
263 * XmlDocumentFragment.cs (CloneNode): Implemented.
265 * XmlElement.cs (CloneNode): Implemented.
267 2002-03-19 Duncan Mak <duncan@ximian.com>
269 * XmlNotation.cs: Added to CVS.
271 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
273 * XmlCDataSection.cs (CloneNode): Implemented.
275 * XmlDocumentFragment.cs: Reformatted and added the missing properties
276 (InnerXml, OwnerDocument, ParentNode).
277 (CloneNode): Implemented.
279 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
280 (Value) Implemented the 'get' property.
282 * XmlWhitespace.cs (Module): implemented.
284 2002-03-19 Jason Diamond <jason@injektilo.org>
286 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
289 2002-03-18 Jason Diamond <jason@injektilo.org>
291 * XmlTextReader.cs: Don't restore properties after reading last
292 attribute on an element.
294 * XmlDocument.cs: Move back to element after reading attributes
295 so that IsEmptyElement test succeeds.
297 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
299 * XmlNamespaceManager.cs: Implemented LookupPrefix.
301 * XmlTextWriter.cs: Implemented namespace and prefix support.
303 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
305 * XmlTextReader.cs: Restores properties after
306 reading last attribute on an element.
308 * XmlNode.cs: AppendChild sets the parent
311 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
313 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
315 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
317 * XmlElement.cs: Fixed bug in WriteTo.
319 * XmlProcessingInstruction.cs: Formatting.
321 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
322 fixes for WriteEndElement, WriteProcessingInstruction.
324 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
326 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
327 had Load() add PIs to the document, moved onXXX methods to alphabetical
330 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
332 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
334 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
337 * XmlTextWriter.cs: Implementations for WriteEndElement,
338 WriteProcessingInstruction, WriteStartElement, and WriteString.
340 * XmlWriter.cs: Implemented WriteStartElement() methods.
342 2002-03-15 Duncan Mak <duncan@ximian.com>
344 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
345 InnerText once I know what they do.
347 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
348 that we can properly chain constructors.
349 (CloneNode): implemented.
350 (WriteContentTo): Removed MonoTODO attribute as this method has no
351 effect in this class.
353 * XmlProcessingInstruction.cs (Value): Added the missing Set
355 (InnerText): Added in, but not implemented.
357 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
359 * XmlTextWriter.cs: implemented constructors and
360 WriteCData and WriteComment.
362 2002-03-14 Duncan Mak <duncan@ximian.com>
364 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
365 file, and updated the callbacks to reflect the change.
366 (XmlDocument): Added the NameTable constructor.
367 (NameTable): Also the NameTable property.
369 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
370 was in XmlDocument.cs. It has two arguments now (object,
371 EventArgs) , instead of one (object).
373 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
375 * XmlWriter.cs: Formatting.
377 * XmlTextWriter.cs: Initial checkin.
379 2002-03-14 Duncan Mak <duncan@ximian.com>
381 * Validation.cs: Removed, replaced by ValidationType.cs.
383 * ValidationType.cs: Added.
385 2002-03-13 Duncan Mak <duncan@ximian.com>
387 * XmlException.cs: Made it [Serializable], implemented good ol'
388 GetObjectData, and the serialization constructor.
390 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
391 (SetNamedItem): Reverted (added back in) the patch with the
392 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
394 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
395 (GetNamedItem (string, string)): implemented.
396 (RemoveNamedItem): implemented.
397 (SetNamedItem): implemented.
399 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
401 * XmlAttribute.cs: Moved a method from amongst properties down to
402 it's alphabetical position in the methods section.
404 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
405 last linked child. Set XmlNode base class to return false for IsReadOnly().
406 Implemented GetEnumerator() and RemoveChild().
408 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
409 This is to support the behavior that the Enumerator doesn't become invalid
410 when changes to the children occur. Flushed out rest of implementation for
411 MoveNext, Current, and Reset.
413 2002-03-12 Duncan Mak <duncan@ximian.com>
415 * XmlCharacterData.cs: Reformatted the properties for better readability.
417 * XmlLinkedNode.cs: Removed the awful boxy comments.
419 * XmlNamedNodeMap.cs (Count):
420 (Item): Implemented. Tests will be coming.
422 * XmlEntityReference.cs:
423 * XmlSignificantWhitespace.cs: Implemented these classes except for
424 the Clone, WriteContentTo and WriteTo methods. Will have to
425 investigate into these later.
427 2002-03-11 Duncan Mak <duncan@ximian.com>
429 * IHasXmlNode.cs: Added to CVS.
431 2002-03-08 Jason Diamond <jason@injektilo.org>
433 * XmlParserContext.cs: Added missing constructors and missing Encoding
436 * XmlTextReader.cs: Start using the XmlParserContext class.
438 2002-03-08 Jason Diamond <jason@injektilo.org>
440 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
442 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
444 * XmlNode.cs (Item): Implemented both indexers.
446 2002-03-08 Jason Diamond <jason@injektilo.org>
448 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
449 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
451 2002-03-08 Jason Diamond <jason@injektilo.org>
453 * XmlAttribute.cs: Attribute nodes are supposed to store their values
454 as child nodes so updated to reflect that.
456 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
457 duplicated in XmlDocument and XmlElement into XmlNode so that it
458 wouldn't have to be duplicated in XmlAttribute, too.
460 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
462 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
463 XmlNode.cs: Formatting.
465 * XmlNodeListChildren.cs: Implementation of XmlNodeList
466 for XmlNode.ChildNodes property.
468 * XmlNodeListAsArrayList.cs: Removed file. Using different
469 data structure (circular list) in XmlNode so this file
472 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
473 bug in setter property of LastLinkedChild so fixed it.
475 2002-03-06 Jason Diamond <jason@injektilo.org>
477 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
478 We already have a parser in XmlTextReader.
480 * XmlException.cs: Removed constructor accepting XmlInputSource.
482 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
484 * XmlNode.cs: Rewrote this class from scratch with
485 MonoToDo attribs and NotImplementedExceptions. Now defines an
486 internal LastLinkedNode property to aid the new implementation.
487 XmlNodes only have ref to owner doc and parent nodes now.
489 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
490 and ref to next sibling to support walking our circular child
493 * XmlDocument.cs: Added ref to last child node and overrides
494 XmlNode's internal LastLinkedChild property to support walking
495 our circular child node list.
497 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
499 * XmlProcessingInstructions.cs: Class was empty. Implemented
500 constructor, properties, and CloneNode() method. Put in
501 MonoToDo attrib for remaining methods.
503 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
504 Got rid of helper methods and fields since they were no
507 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
509 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
510 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
511 Createxxx() methods for those three node types.
513 2002-03-02 Jason Diamond <jason@injektilo.org>
515 * XmlDocument.cs: Implemented the remaining CreateElement and
516 CreateAttribute methods.
518 * XmlAttribute.cs: Re-implemented.
520 * XmlElement.cs: Set owner element on attributes. Reformatted.
522 2002-03-02 Jason Diamond <jason@injektilo.org>
524 * XmlTextReader.cs: Implemented MoveToNextAttribute().
526 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
527 attributes. Create attribute nodes while loading. Implemented
528 Load(string) and CreateTextNode().
530 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
532 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
535 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
537 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
539 * XmlAttribute.cs : Using fix.
540 * XmlDocument.cs (CreateAttribute(String)): Implement.
542 2002-03-02 Jason Diamond <jason@injektilo.org>
544 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
547 2002-02-28 Jason Diamond <jason@injektilo.org>
549 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
550 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
552 2002-02-28 Jason Diamond <jason@injektilo.org>
554 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
555 added missing members and MonoTODO attributes.
557 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
559 2002-02-27 Jason Diamond <jason@injektilo.org>
561 * XmlElement.cs: Reformatted, added missing members and MonoTODO
564 2002-02-26 Duncan Mak <duncan@ximian.com>
566 * XmlCDataSection.cs: Initial implementation.
568 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
569 it out. This should (hopefully) be correct.
571 2002-02-26 Jason Diamond <jason@injektilo.org>
573 * XmlTextReader.cs: Apparently Microsoft's implementation treats
574 namespace declarations as attributes so we do now, too.
576 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
577 checks the current scope.
579 2002-02-26 Duncan Mak <duncan@ximian.com>
581 * XmlDocumentType.cs: Added a few hacks here and there to
582 temporarily fix the "I broke the build issue".
584 2002-02-25 Jason Diamond <jason@injektilo.org>
586 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
587 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
588 simple test to pass. The existing code is really shitty so I'll
589 probably start writing tests and refactoring before much else
592 2002-02-25 Duncan Mak <duncan@ximian.com>
594 * NameTable.cs: Implemented.
596 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
598 2002-02-24 Duncan Mak <duncan@ximian.com>
600 * XmlNodeOrder.cs: Added to CVS.
602 * XmlQualifiedName.cs: Fixed a warning from Equals ().
604 * XmlTokenizedType.cs: Added to CVS.
606 * XmlUrlResolver.cs: Added to CVS with one TODO task.
608 2002-02-23 Duncan Mak <duncan@ximian.com>
610 * XmlQualifiedName.cs: Fixed ToString () and added the operators
613 2002-02-23 Jason Diamond <jason@injektilo.org>
615 * XmlTextReader.cs: Added support for qualified attributes.
617 2002-02-23 Jason Diamond <jason@injektilo.org>
619 * XmlNamespaceManager.cs: Initial implementation.
621 * XmlTextReader.cs: Added support for NamespaceURI property on
624 2002-02-23 Nick Drochak <ndrochak@gol.com>
626 * ChangeLog: Add the change log to this directory
628 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has