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