213601cf1b175e088d60dc81b5da833614dadcc5
[mono.git] / mcs / class / System.XML / System.Xml / ChangeLog
1 2002-11-03  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
2
3         * XmlAttributeCollection.cs : checks owner element.
4                 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
5                 Remove, RemoveAt, SetNamedItem.
6                 removed some logics that sets 'Parent' (that should be null)
7         * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
8         * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
9         * XmlElement.cs : implemented WriteTo, set_InnerText.
10                 Fixed WriteTo() to add xmlns:* attributes when
11                 writer.LookupPrefix() returned mismatching.
12         * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
13                 Removing different prefixes for the same uri now runs correct.
14                 added SetNamedItem(XmlNode node, int position_to_insert).
15         * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
16                 XmlWhitespace, and XmlSignificantWhitespace
17
18 2002-10-31  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
19
20         * XmlDocument.cs : implemented CreateDocumentFragment()
21         * XmlElement.cs, XmlLinkedNode.cs :
22                 moved LastLinkedChild from XmlElement to XmlLinkedNode.
23         * XmlEntityReference.cs : must throw NotImplementedException.
24         * XmlNode.cs :
25               + implemented InsertBefore() and then implemented InsertAfter()
26                 and modified AppendChild() to call it.
27               + added logic to check ReadOnly, parent document equivalence,
28                 and inserting any 'content' before/after DocumentElement.
29               + implemented Clone() [it is equals to CloneNode() by MS doc.]
30               + added logic in RemoveChild() to check parent of oldChild.
31               + fixed ConstructNamespaceManager() to internal only.
32
33 2002-10-29  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
34
35         * XmlAttribute.cs : add internal 'IsDefault' property
36                             (equals to !Specified)
37         * XmlImplementation.cs : added 'internalNameTable' property.
38         * XmlDocument.cs :
39             + now allows "" for 'standalone' in CreateXmlDeclaration.
40             + implemented 'Implementation' property and constructor with it.
41             + added logic for appending name table (but still no use)
42             + implemented property 'DocumentType'
43               (but without internalSubset parsing. wait for next update.)
44         * XmlNode.cs :
45             + modified AppendChild() and RemoveChild() to support fragment.
46             + modified AppendChild() to remove newChild from its parent
47               when newChild is already in the other place.
48             + modified RemoveChild() to set parentNode null.
49             + modified ConstructDOM() to create DocumentType,
50               and fixed access modifier ('internal protected' to 'internal')
51         * XmlLinkedNode.cs : fixed 'NextSibling' to return null
52                 when its parent is null.
53         * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
54                 property to enable AppendChild() for this class.
55         * XmlTextReader.cs : appended private publicId and systemId fields.
56
57 2002-10-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
58
59         * XmlTextReader.cs: make it work when the underlying Stream is not
60         'seekable'.
61
62 2002-10-26  Piers Haken <piersh@friskit.com>
63
64         * XmlNode.cs: add virtual property XPathNodeType
65         * XmlAttribute.cs:
66         * XmlComment.cs:
67         * XmlDocument.cs:
68         * XmlElement.cs::
69         * XmlProcessingInstruction.cs:
70         * XmlSignificantWhitespace.cs:
71         * XmlText.cs:
72         * XmlWhitespace.cs: implement XPathNodeType property
73         * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
74
75 2002-10-26  Piers Haken <piersh@friskit.com>
76
77         * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
78
79 2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
80
81         * XmlTextReader.cs: don't increment depth for entity references.
82
83 2002-10-22  Tim Haynes <thaynes@openlinksw.com>
84
85         * - Fixed the duplication of xmlns:xx = yy when serializing the
86         XML for serialization
87         
88         Fixed the unnecessary parsing/serializing when adding assemblies
89         for serialization 
90
91         Avoided setting the XmlNode.InnerXml property
92         (as it's not implemented) 
93
94         Fixed the usage/implementation of
95         XmlElement.GetElementsByTagName()
96         
97 2002-10-21  Duncan Mak  <duncan@ximian.com>
98
99         * XmlDocument.cs:
100         * XmlElement.cs:
101         * XmlNode.cs:
102         * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
103         Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
104
105 2002-10-18  Duncan Mak  <duncan@ximian.com>
106
107         * XmlDocument.cs: Applied a patch by Atsushi Enomoto
108         <ginga@kit.hi-ho.ne.jp>.
109
110 2002-10-12  A.Enomoto <ginga@kit.hi-ho.ne.jp>
111
112         * XmlDocument.cs (ImportNode): Implemented
113
114 2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
115
116         * XmlDocument.cs: one more Load method implemented.
117         * XmlTextReader.cs: Depth now works.
118
119 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
120
121         * XmlConvert.cs: IsInvalid is now internal.
122         * XmlNamespaceManager.cs: implemented RemoveNamespace
123         * XmlTextReader.cs: return BaseURI and Encoding from the parser.
124         * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
125
126 2002-09-19  Matt Hunter <mahunter@tconl.com>
127
128         * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
129         * XmlAttributeCollection.cs: Implemented Append (XmlAttribute) 
130           
131 2002-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
132
133         * XmlConvert.cs: finished implementation.
134         * XmlTextReader.cs: fixed #30239.
135         * XmlTextWriter.cs: fixed #30240.
136
137 2002-09-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
138
139         * XmlTextReader.cs: line and position begin with 1.
140
141 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
142
143         * XmlException.cs: added a new internal constructor for IXmlLineInfo
144         and output line and position info in Message.
145
146         * XmlReader.cs: implemented missing bits.
147
148 2002-09-12      Piers Haken <piersh@friksit.com>
149
150         * XmlDocumentNavigator.cs: implement MoveToId()
151
152 2002-09-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
153
154         * XmlTextWriter.cs: fixed bug #29886.
155
156 2002-08-26  Ravi Pratap  <ravi@ximian.com>
157
158
159         * XmlAttribute.cs (InnerText): Implement getting this property.
160
161         * XmlNode.cs (InnerText): Ensure that we append only values of
162         text nodes.
163
164 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
165
166         * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
167         that allowed compiling this.
168         [ FIXME: filed bug #29435. mcs should have failed on this ]
169
170 2002-08-25  Tim Coleman <tim@timcoleman.com>
171         * XmlNode.cs:
172                 Change CreateNavigator to not be virtual.
173         * XmlElement.cs:
174                 Add set_Prefix and InnerText accessors.
175         * XmlEntityReference.cs:
176                 Add set_Value accessor.
177         * XmlTextWriter.cs:
178                 Make objects which should be private private.
179         * XmlWriter.cs:
180                 Remove WriteStartElementInternal abstract definition.
181         * XmlValidatingReader.cs:
182                 New stubs added.
183
184 2002-08-22  Jason Diamond <jason@injektilo.org>
185
186         * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
187         and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
188
189 2002-08-22  Jason Diamond <jason@injektilo.org>
190
191         * XmlElement.cs: Correction to previous GetElementsByTagName patch
192         courtesy of Matt Hunter <xrkune@tconl.com>.
193
194 2002-08-22  Jason Diamond <jason@injektilo.org>
195
196         * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
197         qualified GetElementsByTagName courtesy of Matt Hunter 
198         <xrkune@tconl.com>.
199
200 2002-08-19  Jason Diamond <jason@injektilo.org>
201
202         * XmlDocument.cs, XmlElement.cs: Added implementation of 
203         GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
204
205 2002-08-16  Jason Diamond <jason@injektilo.org>
206
207         * XmlElement.cs: Fixed writing out qualified elements courtesy of
208         Marcus Bürgel <marcus.buergel@gmx.de>.
209
210 2002-08-13  Tim Coleman <tim@timcoleman.com>
211         * XmlTextWriter.cs:
212                 Partial implementation of WriteQualifiedName ().
213
214 2002-08-07  Kral Ferch <kral_ferch@hotmail.com>
215         * XmlCharacterData.cs:  Implemented AppendData(), DeleteData(),
216                 InsertData(), and ReplaceData().  These methods fire the
217                 NodeChanging and NodeChanged events.
218                 
219         * XmlDocument.cs:  Fixed bugs in onNodeChanged() and onNodeChanging().
220         
221         * XmlNode.cs:  AppendChild() fires NodeInserting and NodeInserted events.
222                 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
223         
224 2002-08-03  Tim Coleman <tim@timcoleman.com>
225         * XmlNamespaceManager.cs:
226                 .Net allows the empty namespace to be redefined
227                 at a later point, but the current implementation
228                 did not.  This fixes a hashtable conflict.
229
230 2002-07-26  Tim Coleman <tim@timcoleman.com>
231         * XmlTextWriter.cs:
232                 When given a textwriter, check to see if it has a
233                 null encoding. This was being done for other inputs
234                 than a textwriter.
235
236 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
237
238         * XmlTextReader.cs: rough line/column support.
239
240 2002-07-23  Duncan Mak  <duncan@ximian.com>
241
242         * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
243         (string, string []) is particularly strange.
244
245         * XmlException.cs: Remember to call the base serialization
246         constructor.
247
248         * XmlNodeReader.cs: Keep a new variable to store the Depth. 
249
250 2002-07-14  Jason Diamond  <jason@injektilo.org>
251
252         * XmlAttribute.cs: Removed ownerElement field since we can reuse 
253         parentNode field.
254
255         * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
256         if the current node is an attribute.
257
258         * XmlElement.cs: SetAttributeNode now sets the new attribute's
259         owner element.
260
261 2002-07-12  Jason Diamond  <jason@injektilo.org>
262
263         * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
264         creating an element, use String.Empty instead.
265
266 2002-07-12      Piers Haken <piersh@friksit.com>
267
268         * XmlAttributeCollection.cs: implement some ItemOf indexers
269         * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
270         * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
271
272 2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
273
274
275 2002-10-26  Piers Haken <piersh@friskit.com>
276
277         * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
278
279 2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
280
281         * XmlTextReader.cs: don't increment depth for entity references.
282
283 2002-10-22  Tim Haynes <thaynes@openlinksw.com>
284
285         * - Fixed the duplication of xmlns:xx = yy when serializing the
286         XML for serialization
287         
288         Fixed the unnecessary parsing/serializing when adding assemblies
289         for serialization 
290
291         Avoided setting the XmlNode.InnerXml property
292         (as it's not implemented) 
293
294         Fixed the usage/implementation of
295         XmlElement.GetElementsByTagName()
296         
297 2002-10-21  Duncan Mak  <duncan@ximian.com>
298
299         * XmlDocument.cs:
300         * XmlElement.cs:
301         * XmlNode.cs:
302         * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
303         Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
304
305 2002-10-18  Duncan Mak  <duncan@ximian.com>
306
307         * XmlDocument.cs: Applied a patch by Atsushi Enomoto
308         <ginga@kit.hi-ho.ne.jp>.
309
310 2002-10-12  A.Enomoto <ginga@kit.hi-ho.ne.jp>
311
312         * XmlDocument.cs (ImportNode): Implemented
313
314 2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
315
316         * XmlDocument.cs: one more Load method implemented.
317         * XmlTextReader.cs: Depth now works.
318
319 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
320
321         * XmlConvert.cs: IsInvalid is now internal.
322         * XmlNamespaceManager.cs: implemented RemoveNamespace
323         * XmlTextReader.cs: return BaseURI and Encoding from the parser.
324         * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
325
326 2002-09-19  Matt Hunter <mahunter@tconl.com>
327
328         * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
329         * XmlAttributeCollection.cs: Implemented Append (XmlAttribute) 
330           
331 2002-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
332
333         * XmlConvert.cs: finished implementation.
334         * XmlTextReader.cs: fixed #30239.
335         * XmlTextWriter.cs: fixed #30240.
336
337 2002-09-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
338
339         * XmlTextReader.cs: line and position begin with 1.
340
341 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
342
343         * XmlException.cs: added a new internal constructor for IXmlLineInfo
344         and output line and position info in Message.
345
346         * XmlReader.cs: implemented missing bits.
347
348 2002-09-12      Piers Haken <piersh@friksit.com>
349
350         * XmlDocumentNavigator.cs: implement MoveToId()
351
352 2002-09-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
353
354         * XmlTextWriter.cs: fixed bug #29886.
355
356 2002-08-26  Ravi Pratap  <ravi@ximian.com>
357
358
359         * XmlAttribute.cs (InnerText): Implement getting this property.
360
361         * XmlNode.cs (InnerText): Ensure that we append only values of
362         text nodes.
363
364 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
365
366         * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
367         that allowed compiling this.
368         [ FIXME: filed bug #29435. mcs should have failed on this ]
369
370 2002-08-25  Tim Coleman <tim@timcoleman.com>
371         * XmlNode.cs:
372                 Change CreateNavigator to not be virtual.
373         * XmlElement.cs:
374                 Add set_Prefix and InnerText accessors.
375         * XmlEntityReference.cs:
376                 Add set_Value accessor.
377         * XmlTextWriter.cs:
378                 Make objects which should be private private.
379         * XmlWriter.cs:
380                 Remove WriteStartElementInternal abstract definition.
381         * XmlValidatingReader.cs:
382                 New stubs added.
383
384 2002-08-22  Jason Diamond <jason@injektilo.org>
385
386         * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
387         and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
388
389 2002-08-22  Jason Diamond <jason@injektilo.org>
390
391         * XmlElement.cs: Correction to previous GetElementsByTagName patch
392         courtesy of Matt Hunter <xrkune@tconl.com>.
393
394 2002-08-22  Jason Diamond <jason@injektilo.org>
395
396         * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
397         qualified GetElementsByTagName courtesy of Matt Hunter 
398         <xrkune@tconl.com>.
399
400 2002-08-19  Jason Diamond <jason@injektilo.org>
401
402         * XmlDocument.cs, XmlElement.cs: Added implementation of 
403         GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
404
405 2002-08-16  Jason Diamond <jason@injektilo.org>
406
407         * XmlElement.cs: Fixed writing out qualified elements courtesy of
408         Marcus Bürgel <marcus.buergel@gmx.de>.
409
410 2002-08-13  Tim Coleman <tim@timcoleman.com>
411         * XmlTextWriter.cs:
412                 Partial implementation of WriteQualifiedName ().
413
414 2002-08-07  Kral Ferch <kral_ferch@hotmail.com>
415         * XmlCharacterData.cs:  Implemented AppendData(), DeleteData(),
416                 InsertData(), and ReplaceData().  These methods fire the
417                 NodeChanging and NodeChanged events.
418                 
419         * XmlDocument.cs:  Fixed bugs in onNodeChanged() and onNodeChanging().
420         
421         * XmlNode.cs:  AppendChild() fires NodeInserting and NodeInserted events.
422                 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
423         
424 2002-08-03  Tim Coleman <tim@timcoleman.com>
425         * XmlNamespaceManager.cs:
426                 .Net allows the empty namespace to be redefined
427                 at a later point, but the current implementation
428                 did not.  This fixes a hashtable conflict.
429
430 2002-07-26  Tim Coleman <tim@timcoleman.com>
431         * XmlTextWriter.cs:
432                 When given a textwriter, check to see if it has a
433                 null encoding. This was being done for other inputs
434                 than a textwriter.
435
436 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
437
438         * XmlTextReader.cs: rough line/column support.
439
440 2002-07-23  Duncan Mak  <duncan@ximian.com>
441
442         * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
443         (string, string []) is particularly strange.
444
445         * XmlException.cs: Remember to call the base serialization
446         constructor.
447
448         * XmlNodeReader.cs: Keep a new variable to store the Depth. 
449
450 2002-07-14  Jason Diamond  <jason@injektilo.org>
451
452         * XmlAttribute.cs: Removed ownerElement field since we can reuse 
453         parentNode field.
454
455         * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
456         if the current node is an attribute.
457
458         * XmlElement.cs: SetAttributeNode now sets the new attribute's
459         owner element.
460
461 2002-07-12  Jason Diamond  <jason@injektilo.org>
462
463         * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
464         creating an element, use String.Empty instead.
465
466 2002-07-12      Piers Haken <piersh@friksit.com>
467
468         * XmlAttributeCollection.cs: implement some ItemOf indexers
469         * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
470         * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
471
472 2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
473
474         * XmlTextWriter: Fixed Indentation. IndentationOverridden should
475                 not be set when inside a attribute.
476
477 2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
478
479         * XmlTextWriter: In WriteStartElement, if namespace is null and 
480                 prefix is null|empty do not write out xmlns=""
481         
482         * XmlWriter: WriteStartElement calls the virtual method with null
483                 argument instead of empty string.
484
485 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
486
487         * XmlTextReader.cs: implemented .ctor (Stream).
488
489 2002-06-26  Duncan Mak  <duncan@ximian.com>
490
491         * XmlNodeReader.cs: Implementation of most of the properties, and
492         some of the related methods. 
493
494 2002-06-23  Piers Haken <piersh@friskit.com>
495         
496         * XmlDocumentNavigator.cs: implement Clone()
497         * XmlElement.cs: remove bogus unimplemented override of InnerText
498         * XmlNode.cs: implment SelectNodes/SelectSingleNode
499         * XmlNodeArrayList.cs: new support class for SelectNodes
500
501 2002-06-21  Ajay kumar Dwivedi <adwiv@yahoo.com>
502         
503         * XmlQualifiedName: Name and Namespaces are never null. If null is passed
504                 to the constructor, set them to empty strings.
505                 Fixed the Operators.
506         
507 2002-06-18  Ajay kumar Dwivedi <adwiv@yahoo.com>
508         
509         * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
510         Exception.
511
512 2002-06-14  Duncan Mak  <duncan@ximian.com>
513
514         * XmlConvert.cs: Added CLSCompliant attributes to methods.
515         
516 2002-06-12  Duncan Mak  <duncan@ximian.com>
517
518         * XmlCharacterData.cs (Value): Throw an ArgumentException in the
519         set block if the node is read-only.
520
521 2002-06-10  Ajay kumar Dwivedi <adwiv@yahoo.com>
522         * XmlConstruct.cs : New Internal class with Helper methods for
523         Checking XmlConstructs
524         * XmlConvert.cs: Implemented most of the methods
525
526 2002-06-08  Duncan Mak  <duncan@ximian.com>     
527
528         * XmlDocument.cs (Load):
529         Added bits to Load (string) for BaseURI support.
530
531         * XmlAttribute.cs (BaseURI): 
532         * XmlDocument.cs (BaseURI): 
533         * XmlEntity.cs (BaseURI): Implemented.
534
535 2002-05-27  Jason Diamond  <jason@injektilo.org>
536
537         * XmlDocumentNavigator.cs: Added file to directory.
538
539         * XmlNode.cs (CreateNavigator): Implemented.
540         (InnerText): Implemented.
541
542         * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
543         throwing exception.
544         (Load(XmlReader)): Allow for namespace qualified attributes.
545
546         * XmlElement.cs: Implemented GetAttribute(string, string) and both 
547         GetAttributeNode overloads.
548         (SetAttributeNode(XmlAttribute)): Implemented.
549
550         * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
551         and RemoveNamedItem(string, string).
552
553         * XmlLinkedNode.cs (PreviousSibling): Implemented.
554
555         * XmlTextReader.cs: Added code to maintain the order of attributes as 
556         they're parsed. XML doesn't require this but Microsoft's parser does it and
557         matching them makes testing easier so now we have it, too.
558
559 2002-05-26  Miguel de Icaza  <miguel@ximian.com>
560
561         * XmlDocument.cs: Implement the Save methods.
562
563 2002-05-08  Mike Kestner  <mkestner@speakeasy.net>
564
565         * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
566
567 2002-04-28  Duncan Mak  <duncan@ximian.com>
568
569         * XmlSignificantWhitespace.cs (Value):
570         * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
571         block. Added new private method, IsValidWhitespaceChar, for
572         checking.
573
574 2002-04-16  Duncan Mak  <duncan@ximian.com>
575
576         * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
577
578 2002-04-12  Duncan Mak  <duncan@ximian.com>
579
580         * XmlAttribute.cs (Prefix): Added preliminary code for set block,
581         added comment on work that needs to be done here. A new MonoTODO item. 
582
583         * XmlDocument.cs (ctor): Corrected constructor signature, changed
584         parameter from 'NameTable' to 'XmlNameTable'.
585
586         * XmlDocumentFragment.cs (InnerXml): Added missing set block.
587
588         * XmlCaseOrder.cs: Moved to System.Xml.XPath.
589
590 2002-04-10  Duncan Mak  <duncan@ximian.com>
591
592         * XmlNodeReader.cs: Initial stubs for the class.
593
594 2002-04-08  Kral Ferch  <kral_ferch@hotmail.com>
595
596         * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
597         implementations.
598         
599         * XmlDeclaration.cs: WriteTo implementation.
600         
601         * XmlDocument.cs: InnerXml getter implementation.
602         
603         * XmlElement.cs: InnerXml getter implementation.
604
605         * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
606         
607         * XmlSignificantWhitespace.cs: WriteTo implementation.
608         
609         * XmlText.cs: WriteContentTo and WriteTo implementation.
610         
611         * XmlTextWriter.cs: WriteRaw implementation.
612         
613         * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
614
615 2002-04-05  Kral Ferch  <kral_ferch@hotmail.com>
616
617         * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
618         if prefix in constructor is one of the default ones.
619         
620         * XmlCharacterData.cs: Returns String.Empty for Value and Data
621         even when constructed with null.
622         
623         * XmlDeclaration.cs: Value doesn't put encoding or standalone
624         in if they are empty.
625         
626         * XmlDocument.cs: Implemented CreateNode methods and this caused
627         the changes in the other files in this checkin.
628         
629         * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
630         even when constructed with null.
631         
632         * XmlWhitespace.cs: Changed Value 'get' to return Data.
633
634 2002-04-01  Kral Ferch  <kral_ferch@hotmail.com>
635
636         * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
637         
638 2002-03-31  Kral Ferch  <kral_ferch@hotmail.com>
639
640         * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
641         and WriteCharEntity.
642         
643         * XmlWrite.cs:  Fixed bug where attribute namespace decl
644         was pushing a scope onto the namespace manager when it shouldn't
645         have been.
646         
647 2002-03-31  Kral Ferch  <kral_ferch@hotmail.com>
648
649         * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
650         in different states (no open start element, in WriteState.Content mode).
651         
652 2002-03-29  Kral Ferch  <kral_ferch@hotmail.com>
653
654         * XmlTextWriter.cs: XmlLang and XmlSpace properties
655         and WriteWhitespace.
656         
657         * XmlTextWriterOpenElement.cs: scope support for XmlLang
658         and XmlSpace.
659
660 2002-03-29  Kral Ferch  <kral_ferch@hotmail.com>
661
662         * XmlTextWriter.cs: Working on Attribute methods.
663         
664         * XmlWriter.cs: Working on Attribute methods.
665
666 2002-03-28  Duncan Mak  <duncan@ximian.com>
667
668         * XmlDocument.cs (CreateWhitespace):
669         (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
670         method.
671
672         * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
673
674 2002-03-26  Duncan Mak  <duncan@ximian.com>
675
676         * XmlDocument.cs (CreateDocumentType): Implemented.
677
678         * XmlNode.cs (Value): Implemented.
679
680         * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
681         like XmlCharacterData.
682
683         * XmlDeclaration.cs (CloneNode): 
684         * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
685         arguments.
686
687         * XmlCharacterData.cs (InnerText): Implemented. Funny that the
688         docs say it is the "The concatenated values of the node and all
689         the children of the node.". I wrote some test programs and
690         couldn't get any of the derived nodes to AppendChild. For now,
691         InnerText == Data == Value.
692         (Substring): Fixed typo.
693
694         * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
695
696         * XmlImplementation.cs (CreateDocument): Implemented.
697
698 2002-03-25  Duncan Mak  <duncan@ximian.com>
699
700         * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
701         missing properties (InnerText, Value).
702         
703         * XmlDocument.cs (CreateXmlDeclaration): Implemented.
704
705 2002-03-23  Kral Ferch <kral_ferch@hotmail.com>
706
707         * XmlTextWriter.cs: Impls for BaseStream and
708         Namespaces and WriteState.
709         
710         * XmlWriter.cs: WriteState and WriteStartElementInternal.
711
712 2002-03-23  Kral Ferch <kral_ferch@hotmail.com>
713
714         * XmlNodeListChildren.cs: made class internal
715         instead of public.  Shouldn't be visible outside
716         of System.Xml.
717         
718         * XmlTextWriter.cs: Implementations for Formatting,
719         IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
720         Suppresses encoding on xml declaration if null stream passed in.
721         Formats output including suppressing indentation for elements in
722         mixed content mode.
723         
724         * XmlTextWriterOpenElement.cs: Initial checkin.
725         XmlTextWriter uses stack of these objects to track
726         state.
727         
728 2002-03-22  Mike Kestner  <mkestner@speakeasy.net>
729
730         * XmlElement.cs: impl HasAttribute(string name).
731
732 2002-03-22  Duncan Mak  <duncan@ximian.com>
733
734         * XmlElement.cs: Reformatted.
735         (CloneNode) Corrected.
736
737         * XmlDocument.cs (CreateWhitespace):
738         (CreateSignificantWhitespace): Implemented.
739
740         * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
741         true, because Attributes have ChildNodes.
742
743 2002-03-21  Kral Ferch <kral_ferch@hotmail.com>
744
745         * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
746         xml declaration along with encoding.  WriteEndElement throws
747         exception if no WriteStartElement exists.
748
749 2002-03-20  Duncan Mak  <duncan@ximian.com>
750
751         * XmlEntityReference.cs (CloneNode): Implemented.
752
753         * XmlException.cs (Message): Implemented. We need to cache the
754         message string because SystemException doesn't expose 'message'
755         from Exception.
756
757         * XmlText.cs (Value): Added in the missing Value property.
758
759 2002-03-20  Duncan Mak  <duncan@ximian.com>     
760
761         * XmlAttribute.cs (CloneNode): Implemented.
762
763         * XmlDocumentFragment.cs (CloneNode): Implemented.
764
765         * XmlElement.cs (CloneNode): Implemented.
766
767 2002-03-19  Duncan Mak  <duncan@ximian.com>
768
769         * XmlNotation.cs: Added to CVS.
770
771         * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
772
773         * XmlCDataSection.cs (CloneNode): Implemented.
774
775         * XmlDocumentFragment.cs: Reformatted and added the missing properties
776         (InnerXml, OwnerDocument, ParentNode).
777         (CloneNode): Implemented.
778
779         * XmlSignificantWhitespace.cs (CloneNode): Implemented.
780         (Value) Implemented the 'get' property.
781
782         * XmlWhitespace.cs (Module): implemented.
783
784 2002-03-19  Jason Diamond <jason@injektilo.org>
785
786         * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
787         in the prefix.
788
789 2002-03-18  Jason Diamond <jason@injektilo.org>
790
791         * XmlTextReader.cs: Don't restore properties after reading last
792         attribute on an element.
793
794         * XmlDocument.cs: Move back to element after reading attributes
795         so that IsEmptyElement test succeeds.
796
797 2002-03-18  Kral Ferch <kral_ferch@hotmail.com>
798
799         * XmlNamespaceManager.cs: Implemented LookupPrefix.
800         
801         * XmlTextWriter.cs: Implemented namespace and prefix support.
802
803 2002-03-18  Kral Ferch <kral_ferch@hotmail.com>
804
805         * XmlTextReader.cs: Restores properties after
806         reading last attribute on an element.
807         
808         * XmlNode.cs: AppendChild sets the parent
809         on the child.
810
811 2002-03-17  Kral Ferch  <kral_ferch@hotmail.com>
812
813         * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
814
815         * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
816         
817         * XmlElement.cs: Fixed bug in WriteTo.
818         
819         * XmlProcessingInstruction.cs: Formatting.
820         
821         * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
822         fixes for WriteEndElement, WriteProcessingInstruction.
823
824 2002-03-17  Kral Ferch  <kral_ferch@hotmail.com>
825
826         * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
827         had Load() add PIs to the document, moved onXXX methods to alphabetical
828         order in the file.
829         
830         * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
831         
832         * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
833         
834         * XmlProcessingInstruction.cs: Implementations for WriteTo() and
835         WriteContentTo().
836         
837         * XmlTextWriter.cs: Implementations for WriteEndElement,
838         WriteProcessingInstruction, WriteStartElement, and WriteString.
839         
840         * XmlWriter.cs: Implemented WriteStartElement() methods.
841
842 2002-03-15  Duncan Mak  <duncan@ximian.com>
843
844         * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
845         InnerText once I know what they do.
846
847         * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
848         that we can properly chain constructors.
849         (CloneNode): implemented.
850         (WriteContentTo): Removed MonoTODO attribute as this method has no
851         effect in this class.
852
853         * XmlProcessingInstruction.cs (Value): Added the missing Set
854         block.
855         (InnerText): Added in, but not implemented.
856
857 2002-03-14  Kral Ferch  <kral_ferch@hotmail.com>
858
859         * XmlTextWriter.cs: implemented constructors and 
860         WriteCData and WriteComment.
861
862 2002-03-14  Duncan Mak  <duncan@ximian.com>
863
864         * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
865         file, and updated the callbacks to reflect the change.
866         (XmlDocument): Added the NameTable constructor.
867         (NameTable): Also the NameTable property.
868
869         * XmlNodeChangedEventHandler.cs: Added, replacing the version that
870         was in XmlDocument.cs. It has two arguments now (object,
871         EventArgs) , instead of one (object).
872
873 2002-03-14  Kral Ferch  <kral_ferch@hotmail.com>
874
875         * XmlWriter.cs: Formatting.
876         
877         * XmlTextWriter.cs: Initial checkin.
878         
879 2002-03-14  Duncan Mak  <duncan@ximian.com>
880
881         * Validation.cs: Removed, replaced by ValidationType.cs.
882
883         * ValidationType.cs: Added.
884
885 2002-03-13  Duncan Mak  <duncan@ximian.com>
886
887         * XmlException.cs: Made it [Serializable], implemented good ol'
888         GetObjectData, and the serialization constructor.
889
890         * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
891         (SetNamedItem): Reverted (added back in) the patch with the
892         ReadOnly checks. "Don't doubt yourself, my son... you were right!"
893
894         * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
895         (GetNamedItem (string, string)): implemented.
896         (RemoveNamedItem): implemented.
897         (SetNamedItem): implemented.
898
899 2002-03-12  Kral Ferch  <kral_ferch@hotmail.com>
900
901         * XmlAttribute.cs: Moved a method from amongst properties down to
902         it's alphabetical position in the methods section.
903         
904         * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
905         last linked child.  Set XmlNode base class to return false for IsReadOnly().
906         Implemented GetEnumerator() and RemoveChild().
907         
908         * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
909         This is to support the behavior that the Enumerator doesn't become invalid
910         when changes to the children occur.  Flushed out rest of implementation for
911         MoveNext, Current, and Reset.
912
913 2002-03-12  Duncan Mak  <duncan@ximian.com>
914
915         * XmlCharacterData.cs: Reformatted the properties for better readability.
916
917         * XmlLinkedNode.cs: Removed the awful boxy comments.
918
919         * XmlNamedNodeMap.cs (Count):
920         (Item): Implemented. Tests will be coming.
921
922         * XmlEntityReference.cs: 
923         * XmlSignificantWhitespace.cs: Implemented these classes except for
924         the Clone, WriteContentTo and WriteTo methods. Will have to
925         investigate into these later.
926
927 2002-03-11  Duncan Mak  <duncan@ximian.com>
928
929         * IHasXmlNode.cs: Added to CVS.
930
931 2002-03-08  Jason Diamond <jason@injektilo.org>
932
933         * XmlParserContext.cs: Added missing constructors and missing Encoding 
934         property.
935
936         * XmlTextReader.cs: Start using the XmlParserContext class.
937
938 2002-03-08  Jason Diamond <jason@injektilo.org>
939
940         * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
941
942 2002-03-08  Mike Kestner  <mkestner@speakeasy.net>
943
944         * XmlNode.cs (Item): Implemented both indexers.
945
946 2002-03-08  Jason Diamond  <jason@injektilo.org>
947
948         * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
949         XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
950
951 2002-03-08  Jason Diamond  <jason@injektilo.org>
952
953         * XmlAttribute.cs: Attribute nodes are supposed to store their values
954         as child nodes so updated to reflect that.
955
956         * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
957         duplicated in XmlDocument and XmlElement into XmlNode so that it
958         wouldn't have to be duplicated in XmlAttribute, too.
959
960 2002-03-08  Kral Ferch <kral_ferch@hotmail.com>
961
962         * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
963         XmlNode.cs: Formatting.
964         
965         * XmlNodeListChildren.cs: Implementation of XmlNodeList
966         for XmlNode.ChildNodes property.
967         
968         * XmlNodeListAsArrayList.cs: Removed file.  Using different
969         data structure (circular list) in XmlNode so this file
970         is no longer valid.
971         
972         * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
973         bug in setter property of LastLinkedChild so fixed it.
974         
975 2002-03-06  Jason Diamond  <jason@injektilo.org>
976
977         * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
978         We already have a parser in XmlTextReader.
979
980         * XmlException.cs: Removed constructor accepting XmlInputSource.
981
982 2002-03-06  Kral Ferch <kral_ferch@hotmail.com>
983
984         * XmlNode.cs: Rewrote this class from scratch with
985         MonoToDo attribs and NotImplementedExceptions.  Now defines an
986         internal LastLinkedNode property to aid the new implementation.
987         XmlNodes only have ref to owner doc and parent nodes now.
988         
989         * XmlLinkedNode.cs: Added NextLinkedSibling internal property
990         and ref to next sibling to support walking our circular child
991         node list.
992         
993         * XmlDocument.cs: Added ref to last child node and overrides
994         XmlNode's internal LastLinkedChild property to support walking
995         our circular child node list.
996         
997 2002-03-02  Kral Ferch <kral_ferch@hotmail.com>
998
999         * XmlProcessingInstructions.cs: Class was empty.  Implemented
1000         constructor, properties, and CloneNode() method.  Put in
1001         MonoToDo attrib for remaining methods.
1002
1003         * XmlComment.cs: Reformatted and put in MonoToDo attribs.
1004         Got rid of helper methods and fields since they were no
1005         longer needed.
1006
1007         * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
1008
1009         * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
1010         XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
1011         Createxxx() methods for those three node types.
1012
1013 2002-03-02  Jason Diamond <jason@injektilo.org>
1014
1015         * XmlDocument.cs: Implemented the remaining CreateElement and
1016         CreateAttribute methods.
1017
1018         * XmlAttribute.cs: Re-implemented.
1019
1020         * XmlElement.cs: Set owner element on attributes. Reformatted.
1021
1022 2002-03-02  Jason Diamond <jason@injektilo.org>
1023
1024         * XmlTextReader.cs: Implemented MoveToNextAttribute().
1025
1026         * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
1027         attributes. Create attribute nodes while loading. Implemented
1028         Load(string) and CreateTextNode().
1029
1030         * XmlCharacterData.cs, XmlText.cs: Re-implemented.
1031
1032         * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in 
1033         XmlCharacterData.
1034
1035         * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
1036
1037 2002-03-02  Mike Kestner <mkestner@speakeasy.net>
1038
1039         * XmlAttribute.cs : Using fix.
1040         * XmlDocument.cs (CreateAttribute(String)): Implement.
1041
1042 2002-03-02  Jason Diamond <jason@injektilo.org>
1043
1044         * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in 
1045         the name table.
1046
1047 2002-02-28  Jason Diamond <jason@injektilo.org>
1048
1049         * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml 
1050         courtesy of Kral Ferch <kral.ferch@hotmail.com>.
1051
1052 2002-02-28  Jason Diamond <jason@injektilo.org>
1053
1054         * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted, 
1055         added missing members and MonoTODO attributes.
1056         
1057         * XmlTextReader.cs: Throw XmlException instead of System.Exception.
1058
1059 2002-02-27  Jason Diamond <jason@injektilo.org>
1060
1061         * XmlElement.cs: Reformatted, added missing members and MonoTODO 
1062         attributes.
1063
1064 2002-02-26  Duncan Mak  <duncan@ximian.com>
1065
1066         * XmlCDataSection.cs: Initial implementation.
1067
1068         * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
1069         it out. This should (hopefully) be correct.
1070
1071 2002-02-26  Jason Diamond <jason@injektilo.org>
1072
1073         * XmlTextReader.cs: Apparently Microsoft's implementation treats
1074         namespace declarations as attributes so we do now, too.
1075
1076         * XmlNamespaceManager.cs: HasNamespace fixed so that it only
1077         checks the current scope.
1078
1079 2002-02-26  Duncan Mak  <duncan@ximian.com>
1080
1081         * XmlDocumentType.cs: Added a few hacks here and there to
1082         temporarily fix the "I broke the build issue".
1083
1084 2002-02-25  Jason Diamond <jason@injektilo.org>
1085
1086         * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
1087         XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
1088         simple test to pass. The existing code is really shitty so I'll
1089         probably start writing tests and refactoring before much else 
1090         can get done.
1091
1092 2002-02-25  Duncan Mak  <duncan@ximian.com>
1093
1094         * NameTable.cs: Implemented.
1095
1096         * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
1097
1098 2002-02-24  Duncan Mak  <duncan@ximian.com>
1099         
1100         * XmlNodeOrder.cs: Added to CVS.
1101
1102         * XmlQualifiedName.cs: Fixed a warning from Equals ().
1103
1104         * XmlTokenizedType.cs: Added to CVS.
1105
1106         * XmlUrlResolver.cs: Added to CVS with one TODO task.
1107
1108 2002-02-23  Duncan Mak  <duncan@ximian.com>
1109
1110         * XmlQualifiedName.cs: Fixed ToString () and added the operators
1111         (== and !=).
1112
1113 2002-02-23  Jason Diamond <jason@injektilo.org>
1114
1115         * XmlTextReader.cs: Added support for qualified attributes.
1116
1117 2002-02-23  Jason Diamond <jason@injektilo.org>
1118
1119         * XmlNamespaceManager.cs: Initial implementation.
1120         
1121         * XmlTextReader.cs: Added support for NamespaceURI property on
1122         elements.
1123
1124 2002-02-23  Nick Drochak <ndrochak@gol.com>
1125
1126         * ChangeLog: Add the change log to this directory
1127
1128         * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
1129         MonoTODO's
1130