206100b0f9e057bfaf32ffdafeb85bfd9e557fcb
[mono.git] / mcs / class / System.XML / System.Xml / ChangeLog
1 2002-03-19  Duncan Mak  <duncan@ximian.com>
2
3         * XmlNotation.cs: Added to CVS.
4
5         * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
6
7         * XmlCDataSection.cs (CloneNode): Implemented.
8
9         * XmlDocumentFragment.cs: Reformatted and added the missing properties
10         (InnerXml, OwnerDocument, ParentNode).
11         (CloneNode): Implemented.
12
13         * XmlSignificantWhitespace.cs (CloneNode): Implemented.
14         (Value) Implemented the 'get' property.
15
16         * XmlWhitespace.cs (Module): implemented.
17
18 2002-03-19  Jason Diamond <jason@injektilo.org>
19
20         * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
21         in the prefix.
22
23 2002-03-18  Jason Diamond <jason@injektilo.org>
24
25         * XmlTextReader.cs: Don't restore properties after reading last
26         attribute on an element.
27
28         * XmlDocument.cs: Move back to element after reading attributes
29         so that IsEmptyElement test succeeds.
30
31 2002-03-18  Kral Ferch <kral_ferch@hotmail.com>
32
33         * XmlNamespaceManager.cs: Implemented LookupPrefix.
34         
35         * XmlTextWriter.cs: Implemented namespace and prefix support.
36
37 2002-03-18  Kral Ferch <kral_ferch@hotmail.com>
38
39         * XmlTextReader.cs: Restores properties after
40         reading last attribute on an element.
41         
42         * XmlNode.cs: AppendChild sets the parent
43         on the child.
44
45 2002-03-17  Kral Ferch  <kral_ferch@hotmail.com>
46
47         * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
48
49         * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
50         
51         * XmlElement.cs: Fixed bug in WriteTo.
52         
53         * XmlProcessingInstruction.cs: Formatting.
54         
55         * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
56         fixes for WriteEndElement, WriteProcessingInstruction.
57
58 2002-03-17  Kral Ferch  <kral_ferch@hotmail.com>
59
60         * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
61         had Load() add PIs to the document, moved onXXX methods to alphabetical
62         order in the file.
63         
64         * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
65         
66         * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
67         
68         * XmlProcessingInstruction.cs: Implementations for WriteTo() and
69         WriteContentTo().
70         
71         * XmlTextWriter.cs: Implementations for WriteEndElement,
72         WriteProcessingInstruction, WriteStartElement, and WriteString.
73         
74         * XmlWriter.cs: Implemented WriteStartElement() methods.
75
76 2002-03-15  Duncan Mak  <duncan@ximian.com>
77
78         * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
79         InnerText once I know what they do.
80
81         * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
82         that we can properly chain constructors.
83         (CloneNode): implemented.
84         (WriteContentTo): Removed MonoTODO attribute as this method has no
85         effect in this class.
86
87         * XmlProcessingInstruction.cs (Value): Added the missing Set
88         block.
89         (InnerText): Added in, but not implemented.
90
91 2002-03-14  Kral Ferch  <kral_ferch@hotmail.com>
92
93         * XmlTextWriter.cs: implemented constructors and 
94         WriteCData and WriteComment.
95
96 2002-03-14  Duncan Mak  <duncan@ximian.com>
97
98         * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
99         file, and updated the callbacks to reflect the change.
100         (XmlDocument): Added the NameTable constructor.
101         (NameTable): Also the NameTable property.
102
103         * XmlNodeChangedEventHandler.cs: Added, replacing the version that
104         was in XmlDocument.cs. It has two arguments now (object,
105         EventArgs) , instead of one (object).
106
107 2002-03-14  Kral Ferch  <kral_ferch@hotmail.com>
108
109         * XmlWriter.cs: Formatting.
110         
111         * XmlTextWriter.cs: Initial checkin.
112         
113 2002-03-14  Duncan Mak  <duncan@ximian.com>
114
115         * Validation.cs: Removed, replaced by ValidationType.cs.
116
117         * ValidationType.cs: Added.
118
119 2002-03-13  Duncan Mak  <duncan@ximian.com>
120
121         * XmlException.cs: Made it [Serializable], implemented good ol'
122         GetObjectData, and the serialization constructor.
123
124         * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
125         (SetNamedItem): Reverted (added back in) the patch with the
126         ReadOnly checks. "Don't doubt yourself, my son... you were right!"
127
128         * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
129         (GetNamedItem (string, string)): implemented.
130         (RemoveNamedItem): implemented.
131         (SetNamedItem): implemented.
132
133 2002-03-12  Kral Ferch  <kral_ferch@hotmail.com>
134
135         * XmlAttribute.cs: Moved a method from amongst properties down to
136         it's alphabetical position in the methods section.
137         
138         * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
139         last linked child.  Set XmlNode base class to return false for IsReadOnly().
140         Implemented GetEnumerator() and RemoveChild().
141         
142         * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
143         This is to support the behavior that the Enumerator doesn't become invalid
144         when changes to the children occur.  Flushed out rest of implementation for
145         MoveNext, Current, and Reset.
146
147 2002-03-12  Duncan Mak  <duncan@ximian.com>
148
149         * XmlCharacterData.cs: Reformatted the properties for better readability.
150
151         * XmlLinkedNode.cs: Removed the awful boxy comments.
152
153         * XmlNamedNodeMap.cs (Count):
154         (Item): Implemented. Tests will be coming.
155
156         * XmlEntityReference.cs: 
157         * XmlSignificantWhitespace.cs: Implemented these classes except for
158         the Clone, WriteContentTo and WriteTo methods. Will have to
159         investigate into these later.
160
161 2002-03-11  Duncan Mak  <duncan@ximian.com>
162
163         * IHasXmlNode.cs: Added to CVS.
164
165 2002-03-08  Jason Diamond <jason@injektilo.org>
166
167         * XmlParserContext.cs: Added missing constructors and missing Encoding 
168         property.
169
170         * XmlTextReader.cs: Start using the XmlParserContext class.
171
172 2002-03-08  Jason Diamond <jason@injektilo.org>
173
174         * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
175
176 2002-03-08  Mike Kestner  <mkestner@speakeasy.net>
177
178         * XmlNode.cs (Item): Implemented both indexers.
179
180 2002-03-08  Jason Diamond  <jason@injektilo.org>
181
182         * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
183         XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
184
185 2002-03-08  Jason Diamond  <jason@injektilo.org>
186
187         * XmlAttribute.cs: Attribute nodes are supposed to store their values
188         as child nodes so updated to reflect that.
189
190         * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
191         duplicated in XmlDocument and XmlElement into XmlNode so that it
192         wouldn't have to be duplicated in XmlAttribute, too.
193
194 2002-03-08  Kral Ferch <kral_ferch@hotmail.com>
195
196         * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
197         XmlNode.cs: Formatting.
198         
199         * XmlNodeListChildren.cs: Implementation of XmlNodeList
200         for XmlNode.ChildNodes property.
201         
202         * XmlNodeListAsArrayList.cs: Removed file.  Using different
203         data structure (circular list) in XmlNode so this file
204         is no longer valid.
205         
206         * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
207         bug in setter property of LastLinkedChild so fixed it.
208         
209 2002-03-06  Jason Diamond  <jason@injektilo.org>
210
211         * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
212         We already have a parser in XmlTextReader.
213
214         * XmlException.cs: Removed constructor accepting XmlInputSource.
215
216 2002-03-06  Kral Ferch <kral_ferch@hotmail.com>
217
218         * XmlNode.cs: Rewrote this class from scratch with
219         MonoToDo attribs and NotImplementedExceptions.  Now defines an
220         internal LastLinkedNode property to aid the new implementation.
221         XmlNodes only have ref to owner doc and parent nodes now.
222         
223         * XmlLinkedNode.cs: Added NextLinkedSibling internal property
224         and ref to next sibling to support walking our circular child
225         node list.
226         
227         * XmlDocument.cs: Added ref to last child node and overrides
228         XmlNode's internal LastLinkedChild property to support walking
229         our circular child node list.
230         
231 2002-03-02  Kral Ferch <kral_ferch@hotmail.com>
232
233         * XmlProcessingInstructions.cs: Class was empty.  Implemented
234         constructor, properties, and CloneNode() method.  Put in
235         MonoToDo attrib for remaining methods.
236
237         * XmlComment.cs: Reformatted and put in MonoToDo attribs.
238         Got rid of helper methods and fields since they were no
239         longer needed.
240
241         * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
242
243         * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
244         XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
245         Createxxx() methods for those three node types.
246
247 2002-03-02  Jason Diamond <jason@injektilo.org>
248
249         * XmlDocument.cs: Implemented the remaining CreateElement and
250         CreateAttribute methods.
251
252         * XmlAttribute.cs: Re-implemented.
253
254         * XmlElement.cs: Set owner element on attributes. Reformatted.
255
256 2002-03-02  Jason Diamond <jason@injektilo.org>
257
258         * XmlTextReader.cs: Implemented MoveToNextAttribute().
259
260         * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
261         attributes. Create attribute nodes while loading. Implemented
262         Load(string) and CreateTextNode().
263
264         * XmlCharacterData.cs, XmlText.cs: Re-implemented.
265
266         * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in 
267         XmlCharacterData.
268
269         * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
270
271 2002-03-02  Mike Kestner <mkestner@speakeasy.net>
272
273         * XmlAttribute.cs : Using fix.
274         * XmlDocument.cs (CreateAttribute(String)): Implement.
275
276 2002-03-02  Jason Diamond <jason@injektilo.org>
277
278         * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in 
279         the name table.
280
281 2002-02-28  Jason Diamond <jason@injektilo.org>
282
283         * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml 
284         courtesy of Kral Ferch <kral.ferch@hotmail.com>.
285
286 2002-02-28  Jason Diamond <jason@injektilo.org>
287
288         * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted, 
289         added missing members and MonoTODO attributes.
290         
291         * XmlTextReader.cs: Throw XmlException instead of System.Exception.
292
293 2002-02-27  Jason Diamond <jason@injektilo.org>
294
295         * XmlElement.cs: Reformatted, added missing members and MonoTODO 
296         attributes.
297
298 2002-02-26  Duncan Mak  <duncan@ximian.com>
299
300         * XmlCDataSection.cs: Initial implementation.
301
302         * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
303         it out. This should (hopefully) be correct.
304
305 2002-02-26  Jason Diamond <jason@injektilo.org>
306
307         * XmlTextReader.cs: Apparently Microsoft's implementation treats
308         namespace declarations as attributes so we do now, too.
309
310         * XmlNamespaceManager.cs: HasNamespace fixed so that it only
311         checks the current scope.
312
313 2002-02-26  Duncan Mak  <duncan@ximian.com>
314
315         * XmlDocumentType.cs: Added a few hacks here and there to
316         temporarily fix the "I broke the build issue".
317
318 2002-02-25  Jason Diamond <jason@injektilo.org>
319
320         * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
321         XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
322         simple test to pass. The existing code is really shitty so I'll
323         probably start writing tests and refactoring before much else 
324         can get done.
325
326 2002-02-25  Duncan Mak  <duncan@ximian.com>
327
328         * NameTable.cs: Implemented.
329
330         * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
331
332 2002-02-24  Duncan Mak  <duncan@ximian.com>
333         
334         * XmlNodeOrder.cs: Added to CVS.
335
336         * XmlQualifiedName.cs: Fixed a warning from Equals ().
337
338         * XmlTokenizedType.cs: Added to CVS.
339
340         * XmlUrlResolver.cs: Added to CVS with one TODO task.
341
342 2002-02-23  Duncan Mak  <duncan@ximian.com>
343
344         * XmlQualifiedName.cs: Fixed ToString () and added the operators
345         (== and !=).
346
347 2002-02-23  Jason Diamond <jason@injektilo.org>
348
349         * XmlTextReader.cs: Added support for qualified attributes.
350
351 2002-02-23  Jason Diamond <jason@injektilo.org>
352
353         * XmlNamespaceManager.cs: Initial implementation.
354         
355         * XmlTextReader.cs: Added support for NamespaceURI property on
356         elements.
357
358 2002-02-23  Nick Drochak <ndrochak@gol.com>
359
360         * ChangeLog: Add the change log to this directory
361
362         * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
363         MonoTODO's
364