2004-09-06 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.XML / System.Xml / ChangeLog
1 2004-09-06  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * XmlNode.cs : GetEnumerator() does not have to create ChildNodes
4           every time. Removed unused StringBuilder field.
5
6 2004-09-06  Atsushi Enomoto  <atsushi@ximian.com>
7
8         * XmlWriter.cs : on reader.NodeType is None, WriteNode() still tries
9           to read more (and might result in an error).
10
11 2004-09-03  Atsushi Enomoto  <atsushi@ximian.com>
12
13         * XmlTextReader.cs : When Normalization is true, CRLF and CR should
14           be converted to single LF. This should fix part of bug #62076.
15
16 2004-08-30  Atsushi Enomoto  <atsushi@ximian.com>
17
18         * XmlWriter.cs : implemented WriteValue(object) for known types.
19
20 2004-08-30  Atsushi Enomoto  <atsushi@ximian.com>
21
22         * XmlElement.cs : XmlAttributeCollection doesn't have to be created
23           every time until the actual use. This sometimes optimizes
24           attribute-less XML performance siginificantly.
25
26 2004-08-27  Atsushi Enomoto  <atsushi@ximian.com>
27
28         * XmlAttribute.cs : some property getters threw NullReferenceException
29           when the attribute is not added to an element.
30         * XmlNode.cs : When a node is not appended to another node, BaseURI
31           is empty. Bug #64120 is fixed.
32
33 2004-08-26  Atsushi Enomoto  <atsushi@ximian.com>
34
35         * XmlTextWriter.cs : In CheckState(), don't create indentation string
36           at every time. WriteIndent() now handles the indentation without
37           recomputation.
38
39 2004-08-23  Atsushi Enomoto  <atsushi@ximian.com>
40
41         * XmlReader.cs, XmlTextReader.cs, XmlWriter.cs :
42           eliminate MS.Internal.Xml.* classes.
43
44 2004-08-21  Atsushi Enomoto  <atsushi@ximian.com>
45
46         * XmlElement.cs : set_InnerText was removing children incompletely.
47           This fixes bug #63574.
48
49 2004-08-20  Atsushi Enomoto  <atsushi@ximian.com>
50
51         * XmlTextReader.cs : Fixed EOF not to return true when it is just
52           closed. Element and EndElement location is now adjusted to be the
53           same as MS.NET does. This fixes bug #63505 and #63507.
54           ResetState() now throws InvalidOperationException() as MS.NET does.
55
56         * WriteState.cs : added missing 2_0 enumeration.
57         * XmlReader.cs : ReadTypedValue() is virtual.
58         * XmlValidatingReader.cs : ReadTypedValue() is override under 2_0.
59
60 2004-08-10  Atsushi Enomoto  <atsushi@ximian.com>
61
62         * XmlValidatingReader.cs : Replaced XmlSchemaCollection with
63           XmlSchemaSet. Added Settings property override
64
65 2004-08-10  Atsushi Enomoto  <atsushi@ximian.com>
66
67         * DTDReader.cs : Replacing XmlSchemaDatatype .FromName(string) with
68           .FromName(string, string) [going to remove former one; it is not
69           good to support xdt:blah datatypes].
70
71 2004-08-03  Atsushi Enomoto  <atsushi@ximian.com>
72
73         * DTDValidatingReader.cs,
74           XmlValidatingReader.cs : implemented IXmlNamespaceResolver.
75         * XmlNamespaceManager.cs,
76           XmlNodeReader.cs : implemented GetNamespacesInScope().
77
78 2004-08-03  Atsushi Enomoto  <atsushi@ximian.com>
79
80         * XmlCharacterData.cs,
81           XmlDocument.cs,
82           XmlNodeChangedEventArgs.cs : 
83           Implemented XmlNodeChangedEventArgs.OldValue and .NewValue.
84
85 2004-08-03  Atsushi Enomoto  <atsushi@ximian.com>
86
87         * XmlWriter.cs : implemented settings-less Create().
88         * XmlWriterSettings.cs : added some comments.
89
90 2004-07-29  Atsushi Enomoto  <atsushi@ximian.com>
91
92         * XmlWriter.cs : implemented WriteNode(XPathNavigator, bool) 
93           incompletely, using XPathNavigator.ReadSubtree().
94
95 2004-07-29  Atsushi Enomoto  <atsushi@ximian.com>
96
97         * XmlReader.cs : Implemented new 2.0 virtual members that used to be
98           abstract in 1.x. Implemented ReadSubtree().
99
100 2004-07-28  Lluis Sanchez Gual  <lluis@novell.com>
101
102         * XmlTextReader.cs: Stop parsing when a null character is found.
103
104 2004-07-28  Atsushi Enomoto  <atsushi@ximian.com>
105
106         * XmlReader.cs : Implemented missing MoveToNextSibling() and
107           MoveToDescendant().
108         * XmlTextReader.cs : Added missing ReadValueAs() override (hmm...
109           are they really worth overriding?)
110
111 2004-07-28  Atsushi Enomoto  <atsushi@ximian.com>
112
113         * XmlWriter.cs : Added new WriteStartAttribute(string).
114
115 2004-07-28  Atsushi Enomoto  <atsushi@ximian.com>
116
117         * XmlConvert.cs : Added 2.0 VerifyNMTOKEN() and internal WriteBinHex().
118         * XmlQualifiedName.cs : Added internal static Parse().
119         * XmlReader.cs : use XmlQualifiedName.Parse().
120         * XmlTextWriter.cs : use new XmlWriter.WriteNameInternal() etc.
121         * XmlWriter.cs : Added 2.0 Settings and WriteFromObject().
122           Implemented 2.0 virtual methods that used to be abstract in 1.x.
123
124 2004-07-26  Atsushi Enomoto  <atsushi@ximian.com>
125
126         * XmlReader.cs : Implemented ReadValueAsXxx() except for
127           ReadValueAsList().
128         * XmlTextReader.cs : implemented them as well, just invoking 
129           base.ReadValueAsXxx ().
130         * XmlWriter.cs : implemented some WriteValue() methods.
131
132 2004-07-21  Atsushi Enomoto  <atsushi@ximian.com>
133
134         * XmlConvert.cs : added internal ToBinHexString() (BTW according to
135           MSDN documentation it should be public).
136         * XmlReader.cs : fixed one incorrect Create() overload. Added
137           LookupNamespace (string, bool) (public for 2.0, internal for 1.x).
138         * XmlTextReader.cs : Mostly implemented IXmlNamespaceResolver
139           interface. Fixed HasLineInfo() access modifier on 2.0.
140         * XmlNodeReader.cs : Mostly implemented IXmlNamespaceResolver
141           interface. Wrote common namespace node lookup method and rewrote
142           existing LookupNamespace().
143         * XmlValidatingReader.cs : Fixed 2.0 IXmlLineInfo members' signatures.
144
145 2004-07-20  Atsushi Enomoto  <atsushi@ximian.com>
146
147         * XmlNode.cs : When the argument node being inserted is the existing
148           document element, it should not result in an error (since it should
149           be first removed from document, thus no error should happen).
150
151 2004-07-16  Atsushi Enomoto  <atsushi@ximian.com>
152
153         * XmlTextReader.cs : Fixed several problems on ReadBase64();
154           Whitespaces should be ignored, and '=' was not skipped correctly.
155           It caused "unexpected end of document" error at immediate close tag.
156
157 2004-07-13  Atsushi Enomoto  <atsushi@ximian.com>
158
159         * Added MonoFIXAttribute.cs
160
161 2004-07-13  Atsushi Enomoto  <atsushi@ximian.com>
162
163         * XmlWriter.cs : Added Create() stubs.
164         * XmlWriterSettings.cs : Added missing property setters.
165         * XmlValidatingReader.cs : added internal schemas setter.
166         * XmlTextReader.cs : added internal XmlReaderSettings property setter.
167         * XmlReader.cs :  Halfly implemented Create().
168         * DTDValidatingReader.cs : author information was missing.
169
170 2004-07-11  Atsushi Enomoto  <atsushi@ximian.com>
171
172         * XmlConvertDateTimeOption.cs : it is NET_2_0.
173         * IXmlNamespaceResolver.cs,
174           XmlNamespaceScope.cs : Compile it in .net 1.1 (as internal).
175         * XmlNamespaceManager.cs : Implement IXmlNamespaceResolver.
176
177 2004-07-09  Atsushi Enomoto  <atsushi@ximian.com>
178
179         * XmlConvertDateTimeOption.cs : Forgot to change the content...
180
181 2004-07-09  Atsushi Enomoto  <atsushi@ximian.com>
182
183         * ConformanceLevel.cs : Fixed integer value.
184         * Added XmlConvertDateTimeOption.cs.
185         * Removed XmlItemView.cs and XmlItemViewCollection.cs.
186
187 2004-07-09  Atsushi Enomoto  <atsushi@ximian.com>
188
189         * IXmlNamespaceResolver.cs :
190           Fixed return value of GetNamespacesInScope().
191         * IXmlDataEvidence.cs,
192           XmlReader.cs,
193           XmlTextReader.cs,
194           XmlValidatingReader.cs : fixed Evidence (it is not array anymore).
195         * XmlReader.cs :
196           Implemented virtual indexers, QuoteChar, and Dispose() (2.0 stuff).
197         * XmlNodeReader.cs,
198           In net_2_0, indexers vanished from XmlNodeReader.
199           In net_2_0, overriden QuoteChar vanished.
200         * XmlReaderSettings.cs : set_NameTable is missing.
201         * XmlTextReader.cs : Implemented ProhibitDtd.
202
203 2004-07-09  Atsushi Enomoto  <atsushi@ximian.com>
204
205         * XmlAttributeCollection.cs : In .net 2.0, it became sealed class.
206         * IXmlDataEvidence.cs : not "Evidences" but "Evidence".
207         * XmlInputStream.cs : new csc rejected implicit int->char cast.
208         * XmlNamespaceManager.cs : In net_2_0, LookupNamespace(string) and
209           LookupPrefix(string) does not require argument string as atomized.
210           Added HasNamespace (string, bool).
211         * XmlReader.cs : Added Settings and SchemaInfo properties.
212         * XmlReaderSettings.cs : Added NameTable. Throw XmlException when
213           attempt to set Schemas.
214         * XmlTextReader.cs : Fixed "Evidences" to "Evidence". new csc rejected
215           implicit int->char cast.
216         * XmlValidatingReader.cs : Fixed "Evidences" to "Evidence".
217
218 2004-06-27  Atsushi Enomoto  <atsushi@ximian.com>
219
220         * XmlDocument.cs:
221           Close XmlReader only when it is created. This fixes bug #60809.
222
223 2004-06-18  Atsushi Enomoto <atsushi@ximian.com>
224
225         * DTDObjectModel.cs, DTDReader.cs, XmlConvert.cs, XmlDocument.cs,
226           XmlException.cs, XmlParserInput.cs, XmlTextReader.cs,
227           XmlTextWriter.cs : Globalization.
228         * XmlNode.cs : Fixed error message that confused node type.
229
230 2004-06-14  Atsushi Enomoto <atsushi@ximian.com>
231
232         * XmlDocumentNavigator.cs : MoveToNext() should skip concatenating
233           text/cdata/whitespace nodes.
234
235 2004-06-14  Atsushi Enomoto <atsushi@ximian.com>
236
237         * XmlInputStream.cs : Fixed encoding detection detected in xslt
238           standalone tests. Removed extraneous code.
239
240 2004-06-13  Atsushi Enomoto <atsushi@ximian.com>
241
242         * XmlTextReader.cs : Character range check is always done. It is only
243           character references for which check is not done when Normalization
244           is false.
245           A bit more kind error message for multiple document element error.
246         * XmlTextWriter.cs : Check if character is valid and entitize when
247           it was invalid.
248
249 2004-06-09  Atsushi Enomoto <atsushi@ximian.com>
250
251         * XmlNamespaceManager.cs : The error message was improper.
252           Fix for bug #59880.
253
254 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
255
256         * XmlInputStream.cs: Initialize reads a larger buffer now when trying
257         to guess the encoding.
258
259 2004-06-06  Atsushi Enomoto <atsushi@ximian.com>
260
261         * NameTable.cs : Fixed incorrect hash computation. Thanks to Ben.
262         * XmlTextWriter.cs : Fixed remaining LookupNamespace() atom problem
263           shown in xslt standalone tests.
264
265 2004-06-06  Atsushi Enomoto <atsushi@ximian.com>
266
267         * XmlTextWriter.cs : Improved indenting. For children of a mixed 
268           content element, it won't be indented.
269
270 2004-06-06  Atsushi Enomoto <atsushi@ximian.com>
271
272         * DTDObjectModel.cs,
273           XmlDocument.cs : Close stream always.
274         * XmlNodeReader.cs : don't expect atomized name in LookupNamespace().
275         * XmlTextReader.cs : Namespace check was not done. Some tests depends
276           on this failure and to be fixed.
277
278 2004-06-03  Atsushi Enomoto <atsushi@ximian.com>
279
280         * XmlNamespaceManagre.cs : Fixed LookupNamespace() and LookupPrefix().
281           They require that names are *already* atomized.
282         * XmlNodeReader.cs,
283           XmlTextWriter.cs : use safe overload of LookupXXX().
284
285 2004-05-30  Atsushi Enomoto <atsushi@ximian.com>
286
287         * XmlTextReader.cs : Fixed version mismatch; ProhibitDtd should be
288           NET_2_0.
289
290 2004-05-29  Gert Driesen (drieseng@users.sourceforge.net)
291         
292         * XmlTextReader.cs: Added ProhibitDtd property for NET 1.1 to match
293         public API in MS.NET 1.1
294
295 2004-05-27  Atsushi Enomoto <atsushi@ximian.com>
296
297         * XmlDocument.cs : Save() should indent only when PreserveWhitespace
298           is false. Fixed bug #59155.
299           Modified comment lines a bit.
300
301 2004-05-27  Atsushi Enomoto <atsushi@ximian.com>
302
303         * XmlTextWriter.cs : WriteRaw() looks to proceed WriteState to Prolog
304           (if it is Start). Fixed bug #59154.
305
306 2004-05-27  Atsushi Enomoto <atsushi@ximian.com>
307
308         * XmlTextReader.cs : simplified ReadCharsInternal(); use ReadEndTag()
309           and don't bork against <foo></foo>. Also mofidied this method to skip
310           <foo/>. Fixed bug #59142.
311           Modified some comments on the code (FIXME->LAMESPEC et al).
312
313 2004-05-24  Atsushi Enomoto <atsushi@ximian.com>
314
315         * DTDReader.cs : When sequential PE references exist, the reader only
316           expands the first one and in some cases the parser complaints the
317           content (such like expecting name character but found '%').
318           This fixes bug #58818.
319
320 2004-05-23  Atsushi Enomoto <atsushi@ximian.com>
321
322         * XmlNode.cs : RemoveChild() should check null argument.
323           Normalize() was broken in some cases.
324
325 2004-05-22  Atsushi Enomoto <atsushi@ximian.com>
326
327         * ConformanceLevel.cs : added.
328
329 2004-05-22  Atsushi Enomoto <atsushi@ximian.com>
330
331         * XmlNodeChangedEventArgs.cs : the last patch looks true 
332           ONLY AFTER .NET 2.0.
333
334 2004-05-22  Atsushi Enomoto <atsushi@ximian.com>
335
336         * XmlReaderSettings.cs, XmlWriterSettings.cs : NET_2_0 were missed.
337
338 2004-05-22  Atsushi Enomoto <atsushi@ximian.com>
339
340         * XmlFactory.cs,
341           XmlItemView.cs,
342           XmlItemViewCollection.cs,
343           XmlReaderSettings.cs,
344           XmlWriterSettings.cs : added new .NET 2.0 classes.
345
346         * AsyncXmlTextWriter.cs,
347           IXPathChangeNavigator.cs,
348           IXPathEditor.cs,
349           IXPathNavigator.cs,
350           XmlChangeFilters.cs,
351           XmlInfoItemType.cs,
352           XmlNodeChangeType.cs,
353           XPathChangeNavigator.cs,
354           XPathDocument2.cs,
355           XPathDocument2ChangedEventAction.cs,
356           XPathDocument2ChangedEventHandler.cs,
357           XPathEditor.cs,
358           XPathNavigator2.cs : removed. (They are only in .NET 1.2)
359
360         * XmlWriter.cs : added new NET_2_0 WriteElementString().
361
362 2004-05-22  Atsushi Enomoto <atsushi@ximian.com>
363
364         * XmlNodeChangedEventArgs.cs : not properly inherited from EventArgs.
365
366 2004-05-17  Atsushi Enomoto <atsushi@ximian.com>
367
368         * XmlConvert.cs : Fixed ToString(TimeSpan) that didn't handle Hour 
369           correctly. This fixes bug #57786.
370
371 2004-05-13  Atsushi Enomoto <atsushi@ximian.com>
372
373         * XmlValidatingReader.cs : explicitly mark as MonoTODO for XDR (not
374           supported).
375
376 2004-05-12  Atsushi Enomoto <atsushi@ximian.com>
377
378         * DTDObjectModel.cs,
379           DTDReader.cs,
380           XmlDocument.cs,
381           XmlInputStream.cs,
382           XmlParserInput.cs,
383           XmlTextReader.cs,
384           XmlUrlResolver.cs : removed reference to Mono.Xml.
385           Made Mono.Xml.* classes internal.
386         * XmlDocument.cs : output xml declaration for TextWriter output in Save()
387         * XmlElement.cs : Name character check should be done in .ctor().
388         * XmlNamespaceManager.cs : Removed dangerous internal .ctor()
389
390 2004-05-10  Atsushi Enomoto <atsushi@ximian.com>
391
392         * XmlNodeReader.cs : renamed ownerElement to ownerLinkedNode (text
393           node can be it as well) and added check for Attributes existence
394           in GetAttribute() and MoveTo*Attribute().
395
396 2004-05-10  Atsushi Enomoto <atsushi@ximian.com>
397
398         * XmlTextWriter.cs : comment not in the content state is indented.
399           This fixes bug #58247.
400
401 2004-05-07  Lluis Sanchez Gual  <lluis@ximian.com>
402
403         * XmlTextWriter.cs: In WriteStartAttribute, when the prefix is xmlns and
404           the name is empty, convert it to a xmlns attribute.
405
406 2004-04-27  Atsushi Enomoto <atsushi@ximian.com>
407
408         * XmlTextReader.cs : don't use NET_1_0.
409
410 2004-04-24  Atsushi Enomoto <atsushi@ximian.com>
411
412         * XmlComment.cs. XmlProcessingInstruction.cs : missing commits.
413
414 2004-04-24  Atsushi Enomoto <atsushi@ximian.com>
415
416         W3C DOM compliant read-only check support (buggy part in MS.NET).
417         * XmlAttribute.cs,
418           XmlCDataSection.cs,
419           XmlCharacterData.cs,
420           XmlDocument.cs,
421           XmlElement.cs,
422           XmlNode.cs,
423           XmlSignificantWhitespace.cs,
424           XmlText.cs
425           : CloneNode() - set read-only when copied node is read-only.
426             Check IsReadOnly on attempt to modify value.
427         * XmlEntity.cs,
428           XmlEntityReference.cs : Set descendant nodes read-only.
429         * XmlAttributeCollection.cs,
430           XmlNode.cs
431           : Fixed incompatible exception type.
432         * XmlEntityReference.cs : CloneNode() should not pass an empty string
433           as its name.
434         * XmlEntityReference.cs,
435           XmlProcessingInstruction.cs : Check XML name validity.
436         * XmlText.cs : CloneNode() does not have to check children.
437
438 2004-04-24  Atsushi Enomoto <atsushi@ximian.com>
439
440         * XmlDeclaration.cs : More strict check on InnerText and Value.
441
442 2004-04-24  Atsushi Enomoto <atsushi@ximian.com>
443
444         * DTDReader.cs, XmlConvert.cs, XmlDeclaration.cs, XmlImplementation.cs,
445           XmlNode.cs : Culture independency fix.
446
447 2004-04-22  Atsushi Enomoto <atsushi@ximian.com>
448
449         * XmlEntityReference.cs : Added XPathNodeType (just for workaround).
450           This should really fix bug #57248.
451
452 2004-04-20  Atsushi Enomoto <atsushi@ximian.com>
453
454         * XmlDocumentNavigator.cs : MoveToFirstChild() failed when there is
455           only an EntityReference (not navigatable) child. Bug #57248 fixed.
456         * XmlWriter.cs : Modified WriteNode() to use MoveToAttribute(int)
457           instead of WriteAttributes() only for MS.NET behavior compatibility.
458           This change makes SgmlReader usable (due to SgmlReader bug).
459
460 2004-04-10  Atsushi Enomoto <atsushi@ximian.com>
461
462         * XmlParserContext.cs : Fixed .ctor() not to reference null namespace
463           manager. This fixes bug #56770.
464
465 2004-04-06  Atsushi Enomoto <atsushi@ximian.com>
466
467         * DTDReader.cs : In ProcessDTDSubset(), 1)error message was 
468           generated with incorrect stream character, 2)entity nest check 
469           should not depend on line info which might not be supplied, 3)
470           empty PE should be skipped.
471         * XmlParserInput.cs : use index for StringBuilder instead of calling
472           Remove() many times. This highly optimizes DTD parser.
473
474         * XmlAttribute.cs : removed commented code.
475         * XmlEntity.cs : removed unused field.
476
477 2004-04-05  Atsushi Enomoto <atsushi@ximian.com>
478
479         * DTDObjectModel.cs : (DTDAttributeDefinition) create ArrayList 
480           only when they are required.
481         * DTDReader.cs,
482           XmlParserInput.cs : raw tag string now don't have to be kept, while
483           it cost so much. Removed unused code. 20% to 30% memory got saved.
484         * XmlNotation.cs : removed unused code.
485         * XmlTextReader.cs : Removed unused code. ReadString() now uses 
486           XmlReader's internal method. Fixed BaseURI to be conformant with
487           W3C XML InfoSet and (subsequently) xml:base specification (i.e. 
488           reflect xml:base attribute correctly).
489
490 2004-04-05  Atsushi Enomoto <atsushi@ximian.com>
491
492         * XmlAttribute.cs : get_Value should return all children's value.
493         * XmlCharacterData.cs : DOM's substring does not raise an error when
494           startIndex + count exceeds the length of Data.
495         * XmlNamedNodeMap.cs : SetNamedItem() returns the new child when it
496           does not replace another named item.
497         * XmlElement.cs : with related to the XmlNamedNodeMap change, 
498           SetAttributeNode() is required to fix as to return null when it does
499           not replace existing attribute.
500
501 2004-03-31  Atsushi Enomoto <atsushi@ximian.com>
502
503         * XmlDocumentNavigator.cs : When this instance is created from xmlns 
504           attributes, it should be Namespace node.
505
506 2004-03-27  Atsushi Enomoto <atsushi@ximian.com>
507
508         * XmlReader.cs : ReadInnerXml() should progress reader when it is on
509           an empty element. This fixes bug #56064.
510
511 2004-03-27  Atsushi Enomoto <atsushi@ximian.com>
512
513         * DTDReader.cs : In some places sequential parameter entity was
514           incorrectly skipped (and caused invalid result).
515
516 2004-03-24  Atsushi Enomoto <atsushi@ximian.com>
517
518         * XmlDocumentNavigator.cs : MoveTo*Namespace() should not iterate
519           namespace nodes which has the same name as already-iterated nodes.
520           Also xmlns='' should not be selected, and once it appeared, default 
521           namespace should not be selected anymore.
522
523 2004-03-24  Atsushi Enomoto <atsushi@ximian.com>
524
525         * XmlCharacterData.cs : ReplaceData() should reject negative integer
526           value for count argument.
527         * XmlAttribute.cs, XmlAttributeCollection.cs, XmlNamedNodeMap.cs :
528           On RemoveNamedItem(), default attribute value should be restored.
529
530 2004-03-24  Atsushi Enomoto <atsushi@ximian.com>
531
532         * XmlAttributeCollection.cs : Remove() should throw an exception when
533           target attribute is not included in the collection.
534         * XmlDocument.cs : ImportNode() should reject null node.
535         * XmlNode.cs : Fixed type of exception for invalid insertion.
536           It should throw an exception not only when the owner document of the
537           reference element is different but its parent element is different.
538           Some error message improvement.
539
540 2004-03-21  Atsushi Enomoto <atsushi@ximian.com>
541
542         * XmlReader.cs : ReadInnerXml() incorrectly tried to get output xml.
543           This fixes bug #55856.
544
545 2004-03-20  Atsushi Enomoto <atsushi@ximian.com>
546
547         * XmlTextWriter.cs : Fixed indentation on CDATA. This fixes bug #55828.
548
549 2004-03-19  Atsushi Enomoto <atsushi@ximian.com>
550
551         * XmlImplementation.cs : HasFeature() returns true when strVersion
552           is null.
553
554 2004-03-16  Atsushi Enomoto <atsushi@ximian.com>
555
556         * XmlWhitespace.cs : Fixed WriteTo(). Whitespace nodes should be 
557           written regardless of document's PreserveWhitespace.
558
559 2004-03-16  Atsushi Enomoto <atsushi@ximian.com>
560
561         * XmlDocumentNavigator.cs : Value should return concatenated string for 
562           sequential text nodes. Considered detached nodes, the result of 
563           MoveToParent() should be checked.
564
565 2004-03-15  Atsushi Enomoto <atsushi@ximian.com>
566
567         * XmlReader.cs : ReadInnerXml()/ReadOuterXml() should not bork when
568           the reader is on EndElement. Patch by Jean-Marc Andre.
569
570 2004-03-14  Atsushi Enomoto <atsushi@ximian.com>
571
572         * XmlDocumentNavigator.cs : as for namespace node "xml", MS.NET seems
573           to return attribute node. It affects on IHasXmlNode.GetNode() and
574           SelectNodes()/SelectSingleNode().
575
576 2004-03-04  Atsushi Enomoto <atsushi@ximian.com>
577
578         * XmlImplementation.cs : fixity fix (I need NUnit runnable ;)
579
580 2004-03-04  Atsushi Enomoto <atsushi@ximian.com>
581
582         * XmlImplementation.cs : forgot to commit (renaming internal case)
583
584 2004-03-04  Atsushi Enomoto <atsushi@ximian.com>
585
586         * XmlDocument.cs : Implementation should not return null.
587
588 2004-02-25  Atsushi Enomoto <atsushi@ximian.com>
589
590         * XmlTextWriterOpenElement.cs : Reset() should reset _all_ fields.
591           This fixes indentation bug.
592
593 2004-02-19  Atsushi Enomoto <atsushi@ximian.com>
594
595         * XmlTextWriter.cs : Fixed bugzilla #54554 (incorrent end tag output).
596
597 2004-02-16  Atsushi Enomoto <atsushi@ximian.com>
598
599         * DTDAutomata.cs,
600           DTDObjectModel.cs,
601           DTDReader.cs,
602           DTDValidatingReader.cs : made classes internal.
603         * XmlDocument.cs : removed extra FIXMEs.
604         * XmlNamedNodeMap.cs,
605           XmlResolver.cs,
606           XmlUrlResolver.cs : 
607           Fixed incorrect method signature.
608
609 2004-02-13  Atsushi Enomoto <atsushi@ximian.com>
610
611         * DTDObjectModel.cs, DTDReader.cs, DTDValidatingReader.cs : 
612           say goodbye to sys.collections.specialized.
613           (replaced the classes in that namespace with ArrayList or Hashtable)
614
615 2004-02-12  Atsushi Enomoto <atsushi@ximian.com>
616
617         * XmlReader.cs : For performance reason, XmlTextReader now uses
618           base ReadInnerXml() and don't store currentTag array unnecessarily.
619         * XmlTextReader.cs :
620           - Fixed GetAttribute(int) that might cause index out of range.
621           - Now it consumes the text reader by reading blocks, as MS.NET does.
622             Modified GetRemainder(), PeekChar(), ReadChar() and so on.
623           - Now it doesn't create Value string for linked nodes, unless it 
624             is actually required.
625           - some code refactory.
626
627 2004-02-11  Atsushi Enomoto <atsushi@ximian.com>
628
629         * XmlTextWriter.cs, XmlTextWriterOpenElement.cs :
630           Reduced creation of openlElement. It also saves much memory.
631
632 2004-02-10  Atsushi Enomoto <atsushi@ximian.com>
633
634         * XmlNode.cs : ChildNodes should not create XmlNodeListChildren
635           every time. This fix heavily improved performance.
636
637 2004-02-10  Atsushi Enomoto <atsushi@ximian.com>
638
639         * XmlAttributeCollection.cs : set owner element as parent on removal
640           events (though they are not "parent" in infoset or dom context)
641         * XmlElement.cs : Don't remove attributes twice (raises extraneous
642           removal events).
643         * XmlNamespaceManager.cs, XmlNodeChangedEventArgs :
644           Added NET_2_0 members.
645
646 2004-02-08  Atsushi Enomoto <atsushi@ximian.com>
647
648         * DTDObjectModel.cs : Limit external entity reference from DTD by 256.
649           foreach elimination.  DTDParameterEntityDeclaration should set Root.
650           Compute attribute default value without raising an error.
651           (for non-error reporting reader)
652         * DTDReader.cs : Fixes for the above fixes. foreach elimination.
653         * DTDValidatingReader.cs, NameTable.cs, XmlAttribute.cs,
654           XmlAttributeCollection.cs, XmlChar.cs, XmlConstruct.cs,
655           XmlDocumentFragment.cs, XmlDocumentNavigator.cs, XmlElement.cs,
656           XmlEntityReference.cs, XmlNamedNodeMap.cs, XmlNode.cs,
657           XmlText.cs : foreach elimination.
658         * XmlDocument.cs, XmlSignificantWhitespace.cs, XmlWhitespace.cs :
659           foreach elimination. Removed unnecesary methods.
660         * XmlTextReader.cs : code format refactory. Optimized some methods.
661           foreach elimination. Replaced Stack with string array.
662           Replaced StringBuilder with char array. Removed unnecessary methods.
663
664 2004-02-06  Atsushi Enomoto <atsushi@ximian.com>
665
666         * DTDValidatingReader.cs : Fixed MoveToElement() that causes incorrect
667           IsDefault and Depth.
668         * XmlAttribute.cs : Fixed .ctor(). Omit more namespace check when 
669           checkNamespace = false.
670         * XmlNamedNodeMap.cs : Fixed SetNamedItem() to raise events.
671         * XmlAttributeCollection.cs : Reimplemented InsertAfter to use
672           InsertBefore() (similar to XmlNode).
673         * XmlDocument.cs : Added internal .ctor().  Reimplemented ReadNode()
674           as recursive, to make event order compatible.
675         * XmlDocumentType.cs : Use SetNamedItem() (to raise events).
676         * XmlElement.cs : Some refactory.  Fixed SetAttributeNode() with 
677           string name to block prefixed name.
678         * XmlEntity.cs : Don't raise events on setting contents.
679         * XmlNode.cs : Some refactory. Added raiseEvent argument to internal
680           InsertBefore().
681         * XmlEntityReference.cs : related fix for XmlNode change.
682         * XmlTextReader.cs : When the reader is on "attributes" of xmldecl or
683           doctype, Depth 1 lower than usual attribute. Split large function.
684
685 2004-02-05  Atsushi Enomoto <atsushi@ximian.com>
686
687         * XmlConvert.cs : ToSingle() and ToDouble() should be culture 
688           independent. Patch by Rodolfo Campero.
689
690 2004-02-04  Atsushi Enomoto <atsushi@ximian.com>
691
692         * DTDObjectModel.cs : Never expand entity on ScanEntityValue().
693         * DTDValidatingReader.cs : XmlDeclaration node requires attributes
694           to be movable.
695         * XmlAttribute.cs,
696           XmlDocument.cs,
697           XmlDocumentFragment.cs,
698           XmlElement.cs,
699           XmlEntity.cs,
700           XmlLinkedNode.cs,
701           XmlNode.cs,
702           XmlNotation.cs : 
703           Added namespace checking flag (required for such xml readers
704           that holds Namespaces=false). Now only XmlNode holds LastLinkedNode.
705         * XmlDocumentType.cs,
706           XmlEntity.cs,
707           XmlEntityReference.cs : The children of Entity and EntityReference
708           became correct. They now holds parsed nodes, but it is only when
709           they are appended to the document.
710         * XmlNode.cs : Modified insertBeforeIntern() to InsertBefore() with
711           boolean checkNodeType argument.  This method also tries to create
712           Entity's and EntityReference's child nodes.  Also added internal
713           RemoveChild() with boolean checkNodeType argument.
714         * XmlNodeReader.cs : Quick hack for ResolveEntity() that became 
715           broken with these changes. use InnerXml as input to entityReader.
716         * XmlTextReader.cs : XmlDeclaration's value LocalName should be the
717           same as Name.  The names of DTD's pseudo attributes should be empty.
718           Fixed DTD node's Depth (was regarded as attribute value's depth).
719
720 2004-02-03  Atsushi Enomoto <atsushi@ximian.com>
721
722         * XmlTextReader.cs, DTDReader.cs : fixity fix ;)
723
724 2004-02-03  Atsushi Enomoto <atsushi@ximian.com>
725
726         * ChangeLog : Fixed incorrect description that should be written for
727           DTDValidatingReader.cs but written for DTDReader.cs.
728         * DTDValidatingReader.cs : Fixes described in the last DTDReader fix.
729
730         * XmlChar.cs,
731           XmlConstructs.cs : Made XmlChar and XmlConstructs equivalent and
732           replaced XmlChar with XmlConstruts, renaming "XmlChar" to 
733           "XmlCharCompact" and "XmlConstructs" to "XmlChar". 
734           (XmlChar will be used for compact framework.)
735         * DTDReader.cs, XmlParserInput.cs, XmlTextReader.cs : 
736           XmlChar related changes.  Support for surrogate pair.
737           It cannot use TextReader's peek anymore (for surrogate pair).
738           Character range check for PI value, attribute value, text
739         * XmlTextWriter.cs : Change openElements from Stack to ArrayList.
740           (It calls ToArray() every time.)
741
742 2004-02-03  Alon Gazit <along@mainsoft.com>
743         * XmlNamedNodeMap - now Item(int index) returns null for nodeList.Count
744           instead of throwing ArgumentOutOfRangeException.
745
746 2004-02-03  Atsushi Enomoto <atsushi@ximian.com>
747
748         * XmlChar.cs : now GetPredefinedEntity() returns int and -1 for not
749           predefined entity names.
750         * DTDObjectModel.cs : DTDxxxCollection now derives from 
751           - DTDCollectionBase that derives from DictionaryBase.
752           - "Literal value" and "replacement text" are handled differently.
753           - Throw XmlException when external entity could not be resolved. 
754           - Return ReplacementText for EntityValue.
755         * DTDReader.cs :
756           - Support IXmlLineInfo.
757           - Fixed IGNORE section handling to be more strict.
758           - Compute replacement text on reading entity declarations.
759           - Don't expand char references before getting literal entity value.
760           - Check not allowed parameter entity inside internal subset.
761         * DTDValidatingReader.cs :
762           - Added ValidateWhitespaceNode() to check whitespace's Validity
763             Constraints on external elementdecl and standalone document.
764           - When invalid data against its datatype was found, don't throw
765             parse error.
766           - Other code refactory.
767         * XmlTextReader.cs : 
768           - Check for invalid Text pattern "]]>" should not depend on line 
769             info since it might not be supported.
770           - Check referenced character's validity (WFC).
771
772 2004-01-28  Atsushi Enomoto <atsushi@ximian.com>
773
774         * DTDReader.cs : Added Normalization.  Parameter Entity declaration
775           should block invalid characters. (GEDecl should be fixed as well.)
776         * XmlConstruct.cs : Should allow surrogate chars.
777         * XmlNotation.cs : When prefix is empty (i.e. almost all cases) 
778           Name should not add ':'. Patch by Boris Kirzner.
779         * XmlTextReader.cs : Modified private ReadCharacterReference() to
780           return the character (or -1 when should not return anything).
781           Now Text character reference are checked their character range.
782           Set DTDReader.Normalization as well as the reader itself.
783
784 2004-01-28  Atsushi Enomoto <atsushi@ximian.com>
785
786         * DTDReader.cs : Make sure that parameter entities are not allowed
787           inside internal subset unless it appears as a markupdecl.
788         * DTDValidatingReader.cs : ENTITY or ENTITIES type attributes must have
789           a value that indicates *unparsed* entity (i.e. NDATA required).
790
791 2004-01-26  Atsushi Enomoto <atsushi@ximian.com>
792
793         * XmlTextWriter.cs : quick performance fix.
794           Reduced memoty allocation (e.g. 12% when writing XMLSchema.xsd.)
795
796 2004-01-26  Atsushi Enomoto <atsushi@ximian.com>
797
798         * DTDObjectModel.cs :
799           - DTDNode's BaseURI should not always refer to that of DTD's.
800           - Use absolute URI's .ToString() instead of AbsolutePath.
801         * DTDReader.cs : Throw XmlException for illegal character references.
802         * DTDValidatingReader.cs :
803           - Share XmlResolver when the actual reader is XmlTextReader.
804             (MS's XmlValidatingReader and XmlTextReader do this.)
805           - Added its own EntityHandling property.
806         * XmlValidatingReader.cs : Share XmlResolver with XmlTextReader.
807         * XmlReader.cs,
808           XmlTextReader.cs : Added new NET_2_0 members.
809         * XmlElement.cs : Removed extra lines (caused by XmlTextWriter bugs).
810         * XmlEntityReference.cs : Forgot to add, the real fix by Boris.
811
812 2004-01-23  Atsushi Enomoto <atsushi@ximian.com>
813
814         * XmlWriter.cs, XmlTextWriter.cs :
815           Several namespace related fixes.
816           - Current element's NamespaceURI should be immediately available
817             after the call of WriteStartElement() for LookupPrefix(), so 
818             AddMissingElementXmlns() only affects on output. This is 
819             now identified by shouldCheckElementXmlns field.
820           - Attribute's overraped xmlns should be ignored for LookupPrefix(),
821             Especially, when the owner element is written with the default
822             namespace. HOWEVER, the attribute should be *written*. This is
823             identified by shouldAddSavedNsToManager field.
824           - In AddMissingElementXmlns(), non-empty prefix namespace was not
825             checked user-written attributes.
826           - XmlWriter.WriteAttributeString() never supplies namespace URI for
827             xmlns attributes for other versions than NET_1_0. Instead, added
828             ns check logic in WriteStartAttribute() only with NET_1_0.
829           - WriteEndAttribute() should reject zero-length namespace for 
830             non-default xmlns declarations.
831           - LookupPrefix() should reject argument null and empty.
832
833         (added 2004-01-24 : forgot to mention more)
834           - WriteAttributeString() w/o namespace should supply null, not ""
835           - Added .NET 1.2 members.
836           - Regard any name with "xml" prefix as in "namespace for XML".
837
838 2004-01-22  Atsushi Enomoto <atsushi@ximian.com>
839
840         * XmlElement.cs : Reverted previous fix since it broke monodoc web 
841           service.
842
843 2004-01-20  Atsushi Enomoto <atsushi@ximian.com>
844
845         * XmlNode.cs : When adding a node to child list, it should reject its
846           ancestors. Patch by Boris Kirzner.
847         * XmlNodeReader.cs : Related fix to the fix above. It should not move
848           to children of XmlEntityReference nodes.
849         * XmlTextWriter.cs : FixedWriteStartElement() not to write default
850           namespace when ns is null (while ns is "", it writes default ns).
851         * XmlElement.cs : Fixed WriteTo() to call WriteStartElement(localName)
852           when NamespaceURI is an empty string.
853
854 2004-01-14  Atsushi Enomoto <atsushi@ximian.com>
855
856         * XmlAttribute.cs : when set a value, it is no longer default 
857           (even if the value is the same as default value).
858         * XmlAttributeCollection.cs : Remove() should recover default attribute
859           value to default, not specified value.
860           Patch by Boris Kirzner (modified a bit)
861         * XmlDocument.cs : Reference to undeclared entity is not allowed in
862           Load(), while allowed in ReadNode(). Added such distinguishing logic.
863
864 2004-01-13  Atsushi Enomoto <atsushi@ximian.com>
865
866         * XmlValidatingReader.cs : Throw exception only in case of errors.
867           Added NET_2_0 Evidences property.
868
869 2004-01-12  Atsushi Enomoto  <atsushi@ximian.com>
870
871         * XmlElement.cs : Fixed .ctor(). Default attribute was not treated as
872           Specified = false. Patch by Boris Kirzner.
873
874 2004-01-11  Atsushi Enomoto <atsushi@ximian.com>
875
876         * XmlException.cs : Fixed incorrect .ctor signature.
877         * XmlParserInput.cs : Fixed in sync with the above fix.
878
879 2004-01-08  Atsushi Enomoto  <atsushi@ximian.com>
880
881         * XmlAttribute.cs, XmlElement.cs : 
882           Fixed incorrect protected .ctor modification.
883
884 2004-01-08  Nick Drochak <ndrochak@ieee.org>
885
886         * DTDValidatingReader.cs: Removed unused variable
887         
888 2004-01-07  Atsushi Enomoto  <atsushi@ximian.com>
889
890         * XmlNamespaceManager.cs : Implemented .NET 1.2 methods that take
891           atomizedNames argument.
892         * XmlTextReader.cs : Use new namespace manager methods.
893           Reduced NameTable.Add().
894         * DTDObjectModel.cs : fixed incorrectly commented-out line.
895
896 2004-01-07  Atsushi Enomoto  <atsushi@ximian.com>
897
898         * XmlAttribute.cs, XmlDocument.cs, XmlElement.cs :
899           set_Prefix should atomize to name table.
900           Avoided extraneous atomization attempt a bit.
901
902 2004-01-07  Atsushi Enomoto  <atsushi@ximian.com>
903
904         * DTDObjectModel.cs, DTDReader.cs, XmlSecureResolver.cs :
905           avoiding obvious exception.
906         * DTDReader.cs, XmlTextReader.cs : Some optimization. 
907           Avoided extraneous PeekChar() and reduced name string creation.
908
909 2004-01-05  David Sheldon <dave-mono@earth.li>
910   
911   * XmlTextReader.cs: Fixed constructors taking string url to not
912     loose the absolute part of the path.
913
914 2004-01-04  Atsushi Enomoto  <atsushi@ximian.com>
915
916         * XmlDocument.cs : Fixed Load() to set XmlResolver correctly. Patch
917           by Benjamin Jemlich.
918           Assure closing XmlTextReader which are internally used.
919
920 2004-01-03  Atsushi Enomoto  <atsushi@ximian.com>
921
922         * XmlTextWriter.cs : trivial character-case fix
923         * XmlUrlResolver.cs : It downloads network stream content at 
924           GetEntity() call. You can try like below:
925             for (int i=0;i<100;i++) u.GetEntity(url, null, typeof(Stream));
926
927 2003-12-23  Atsushi Enomoto  <atsushi@ximian.com>
928
929         * XmlNamedNodeMap.cs : Fixed internal SetNamedItem(node, pos) to set
930           replacing node correctly. This fixes bug #52453.
931
932 2003-12-21  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
933
934         * XmlDocument.cs, XmlElement.cs, XmlNode.cs :
935           GetElementsByTagName() - Fixed bugzilla #52419, refactored, 
936           and moved private implementation methods to XmlNode class.
937
938 2003-12-20  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
939
940         * XmlTextWriter.cs :
941           Element's namespace should be escaped as usual attribute.
942
943 2003-12-18  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
944
945         * XmlTextWriter.cs : Indentation between xmldecl and doctype.
946         * DTDValidatingReader.cs : AttList null reference fix.
947
948 2003-12-16  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
949
950         * DTDValidatingReader.cs : Validity check and entity expansion were
951           incorrectly mixed.
952         * DTDObjectModel.cs, DTDReader.cs, XmlInputStream.cs :
953           Going to remove XmlInputStream. XmlStreamReader might be replacable.
954
955 2003-12-15  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
956
957         * XPathDocument2ChangedEventHandler.cs : fixed incorrect argument.
958         * Moved UpdateEventHandler.cs and XmlUpdateEventArgs.cs to sqlxml.
959
960 2003-12-15  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
961
962         * XmlTextReader.cs : BaseURI was broken. This fixes bug #52098.
963
964 2003-12-15  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
965
966         * XmlUrlResolver.cs : GetEntity() does not return direct network stream
967           that may hold up connection. Now it reads up all the content stream.
968
969 2003-12-12  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
970
971         * XmlAttributeCollection.cs,
972           XmlElement.cs : Fixed bug #51415.
973           When adding attribute to an element using Attributes, it failed.
974
975 2003-12-11  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
976
977         * XmlDocument.cs : Fixed ReadNode() to call AppendChild() to document
978           after setting all attribute nodes. Modified ReadNode() to handle
979           Depth comparison and error handling (!= to <). It allows MS's
980           SgmlReader bug that returns incorrect Depth.
981
982 2003-12-11  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
983
984         * XmlDocumentNavigator.cs : Fixed MoveToNextAttribute (and 
985           MoveToNextNamespace) that might result in NullReferenceException.
986           patch by Sanjay Gupta. This fixed bug #51941 (and possibly #51415)
987
988 2003-12-07  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
989
990         * XmlUrlResolver.cs : Update with recent System.Uri change. This fixes
991           bugzilla #51808 (patch by Jeroen Zwartepoorte, a bit modified).
992
993 2003-12-04  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
994
995         * XmlTextWriter.cs : WriteComment() should block "--", not full "-->".
996         * XmlDocumentNavigator.cs : Added null check in MoveToNextAttribute().
997           This may fix bug #51415.
998
999 2003-11-28  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
1000
1001         * XmlAttribute.cs : set_Prefix checks value when existing is "xmlns".
1002
1003 2003-11-28  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
1004
1005         * XmlWriter.cs : patch by Gonzalo (I modified a bit). WriteNode()
1006           shouldn't expect non-empty element content. This will fix bug #48287.
1007
1008 2003-11-28  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
1009
1010         * XmlTextWriter.cs : When element's namespace should be overwritten by
1011           one of its attribute, if exist as such. This fixes bug #51305.
1012
1013 2003-11-24  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
1014
1015         * DTDValidatingReader.cs : Fixed ReadContent() which may result in 
1016           invalid additional Text node.
1017
1018 2003-11-24  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
1019
1020         * XmlTextWriter.cs : 
1021           On WriteProcessingInstruction(), ArgumentException() is expected ;-)
1022
1023 2003-11-24  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
1024
1025         * XmlTextWriter.cs :
1026           WriteProcessingInstruction() should check name validity.
1027           AddMissingElementXmlns() should allow namespace emission even if it
1028           is identical to existing one.
1029
1030 2003-11-22  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
1031
1032         * XmlTextReader.cs : Fixed ReadInnerXml(). This fixes bug #51267.
1033
1034 2003-11-20 Eran Domb <erand@mainsoft.com>
1035
1036         * XmlTextWriter.cs (WriteStartAttribute) : Check if the ket already exists in the newAttributeNamespaces table 
1037           before trying to add it to the table.
1038
1039 2003-11-19  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
1040
1041         * DTDValidatingReader.cs : Replaced entity should not treat whitespaces
1042           as significant.
1043         * XmlNode.cs : Removed extraneous MonoTODOs.
1044
1045 2003-11-17  Jackson Harper  <jackson@ximian.com>
1046
1047         * XPathEditor.cs: .net 1.2 only
1048         
1049 2003-11-17  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
1050
1051         * AsyncXmlTextWriter.cs, IXPathChangeNavigator.cs, IXPathEditor.cs,
1052           IXPathNavigator.cs, IXmlDataEvidence.cs, IXmlNamespaceResolver.cs,
1053           UpdateEventHandler.cs, XPathChangeNavigator.cs, XPathDocument2.cs,
1054           XPathDocument2ChangedEventAction.cs, 
1055           XPathDocument2ChangedEventHandler.cs, XPathEditor.cs,
1056           XPathNavigator2.cs, XmlChangeFilters.cs, XmlInfoItemType.cs,
1057           XmlNamespaceScope.cs, XmlNodeChangeType.cs, XmlQualifiedNameTable,cs,
1058           XmlQueryDialect.cs, XmlUpdateEventArgs.cs
1059           : Added .NET 1.2 classes (for convenience of ObjectSpaces stubbing).
1060
1061 2003-11-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1062
1063         * XmlDocumentNavigator.cs : Fixed MoveToFirstChild() and MoveToNext()
1064           to skip XmlEntityReference.
1065         * XmlTextWriter.cs : Fixed AddMissingElements() and 
1066           WriteStartAttribute() not to emit extraneous xmlns.
1067
1068 2003-11-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1069
1070         * XmlTextWriter.cs : Skip multiple xmlns when element and any of 
1071           attributes have the same xmlns values.
1072           WriteEndElement() allows open attribute (calles WriteEndAttribute()).
1073           Indentation should be inserted between ">" and "</xxx>" .
1074
1075 2003-11-02  Pedro Martínez Juliá  <yoros@wanadoo.es>
1076
1077         * XmlConvert.cs: Only parse INF/-INF/NaN. Other Infinty or NAN
1078         numbers are parsed with the respective ::Parse method.
1079
1080 2003-11-01  Pedro Martínez Juliá  <yoros@wanadoo.es>
1081
1082         * XmlConvert.cs: Revert my last change. INF and -INF must be
1083         processed here because Double::Parse and Single::Parse doesn't
1084         understand anything of parsing [-]INF.
1085
1086 2003-11-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1087
1088         * XmlDocument.cs : Save(Stream) should not close the stream.
1089
1090 2003-10-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1091
1092         * DTDReader.cs, DTDValidatingReader.cs, XmlInputStream.cs,
1093           XmlTextReader.cs : More cleanup.
1094         * XmlDocument.cs : Removed CheckName(). Code cleanup.
1095         * XmlElement.cs : .ctor() now adds default attributes (if required).
1096         * XmlAttribute.cs, XmlElement.cs, XmlEntity.cs, XmlEntityReference.cs,
1097           XmlNotation.cs : Now uses OwnerDocument's NameTable.
1098
1099 2003-10-25  Pedro Martínez Juliá  <yoros@wanadoo.es>
1100
1101         * XmlConvert.cs: Support for the sign in double and single. The
1102         processing of the infinites and nan numbers are more complex than
1103         comparing to "INF" so we must let Double::Parse and Single::Parse
1104         doing their job.
1105
1106 2003-10-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1107
1108         * DTDValidatingReader.cs : Now it handles whitespace entity as
1109           significant.
1110         * XmlConvert.cs : As to NIST testcases, exponential support on single
1111           and double floating point numbers.
1112         * XmlValidatingReader.cs : If it IsDefault, then line number and line
1113           position returns 0.
1114
1115 2003-10-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1116
1117         * DTDReader.cs,
1118           XmlConstructs.cs,
1119           XmlTextReader.cs,
1120           XmlWriter.cs : Fixed incorrect access modifier.
1121         * XmlTextWriter.cs : Imported state variable from XmlWriter.
1122         * DTDValidatingReader.cs : Removed extraneous MonoTODO.
1123         * XmlConvert.cs : Implemented ToTimeSpan().
1124           Modified ToDateTime() to reuse the same array.
1125
1126 2003-10-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1127
1128         * XmlAttributeCollection.cs : Fixed synchronization stuff.
1129         * XmlConvert.cs : Added two FromBinHexString() methods.
1130         * XmlTextReader.cs : Modified to use one of the above method.
1131         * XmlValidatingReader.cs : XsdValidatingReader.XmlResolver will be 
1132           disabled (in the next commit), so resolver won' be set to it.
1133           Attempt to validate against XDR now throws NotSupportedException.
1134
1135 2003-10-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1136
1137         * XmlChar.cs : added WhitespaceChars, used in common.
1138         * XmlConvert.cs,
1139           XmlDeclaration.cs,
1140           XmlParserInput.cs,
1141           XmlTextReader.cs,
1142           XmlTextWriter.cs : String.Trim()
1143         * XmlConvert.cs : shifted XmlConstructs to XmlChar.
1144         * XmlTextReader.cs : Implemented Normalization.
1145
1146 2003-10-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1147
1148         * XmlNode.cs : GetPrefixOfNamespace() also contained a bug similar to
1149           GetNamespaceOfPrefix() fixed at 2003-10-13.
1150         * XmlTextReader.cs : ReadBase64() should keep incomplete base64 block
1151           which remained by previous call of this method.
1152         * XmlUrlResolver.cs : Added assertion for file Uri path's absoluteness.
1153         * XmlValidatingReader.cs : Notice about intention of XDR won't be
1154           supported (at least in Mono 1.0).
1155
1156 2003-10-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1157
1158         * XmlDocument.cs : CloneNode() does not copy PreserveWhitespace.
1159         * XmlWriter.cs : Calling WriteNode() with XmlReader whose state is
1160           XmlDeclaration now calls WriteProcessingInstruction(). This fixes
1161           testcase XmlWriterTests.WriteNodeFullDocument().
1162         * XmlTextWriter.cs : Added LAMESPEC comments related to above.
1163
1164 2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1165
1166         * XmlDocument.cs : Fixed bugzilla #49607. Save() outputs XML 
1167           declaration even though there is no XmlDeclaration child.
1168         * XmlTextReader.cs : Fixed Init() so that ResetState() should work.
1169
1170 2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1171
1172         * XmlTextWriter.cs : Implemented WriteSurrogateCharEntity().
1173           Reverted my recent extraneous check in WriteStartAttribute().
1174
1175 2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1176
1177         * XmlNode.cs : GetNamespaceOfPrefix() should check Attributes existence.
1178           And it should throw ArgumentNullException.
1179
1180 2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1181
1182         * XmlAttribute.cs : Fixed InnerText that did not removed its content
1183           if there is two or more children.
1184         * XmlNode.cs : XmlNode.cs : Fixed bugzilla #49580 (1)to return "",
1185           (2)not to compare NodeType for detached nodes, (3)optimization to
1186           compare element's prefix.
1187         * XmlSecureResolver.cs : Removed extraneous members.
1188
1189 2003-10-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1190
1191         * Added DTDReader.cs. It is almost importation of XmlTextReader.
1192         * DTDObjectModel.cs :
1193           - More .NET-ism. Properties took place of fields.
1194           - Imported PE set from XmlTextReader. Added location info.
1195           - Added DTDEntityBase common to PE and GE.
1196           - More correct text declaration handling with new XmlTextReader.
1197         * DTDValidatingReader.cs :
1198           - Now uses entity resolving XmlTextReader to validate attributes
1199             correctly. Implemented standalone
1200           - Standalone and default related validity constraints check.
1201         * XmlImplementation.cs: Implemented HasFeature().
1202         * XmlNode.cs : Implemented Supports().
1203         * XmlNodeReader.cs : Modified to use XmlTextReader.SkipTextDeclaration()
1204         * XmlParserInput.cs : Removed extraneous members.
1205         * XmlTextReader.cs :
1206           - All DTD related functionality now goes to DTDReader.cs
1207           - It became old simple TextReader input style.
1208           - Implemented GetRemainder().
1209           - Implemented ReadBase64(), ReadBinHex() and ReadChars(), using 
1210             additional new private method ReadUntilEndTag().
1211           - Removed incomplete MaybeTextDecl and added SkipTextDeclaration().
1212             ReadXmlDeclaration() now became simple.
1213           - More strict entity reference check at SetEntityReferenceProperty()
1214           - Removed extraneous members.
1215         * XmlWriter.cs : WriteNode(XmlNodeType.None) does not raise error.
1216
1217 2003-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1218
1219         * XmlTextReader.cs: when we get an unexpected EOF in ReadContent, set
1220         the state before throwing the exception if depth > 0.
1221
1222 2003-10-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1223
1224         * XmlAttribute.cs : Removed extraneous MonoTODO.
1225         * XmlTextWriter.cs : Implemented WriteBinHex() and WriteChars().
1226           WriteStartElement() and WriteStartAttribute() should ignore Prefix
1227           if namespace uri is not specified.
1228
1229 2003-10-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1230
1231         * XmlDocumentFragment.cs,
1232           XmlElement.cs,
1233           XmlEntityReference.cs : Removed extraneous MonoTODO.
1234         * XmlNode.cs : Implemented Normalize().
1235         * XmlNodeReader.cs :
1236           - AttributeCount and HasAttributes should return its owner element's
1237             value, to be consistent with XmlTextReader.
1238           - Fixed Depth to reflect correct attribute/attribute-value iteration.
1239           - simplified ownerElement and HasValue.
1240           - Prefix won't return null.
1241           - MoveToElement() should also work against attribute value nodes.
1242         * XmlTextReader.cs : MoveToElement() should return false if it is
1243           positioned at element itself.
1244
1245 2003-10-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1246
1247         * XmlTextReader.cs : Improved SignificantWhitespace handling.
1248
1249 2003-10-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1250
1251         * XmlSecureResolver.cs : Implemented basic feature.
1252
1253 2003-10-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1254
1255         * XmlUrlResolver.cs : Should work with null type argument.
1256
1257 2003-10-01  Lluis Sanchez Gual <lluis@ximian.com>
1258
1259         * XmlTextWriter.cs : An attribute can require a prefix for the default
1260           namespace, so we need to store the prefix as well as the namespace.
1261
1262 2003-09-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1263
1264         * DTDValidatingReader.cs : Simplified to use 
1265           XmlSchemaUtil.GetParserContext().
1266         * XmlValidatingReader.cs : ValidationType.Auto should always use
1267           XsdValidatingReader because xsi:schemaLocation might be used.
1268
1269 2003-09-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1270
1271         * XmlTextReader.cs : Attribute value token properties were incorrectly
1272           set by the linked node.
1273
1274 2003-09-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1275
1276         * XmlDocumentNavigator.cs : Fix for bugzilla #48931. MoveToRoot() now
1277           considers such case that target node was not adapted to the document.
1278         * XmlNamespaceManager.cs : GetEnumerator() missed the last pair.
1279         * XmlTextWriter.cs : use 'as'  instead of 'try..catch'.
1280
1281 2003-09-25 Ben Maurer  <bmaurer@users.sourceforge.net>
1282
1283         * XmlNode.cs (XPathNodeType): Give more useful debugging message.
1284         * XmlDocumentNavigator.cs (MoveToPrevious): Needs same checks as
1285         in MoveToNext.
1286
1287 2003-09-23  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1288
1289         * XmlNamespaceManager.cs: Rewrote PopScope() because its namespace
1290           recovery was still not enough. Fixed GrowScopes() (incorrect index).
1291
1292 2003-09-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1293
1294         * XmlTextReader.cs : 
1295           - Fix for bugzilla #48337 (containing Ben's advice on that).
1296           - Added internal XmlTokenInfo classes. Nodes are now handled as token 
1297             objects (linked node, attributes and attribute values). Most of the
1298             node state properties and iterating methods are changed to refer to
1299             the token classes (except for value builder availability). Removed
1300             fields which are never used. CompileDTDSubset() is changed in
1301             reflection to nodeType field removal.
1302           - Fixed Depth that should vary in moving between attributes and/or
1303             reading attribute values.
1304           - LineNumber and LinePosition now returns more correct location.
1305           - Fixed Value that should still return true if its value is an empty
1306             attribute value string.
1307           - EntityValue is checked WFC constraints even thoug it is not used.
1308           - All .ctor() now initializes ReadState as Initial.
1309           - Read() should be available for attribute value constructor.
1310         * XmlAttribute.cs : set_InnerXml() now calls reader's Read().
1311
1312 2003-09-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1313
1314         * XmlNamespaceManager.cs: PopScope() must retain those namespaces which
1315           are added in the scope before PushScope() was called.
1316
1317 2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>
1318
1319         * XmlNamespaceManager.cs: Rewrote. Uses arrays, rather than linked
1320         lists and removes uses of Hashtable. Results in huge speed gains.
1321
1322 2003-09-19 Ben Maurer  <bmaurer@users.sourceforge.net>
1323
1324         * XmlConvert.cs: NaN.ToString () != INF.
1325
1326 2003-09-14  Lluis Sanchez Gual  <lluis@ximian.com>
1327
1328         * XmlTextWriter.cs: Attributes that have a namespace must be always
1329           prefixed.
1330
1331 2003-09-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1332
1333         * XmlTextWriterOpenElement.cs : Changed to receive prefix and localName
1334           in .ctor().
1335         * XmlTextWriter.cs : Changed to use above XmlTextWriterOpenElement.
1336           Changed xmlns adding scheme. In detail, 1) WriteStartElement does not
1337           add Namespaces immediately, but adds at AddMissingElementXmlns so 
1338           that we don't have to have extra check than namespaceManager's
1339           LookupPrefix(). 2) Removed writtenAttributes for performance reason
1340           since it is no more required.
1341
1342 2003-09-10  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1343
1344         * XmlDocument.cs : patch by Jonathan Hogg. Fixed CreateAttribute()
1345           that handled xmlns attributes inproperly.
1346
1347 2003-09-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1348
1349         * XmlNamespaceManager.cs : GetEnumerator() should return all of the
1350           available pairs (of prefix and namespace).
1351         * XmlQualifiedName.cs : Quick fix for NullReferenceException in case
1352           of name (or ns) is null. (The description of the immediate previous 
1353           changes will be inserted below.)
1354         * XmlTextWriter.cs : Fixed WriteDocType(). Removed CheckValidName().
1355         * XmlUrlResolver.cs : Changed not to call WebClient.Dispose() which
1356           will release resources it had allocated.
1357
1358 2003-09-01 Ben Maurer  <bmaurer@users.sourceforge.net>
1359
1360         * XmlDocument.cs (Save): use the encoding of the document, if
1361         available.
1362
1363 2003-08-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1364
1365         * XmlValidatingReader.cs : Implemented SchemaType. Added support for
1366           ValidationType.Schema. Added support for XmlResolver. Fixed 
1367           ReadTypedValue() not to consume EndElement.
1368
1369 2003-08-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1370
1371         * XmlDocumentNavigator.cs : Fixed MoveToFirstNamespace() that arose
1372           infinite loop.
1373         * XmlNamespaceManager.cs : Renamed AtomStrEq to AtomicStringEquals.
1374           Commented out Console.Error.WriteLine().
1375         * XmlUrlResolver.cs : Fixed ResolveUri() and GetEntity() to support
1376           escape and unescape for relative URI string.
1377
1378 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
1379
1380         * XmlParserContext.cs: Make each context inherit next.
1381
1382 2003-08-18 Ben Maurer  <bmaurer@users.sourceforge.net>
1383
1384         * XmlChar.cs (IsWhitespace): Spare enumerator allocation.
1385         * XmlTextWriter.cs (WriteWhitespace): Enumerators are very high in
1386         fat, use low-fat loops instead. Even better, call the function
1387         inside XmlChar for code reuse.
1388         * HighWaterStack.cs (added): New class that acts like a Stack, but
1389         helps with memory allocation.
1390         * XmlNamespaceManager.cs, XmlParserContext.cs: Rewrote to use
1391         HighWaterStack.
1392         * XmlTextReader.cs: Remove orderedAttributesEnumerator variable,
1393         use a variable that stores the position in the ArrayList.
1394         
1395 2003-08-18 Ben Maurer  <bmaurer@users.sourceforge.net>
1396
1397         * XmlTextWriter.cs: Begin diet. String.Format has too much
1398         saturated fat, lets replace with the fat-free .Write ()
1399         calls. Effects best seen when Paolo's StreamWriter patch is
1400         applied.
1401
1402 2003-08-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1403
1404         * XmlNodeReader.cs : Fixed ReadAttributeValue() that might result in
1405           vanishing current node.
1406
1407 2003-08-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1408
1409         * DTDValidatingReader.cs : Added SchemaType.
1410           Read() Assures to return to element.
1411         * DTDObjectModel.cs : Removed DTDEntityDeclaration.BaseURI.
1412         * XmlReader.cs : ReadString() should be virtual in NET_1_1.
1413         * XmlTextReader.cs : 1) Depth should consider Attribute and its values.
1414           Introduced insideAttribute field to support them.
1415           2) ReadAttributeValue() should consider empty string.
1416         * XmlValidatingReader.cs :
1417           Fixed several properties which premised as if it was already read.
1418           Encoding and Namespaces now throws NotSupportedException for other
1419           than XmlTextReader.
1420           Implemented ReadTypedValue() based on IHasXmlSchemaInfo.SchemaType.
1421
1422 2003-08-10  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1423
1424         * XmlInputStream.cs : Reverted CanSeek as to return false anyway.
1425
1426 2003-08-10  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1427
1428         * DTDObjectModel.cs : added XmlResolver related members. Added
1429           invalid entity recursion logic. Added encodingdecl check on textdecl.
1430         * DTDValidatingReader.cs : It now implements IHasXmlParserContext.
1431         * XmlChar.cs : IsPubidChar() should not allow TAB(&#9;).
1432         * XmlDocumentType.cs : 1) internal CreateDocumentType() was now changed
1433           to receive DTDObjectModel to support other than XmlTextReader. 
1434           2) Most of its public member is now based on DTDObjectModel.
1435         * XmlDocument.cs : 1) Synchronous change with XmlDocumentType.
1436           2) ReadNode() now considers XmlParserContext's DTDObjectModel for
1437           other than XmlTextReader (such as XmlValidatingReader).
1438         * XmlNode.cs : code cleanup only.
1439         * XmlParserInput.cs : added HasPEBuffer, used to check illegal nesting.
1440         * XmlTextReader.cs : 1) Illegal entity reference check logic was moved 
1441           from ReadContent() to SetEntityReferenceProperties(). 2) Indentation
1442           change on ReadEntityReference(). 3) ReadAttribute() now checks
1443           reference to external entity reference. 4) Added textdecl encoding
1444           check. 5) DTDObjectModel fields are now set correctly. 6) added
1445           PERef markup nest check. 7) If PEDecl was not found, it might be WFC
1446           violation, not only be VC violation. 8) ReadEntityDecl() now receives
1447           its declared entity itself, and this method checks IsInternalSubset.
1448         * XmlValidatingReader.cs : 1) Added GetInternalPerserContext().
1449           2) ValidationType.None should be the same as Auto, not DTD (in the
1450           future it should keep xml schema's default values).
1451
1452         Pending Stuff in XmlTextReader which breaks some NUnit tests;
1453           1) SetEntityReferenceProperies() has check for illegal references.
1454           2) ReadAttribute(bool) has similar check for illegal references.
1455
1456 2003-08-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1457
1458         * DTDAutomata.cs : Fixed (modified or added) TryEndElement() of choice,
1459           sequence and oneOrMore. Fixed DTDChoiceAutomata.TryStartElement().
1460
1461 2003-08-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1462
1463         * XmlTextReader.cs : Checked and fixed all TryExpandPERef() invokation 
1464           and supplied SkipWhitespace() as they needed. It broke monodoc.
1465           Fixed ReadEntityValueDecl() to get correct value.
1466
1467 2003-08-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1468
1469         * XmlInputStream.cs :
1470           Fixed Initialize() that might result in incorrect buffer.
1471           CanRead and Position should consider buffer (especially when the
1472           stream was EOF).
1473           CanSeek should use stream's CanSeek.
1474
1475         * XmlChar.cs : added GetPredefinedEntity().
1476         * DTDObjectModel.cs :
1477           - Modified ComputeDefaultValue() to use it.
1478           - Fixed NormalizedDefaultValue not to expect parsed value as string.
1479           - ResolveExternalEntity now detects invalid standalone specification.
1480           - DTDParameterEntityDeclaration.Value is now changed to property and
1481             keep its resolved value of literal value of external value using
1482             new Resolve (XmlResolver) method (called only by XmlTextReader).
1483         * DTDValidatingReader.cs :
1484           - It now handles entity-expanded Whitespace and SignificantWhitespace
1485             correctly. Does not raise unexpected text not allowed error.
1486           - Fixed MoveToAttribute()s to move internal reader correctly, and
1487             should be able to move in other cases than on element node.
1488           - On Read()ing document type and ResolveEntity(), it now sets
1489             XmlResolver on text reader.
1490           - On ID constraints check and type verification, it now uses
1491             normalized attribute or its tokenized value(s).
1492           - Fixed ValidateAttributes() to add default values when 
1493             ValidationType is Auto.
1494         * XmlParserContext.cs : added internal Dtd setter.
1495         * XmlParserInput.cs :
1496           InsertParameterEntityBuffer() should add surrounding whitespaces.
1497           Removed unused code block.
1498         * XmlTextReader.cs :
1499           - Modified ReadReference(), ReadAttribute() and Dereference() to use
1500             XmlChar.GetPredefinedEntity().
1501           - When returning entity reference, it checks extity declaration
1502             existence in certain conditions.
1503           - ReadAttribute() now skips general entity replacement on reading
1504             entity value.
1505           - ReadText() now handles whitespace texts as XmlNodeType.Whitespace.
1506           - ReadXmlDeclaration() holds isStandalone, which might be used in
1507             entity reference's well-formedness check.
1508           - internal 'DTD' now uses XmlParserContext.Dtd.
1509           - isInternalSubset was meaningless. Now uses input stack's Count.
1510           - Added some required SkipWhitespace().
1511           - Several parameter entity handling changes.  Added GetPEValue(name).
1512             TryExpandPERef() now uses ImportAsPERef(). ReadParameterEntityDecl()
1513             now uses its Resolve() when it was external PE.  Now it uses value
1514             buffer instead of currentTag, to efficiently read (included) PE.
1515             CompileDeclaration() now uses ImportAsPERef instead of ExpandPERef().
1516             ImportAsPERef() simply inserts the value to currentInput.
1517             ReadEntityDecl() also uses value buffer.   Removed non-used methods.
1518           - Default attributes are now stored in normalized form.
1519           - Dereference() now considers non-expanding predefined entities.
1520         * XmlValidatingReader.cs : now holds Schemas, and ValidationType.Auto
1521           is more correctly supported.
1522
1523         * XmlAttributeCollection.cs :
1524           When removing default attribute, it immediately inserts the attribute.
1525           RemoveAll() should consider default (not-removable) attributes.
1526         * XmlDocument.cs :
1527           Should have its default XmlResolver. Added Internal Resolver.
1528           Some Load() should use its XmlResolver.
1529           ImportNode() should copy its children in node level, not value level.
1530           It also have to consider not to copy default attribute on importing
1531           XmlElement.
1532         * XmlDocumentType.cs : Now uses document's XmlResolver to read DTD.
1533         * XmlAttribute.cs,
1534           XmlDocumentFragment.cs.
1535           XmlElement.cs : use XmlResolver on InnerXml. Removed some MonoTODO.
1536         * XmlNodeReader.cs : GetInternalParserConext() should provide its DTD.
1537           ResolveEntity() uses XmlResolver on entityReader.
1538
1539 2003-08-07  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1540
1541         * DTDObjectModel.cs :
1542           - Added validation error check (and AddError(), Errors).
1543           - Fixed ComputeDefaultValue() to handle various references correctly.
1544           - DTDEntityDeclaration.EntityValue became property, and added
1545             LiteralEntityValue. The new one holds resolved value.
1546             Added ResolveExternalEntity(). It now required root in .ctor().
1547         * DTDValidatingReader.cs :
1548           - Now it handles namespaced attributes (as input to xsd validator).
1549           - Added XmlResolver property as usual XmlReader.
1550           - Added currentEntityHandling field so that it can stand changing
1551             XmlValidatingReader's EntityHandling dynamically.
1552           - FilterNormalization() now requires name for getting datatypes and
1553             can stand for non-current attribute normalization.
1554           - Splitted ReadContent() from Read() that can be called recursively
1555             when expanding entities.
1556           - Now handles Entity not found error *after* resolution of entities,
1557             as MS.NET does.
1558           - Read()ing DTD checks its Errors and raises validation error events.
1559             In some situations, DTD parsing may detect VC error, not WFC error.
1560             It also strictly checks NData existence.
1561           - Handling of entity-resolved text is a bit changed and Read()ing
1562             element, endElement, cdata now changed to switch collecting text
1563             and collected text.
1564           - content type ANY should allow texts.
1565           - Added enumerated attribute validity check.
1566           - Added Name/Names creation rule check for ID/IDREF/IDREFS.
1567           - Added entity existence check for ENTITY/ENTITIES attributes.
1568           - Added NMTOKEN creation rule check for NMTOKEN/NMTOKENS.
1569           - Fixed to remove extraneous #REQUIRED check.
1570           - Contributing default attribute is now only applied to the case
1571             ValidationType is DTD or None.
1572           - ResolveEntity() now handles external entities.
1573             Added Mono.Xml.IXmlParserContext interface support.
1574         * XmlDocumentType.cs : Fixed to use BaseURI to build DTD model.
1575         * XmlTextReader.cs :
1576           - Fixed ReadAttributeValue() to reset returnEntityReference.
1577           - Added bool MaybeTextDecl only for ResolveEntity().
1578           - Fixed ReadWhitespace(). In fact its value is considered even if it
1579             is in the end of the XML.
1580           - Fixed ReadXmlDeclaration(). Now skips text declaration.
1581           - CompileDTDSubset() now checks IGNORE/INCLUDE section end balances.
1582           - ReadContentSpec() should set OrderType = OR for mixed model.
1583             Fixed to set content element name correctly.
1584           - ImportAsPERef() now skips Text declaration.
1585           - Type of enumerated default attributes shold be string.
1586           - Undeclared PE error is now handled as DTD's VC error, not
1587             XmlTextReader's WFC error.
1588         * XmlValidatingReader.cs : BaseURI should provide that of 
1589           original XmlReader's when read was not started yet.
1590           Fixed XmlResolver to delegate to DTDValidatingReader.
1591
1592         * XmlAttributeCollection.cs : Acquiring attList declaration is
1593           insufficient especially in case of lack of elementdecl.
1594         * XmlChar.cs : (Maybe this is compact than XmlConstructs.)
1595           added IsWhitespace(),IsNCNameChar(),IsName(),IsNCName(),IsNmToken(),
1596           IsPubid(). Copies IsValidIANAEncoding() from XmlConstructs.
1597
1598         * XmlInputStream.cs : Removed "version" declaration check. It should
1599           be done by XmlTextReader.
1600
1601         * XmlNodeReader.cs : added internal GetInternalParserContext() and now
1602           it can be used in XmlValidatingReader.ResolveEntity().
1603           ResolveEntity() sets XmlTextReader.MaybeTextDecl.
1604
1605 2003-08-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1606
1607         * DTDValidatingReader.cs :
1608           Added full ExpandEntities support for text node and entity reference
1609           node (although require many usage tests). Almost all methods and
1610           properties now have currentTextValue != null check, that field means
1611           that there are cached (entity-resolved) text.
1612           Implemented default attribute aware XmlLang and XmlSpace.
1613         * XmlNodeReader.cs : ResolveEntity() should not require DTD.
1614
1615 2003-08-03  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1616
1617         * DTDValidatingReader.cs,
1618           XmlNodeReader.cs,
1619           XmlReader.cs,
1620           XmlTextReader.cs,
1621           XmlValidatingReader.cs : fixed pragma USE_VERSION_1_0 to NET_1_0.
1622
1623 2003-08-03  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1624
1625         * DTDObjectModel.cs : Added BaseURI (but not used yet).
1626           DTDAttListDeclaration.ctro() now requires root dtd object model.
1627         * DTDValidatingReader.cs : Read() now expands EntityReference if
1628           entity handling of validating reader is ExpandEntities.
1629         * XmlReader.cs,
1630           XmlTextReader.cs,
1631           XmlNodeReader.cs,
1632           XmlValidatingReader.cs : Implemented "virtual" ReadInnerXml and
1633             ReadOuterXml which are modified in MS.NET 1.1.
1634         * XmlConstructs.cs : added int version of IsValid, IsInvalid,
1635           IsContent, IsMarkup and IsNCNameStart.
1636           Fixed int version of IsXXX() to check array index range. 
1637           Added IsValidName (string).
1638         * XmlTextReader.cs :
1639           - Read() handles document with non document element as an error.
1640           - ReadText() and ReadCharacterReference() checkes illegal characters.
1641           - ReadEntityReference() checks name validity.
1642           - ReadProcessingInstruction() rejects such name that starts with
1643             "xml" ignoring case, and checks attributes more strictly.
1644           - ReadDeclaration() rejects unrecognized kind of declaration.
1645           - In many places, added "required whitespace" check in DTD markup.
1646           - DTD content model now disallows mixing use of '|' and ','.
1647
1648 2003-08-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1649
1650         * XmlDocumentFragment.cs : I missed to add it in relation to the
1651           previous XmlParserContext patch. Similar to XmlAttribute/XmlElement.
1652         * XmlNodeReader.cs : removed some TODO attributes.
1653         * DTDValidatingReader.cs,
1654           XmlValidatingReader.cs : Implemented ResolveEntity().
1655
1656 2003-07-31  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1657
1658         * XmlParserContext.cs,
1659           XmlAttribute.cs,
1660           XmlElement.cs : Added internal Dtd and new internal XmlParserContext
1661           .ctor() that takes DTDObjectModel. And then rewrote classes which 
1662           uses DTD information. Changed DocTypeName, InternalSubset, PublicId
1663           and SystemId to use DTDObjectModel.
1664         * DTDObjectModel.cs :
1665           Added DTDObjectModel.InternalSubsetHasPEReference.
1666           Added DTDEntityDeclaration.IsInternalSubset.
1667         * XmlTextReader.cs :
1668           Added internal GetInternalParserContext (to build entity reader).
1669           Added private isIntSubset to check if the DTD subset is internal or
1670           external, which might affect well-formedness constraints.
1671           Changed GenerateDTDObjectModel to return the resulting DTD model.
1672
1673         * XmlEntityReference.cs : implemented BaseURI.
1674         * XmlNodeReader.cs :
1675           - Implemented ResolveEntity() and CanResolveEntity(). In fact
1676             it leads too many changes on almost all methods and properties,
1677             since they now must be aware of entityReader.
1678           - fixed ownerElement that might be used to return from attribute 
1679             value to the element through parent attribtues.
1680           - Now changed indexer to call GetAttribute() and moved actual logic
1681             to the matching GetAttribute() methods.
1682
1683 2003-07-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1684
1685         * XmlNode.cs : fixed internal ConstructNamespaceManager() for InnerXml
1686           not to create extraneous xmlns="".
1687
1688 2003-07-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1689
1690         * DTDValidatingReader.cs : (Read,ValidateAttributes,ReadAttributeValue)
1691           attribute declaration should be got independently of elementdecl.
1692         * XmlAttribute.cs :
1693           Added internal SetDefault() to mark as default.
1694           Removed InnerText implementation that is just the same as XmlNode.
1695         * XmlDocument.cs : id shouldn't be removed from table at 'trying' to
1696           get matching elements.  ReadAttributeNode() now sets default mark.
1697         * XmlElement.cs : WriteTo() should ignore default attributes.
1698         * XmlTextWriter.cs : shuold allow valid name char such as digits.
1699
1700 2003-07-27  Piers Haken <piersh@friskit.com>
1701
1702         * XmlQualifiedName.cs : fields should never be null
1703
1704 2003-07-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1705
1706         * XmlDocumentFragment.cs : added XPathNodeType indicating Root.
1707
1708 2003-07-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1709
1710         * XmlDocument.cs (GetIdenticalAttribute): restored OwnerElement.IsRooted
1711
1712 2003-07-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1713
1714         * XmlLinkedNode.cs : added internal IsRooted.
1715
1716 2003-07-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1717
1718         * DTDValidatingReader.cs :
1719           - Added ID support in ValidateAttributes().
1720           - More refined ReadAttributeValue() support for non-expanding entity
1721             situation
1722           - It should handle LocalName, Name, Prefix, NamespaceURI and Value
1723             correctly when the reader is on each of the value nodes of an
1724             attribute. Now XmlDocument.ReadNode() should work well.
1725         * XmlDocument.cs :
1726           - added idTable, AddIdenticalAttribute(), GetIdenticalAttribute() and
1727             RemoveIdenticalAttribute()
1728           - Implemented GetElementById().
1729         * XmlAttributeCollection.cs :
1730           - added private ownerDocument property and replaced
1731             ownerElement.OwnerDocument with it.
1732           - Added AdjustIdenticalAttribute() and it is used in SetNamedItem().
1733             It calls XmlDocument.{Add|Remove}IdenticalAttribute().
1734           - Added RemoveIdenticalAttribute() and it is used in Remove().
1735             (I also added AddIdenticalAttribute() but is not used.)
1736
1737 2003-07-26  Duncan Mak  <duncan@ximian.com>
1738
1739         * XmlDocument.cs (GetIdenticalAttribute): Temporarily remove test
1740         for OwnerElement.IsRooted to fix the build..
1741
1742 2003-07-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1743
1744         * XmlDocumentType.cs :
1745           modified private DTD to dtd and added internal DTD (the same thing).
1746         * XmlElement.cs :
1747           Fixed SetAttributeNode() to check if specified attribute is already
1748           set to the other element. In fact it is W3C DOM's specification but
1749           MS.NET 1.0 failed to catch it.
1750         * XmlTextReader.cs :
1751           ReadAttributeValue() should check if the value of the attribute is
1752           already read when the whole value is entity reference.
1753           Also, Name of text nodes should be "", not "#text"
1754
1755 2003-07-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1756
1757         * XmlAttribute.cs : .ctor() shouldallow localName "xml" (not prefix)
1758           with http://www.w3.org/XML/1998/namespace.
1759         * XmlEntity.cs : patch by Aleksey Sanin. InnerText is now supported.
1760         * XmlNode.cs : InnerText should handle CDATA and whitespaces.
1761         * XmlTextReader.cs : Should allow " (#PCDATA)* " in ReadContentSpec().
1762         * XmlTextWriter.cs : Quick fix for accepting (and writing) same-named
1763           attributes (as MS.NET does). It isn't good way and I may change it.
1764
1765 2003-07-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1766
1767         * DTDObjectModel.cs : Added DTDEntityDeclarationCollection and
1768           DTDNotationDeclarationCollection and replaced Hashtables with them.
1769           Added NormalizedDefaultValue property for DTDAttributeDefinition.
1770         * DTDValidatingReader.cs :
1771           - It now reads attribute values into value collection. 
1772           - Renamed consumedDefaultAttribute to consumedAttribute, and
1773             inContent to insideContent.
1774           - GetAttribute() should allow reader's other node state than element.
1775           - MoveToNextAttribute() should move when reader is placed other than
1776             the first attribute.
1777           - HandleError() now supports ValidationType.None (i.e. does nothing).
1778           - ValidateAttribute() now collects and resolves attribute value 
1779             entity references. (On the other hand, it doesn't support
1780             EntityHandling.ExpandCharEntity.)
1781           - NodeType shouldn't return Attribute after ReadAttributeValue().
1782             Now only Text is supported, but must also support EntityReference.
1783           - Add FilterNormalization() and partially support Normalization.
1784
1785 2003-07-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1786
1787         * XmlTextReader.cs :
1788           Read() now handles parser context stuff (BaseURI, XmlLang and 
1789           XmlSpace) correctly for an empty element.
1790           Normalization property now doesn't throw an error. Will be used soon.
1791         * XmlValidatingReader.cs : added ValidationType.None support (wait for
1792           the next DTDValidatingReader update for "not firing event handler).
1793         * XmlNodeReader.cs : jun. 30th commit seems wrong. It keeps its state.
1794
1795 2003-07-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1796
1797         * DTDValidatingReader.cs :
1798           changed base class to XmlReader and implemented IXmlLineInfo members.
1799           changed .ctor() argument from event handler to validating reader.
1800           Removed some #if ... #else ... #endif blocks.
1801           Added validation event support for Read() using HandleError().
1802         * XmlValidatingReader.cs : added internal OnValidationEvent().
1803         * XmlDocument.cs : ReadNode() now checks reader's state more strictly.
1804
1805 2003-07-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1806
1807         * XmlUrlResolver.cs : applied BenM's patch for file uri problem
1808           (bug #46610).
1809
1810 2003-07-15  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1811
1812         * DTDValidatingReader.cs :
1813           added DTDObjectModel support for non-XmlTextReader XmlReader 
1814           e.g. XmlNodeReader (Read() method).
1815         * XmlDocument.cs :
1816           added internal CreateDocumentType(XmlTextReader) and moved
1817           ReadDoctypeNode() to XmlDocumentType.ImportFromDTD().
1818         * XmlDocumentType.cs :
1819           added internal .ctor(XmlTextReader, document) and ImportFromDTD().
1820         * XmlTextReader.cs :
1821           Renamed useSbForVal (valueBuilderAvailable), valSb (valueBuilder)
1822           and currentSubset (DTD).
1823           Added GenerateDTDObjectModel() (for independent doctype parsing).
1824
1825 2003-07-15  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1826
1827         * XmlAttribute.cs :
1828           .ctor() should reject xml- or xmlns-prefixed node.
1829         * XmlNamespaceManager.cs :
1830           added some xmlns validity check.
1831         * XmlNode.cs :
1832           optimized GetNamespaceOfPrefix() and GetPrefixOfNamespace() by
1833           avoiding XmlNamespaceManager creation.
1834         * XmlNodeReader.cs :
1835           doctype node should return PUBLIC and SYSTEM for its indexer, 
1836           and Value should be internal subset,
1837
1838 2003-07-12  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1839
1840         * DTDObjectModel.cs,
1841           DTDValidatingReader.cs : Completely rewrote attribute handling.
1842
1843 2003-07-12  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1844
1845         * XmlAttribute.cs,
1846           XmlElement.cs : Fixed CloneNode() for bug #46129.
1847         * XmlDocument.cs : Fixed MakeReaderErrorMessage that specified invalid
1848           String.Format arguments, and basically XmlException.ctor(
1849           IXmlLineInfo, message) seems good idea to use.
1850         * XmlTextReader.cs :
1851           - Fixed .ctor(Stream, XmlNodeType, XmlParserContext) which had
1852             required non-null context which don't have to exist.
1853           - Added state check. Introduced 'currentState' and 'maybeTextDecl' 
1854             (for external entity) and removed hasEnteredDocument. Added 
1855             state-check logic to ReadStartTag(), ReadEndTag(), ReadText(),
1856             ReadCData(), ReadDoctypeDecl() and ReadWhitespace().
1857           - Replaced throw ReaderError() with throw new XmlException() and
1858             fixed that some error hadn't thrown, only created.
1859           - ResetState() should re-initialize existing private members other 
1860             than some specified fields.
1861           - Private AddAttribute() should check if the same-named attribute 
1862             already exists.
1863         * DTDObjectModel.cs : Additive declaration for ATTLIST is availabe now.
1864
1865 2003-07-09  Lluis Sanchez Gual <lluis@ximian.com>
1866
1867         * XmlTextReader.cs : Implemented ResetState() method.
1868
1869 2003-07-06  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1870
1871         * XmlElement.cs : IsEmpty has removed attributes since it incorrectly
1872           used RemoveAll().
1873
1874 2003-07-06  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1875
1876         * XmlDocument.cs : Load(string filename) should close its stream.
1877           Small change for the latest DTDObjectModel change.
1878         * XmlTextReader.cs : Changed for the latest DTDObjectModel change (all
1879           changed methods are only related to DTD stuff).
1880           Now uses XmlSchemaDatatype for attribute type definition.
1881         * XmlValidatingReader : initial (limited) support for DTD validation.
1882           It can handle only XmlTextReader.
1883         * DTDObjectModel.cs : changed radically for initial validation support.
1884         * added DTDAutomata.cs and DTDValidatingReader.cs.
1885
1886 2003-07-06  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1887
1888         * XmlElement.cs : Removed extraneous xmlns output support (it should
1889           be done by XmlTextWriter).
1890         * XmlNode.cs : InsertBefore() now checks validity of the newChild (and
1891           most of the changes are in fact indentation changes).
1892         * XmlWriter.cs : WriteAttributes() now can write entity references.
1893           WriteNode() now writes xmldecl attributes correctly.
1894           Removed namespaceManager and xmlns check logic, since it should be 
1895           done by individual XmlTextWriter.
1896         * XmlTextWriter.cs : Patch by Jerome. AddMissingElementXmlns () has
1897           written multiple xmlns declarations.
1898           Moved namespaceManager from abstract XmlWriter.
1899           Write{Start|End}Attribute() and WriteString() now checks xmlns 
1900           attribute value. (MS.NET holds value only with this write method).
1901
1902 2003-07-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1903
1904         * XmlDocument.cs : removed xmlReader.Close() from Load(XmlReader).
1905
1906 2003-06-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1907
1908         * XmlDocumentNavigator.cs : Implemented MoveTo*Namespace() and 
1909           essentially changed most of the property handling (e.g. removed attribute 
1910           enumerator and it now became really cloneable).
1911         * XmlNodeReader.cs : ReadInnerXml() changes its state as error
1912           when the method is called at Initial state.
1913
1914 2003-06-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1915
1916         * XmlDocumentNavigator.cs : Fixed IsEmptyElement. It treats <foo></foo>
1917           as non-empty, and XmlElement's IsEmpty is designed as such.
1918           Fixed MoveToFirst() and MoveToNext() not to move to xmldecl nor 
1919           doctype node. 
1920         * XmlNode.cs : Fixed XPathNodeType. It should throw an exception
1921           instead of returning undefined enum value.
1922           Modified some code comments.
1923         * XmlWriter.cs : Fixed WriteNode () to use WriteFullEndElement() 
1924           when XmlReader's node is not at empty element or at EndElement. 
1925           Fixed XmlDeclaration's standalone check.
1926
1927 2003-06-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1928
1929         * XmlTextReader.cs : removed CRLFs. Fixed private InitializeContext()
1930           to use known Uri way (used in XmlUrlResolver) instead of UriBuilder.
1931
1932 2003-06-20  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1933
1934         * XmlInputStream.cs : quick fix for public ctor() BaseURI bug.
1935
1936 2003-06-20  Ben Maurer <bmaurer@users.sourceforge.net>
1937         
1938         * XmlTextReader.cs: Reduces memory allocation when the reader is
1939         not queried for some values.
1940         * NameTable.cs: Now uses a custom hashtable to implement. As a
1941         result, when Get (char[], int, int) is called, a string is only
1942         allocated if it is actually a new entry.
1943         (StrEqArray) Compares a string and a char[]
1944         (AddEntry) Adds a new entry to the hashtable
1945         (Entry) Represents a hashtable entry.
1946
1947 2003-06-20  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1948
1949         * XmlUrlResolver.cs : several ResolveUri() fix. e.g. for external URIs.
1950
1951 2003-06-16  Ben Maurer <bmaurer@users.sourceforge.net>
1952         * XmlUrlResolver.cs: really fixed #44231
1953
1954 2003-06-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1955
1956         * XmlNodeReader.cs : fixed MoveToNextAttribute(). In some cases 
1957           this method set current node null.
1958         * XmlTextReader.cs : fixed GetAttribute (name, ns), which returned
1959           String.Empty instead of null (expected value).
1960         * XmlTextReader.cs,
1961           XmlUrlResolver.cs,
1962           XmlInputStream.cs : fixed BaseURI problem (bug #44231).
1963
1964 2003-06-15  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1965
1966         * XmlNodeReader.cs : this [name] and this [name, ns] (and
1967           GetAttribute() methods in turn) returns null instead of String.Empty.
1968         * XmlTextWriter.cs : WriteStartAttribute() should try to use specified
1969           prefix before auto-generating prefixes.
1970           Implemented WriteBase64().
1971
1972 2003-06-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1973
1974         * XmlNodeReader.cs : LookupNamespace () has refered invalid current
1975           node for attributes. Modified to use private "document" property.
1976
1977 2003-06-10  Lluis Sanchez Gual <lluis@ximian.com>
1978
1979         * XmlTextWriter.cs: when adding an attribute with a namespace, a prefix must be automaticaly
1980           generated, and a namespace declaration must be added. 
1981         * XmlWriter.cs: the namespace for the prefix xmlns must be http://www.w3.org/2000/xmlns/
1982
1983 2003-06-10  Zoltan Varga  <vargaz@freemail.hu>
1984
1985         * XmlAttribute.cs: Accept a null prefix or namespaceURI.
1986
1987 2003-06-10  Duncan Mak  <duncan@ximian.com>
1988
1989         * XmlDocumentNavigator.cs (GetNode): Make it implement
1990         IHasXmlNode.
1991
1992 2003-06-05  Lluis Sanchez Gual <lluis@ideary.com>
1993
1994         * XmlTextWriter.cs : Fixed bug. After calling for example WriteStartElement ("pref","ln","ns");
1995           a call to LookupPrefix ("pref") when still writting attributes should 
1996           return "ns", and it didn't.
1997
1998 2003-06-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1999
2000         * XmlDocumentNavigator.cs : quick fix for MoveToFirstChild().
2001         * XmlConvert.cs : fixed VerifyNCName() to check correctly.
2002
2003 2003-06-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2004
2005         * XmlDocumentNavigator.cs : Compute document node one time.
2006           MoveToFirstChild() should move to PIs and comments.
2007
2008 2003-05-30  Miguel de Icaza  <miguel@ximian.com>
2009
2010         * XmlReader.cs (ReadStartElement): Improve error message.  
2011
2012 2003-05-28  Lluis Sanchez Gual <lluis@ideary.com>
2013
2014         * XmlTextReader.cs : MoveToAttribute methods must set the enumerator to the right
2015           position, since MoveToNextAttribute may be called after it. 
2016           SetProperties(): attributes do not "inherit" the namespace.
2017         * XmlDocument.cs: ReadNode(), ReadAttributeNode(): must keep the current reader position.
2018
2019 2003-05-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2020
2021         * NameTable.cs : Add() sets the given name string interned.
2022         * XmlParserContext.cs : added internal PushScope() and PopScope() to
2023           hold stacks of xml:base, xml:lang and xml:space.
2024         * XmlTextReader.cs : implemented XmlLang and XmlSpace (only as a
2025           property for stacked attributes). Renamed Initialize() to Initialize-
2026           Context(). Modified to use XmlParserContext.PushScope()/PopScope().
2027
2028 2003-05-26  Lluis Sanchez Gual <lluis@ximian.com>
2029
2030         * XmlReader.cs: Little fix to WriteAttributeString()
2031
2032 2003-05-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2033
2034         * XmlAttribute.cs, XmlCharacterData.cs, XmlComment.cs, XmlDocument.cs,
2035           XmlDocumentFragment.cs, XmlElement.cs, XmlEntity.cs, XmlLinkedNode.cs,
2036           XmlNode.cs, XmlNotation.cs, XmlProcessingInstruction.cs, XmlReader.cs,
2037           XmlSignificantWhitespace.cs, XmlText.cs, XmlWhitespace.cs:
2038           Reverted the recent accessibility mistake (5/16).
2039         * XmlDocument.cs, XmlNode.cs : moved actual CreateNavigator() logic 
2040           from XmlNode to XmlDocument.
2041
2042 2003-05-18  Lluis Sanchez Gual <lluis@ideary.com>
2043
2044         * XmlQualifiedName.cs : Fixed bug in equality operator.
2045
2046 2003-05-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2047
2048         * XmlTextWriter.cs : patch by Jonathan Hogg. Flush() does not close
2049           any open attributes or elements. WriteWhitespace() checks state and
2050           closes start tag.  Fixed WriteStringInternal() to replace CR/LF chars
2051           when it is called inside attribute value.
2052         * XmlException.cs : added .NET 1.1 .ctor.
2053         * added XmlSecureResolver.cs (only stubbing).
2054         * XmlAttribute.cs : set_InnerXml() should remove children.
2055         * XmlAttribute.cs,
2056           XmlElement.cs,
2057           XmlDocumentFragment.cs,
2058           XmlDocument.cs : removed XmlTextReader reuse (It was buggy stuff).
2059         * XmlNode.cs : RemoveAll() should also remove all attributes.
2060         * XmlTextRader.cs : .ctor() for attribute value reader should add
2061           quotations at initialization, since it requires quote chars.
2062         * XmlWriter.cs : WriteAttributeString() more correct xmlns check.
2063
2064 2003-05-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2065
2066         * changed XPathNodeType modifier to internal *protected* override.
2067         * XmlAttribute.cs : .ctor() now checks name validity e.g. xmlns.
2068         * XmlAttribute.cs, XmlElement.cs : set_Prefix checks NCName validity.
2069         * XmlAttributeCollection.cs : removed some incorrect TODO attributes.
2070         * XmlDocument.cs ; CreateAttribute(name) now auto-completes xmlns NSURI
2071           when the argument is "xmlns".
2072         * XmlElement.cs : more compliant IsEmpty support. See also WriteTo().
2073         * XmlNamespaceManager.cs : added initial "xml" and "xmlns" namespaces.
2074         * XmlNode.cs : ser_InnerXml() throws InvalidOperationException.
2075         * XmlNodeReader.cs : LookupNamespace() refactory. Fixed ReadInnerXml()
2076           not to set error state for non-started XmlNodeReader.
2077         * XmlTextReader.cs : fixed ReadAttributeValue() not to reset state.
2078           BaseURI support. Fixed Initialize() to handle Attribute correctly.
2079           SetProperty for attribute auto-completes xmlns NSURI.
2080           Attribute and whitespace handling became more correct.
2081           Don't parse external DTD if XmlResolver is null.
2082         * XmlTextWriter.cs : implemented WriteEntityRef().
2083           WriteStartAttribute() checks if ns does not equal to that of xmlns.
2084         * XmlWriter.cs : trivial refactoring (WriteNode() xmldecl output).
2085
2086 2003-05-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2087
2088         * XmlConvert.cs : IsInvalid() Now uses XmlConstructs.IsName(Start).
2089           EncodeName() now correctly encodes invalid names.
2090           Result string of ToString(DateTime) contains "fffffff".
2091
2092 2003-04-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2093
2094         * XmlElement.cs : fixed IsEmpty (removed private field isEmpty).
2095         * XmlNodeReader.cs : Fixed AttributeCount, each this[] (indexers),
2096           MoveTo*Attribute(),
2097           Fixed this[] to work correctly against XmlDeclarations.
2098           Fixed ReadInnerXml() and ReadOuterXml() to call Read() correctly.
2099           (which may prevent validations etc.)
2100         * XmlReader.cs,
2101           XmlNodeReader.cs,
2102           XmlTextReader.cs : Fixed ReadString() to be compliant with each
2103           other.
2104         * XmlTextReader.cs : ReadInnerXml() now moves to next node correctly.
2105
2106 2003-04-27  Pedro Martínez Juliá  <yoros@wanadoo.es>
2107
2108         * XmlNode.cs: ensure to get a valid Uri in BaseUri when loading the
2109         source document from a file.
2110
2111 2003-04-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2112
2113         * XmlAttribute.cs : fixed WriteTo() and WriteContentTo() to write
2114           content EntityReference correctly.
2115         * XmlNodeReader.cs : many fix for EndElement handling (AttributeCount,
2116           HasAttributes, indexers, MoveTo*Attribute() and Read() ).
2117           Modified Skip() to call Read () explicitly.
2118         * XmlTextReader.cs :
2119           Fixed ReadInnerXml() which ignored EndElement token in certain cases.
2120           Implemented MoveToAttribute (local, ns), and modified GetAttribute()
2121           in relation to this change.
2122           Attributes for XmlDeclaration are now correctly set.
2123         * XmlTextWriter.cs : WriteRaw() is now different from WriteString().
2124           Simplified WriteAttributes() for XmlDeclaration.
2125
2126 2003-04-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2127
2128         * XmlTextReader.cs : fixed ReadInnerXml(). it was inconsistent with
2129           Depth property fix.
2130
2131 2003-04-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2132
2133         * XmlDocument.cs : fixed Load() to set baseURI correctly.
2134         * XmlReader.cs : patch by Gonzalo. Fixed not to skip XmlDeclaration.
2135         * XmlTextReader.cs :
2136           fixed Depth. When it's on StartElement, Depth was already incremented.
2137           fixed private SaveProperty(), which moved away its saved properties
2138           when MoveToElement was called repeatedly.
2139         * XmlTextWriter.cs : fixed WriteQualifiedName() to close start tag.
2140         * XmlWriter.cs :
2141           WriteAttributes() refactory (for XMLDecl).
2142           WriteNode() don't Read() when the reader is Initial state, let other
2143           invokation to Read(). In case of Element, it should write entire
2144           element. In case of Attribute, it shouldn't Read().
2145           WriteStartDocument() should omit standalone decl. when there is no
2146           explicit value.
2147
2148 2003-04-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2149
2150         * XmlReader.cs: reverted last patch. It breaks System.Configuration 
2151         because 1. it considers XmlDeclaration as content and 2. always
2152         returns XmlNodeType.None.
2153         
2154
2155 2003-04-23  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2156
2157         * Added missing ChangeLog of 4/4/2003.
2158         * XmlTextWriter.cs : patch by Erik. fixed WriteQualifiedName.
2159           (write prefix instead of ns.)
2160         * XmlInputStream.cs : file access mode fix (FileAccess.Read was missing)
2161         * XmlTextReader.cs : modified to call Read() instead of ReadContent().
2162           (It may be required for decorated reader such as XmlValidatingReader.)
2163           Changed Read() error message for mismatch end tag.
2164         * XmlDocument.cs : (ReadNode) friendly message for mismatch EndElement.
2165         * XmlReader.cs : Corrected misinterpreted MoveToContent() method.
2166
2167 2003-04-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2168
2169         * XmlDocument.cs : Load() now closes the given XmlReader.
2170           Don't allow creation of XmlTextReader for Doctype. (workaround.)
2171         * XmlInputStream.cs : It now closes its internal stream explicitly.
2172         * XmlNode.cs : RemoveChild() bugfix for removing LastLinkedChild.
2173         * XmlNodeReader.cs : GetAttribute() bugfix for not-present attribute.
2174         * XmlParserInput.cs : added Close() method.
2175         * XmlReader.cs : MoveToContent() should (1) not Read in case of empty
2176           element, and (2) MoveToElement() in case of attribute.
2177         * XmlTextReader.cs : Close() now actually closes source TextReaders.
2178
2179 2003-03-26  Duncan Mak  <duncan@ximian.com>
2180
2181         * XmlTextWriter.cs (Write): A patch from Atsushi to fix
2182         prematurely ending the write, or something like that. It was
2183         causing us to chop off the end of the document when we're trying
2184         to generate XML Schemas.
2185
2186 2003-03-23  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2187
2188         * XmlTextReader.cs : implemented ReadString().
2189           fixed ctor(string, XmlNodeType, XmlParserContext) - don't raise
2190           null reference exception when context is null.
2191         * XmlNodeReader.cs : fixed ReadString() - should ignore attributes etc.
2192           fixed Read() - when positioned at EndElement, it didn't progress.
2193           fixed HasAttribute - it didn't return false in all cases.
2194           fixed Name and LocalName - only limited type of nodes return names.
2195           fixed AttributeCount - in some cases it threw null ref exception.
2196
2197 2003-03-22  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2198
2199         * XmlTextWriter.cs : WriteStartDocument doesn't set hasRoot=true, then
2200           WriteEndDocument without root element now raises an error correctly.
2201         * XmlDocumentNavigator.cs : (MoveToFirstChild) fixed bugzilla #36672.
2202           implemented BaseURI, NameTable, XmlLang, GetAttributes, GetNamespace,
2203           MoveToAttribute.
2204
2205 2003-03-22  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2206
2207         * XmlElement.cs : RemoveAttribute now don't throws when specified
2208           attribute does not exist.
2209
2210 2003-03-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2211
2212         * XmlNode.cs : add descriptions for some node type error.
2213
2214 2003-03-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2215
2216         * XmlNodeArrayList.cs, XmlNodeListChildren.cs : bugzilla #39920 fix.
2217
2218 2003-03-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2219
2220         * XmlDeclaration.cs : quick fix, not to use regex for set_Value.
2221
2222 2003-03-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2223
2224         * XmlTextReader.cs : Fixed wrong notationdecl SYSTEM id read.
2225         * XmlInputStream.cs : Should allow versionless input stream entity.
2226
2227 2003-03-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2228
2229         * added XmlParserInput.cs for multi xml document sources.
2230         * added DTDObjectModel.cs (maybe temporary).
2231         * XmlTextReader.cs :
2232           + fixed ctor to use XmlStreamReader. Allowed null XmlParserContext.
2233           + Some members such as LineNumber, ReadChar now uses XmlParserInput.
2234           + added support for Namespaces (namespace-ignorant parse available).
2235           + added support for XmlResolver.
2236           + replace SetReaderContext()/SetReaderFragment() with Initialize().
2237           + use NameTable in CreateNameString.
2238           + fixed ReadCData(). Now reads "]]]>" correctly.
2239           + support for DTD parse.
2240           + Read() now throws an error when it reached EOF while Depth > 0.
2241         * XmlAttribute.cs,
2242           XmlDocumentFragment.cs,
2243           XmlElement.cs : fix related to the changes of XmlTextReader.Initialize
2244         * XmlDocument.cs : ReadNode() now reads DocumentType.
2245         * XmlDocumentType.cs : implemented Entities, Notations, WriteTo().
2246         * XmlEntity.cs,
2247           XmlNotation.cs : added override LastLinkedChild (for doctype node).
2248         * XmlNamedNodeMap.cs : Remove() raises an error if target is read only.
2249         * XmlElement.cs : bugfix for node removal of set_InnerXml.
2250         * XmlNode.cs : added insertBeforeIntern() derived from InsertBefore().
2251           (to append child XmlEntity into XmlDocumentType correctly.)
2252         * XmlInputStream.cs : fixed to access file with FileAccess.Read.
2253
2254 2003-03-15  Duncan Mak  <duncan@ximian.com>
2255
2256         * XmlElement.cs (Name): Only append prefix + ':' when prefix is
2257         neither String.Empty nor null. Thanks to Simon Guindon for
2258         reporting the bug and Jackson for fixing this bug with me.
2259
2260 2003-03-15  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2261
2262         * XmlConstructs.cs : fix "int IsXXX()" to reject negative value.
2263         * XmlDocument.cs : simplify Load(string url) to use XmlTextReader.
2264           fixed ReadNode(), it should call reader.Read() only on Initial state.
2265         * XmlInputStream.cs : Changed namespace. Added XmlStreamReader(stream)
2266           and XmlStreamReader (string). Fixed XmlInputStream(url) not to use
2267           System.Net.WebClient directly.
2268         * XmlParserContext.cs : baseURI never be null.
2269         * XmlTextWriter.cs : use WebName for Encoding instead of HeaderName.
2270         * XmlUrlResolver.cs : namespace change for XmlInputStream.
2271
2272 2003-03-12  Elan Feingold <efeingold@mn.rr.com>
2273
2274         * XmlTextReader.cs: When throwing a ReaderException, show what
2275         character was the culprit
2276
2277 2003-03-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2278
2279         * XmlDocumentFragment.cs, XmlElement.cs :
2280           modified InnerXml (fragment type from Element to DocumentFragment).
2281
2282         * XmlElement.cs : fixed WriteTo() ns check.
2283         * XmlNamespaceManager.cs : MS.NET allows Add() used two or more times.
2284         * XmlNode.cs : fixed ConstructNamespaceManager().
2285
2286         * XmlConstructs.cs : added IsSpace, IsName, IsNameStart, IsNCName,
2287           IsPubid with an int arg.
2288         * XmlReader.cs : changed to use XmlChar.cs (its role is as same as
2289           XmlConstructs.cs).
2290         * XmlTextReader.cs :
2291           improved error messages with line info.
2292           / checking matching start and end tags.
2293           / prevents the apperance of multiple root elements. (patch by Erik)
2294           fixed and refactored ReadInnerXml() and ReadOuterXml()
2295           changed to use XmlChar.cs.
2296
2297         * XmlTextWriter.cs : changed to put element's xmlns at CloseStartTag ()
2298           (It will help c14n implementation.)
2299           / blocks multiple attribute output with element node.
2300
2301 2003-02-28  Alan Tam <Tam@SiuLung.com>
2302
2303         * XmlConvert.cs: fixed the most ToXXX(string) and ToString(XXX)
2304         methods to make them compatible with the XML Schema Spec from W3C
2305         ToString(TimeSpan) is still outstanding
2306
2307 2003-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2308
2309         * XmlDocument.cs:
2310         (Load (string)): hack to workaround some issues with Uri.Parse. Once
2311         Parse is fixed, remove the hack.
2312
2313 2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2314
2315         * XmlQualifiedName.cs : fixed GetHashCode() to avoid null reference
2316         * XmlTextReader.cs : fixed ReadAttributeValue() to handle 
2317                 entity reference, and some refactory.
2318
2319 2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2320
2321         * XmlUrlResolver.cs : WebClient.Credentials was not implemented yet.
2322
2323 2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2324
2325         * XmlInputStream.cs : added (also contains internal XmlStreamReader).
2326         * XmlDocument.cs : Load () now can specify URL using XmlUrlResolver,
2327                 and can read non-UTF-8 stream.
2328         * XmlTextReader.cs : related to above stream fix.
2329         * XmlUrlResolver.cs : implemented GetEntity ().
2330
2331 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2332
2333         * XmlTextWriter.cs: implemented WriteRaw (char[], int, int).
2334
2335 2003-02-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2336
2337         * XmlTextReader.cs : implemented QuoteChar.
2338
2339 2003-01-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2340
2341         * XmlNode.cs : implemented ReplaceChild.
2342           removed DocElem checking at InsertBefore.
2343         * XmlNodeReader.cs : fixed ReadString and Read for correct node info.
2344         * XmlText.cs : implemented CloneNode and SplitText.
2345
2346 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2347
2348         * XmlCharacterData.cs: added XPathNodeType property.
2349
2350 2003-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2351
2352         * XmlTextWriter.cs: throw an exception if WriteEndDocument is
2353         called without a prior call to WriteStartDocument.
2354
2355 2003-01-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2356
2357         * XmlNodeReader.cs : several fix to get more compatible with MS.NET.
2358
2359 2003-01-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2360
2361         * XmlNamespaceManager.cs : fundamental change of LookupPrefix to return
2362                 null when no matching uri.
2363         * XmlElement.cs : removed unnecessary xmlns output.
2364         * XmlNode.cs : GetPrefixOfNamespace fix along with the change above.
2365         * XmlTextWriter.cs : LookupPrefix and WriteStartElementInternal fix 
2366                 along with the change above, and moved timing of 'xmlns' output 
2367                 to CloseStartElement.
2368         * XmlWriter.cs: modified WriteStartAttribute, same as yesterday.
2369
2370 2003-01-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2371
2372         * XmlWriter.cs: modified WriteStartElement (see test for detail).
2373         Added WriteNode.
2374
2375 2003-01-13  Ville Palo <vi64pa@koti.soon.fi>
2376
2377         * XmlDocument.cs: Added CheckName () method to check names validity.
2378         
2379 2003-01-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2380
2381         * XmlTextReader.cs:
2382         (ReadOuterXml): use Depth property which return elementDepth, not depth.
2383
2384 2003-01-11  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2385
2386         * XmlElement.cs : (by ville) XmlElement.set_InnerText event bugfix.
2387         * XmlTextReader.cs : some fix for ReadOuterXml().
2388
2389 2003-01-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2390
2391         * XmlTextReader.cs : bugfix for attributes related to creation of 
2392           XmlAttribute *node*.
2393
2394 2003-01-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2395
2396         * XmlTextReader.cs : bugfix for attribute values which have entity
2397           references.
2398
2399 2002-12-28  Ville Palo <vi64pa@koti.soon.fi>
2400
2401         * XmlDocument.cs: XmlTextWriter.Formatting == Indented when 
2402         calling Save () -methods.
2403         
2404 2002-12-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2405
2406         * XmlNodeReader.cs : primitive reading implementation.
2407
2408 2002-12-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2409
2410         * XmlElement.cs : quick fix for the incomplete patch of #35308 below.
2411
2412 2002-12-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2413
2414         * XmlDocument.cs : removed inconsistent line-feed output.
2415         * XmlElement.cs, XmlTextWriter.cs :
2416                 fixed for bugzilla 35308 (default ns output)
2417         * XmlWhitespace.cs : limited output only when preserving whitespace.
2418
2419 2002-12-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2420
2421         * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
2422                 Implemented XmlTextReader.ReadAttributeValue().
2423                 Added internal ReadAttributeNodeValue().
2424                 Fixed XmlAttribute.InnerXml to use these methods.
2425         
2426         * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
2427                 Implemented XmlDocument.ReadNode() and removed ConstructDOM().
2428                 Other changes are replacing them.
2429
2430 2002-12-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2431
2432         * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
2433
2434 2002-12-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2435
2436         * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
2437                 patch by JD Conley <jconley@winfessor.com>.
2438                 (Fix for xmlns attribute output.)
2439
2440 2002-12-05  Ville Palo <vi64p@koti.soon.fi>
2441
2442         * XmlQualifiedName.cs: Little fix to ToString () -method
2443
2444 2002-12-04  Tim Haynes  <thaynes@openlinksw.com>
2445
2446         * class/System.XML/System.Xml/XmlElement.cs: Made more refined
2447         checks on attributeNode to fix 32262.
2448
2449 2002-12-03  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
2450
2451         * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
2452         * XmlTextWriter.cs (WriteStartElementInternal):
2453           fixed when default namespace was specified, all descendants
2454           fail to omit the default namespace declarations.
2455         * XmlAttribute.cs,
2456           XmlDocument.cs,
2457           XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
2458         * XmlAttribute.cs,
2459           XmlDocumentFragment.cs,
2460           XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
2461         * XmlElement.cs (set_IsEmpty) : implemented
2462           (WriteTo) : removed my improper indenting (Writer already done)
2463         * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
2464           (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
2465         ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
2466
2467 2002-12-01  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
2468
2469         * XmlNode.cs (RemoveChild):
2470                 bugfixed when XmlNode is Document OwnerDocument is null
2471         * XmlDeclaration.cs (Value):
2472                 bugfixed regular expression pattern.
2473         * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
2474
2475 2002-11-24  Duncan Mak  <duncan@ximian.com>
2476
2477         * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
2478         Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
2479         first patch to Mono! ;-)
2480
2481 2002-11-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2482
2483         * XmlNode.cs:
2484         (AppendChild): readded refChild != null condition before throwing
2485         "cannot insert this node in this position" exception. There's probably
2486         a better solution. Fixes #34191.
2487         (RemoveAll): changed following Atsushi instructions.
2488         
2489
2490 2002-11-13  Duncan Mak  <duncan@ximian.com>
2491
2492         * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
2493         compiling.
2494
2495 2002-11-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2496
2497         * XmlDocument.cs : unified all constructors, added ConventionalParser,
2498                 implemented CloneNode() and CreateEntityReference(),
2499         * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
2500                 set BaseURI to MonoTODO
2501         * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
2502                 bugfix InsertAfter (incorrect prepending) and InsertBefore
2503                 (more than one DocumentElements hadn't caused errors)
2504         * XmlTextReader.cs : unified all constructors,
2505                 added internal SetReaderContext(), SetReaderFragment()
2506                 bugfix (syntax check of PUBLIC / getting internal subset)
2507
2508 2002-11-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2509
2510         XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
2511         XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
2512         XmlCharacterData.cs : exchanged Data and Value
2513                 (for processing events and inheritance)
2514         XmlDocumentFragment.cs : set_InnerXml
2515         XmlSignificantWhitespace.cs : set_Value
2516         XmlTextReader.cs : ReadAttributeValue
2517
2518 2002-11-04  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
2519
2520         XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
2521
2522 2002-11-03  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
2523
2524         * XmlAttributeCollection.cs : checks owner element.
2525                 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
2526                 Remove, RemoveAt, SetNamedItem.
2527                 removed some logics that sets 'Parent' (that should be null)
2528         * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
2529         * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
2530         * XmlElement.cs : implemented WriteTo, set_InnerText.
2531                 Fixed WriteTo() to add xmlns:* attributes when
2532                 writer.LookupPrefix() returned mismatching.
2533         * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
2534                 Removing different prefixes for the same uri now runs correct.
2535                 added SetNamedItem(XmlNode node, int position_to_insert).
2536         * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
2537                 XmlWhitespace, and XmlSignificantWhitespace
2538
2539 2002-10-31  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
2540
2541         * XmlDocument.cs : implemented CreateDocumentFragment()
2542         * XmlElement.cs, XmlLinkedNode.cs :
2543                 moved LastLinkedChild from XmlElement to XmlLinkedNode.
2544         * XmlEntityReference.cs : must throw NotImplementedException.
2545         * XmlNode.cs :
2546               + implemented InsertBefore() and then implemented InsertAfter()
2547                 and modified AppendChild() to call it.
2548               + added logic to check ReadOnly, parent document equivalence,
2549                 and inserting any 'content' before/after DocumentElement.
2550               + implemented Clone() [it is equals to CloneNode() by MS doc.]
2551               + added logic in RemoveChild() to check parent of oldChild.
2552               + fixed ConstructNamespaceManager() to internal only.
2553
2554 2002-10-29  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
2555
2556         * XmlAttribute.cs : add internal 'IsDefault' property
2557                             (equals to !Specified)
2558         * XmlImplementation.cs : added 'internalNameTable' property.
2559         * XmlDocument.cs :
2560             + now allows "" for 'standalone' in CreateXmlDeclaration.
2561             + implemented 'Implementation' property and constructor with it.
2562             + added logic for appending name table (but still no use)
2563             + implemented property 'DocumentType'
2564               (but without internalSubset parsing. wait for next update.)
2565         * XmlNode.cs :
2566             + modified AppendChild() and RemoveChild() to support fragment.
2567             + modified AppendChild() to remove newChild from its parent
2568               when newChild is already in the other place.
2569             + modified RemoveChild() to set parentNode null.
2570             + modified ConstructDOM() to create DocumentType,
2571               and fixed access modifier ('internal protected' to 'internal')
2572         * XmlLinkedNode.cs : fixed 'NextSibling' to return null
2573                 when its parent is null.
2574         * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
2575                 property to enable AppendChild() for this class.
2576         * XmlTextReader.cs : appended private publicId and systemId fields.
2577
2578 2002-10-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2579
2580         * XmlTextReader.cs: make it work when the underlying Stream is not
2581         'seekable'.
2582
2583 2002-10-26  Piers Haken <piersh@friskit.com>
2584
2585         * XmlNode.cs: add virtual property XPathNodeType
2586         * XmlAttribute.cs:
2587         * XmlComment.cs:
2588         * XmlDocument.cs:
2589         * XmlElement.cs::
2590         * XmlProcessingInstruction.cs:
2591         * XmlSignificantWhitespace.cs:
2592         * XmlText.cs:
2593         * XmlWhitespace.cs: implement XPathNodeType property
2594         * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
2595
2596 2002-10-26  Piers Haken <piersh@friskit.com>
2597
2598         * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
2599
2600 2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2601
2602         * XmlTextReader.cs: don't increment depth for entity references.
2603
2604 2002-10-22  Tim Haynes <thaynes@openlinksw.com>
2605
2606         * - Fixed the duplication of xmlns:xx = yy when serializing the
2607         XML for serialization
2608         
2609         Fixed the unnecessary parsing/serializing when adding assemblies
2610         for serialization 
2611
2612         Avoided setting the XmlNode.InnerXml property
2613         (as it's not implemented) 
2614
2615         Fixed the usage/implementation of
2616         XmlElement.GetElementsByTagName()
2617         
2618 2002-10-21  Duncan Mak  <duncan@ximian.com>
2619
2620         * XmlDocument.cs:
2621         * XmlElement.cs:
2622         * XmlNode.cs:
2623         * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
2624         Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
2625
2626 2002-10-18  Duncan Mak  <duncan@ximian.com>
2627
2628         * XmlDocument.cs: Applied a patch by Atsushi Enomoto
2629         <ginga@kit.hi-ho.ne.jp>.
2630
2631 2002-10-12  A.Enomoto <ginga@kit.hi-ho.ne.jp>
2632
2633         * XmlDocument.cs (ImportNode): Implemented
2634
2635 2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2636
2637         * XmlDocument.cs: one more Load method implemented.
2638         * XmlTextReader.cs: Depth now works.
2639
2640 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2641
2642         * XmlConvert.cs: IsInvalid is now internal.
2643         * XmlNamespaceManager.cs: implemented RemoveNamespace
2644         * XmlTextReader.cs: return BaseURI and Encoding from the parser.
2645         * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
2646
2647 2002-09-19  Matt Hunter <mahunter@tconl.com>
2648
2649         * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
2650         * XmlAttributeCollection.cs: Implemented Append (XmlAttribute) 
2651           
2652 2002-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2653
2654         * XmlConvert.cs: finished implementation.
2655         * XmlTextReader.cs: fixed #30239.
2656         * XmlTextWriter.cs: fixed #30240.
2657
2658 2002-09-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2659
2660         * XmlTextReader.cs: line and position begin with 1.
2661
2662 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2663
2664         * XmlException.cs: added a new internal constructor for IXmlLineInfo
2665         and output line and position info in Message.
2666
2667         * XmlReader.cs: implemented missing bits.
2668
2669 2002-09-12      Piers Haken <piersh@friksit.com>
2670
2671         * XmlDocumentNavigator.cs: implement MoveToId()
2672
2673 2002-09-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2674
2675         * XmlTextWriter.cs: fixed bug #29886.
2676
2677 2002-08-26  Ravi Pratap  <ravi@ximian.com>
2678
2679
2680         * XmlAttribute.cs (InnerText): Implement getting this property.
2681
2682         * XmlNode.cs (InnerText): Ensure that we append only values of
2683         text nodes.
2684
2685 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2686
2687         * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
2688         that allowed compiling this.
2689         [ FIXME: filed bug #29435. mcs should have failed on this ]
2690
2691 2002-08-25  Tim Coleman <tim@timcoleman.com>
2692         * XmlNode.cs:
2693                 Change CreateNavigator to not be virtual.
2694         * XmlElement.cs:
2695                 Add set_Prefix and InnerText accessors.
2696         * XmlEntityReference.cs:
2697                 Add set_Value accessor.
2698         * XmlTextWriter.cs:
2699                 Make objects which should be private private.
2700         * XmlWriter.cs:
2701                 Remove WriteStartElementInternal abstract definition.
2702         * XmlValidatingReader.cs:
2703                 New stubs added.
2704
2705 2002-08-22  Jason Diamond <jason@injektilo.org>
2706
2707         * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
2708         and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
2709
2710 2002-08-22  Jason Diamond <jason@injektilo.org>
2711
2712         * XmlElement.cs: Correction to previous GetElementsByTagName patch
2713         courtesy of Matt Hunter <xrkune@tconl.com>.
2714
2715 2002-08-22  Jason Diamond <jason@injektilo.org>
2716
2717         * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
2718         qualified GetElementsByTagName courtesy of Matt Hunter 
2719         <xrkune@tconl.com>.
2720
2721 2002-08-19  Jason Diamond <jason@injektilo.org>
2722
2723         * XmlDocument.cs, XmlElement.cs: Added implementation of 
2724         GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
2725
2726 2002-08-16  Jason Diamond <jason@injektilo.org>
2727
2728         * XmlElement.cs: Fixed writing out qualified elements courtesy of
2729         Marcus Bürgel <marcus.buergel@gmx.de>.
2730
2731 2002-08-13  Tim Coleman <tim@timcoleman.com>
2732         * XmlTextWriter.cs:
2733                 Partial implementation of WriteQualifiedName ().
2734
2735 2002-08-07  Kral Ferch <kral_ferch@hotmail.com>
2736         * XmlCharacterData.cs:  Implemented AppendData(), DeleteData(),
2737                 InsertData(), and ReplaceData().  These methods fire the
2738                 NodeChanging and NodeChanged events.
2739                 
2740         * XmlDocument.cs:  Fixed bugs in onNodeChanged() and onNodeChanging().
2741         
2742         * XmlNode.cs:  AppendChild() fires NodeInserting and NodeInserted events.
2743                 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
2744         
2745 2002-08-03  Tim Coleman <tim@timcoleman.com>
2746         * XmlNamespaceManager.cs:
2747                 .Net allows the empty namespace to be redefined
2748                 at a later point, but the current implementation
2749                 did not.  This fixes a hashtable conflict.
2750
2751 2002-07-26  Tim Coleman <tim@timcoleman.com>
2752         * XmlTextWriter.cs:
2753                 When given a textwriter, check to see if it has a
2754                 null encoding. This was being done for other inputs
2755                 than a textwriter.
2756
2757 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
2758
2759         * XmlTextReader.cs: rough line/column support.
2760
2761 2002-07-23  Duncan Mak  <duncan@ximian.com>
2762
2763         * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
2764         (string, string []) is particularly strange.
2765
2766         * XmlException.cs: Remember to call the base serialization
2767         constructor.
2768
2769         * XmlNodeReader.cs: Keep a new variable to store the Depth. 
2770
2771 2002-07-14  Jason Diamond  <jason@injektilo.org>
2772
2773         * XmlAttribute.cs: Removed ownerElement field since we can reuse 
2774         parentNode field.
2775
2776         * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
2777         if the current node is an attribute.
2778
2779         * XmlElement.cs: SetAttributeNode now sets the new attribute's
2780         owner element.
2781
2782 2002-07-12  Jason Diamond  <jason@injektilo.org>
2783
2784         * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
2785         creating an element, use String.Empty instead.
2786
2787 2002-07-12      Piers Haken <piersh@friksit.com>
2788
2789         * XmlAttributeCollection.cs: implement some ItemOf indexers
2790         * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
2791         * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
2792
2793 2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
2794
2795
2796 2002-10-26  Piers Haken <piersh@friskit.com>
2797
2798         * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
2799
2800 2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2801
2802         * XmlTextReader.cs: don't increment depth for entity references.
2803
2804 2002-10-22  Tim Haynes <thaynes@openlinksw.com>
2805
2806         * - Fixed the duplication of xmlns:xx = yy when serializing the
2807         XML for serialization
2808         
2809         Fixed the unnecessary parsing/serializing when adding assemblies
2810         for serialization 
2811
2812         Avoided setting the XmlNode.InnerXml property
2813         (as it's not implemented) 
2814
2815         Fixed the usage/implementation of
2816         XmlElement.GetElementsByTagName()
2817         
2818 2002-10-21  Duncan Mak  <duncan@ximian.com>
2819
2820         * XmlDocument.cs:
2821         * XmlElement.cs:
2822         * XmlNode.cs:
2823         * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
2824         Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
2825
2826 2002-10-18  Duncan Mak  <duncan@ximian.com>
2827
2828         * XmlDocument.cs: Applied a patch by Atsushi Enomoto
2829         <ginga@kit.hi-ho.ne.jp>.
2830
2831 2002-10-12  A.Enomoto <ginga@kit.hi-ho.ne.jp>
2832
2833         * XmlDocument.cs (ImportNode): Implemented
2834
2835 2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2836
2837         * XmlDocument.cs: one more Load method implemented.
2838         * XmlTextReader.cs: Depth now works.
2839
2840 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2841
2842         * XmlConvert.cs: IsInvalid is now internal.
2843         * XmlNamespaceManager.cs: implemented RemoveNamespace
2844         * XmlTextReader.cs: return BaseURI and Encoding from the parser.
2845         * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
2846
2847 2002-09-19  Matt Hunter <mahunter@tconl.com>
2848
2849         * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
2850         * XmlAttributeCollection.cs: Implemented Append (XmlAttribute) 
2851           
2852 2002-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2853
2854         * XmlConvert.cs: finished implementation.
2855         * XmlTextReader.cs: fixed #30239.
2856         * XmlTextWriter.cs: fixed #30240.
2857
2858 2002-09-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2859
2860         * XmlTextReader.cs: line and position begin with 1.
2861
2862 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2863
2864         * XmlException.cs: added a new internal constructor for IXmlLineInfo
2865         and output line and position info in Message.
2866
2867         * XmlReader.cs: implemented missing bits.
2868
2869 2002-09-12      Piers Haken <piersh@friksit.com>
2870
2871         * XmlDocumentNavigator.cs: implement MoveToId()
2872
2873 2002-09-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2874
2875         * XmlTextWriter.cs: fixed bug #29886.
2876
2877 2002-08-26  Ravi Pratap  <ravi@ximian.com>
2878
2879
2880         * XmlAttribute.cs (InnerText): Implement getting this property.
2881
2882         * XmlNode.cs (InnerText): Ensure that we append only values of
2883         text nodes.
2884
2885 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2886
2887         * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
2888         that allowed compiling this.
2889         [ FIXME: filed bug #29435. mcs should have failed on this ]
2890
2891 2002-08-25  Tim Coleman <tim@timcoleman.com>
2892         * XmlNode.cs:
2893                 Change CreateNavigator to not be virtual.
2894         * XmlElement.cs:
2895                 Add set_Prefix and InnerText accessors.
2896         * XmlEntityReference.cs:
2897                 Add set_Value accessor.
2898         * XmlTextWriter.cs:
2899                 Make objects which should be private private.
2900         * XmlWriter.cs:
2901                 Remove WriteStartElementInternal abstract definition.
2902         * XmlValidatingReader.cs:
2903                 New stubs added.
2904
2905 2002-08-22  Jason Diamond <jason@injektilo.org>
2906
2907         * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
2908         and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
2909
2910 2002-08-22  Jason Diamond <jason@injektilo.org>
2911
2912         * XmlElement.cs: Correction to previous GetElementsByTagName patch
2913         courtesy of Matt Hunter <xrkune@tconl.com>.
2914
2915 2002-08-22  Jason Diamond <jason@injektilo.org>
2916
2917         * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
2918         qualified GetElementsByTagName courtesy of Matt Hunter 
2919         <xrkune@tconl.com>.
2920
2921 2002-08-19  Jason Diamond <jason@injektilo.org>
2922
2923         * XmlDocument.cs, XmlElement.cs: Added implementation of 
2924         GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
2925
2926 2002-08-16  Jason Diamond <jason@injektilo.org>
2927
2928         * XmlElement.cs: Fixed writing out qualified elements courtesy of
2929         Marcus Bürgel <marcus.buergel@gmx.de>.
2930
2931 2002-08-13  Tim Coleman <tim@timcoleman.com>
2932         * XmlTextWriter.cs:
2933                 Partial implementation of WriteQualifiedName ().
2934
2935 2002-08-07  Kral Ferch <kral_ferch@hotmail.com>
2936         * XmlCharacterData.cs:  Implemented AppendData(), DeleteData(),
2937                 InsertData(), and ReplaceData().  These methods fire the
2938                 NodeChanging and NodeChanged events.
2939                 
2940         * XmlDocument.cs:  Fixed bugs in onNodeChanged() and onNodeChanging().
2941         
2942         * XmlNode.cs:  AppendChild() fires NodeInserting and NodeInserted events.
2943                 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
2944         
2945 2002-08-03  Tim Coleman <tim@timcoleman.com>
2946         * XmlNamespaceManager.cs:
2947                 .Net allows the empty namespace to be redefined
2948                 at a later point, but the current implementation
2949                 did not.  This fixes a hashtable conflict.
2950
2951 2002-07-26  Tim Coleman <tim@timcoleman.com>
2952         * XmlTextWriter.cs:
2953                 When given a textwriter, check to see if it has a
2954                 null encoding. This was being done for other inputs
2955                 than a textwriter.
2956
2957 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
2958
2959         * XmlTextReader.cs: rough line/column support.
2960
2961 2002-07-23  Duncan Mak  <duncan@ximian.com>
2962
2963         * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
2964         (string, string []) is particularly strange.
2965
2966         * XmlException.cs: Remember to call the base serialization
2967         constructor.
2968
2969         * XmlNodeReader.cs: Keep a new variable to store the Depth. 
2970
2971 2002-07-14  Jason Diamond  <jason@injektilo.org>
2972
2973         * XmlAttribute.cs: Removed ownerElement field since we can reuse 
2974         parentNode field.
2975
2976         * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
2977         if the current node is an attribute.
2978
2979         * XmlElement.cs: SetAttributeNode now sets the new attribute's
2980         owner element.
2981
2982 2002-07-12  Jason Diamond  <jason@injektilo.org>
2983
2984         * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
2985         creating an element, use String.Empty instead.
2986
2987 2002-07-12      Piers Haken <piersh@friksit.com>
2988
2989         * XmlAttributeCollection.cs: implement some ItemOf indexers
2990         * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
2991         * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
2992
2993 2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
2994
2995         * XmlTextWriter: Fixed Indentation. IndentationOverridden should
2996                 not be set when inside a attribute.
2997
2998 2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
2999
3000         * XmlTextWriter: In WriteStartElement, if namespace is null and 
3001                 prefix is null|empty do not write out xmlns=""
3002         
3003         * XmlWriter: WriteStartElement calls the virtual method with null
3004                 argument instead of empty string.
3005
3006 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3007
3008         * XmlTextReader.cs: implemented .ctor (Stream).
3009
3010 2002-06-26  Duncan Mak  <duncan@ximian.com>
3011
3012         * XmlNodeReader.cs: Implementation of most of the properties, and
3013         some of the related methods. 
3014
3015 2002-06-23  Piers Haken <piersh@friskit.com>
3016         
3017         * XmlDocumentNavigator.cs: implement Clone()
3018         * XmlElement.cs: remove bogus unimplemented override of InnerText
3019         * XmlNode.cs: implment SelectNodes/SelectSingleNode
3020         * XmlNodeArrayList.cs: new support class for SelectNodes
3021
3022 2002-06-21  Ajay kumar Dwivedi <adwiv@yahoo.com>
3023         
3024         * XmlQualifiedName: Name and Namespaces are never null. If null is passed
3025                 to the constructor, set them to empty strings.
3026                 Fixed the Operators.
3027         
3028 2002-06-18  Ajay kumar Dwivedi <adwiv@yahoo.com>
3029         
3030         * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
3031         Exception.
3032
3033 2002-06-14  Duncan Mak  <duncan@ximian.com>
3034
3035         * XmlConvert.cs: Added CLSCompliant attributes to methods.
3036         
3037 2002-06-12  Duncan Mak  <duncan@ximian.com>
3038
3039         * XmlCharacterData.cs (Value): Throw an ArgumentException in the
3040         set block if the node is read-only.
3041
3042 2002-06-10  Ajay kumar Dwivedi <adwiv@yahoo.com>
3043         * XmlConstruct.cs : New Internal class with Helper methods for
3044         Checking XmlConstructs
3045         * XmlConvert.cs: Implemented most of the methods
3046
3047 2002-06-08  Duncan Mak  <duncan@ximian.com>     
3048
3049         * XmlDocument.cs (Load):
3050         Added bits to Load (string) for BaseURI support.
3051
3052         * XmlAttribute.cs (BaseURI): 
3053         * XmlDocument.cs (BaseURI): 
3054         * XmlEntity.cs (BaseURI): Implemented.
3055
3056 2002-05-27  Jason Diamond  <jason@injektilo.org>
3057
3058         * XmlDocumentNavigator.cs: Added file to directory.
3059
3060         * XmlNode.cs (CreateNavigator): Implemented.
3061         (InnerText): Implemented.
3062
3063         * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
3064         throwing exception.
3065         (Load(XmlReader)): Allow for namespace qualified attributes.
3066
3067         * XmlElement.cs: Implemented GetAttribute(string, string) and both 
3068         GetAttributeNode overloads.
3069         (SetAttributeNode(XmlAttribute)): Implemented.
3070
3071         * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
3072         and RemoveNamedItem(string, string).
3073
3074         * XmlLinkedNode.cs (PreviousSibling): Implemented.
3075
3076         * XmlTextReader.cs: Added code to maintain the order of attributes as 
3077         they're parsed. XML doesn't require this but Microsoft's parser does it and
3078         matching them makes testing easier so now we have it, too.
3079
3080 2002-05-26  Miguel de Icaza  <miguel@ximian.com>
3081
3082         * XmlDocument.cs: Implement the Save methods.
3083
3084 2002-05-08  Mike Kestner  <mkestner@speakeasy.net>
3085
3086         * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
3087
3088 2002-04-28  Duncan Mak  <duncan@ximian.com>
3089
3090         * XmlSignificantWhitespace.cs (Value):
3091         * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
3092         block. Added new private method, IsValidWhitespaceChar, for
3093         checking.
3094
3095 2002-04-16  Duncan Mak  <duncan@ximian.com>
3096
3097         * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
3098
3099 2002-04-12  Duncan Mak  <duncan@ximian.com>
3100
3101         * XmlAttribute.cs (Prefix): Added preliminary code for set block,
3102         added comment on work that needs to be done here. A new MonoTODO item. 
3103
3104         * XmlDocument.cs (ctor): Corrected constructor signature, changed
3105         parameter from 'NameTable' to 'XmlNameTable'.
3106
3107         * XmlDocumentFragment.cs (InnerXml): Added missing set block.
3108
3109         * XmlCaseOrder.cs: Moved to System.Xml.XPath.
3110
3111 2002-04-10  Duncan Mak  <duncan@ximian.com>
3112
3113         * XmlNodeReader.cs: Initial stubs for the class.
3114
3115 2002-04-08  Kral Ferch  <kral_ferch@hotmail.com>
3116
3117         * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
3118         implementations.
3119         
3120         * XmlDeclaration.cs: WriteTo implementation.
3121         
3122         * XmlDocument.cs: InnerXml getter implementation.
3123         
3124         * XmlElement.cs: InnerXml getter implementation.
3125
3126         * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
3127         
3128         * XmlSignificantWhitespace.cs: WriteTo implementation.
3129         
3130         * XmlText.cs: WriteContentTo and WriteTo implementation.
3131         
3132         * XmlTextWriter.cs: WriteRaw implementation.
3133         
3134         * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
3135
3136 2002-04-05  Kral Ferch  <kral_ferch@hotmail.com>
3137
3138         * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
3139         if prefix in constructor is one of the default ones.
3140         
3141         * XmlCharacterData.cs: Returns String.Empty for Value and Data
3142         even when constructed with null.
3143         
3144         * XmlDeclaration.cs: Value doesn't put encoding or standalone
3145         in if they are empty.
3146         
3147         * XmlDocument.cs: Implemented CreateNode methods and this caused
3148         the changes in the other files in this checkin.
3149         
3150         * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
3151         even when constructed with null.
3152         
3153         * XmlWhitespace.cs: Changed Value 'get' to return Data.
3154
3155 2002-04-01  Kral Ferch  <kral_ferch@hotmail.com>
3156
3157         * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
3158         
3159 2002-03-31  Kral Ferch  <kral_ferch@hotmail.com>
3160
3161         * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
3162         and WriteCharEntity.
3163         
3164         * XmlWrite.cs:  Fixed bug where attribute namespace decl
3165         was pushing a scope onto the namespace manager when it shouldn't
3166         have been.
3167         
3168 2002-03-31  Kral Ferch  <kral_ferch@hotmail.com>
3169
3170         * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
3171         in different states (no open start element, in WriteState.Content mode).
3172         
3173 2002-03-29  Kral Ferch  <kral_ferch@hotmail.com>
3174
3175         * XmlTextWriter.cs: XmlLang and XmlSpace properties
3176         and WriteWhitespace.
3177         
3178         * XmlTextWriterOpenElement.cs: scope support for XmlLang
3179         and XmlSpace.
3180
3181 2002-03-29  Kral Ferch  <kral_ferch@hotmail.com>
3182
3183         * XmlTextWriter.cs: Working on Attribute methods.
3184         
3185         * XmlWriter.cs: Working on Attribute methods.
3186
3187 2002-03-28  Duncan Mak  <duncan@ximian.com>
3188
3189         * XmlDocument.cs (CreateWhitespace):
3190         (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
3191         method.
3192
3193         * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
3194
3195 2002-03-26  Duncan Mak  <duncan@ximian.com>
3196
3197         * XmlDocument.cs (CreateDocumentType): Implemented.
3198
3199         * XmlNode.cs (Value): Implemented.
3200
3201         * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
3202         like XmlCharacterData.
3203
3204         * XmlDeclaration.cs (CloneNode): 
3205         * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
3206         arguments.
3207
3208         * XmlCharacterData.cs (InnerText): Implemented. Funny that the
3209         docs say it is the "The concatenated values of the node and all
3210         the children of the node.". I wrote some test programs and
3211         couldn't get any of the derived nodes to AppendChild. For now,
3212         InnerText == Data == Value.
3213         (Substring): Fixed typo.
3214
3215         * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
3216
3217         * XmlImplementation.cs (CreateDocument): Implemented.
3218
3219 2002-03-25  Duncan Mak  <duncan@ximian.com>
3220
3221         * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
3222         missing properties (InnerText, Value).
3223         
3224         * XmlDocument.cs (CreateXmlDeclaration): Implemented.
3225
3226 2002-03-23  Kral Ferch <kral_ferch@hotmail.com>
3227
3228         * XmlTextWriter.cs: Impls for BaseStream and
3229         Namespaces and WriteState.
3230         
3231         * XmlWriter.cs: WriteState and WriteStartElementInternal.
3232
3233 2002-03-23  Kral Ferch <kral_ferch@hotmail.com>
3234
3235         * XmlNodeListChildren.cs: made class internal
3236         instead of public.  Shouldn't be visible outside
3237         of System.Xml.
3238         
3239         * XmlTextWriter.cs: Implementations for Formatting,
3240         IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
3241         Suppresses encoding on xml declaration if null stream passed in.
3242         Formats output including suppressing indentation for elements in
3243         mixed content mode.
3244         
3245         * XmlTextWriterOpenElement.cs: Initial checkin.
3246         XmlTextWriter uses stack of these objects to track
3247         state.
3248         
3249 2002-03-22  Mike Kestner  <mkestner@speakeasy.net>
3250
3251         * XmlElement.cs: impl HasAttribute(string name).
3252
3253 2002-03-22  Duncan Mak  <duncan@ximian.com>
3254
3255         * XmlElement.cs: Reformatted.
3256         (CloneNode) Corrected.
3257
3258         * XmlDocument.cs (CreateWhitespace):
3259         (CreateSignificantWhitespace): Implemented.
3260
3261         * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
3262         true, because Attributes have ChildNodes.
3263
3264 2002-03-21  Kral Ferch <kral_ferch@hotmail.com>
3265
3266         * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
3267         xml declaration along with encoding.  WriteEndElement throws
3268         exception if no WriteStartElement exists.
3269
3270 2002-03-20  Duncan Mak  <duncan@ximian.com>
3271
3272         * XmlEntityReference.cs (CloneNode): Implemented.
3273
3274         * XmlException.cs (Message): Implemented. We need to cache the
3275         message string because SystemException doesn't expose 'message'
3276         from Exception.
3277
3278         * XmlText.cs (Value): Added in the missing Value property.
3279
3280 2002-03-20  Duncan Mak  <duncan@ximian.com>     
3281
3282         * XmlAttribute.cs (CloneNode): Implemented.
3283
3284         * XmlDocumentFragment.cs (CloneNode): Implemented.
3285
3286         * XmlElement.cs (CloneNode): Implemented.
3287
3288 2002-03-19  Duncan Mak  <duncan@ximian.com>
3289
3290         * XmlNotation.cs: Added to CVS.
3291
3292         * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
3293
3294         * XmlCDataSection.cs (CloneNode): Implemented.
3295
3296         * XmlDocumentFragment.cs: Reformatted and added the missing properties
3297         (InnerXml, OwnerDocument, ParentNode).
3298         (CloneNode): Implemented.
3299
3300         * XmlSignificantWhitespace.cs (CloneNode): Implemented.
3301         (Value) Implemented the 'get' property.
3302
3303         * XmlWhitespace.cs (Module): implemented.
3304
3305 2002-03-19  Jason Diamond <jason@injektilo.org>
3306
3307         * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
3308         in the prefix.
3309
3310 2002-03-18  Jason Diamond <jason@injektilo.org>
3311
3312         * XmlTextReader.cs: Don't restore properties after reading last
3313         attribute on an element.
3314
3315         * XmlDocument.cs: Move back to element after reading attributes
3316         so that IsEmptyElement test succeeds.
3317
3318 2002-03-18  Kral Ferch <kral_ferch@hotmail.com>
3319
3320         * XmlNamespaceManager.cs: Implemented LookupPrefix.
3321         
3322         * XmlTextWriter.cs: Implemented namespace and prefix support.
3323
3324 2002-03-18  Kral Ferch <kral_ferch@hotmail.com>
3325
3326         * XmlTextReader.cs: Restores properties after
3327         reading last attribute on an element.
3328         
3329         * XmlNode.cs: AppendChild sets the parent
3330         on the child.
3331
3332 2002-03-17  Kral Ferch  <kral_ferch@hotmail.com>
3333
3334         * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
3335
3336         * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
3337         
3338         * XmlElement.cs: Fixed bug in WriteTo.
3339         
3340         * XmlProcessingInstruction.cs: Formatting.
3341         
3342         * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
3343         fixes for WriteEndElement, WriteProcessingInstruction.
3344
3345 2002-03-17  Kral Ferch  <kral_ferch@hotmail.com>
3346
3347         * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
3348         had Load() add PIs to the document, moved onXXX methods to alphabetical
3349         order in the file.
3350         
3351         * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
3352         
3353         * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
3354         
3355         * XmlProcessingInstruction.cs: Implementations for WriteTo() and
3356         WriteContentTo().
3357         
3358         * XmlTextWriter.cs: Implementations for WriteEndElement,
3359         WriteProcessingInstruction, WriteStartElement, and WriteString.
3360         
3361         * XmlWriter.cs: Implemented WriteStartElement() methods.
3362
3363 2002-03-15  Duncan Mak  <duncan@ximian.com>
3364
3365         * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
3366         InnerText once I know what they do.
3367
3368         * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
3369         that we can properly chain constructors.
3370         (CloneNode): implemented.
3371         (WriteContentTo): Removed MonoTODO attribute as this method has no
3372         effect in this class.
3373
3374         * XmlProcessingInstruction.cs (Value): Added the missing Set
3375         block.
3376         (InnerText): Added in, but not implemented.
3377
3378 2002-03-14  Kral Ferch  <kral_ferch@hotmail.com>
3379
3380         * XmlTextWriter.cs: implemented constructors and 
3381         WriteCData and WriteComment.
3382
3383 2002-03-14  Duncan Mak  <duncan@ximian.com>
3384
3385         * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
3386         file, and updated the callbacks to reflect the change.
3387         (XmlDocument): Added the NameTable constructor.
3388         (NameTable): Also the NameTable property.
3389
3390         * XmlNodeChangedEventHandler.cs: Added, replacing the version that
3391         was in XmlDocument.cs. It has two arguments now (object,
3392         EventArgs) , instead of one (object).
3393
3394 2002-03-14  Kral Ferch  <kral_ferch@hotmail.com>
3395
3396         * XmlWriter.cs: Formatting.
3397         
3398         * XmlTextWriter.cs: Initial checkin.
3399         
3400 2002-03-14  Duncan Mak  <duncan@ximian.com>
3401
3402         * Validation.cs: Removed, replaced by ValidationType.cs.
3403
3404         * ValidationType.cs: Added.
3405
3406 2002-03-13  Duncan Mak  <duncan@ximian.com>
3407
3408         * XmlException.cs: Made it [Serializable], implemented good ol'
3409         GetObjectData, and the serialization constructor.
3410
3411         * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
3412         (SetNamedItem): Reverted (added back in) the patch with the
3413         ReadOnly checks. "Don't doubt yourself, my son... you were right!"
3414
3415         * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
3416         (GetNamedItem (string, string)): implemented.
3417         (RemoveNamedItem): implemented.
3418         (SetNamedItem): implemented.
3419
3420 2002-03-12  Kral Ferch  <kral_ferch@hotmail.com>
3421
3422         * XmlAttribute.cs: Moved a method from amongst properties down to
3423         it's alphabetical position in the methods section.
3424         
3425         * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
3426         last linked child.  Set XmlNode base class to return false for IsReadOnly().
3427         Implemented GetEnumerator() and RemoveChild().
3428         
3429         * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
3430         This is to support the behavior that the Enumerator doesn't become invalid
3431         when changes to the children occur.  Flushed out rest of implementation for
3432         MoveNext, Current, and Reset.
3433
3434 2002-03-12  Duncan Mak  <duncan@ximian.com>
3435
3436         * XmlCharacterData.cs: Reformatted the properties for better readability.
3437
3438         * XmlLinkedNode.cs: Removed the awful boxy comments.
3439
3440         * XmlNamedNodeMap.cs (Count):
3441         (Item): Implemented. Tests will be coming.
3442
3443         * XmlEntityReference.cs: 
3444         * XmlSignificantWhitespace.cs: Implemented these classes except for
3445         the Clone, WriteContentTo and WriteTo methods. Will have to
3446         investigate into these later.
3447
3448 2002-03-11  Duncan Mak  <duncan@ximian.com>
3449
3450         * IHasXmlNode.cs: Added to CVS.
3451
3452 2002-03-08  Jason Diamond <jason@injektilo.org>
3453
3454         * XmlParserContext.cs: Added missing constructors and missing Encoding 
3455         property.
3456
3457         * XmlTextReader.cs: Start using the XmlParserContext class.
3458
3459 2002-03-08  Jason Diamond <jason@injektilo.org>
3460
3461         * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
3462
3463 2002-03-08  Mike Kestner  <mkestner@speakeasy.net>
3464
3465         * XmlNode.cs (Item): Implemented both indexers.
3466
3467 2002-03-08  Jason Diamond  <jason@injektilo.org>
3468
3469         * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
3470         XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
3471
3472 2002-03-08  Jason Diamond  <jason@injektilo.org>
3473
3474         * XmlAttribute.cs: Attribute nodes are supposed to store their values
3475         as child nodes so updated to reflect that.
3476
3477         * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
3478         duplicated in XmlDocument and XmlElement into XmlNode so that it
3479         wouldn't have to be duplicated in XmlAttribute, too.
3480
3481 2002-03-08  Kral Ferch <kral_ferch@hotmail.com>
3482
3483         * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
3484         XmlNode.cs: Formatting.
3485         
3486         * XmlNodeListChildren.cs: Implementation of XmlNodeList
3487         for XmlNode.ChildNodes property.
3488         
3489         * XmlNodeListAsArrayList.cs: Removed file.  Using different
3490         data structure (circular list) in XmlNode so this file
3491         is no longer valid.
3492         
3493         * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
3494         bug in setter property of LastLinkedChild so fixed it.
3495         
3496 2002-03-06  Jason Diamond  <jason@injektilo.org>
3497
3498         * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
3499         We already have a parser in XmlTextReader.
3500
3501         * XmlException.cs: Removed constructor accepting XmlInputSource.
3502
3503 2002-03-06  Kral Ferch <kral_ferch@hotmail.com>
3504
3505         * XmlNode.cs: Rewrote this class from scratch with
3506         MonoToDo attribs and NotImplementedExceptions.  Now defines an
3507         internal LastLinkedNode property to aid the new implementation.
3508         XmlNodes only have ref to owner doc and parent nodes now.
3509         
3510         * XmlLinkedNode.cs: Added NextLinkedSibling internal property
3511         and ref to next sibling to support walking our circular child
3512         node list.
3513         
3514         * XmlDocument.cs: Added ref to last child node and overrides
3515         XmlNode's internal LastLinkedChild property to support walking
3516         our circular child node list.
3517         
3518 2002-03-02  Kral Ferch <kral_ferch@hotmail.com>
3519
3520         * XmlProcessingInstructions.cs: Class was empty.  Implemented
3521         constructor, properties, and CloneNode() method.  Put in
3522         MonoToDo attrib for remaining methods.
3523
3524         * XmlComment.cs: Reformatted and put in MonoToDo attribs.
3525         Got rid of helper methods and fields since they were no
3526         longer needed.
3527
3528         * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
3529
3530         * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
3531         XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
3532         Createxxx() methods for those three node types.
3533
3534 2002-03-02  Jason Diamond <jason@injektilo.org>
3535
3536         * XmlDocument.cs: Implemented the remaining CreateElement and
3537         CreateAttribute methods.
3538
3539         * XmlAttribute.cs: Re-implemented.
3540
3541         * XmlElement.cs: Set owner element on attributes. Reformatted.
3542
3543 2002-03-02  Jason Diamond <jason@injektilo.org>
3544
3545         * XmlTextReader.cs: Implemented MoveToNextAttribute().
3546
3547         * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
3548         attributes. Create attribute nodes while loading. Implemented
3549         Load(string) and CreateTextNode().
3550
3551         * XmlCharacterData.cs, XmlText.cs: Re-implemented.
3552
3553         * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in 
3554         XmlCharacterData.
3555
3556         * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
3557
3558 2002-03-02  Mike Kestner <mkestner@speakeasy.net>
3559
3560         * XmlAttribute.cs : Using fix.
3561         * XmlDocument.cs (CreateAttribute(String)): Implement.
3562
3563 2002-03-02  Jason Diamond <jason@injektilo.org>
3564
3565         * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in 
3566         the name table.
3567
3568 2002-02-28  Jason Diamond <jason@injektilo.org>
3569
3570         * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml 
3571         courtesy of Kral Ferch <kral.ferch@hotmail.com>.
3572
3573 2002-02-28  Jason Diamond <jason@injektilo.org>
3574
3575         * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted, 
3576         added missing members and MonoTODO attributes.
3577         
3578         * XmlTextReader.cs: Throw XmlException instead of System.Exception.
3579
3580 2002-02-27  Jason Diamond <jason@injektilo.org>
3581
3582         * XmlElement.cs: Reformatted, added missing members and MonoTODO 
3583         attributes.
3584
3585 2002-02-26  Duncan Mak  <duncan@ximian.com>
3586
3587         * XmlCDataSection.cs: Initial implementation.
3588
3589         * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
3590         it out. This should (hopefully) be correct.
3591
3592 2002-02-26  Jason Diamond <jason@injektilo.org>
3593
3594         * XmlTextReader.cs: Apparently Microsoft's implementation treats
3595         namespace declarations as attributes so we do now, too.
3596
3597         * XmlNamespaceManager.cs: HasNamespace fixed so that it only
3598         checks the current scope.
3599
3600 2002-02-26  Duncan Mak  <duncan@ximian.com>
3601
3602         * XmlDocumentType.cs: Added a few hacks here and there to
3603         temporarily fix the "I broke the build issue".
3604
3605 2002-02-25  Jason Diamond <jason@injektilo.org>
3606
3607         * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
3608         XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
3609         simple test to pass. The existing code is really shitty so I'll
3610         probably start writing tests and refactoring before much else 
3611         can get done.
3612
3613 2002-02-25  Duncan Mak  <duncan@ximian.com>
3614
3615         * NameTable.cs: Implemented.
3616
3617         * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
3618
3619 2002-02-24  Duncan Mak  <duncan@ximian.com>
3620         
3621         * XmlNodeOrder.cs: Added to CVS.
3622
3623         * XmlQualifiedName.cs: Fixed a warning from Equals ().
3624
3625         * XmlTokenizedType.cs: Added to CVS.
3626
3627         * XmlUrlResolver.cs: Added to CVS with one TODO task.
3628
3629 2002-02-23  Duncan Mak  <duncan@ximian.com>
3630
3631         * XmlQualifiedName.cs: Fixed ToString () and added the operators
3632         (== and !=).
3633
3634 2002-02-23  Jason Diamond <jason@injektilo.org>
3635
3636         * XmlTextReader.cs: Added support for qualified attributes.
3637
3638 2002-02-23  Jason Diamond <jason@injektilo.org>
3639
3640         * XmlNamespaceManager.cs: Initial implementation.
3641         
3642         * XmlTextReader.cs: Added support for NamespaceURI property on
3643         elements.
3644
3645 2002-02-23  Nick Drochak <ndrochak@gol.com>
3646
3647         * ChangeLog: Add the change log to this directory
3648
3649         * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
3650         MonoTODO's