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