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