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