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