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