2010-04-21 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.XML / System.Xml / ChangeLog
1 2010-04-21  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * XmlTextReader.cs, DTDReader.cs : 0xFFFF was treated as if it were
4           0x10000. (It is invalid and should be rejected by decent
5           XmlReaders usage though.) Fixed bug #594628.
6
7 2010-03-29  Atsushi Enomoto  <atsushi@ximian.com>
8
9         * XmlQualifiedName.cs : do not reject names in no namespace.
10
11 2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>
12
13         * XmlReader.cs, XmlQualifiedName.cs : ReadElementContentAs() when
14           used for qname, treats non-prefixed name as in default namespace.
15
16 2010-03-17  Atsushi Enomoto  <atsushi@ximian.com>
17
18         * XmlTextWriter2.cs : fix cosmetic 2.0 compatibility issue in 
19           WriteStartAttribute() which allows "" for prefixed xmlns and brings
20           incompatibility with XmlTextWriter class.
21
22 2010-03-16  Jb Evain  <jbevain@novell.com>
23
24         * XmlNodeReader2.cs
25         * DTDValidatingReader2.cs
26         * XmlReader.cs
27         * XmlTextReader.cs
28         * XmlWriter.cs
29         * XmlResolver.cs
30         * XmlNodeReaderImpl.cs
31         * XmlInputStream.cs
32         * XmlReaderSettings.cs
33         * XmlWriterSettings.cs:
34                 Use MOONLIGHT symbol to disambiguate MonoTouch and Moonlight code.
35
36 2010-02-20  Geoff Norton  <gnorton@novell.com>
37
38         * XmlInputStream.cs: Disable this codepath on monotouch.  Fixes
39         #562155
40
41 2010-02-12  Miguel de Icaza  <miguel@novell.com>
42
43         * XmlWriterSettings.cs: Expose NamespaceHandling in NET 4.0 
44
45 2010-01-28  Atsushi Enomoto  <atsushi@ximian.com>
46
47         * XmlReaderBinarySupport.cs : eliminate possible extra buffer
48           storing of zeros. Fixed bug #543332.
49
50 2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>
51
52         * XmlConvert.cs : convert TimeSpan.MinValue to correct string.
53           Patch by Tiaan Geldenhuys.
54
55 2010-01-22  Atsushi Enomoto  <atsushi@ximian.com>
56
57         * XmlDocument.cs : fix type check for optimal node creation.
58           Fixed bug #571336, #571226 and #572738.
59
60 2010-01-15  Atsushi Enomoto  <atsushi@ximian.com>
61
62         * XmlConvert.cs : Do not ignore ticks which are less than a
63           millisecond. Remove trailing zeros for milliseconds and ticks.
64
65 2010-01-15  Atsushi Enomoto  <atsushi@ximian.com>
66
67         * XmlConvert.cs : trim spaces when parsing TimeSpan.
68
69 2010-01-15  Atsushi Enomoto  <atsushi@ximian.com>
70
71         * XmlConvert.cs : shorten format string patterns.
72
73 2010-01-15  Atsushi Enomoto  <atsushi@ximian.com>
74
75         * XmlConvert.cs : DateTimeOffset parse is sloppy.
76
77 2010-01-12  Atsushi Enomoto  <atsushi@ximian.com>
78
79         * XmlConvert.cs : handle Infinity and -Infinity here due to the
80           commented reason.
81
82 2010-01-12  Atsushi Enomoto  <atsushi@ximian.com>
83
84         * XmlConvert.cs : ToSingle(string) should do the same as ToDouble().
85
86 2010-01-12  Atsushi Enomoto  <atsushi@ximian.com>
87
88         * XmlConvert.cs : ToDouble(string) should handle NaN, INF and -INF
89           with whitespace allowed.
90
91 2010-01-12  Atsushi Enomoto  <atsushi@ximian.com>
92
93         * XmlConvert.cs : ToDouble(string) and ToIntXX(string) allows
94           whitespaces.
95
96 2010-01-12  Atsushi Enomoto  <atsushi@ximian.com>
97
98         * XmlConvert.cs : ToString(DateTimeOffset) does not emit extra
99           fraction numbers.
100
101 2010-01-12  Atsushi Enomoto  <atsushi@ximian.com>
102
103         * XmlConvert.cs : fix some cosmetic compatibility bugs:
104           ArgumentException -> FormatException.
105
106 2010-01-12  Atsushi Enomoto  <atsushi@ximian.com>
107
108         * XmlWriter.cs : handle a corner case for empty string handling 
109           difference between XmlTextWriter and XmlWriter.Create().
110
111 2009-11-27  Atsushi Enomoto  <atsushi@ximian.com>
112
113         * NamespaceHandling.cs, XmlWriterSettings.cs, XmlTextWriter2.cs:
114           implement NamespaceHandling support for Moonlight.
115
116 2009-11-17  Atsushi Enomoto  <atsushi@ximian.com>
117
118         * XmlConvert.cs : fix DateTimeOffset roundtrip by giving format
119           strings in refined order. Patch by Santa Marta, at:
120           http://irc.gimite.net/channel/mono-jp/archive/20091105
121           ( http://smdn.invisiblefulmoon.net/misc/forum/programming/#n10 )
122
123 2009-11-13  Andreia Gaita  <avidigal@novell.com>
124
125         * XmlNamespaceManager.cs: XmlReader.Read calls LookupNamespace via
126         the internal sig, which skips any overrides that might exist on
127         subclasses, so redirect all calls to the public call to make sure
128         all overrides are called as well.
129         Make AddNamespace, HasNamespace and RemoveNamespace private.
130
131 2009-11-11  Atsushi Enomoto  <atsushi@ximian.com>
132
133         * XmlDocument.cs, XmlElement.cs, XmlAttribute.cs,
134           XmlAttributeCollection.cs :
135           when CreateElement() and/or CreateAttribute() are overriden,
136           use overriden method. Otherwise, use internal optimal ones.
137           Fixed bug #549839.
138
139 2009-11-11  Atsushi Enomoto  <atsushi@ximian.com>
140
141         * XmlNodeReaderImpl.cs : when the reader is at attribute value,
142           MoveToNextAttribute() incorrectly moved to the first attribute.
143           Fixed bug #550379.
144
145 2009-10-23  Andreia Gaita  <avidigal@novell.com>
146
147         * XmlConvert.cs: make ToUri static, fixes #548918 (moon)
148
149 2009-10-05  Atsushi Enomoto  <atsushi@ximian.com>
150
151         * XmlConvert.cs : fix wrong ToDateTimeOffset loop, based on the
152           patch by David Mitchell.
153
154 2009-09-15  Atsushi Enomoto  <atsushi@ximian.com>
155
156         * XmlAttributeCollection.cs : removed duplicate ID attribute check
157           here as this behavior not specifically defined by W3C DOM Level 2
158           specification. Fixed bug #508296.
159
160 2009-08-21  Atsushi Enomoto  <atsushi@ximian.com>
161
162         * XmlTextReader.cs : there still was use of bogus
163           XmlParserContext.NameTable.
164
165 2009-07-22  Atsushi Enomoto  <atsushi@ximian.com>
166
167         * XmlNamespaceManager.cs : Adding prefix "xml" seems to be allowed
168           as long as the URI is correct. Fixed bug #514015.
169
170 2009-07-22  Atsushi Enomoto  <atsushi@ximian.com>
171
172         * XmlInputStream.cs : cosmetic exception type change. Patch by
173           Hib Eris. Fixed bug #523971.
174
175 2009-05-27  Sebastien Pouliot  <sebastien@ximian.com>
176
177         * XmlReaderSettings.cs: Set prohibitDtd when changing the value 
178         of DtdProcessing. Will fix a few Moonlight DRT tests
179
180 2009-05-19  Atsushi Enomoto  <atsushi@ximian.com>
181
182         * XmlConvert.cs : no reason not to report invalid input string for
183           ToGuid().
184
185 2009-04-28  Sebastien Pouliot  <sebastien@ximian.com>  
186
187         * XmlTextReader.cs (InitializeContext): Under NET_2_1 do not give
188         a second change using Path.GetFullPath. (GetStreamFromUrl) Add
189         extra validations that would be missed in NET_2_1
190
191 2009-04-28  Sebastien Pouliot  <sebastien@ximian.com>
192
193         * XmlReaderSettings.cs: Add MaxCharactersInDocument property for 
194         NET_2_1 profile
195         * XmlUrlResolver.cs: Cleanup #ifdef NET_2_1 inside this file 
196         since this is not used anymore in Moonlight
197
198 2009-04-28  Sebastien Pouliot  <sebastien@ximian.com> 
199
200         * XmlXapResolver.cs: Remove dependency on XmlUrlResolver. Small 
201         fixes wrt new unit tests (inside moon-unit).
202
203 2009-04-28  Sebastien Pouliot  <sebastien@ximian.com>
204
205         * XmlResolver.cs: Small fixes wrt new unit tests. Add SupportsType
206         method for NET_2_1 profile.
207
208 2009-04-22  Atsushi Enomoto  <atsushi@ximian.com>
209
210         * XmlQualifiedName.cs : added Parse() overload that is used for
211           xsd validation.
212
213 2009-04-22  Atsushi Enomoto  <atsushi@ximian.com>
214
215         * XmlAttributeCollection.cs : when the node to be inserted has owner
216           element _but_ is identical to that of this collection, do not
217           reject it to raise an error. Fixed bug #496022.
218
219 2009-03-25  Geoff Norton  <gnorton@novell.com>
220
221         * XmlTextReader.cs: Create the uri as relativeorabsolute.
222
223 2009-03-18  Atsushi Enomoto  <atsushi@ximian.com>
224
225         * XmlReader.cs : handle DateTimeOffset in typed reader methods.
226
227 2009-03-17  Atsushi Enomoto  <atsushi@ximian.com>
228
229         * XmlTextWriter2.cs : some weird TextWriter has null Encoding.
230           Fixed bug #372525.
231
232 2009-03-16  Atsushi Enomoto  <atsushi@ximian.com>
233
234         * XmlParserContext.cs : .NET has weird nametable initialization.
235           Fixed bug #484519.
236
237 2009-03-16  Atsushi Enomoto  <atsushi@ximian.com>
238
239         * XmlReader.cs : (ReadToFollowing) check LocalName, not Name.
240           Fixed bug #478506.
241
242 2009-03-16  Atsushi Enomoto  <atsushi@ximian.com>
243
244         * DTDRreader.cs : read up all DTD stream so that we don't have to
245           see bugs like #469317 many times.
246
247 2009-03-16  Atsushi Enomoto  <atsushi@ximian.com>
248
249         * XmlReaderBinarySupport.cs : ReadContentsAsBase64() could skip
250           EndElement at the next XmlReader.Read(). Fixed bug #480066.
251
252 2009-03-16  Atsushi Enomoto  <atsushi@ximian.com>
253
254         * XmlTextWriter2.cs : only bogus v1 XmlTextWriter ignores null
255           namespace for conflict check. Fixed bug #479725.
256
257 2009-03-13  Atsushi Enomoto  <atsushi@ximian.com>
258
259         * XmlConvert.cs : added ToUri() (extraneous in 2.0; used only from
260           2.1 S.X.Serialization.dll in MS SDK).
261
262 2009-03-02  Chris Toshok  <toshok@ximian.com>
263
264         * XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs,
265         EntityResolvingXmlReader.cs: 2.1 has HasValue.
266
267
268 2009-02-27  Atsushi Enomoto  <atsushi@ximian.com>
269
270         * XmlReader.cs : do not try to read at non-readable state in
271           MoveToContent().
272
273 2009-02-23  Alan McGovern  <amcgovern@novell.com>
274
275         * XmlTextReader.cs: Under the SL2 profile, the default resolver
276         is a XmlXapResolver.
277
278 2009-02-23  Atsushi Enomoto  <atsushi@ximian.com>
279
280         * XmlReader.cs : ReadContentAsXxx() should not advance XmlReader
281           when it is on attribute *value* text.
282
283 2009-02-10  Atsushi Enomoto  <atsushi@ximian.com>
284
285         * XmlTextWriter2.cs : similar fix in WriteStartElement() to
286           previous change. Fixed bug #474091.
287
288 2009-02-09  Atsushi Enomoto  <atsushi@ximian.com>
289
290         * XmlElementTest.cs: SetAttribute(name,value) should identify value
291           change for existing node, from new node insertion.
292           Fixed bug #464394.
293
294 2009-02-06  Atsushi Enomoto  <atsushi@ximian.com>
295
296         * XmlTextWriter2.cs : in WriteStartAttribute(), fill namespace in
297           case it is null and the prefix has matching ns. Fixed bug #472634.
298
299 2009-01-30  Atsushi Enomoto  <atsushi@ximian.com>
300
301         * DTDValidatingReader2.cs, EntityResolvingXmlReader.cs : simplify
302           parsercontext provision.
303         * XmlValidatingReader.cs : expand parser context provision to
304           non-dtdvalidating readers.
305
306 2009-01-22  Atsushi Enomoto  <atsushi@ximian.com>
307
308         * XmlXapResolver.cs : fix assembly qualified names,
309           and give detailed errors.
310         * XmlResolver.cs : in 2.1 do not resolve relative Uri
311           to absolute.
312
313 2009-01-22  Atsushi Enomoto  <atsushi@ximian.com>
314
315         * XmlXapResolver.cs : new in 2.1.
316         * XmlReaderSettings.cs : use above.
317
318 2009-01-20  Atsushi Enomoto  <atsushi@ximian.com>
319
320         * XmlDocumentNavigator.cs : in some corner cases an attribute
321           may have null OwnerElement. Fixed bug #458245.
322
323 2009-01-20  Atsushi Enomoto  <atsushi@ximian.com>
324
325         * XmlReaderBinarySupport.cs : do not hang in the middle of reading
326           byte chunk at some node types. Fixed bug #464229.
327
328 2009-01-14  Sebastien Pouliot  <sebastien@ximian.com>
329
330         * NamespaceHandling.cs: New. Enum for Silverlight 2. Microsoft's 
331         System.Xml.Linq.dll (often bundled in XAP files) needs it (or we 
332         throw a TypeLoadException).
333         * XmlWriterSettings.cs: Add SL2 specific NamespaceHandling property
334
335 2009-01-08  Atsushi Enomoto  <atsushi@ximian.com>
336
337         * XmlReader.cs : ReadContentAsString() does not reject non-elements.
338           ReadElementContentAsString() rejects non-content nodes.
339
340 2008-12-19  Atsushi Enomoto  <atsushi@ximian.com>
341
342         * XmlNamespaceManager.cs : namespace lookup failed for non-atomic
343           string in 1.1 profile. Fixed 1.0 part of #379139.
344
345 2008-12-18  Atsushi Enomoto  <atsushi@ximian.com>
346
347         * DTDValidatingReader.cs : remove unused file.
348
349 2008-11-04  Atsushi Enomoto  <atsushi@ximian.com>
350
351         * XmlTextReader.cs : simply call ClearValueBuffer() on each Read().
352
353 2008-10-02  Atsushi Enomoto  <atsushi@ximian.com>
354
355         * XmlDocumentNavigator.cs : added some overriden methods (to be
356           implemented).
357
358 2008-09-24  Atsushi Enomoto  <atsushi@ximian.com>
359
360         * XmlDocument.cs : it returns non-null Schemas by default (and
361           returns non-empty set after being set null).
362
363 2008-09-17  Atsushi Enomoto  <atsushi@ximian.com>
364
365         * XmlReader.cs : detailed error location in ReadSubtree().
366
367 2008-09-17  Atsushi Enomoto  <atsushi@ximian.com>
368
369         * XmlReader.cs : ReadSubtree() is valid only on an element.
370
371 2008-09-10  Atsushi Enomoto  <atsushi@ximian.com>
372
373         * XmlDocument.cs, XmlDocumentNavigator.cs :
374           reduce navigator fields.
375
376 2008-08-21  Stephane Delcroix  <sdelcroix@novell.com>
377
378         * EnityResolvingXmlReader.cs:
379         * XmlReader.cs:
380         * XmlTextReader.cs:
381         * XmlTextReader2.cs: re-enable ResolveEntity for 2.1
382
383 2008-08-21  Stephane Delcroix  <sdelcroix@novell.com>
384
385         * XmlReaderSettings.cs: adding DtdProcessing and
386         MaxCharactersFromEntities properties for 2.1
387
388 2008-08-21  Stephane Delcroix  <sdelcroix@novell.com>
389
390         * DtdProcessing: adding this enum on the 2.1 build
391
392 2008-08-05  Jb Evain  <jbevain@novell.com>
393
394         * XmlConvert.cs (ToChar): add a specific SL2 version.
395
396 2008-07-28  Atsushi Enomoto  <atsushi@ximian.com>
397
398         * XmlNamespaceManager.cs : check null arg.
399         * XmlTextReader.cs : fixed bug #412657; now we populate nametable
400           and namespace manager in case they are null in parser context, and
401           use them instead of the members in the parser context.
402
403 2008-06-11  Atsushi Enomoto  <atsushi@ximian.com>
404
405         * XmlConvert.cs : fixed bug #397934. Utc mode accepts more formats.
406
407 2008-06-11  Atsushi Enomoto  <atsushi@ximian.com>
408
409         * XmlConvert.cs : no need for TARGET_JVM.
410
411 2008-06-09  Atsushi Enomoto  <atsushi@ximian.com>
412
413         * XmlTextReader.cs : when Normalized is true, '<' after \r which
414           comes after text node was incorrectly consumed as a text content.
415           Fixed bug #398374.
416
417 2008-06-05  Atsushi Enomoto  <atsushi@ximian.com>
418
419         * XmlConvert.cs : now we can use roundtrip format for float/double.
420           Fixed bug #320424.
421
422 2008-06-04  Atsushi Enomoto  <atsushi@ximian.com>
423
424         * XmlTextReader2.cs : added FIXME comment which won't fix, that
425           I have noticed during fixing bug #378239.
426
427 2008-05-22  Atsushi Enomoto  <atsushi@ximian.com>
428
429         * XmlReader.cs : some Create() overloads with baseUri argument did
430           not set baseUri correctly. Fixed bug #392385.
431
432 2008-05-07  Atsushi Enomoto  <atsushi@ximian.com>
433
434         * XmlReader.cs : force CloseInput to every XmlReader that is created
435           from url (I mean, every internal XmlReader instance).
436
437 2008-04-17  Atsushi Enomoto  <atsushi@ximian.com>
438
439         * XmlAttributeCollection.cs : check attribute identity only if the
440           source node is in the document tree. Fixed bug #380720.
441
442 2008-02-19  Atsushi Enomoto  <atsushi@ximian.com>
443
444         * XmlParserContext.cs : .net does not populate XmlNamespaceManager
445           automatically.
446         * XmlDocument.cs : so, always create one here.
447
448 2008-01-25  Atsushi Enomoto  <atsushi@ximian.com>
449
450         * XmlReader.cs : MoveToNextSibling() should check EOF (as Skip() does
451           not). Fixed bug #347768.
452
453 2008-01-15  Atsushi Enomoto  <atsushi@ximian.com>
454
455         * XmlParserContext.cs : do not pass invalid URI to XmlTextReader#ctor
456           even as a dummy. Fixed bug #353654.
457
458 2007-12-17  Atsushi Enomoto  <atsushi@ximian.com>
459
460         * XmlConvert.cs : added NET_3_5 members.
461
462 2007-12-06  Atsushi Enomoto  <atsushi@ximian.com>
463
464         * XmlUrlResolver.cs : in net_2_0, use Uri.IsAbsoluteUri to filter
465           relative URIs out.
466
467 2007-11-09  Atsushi Enomoto  <atsushi@ximian.com>
468
469         * XmlConvert.cs : ToDateTime(XmlDateTimeSerializationMode) should
470           allow more strings than existing one. Fixed bug #339004.
471
472 2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>
473
474         * XmlConvert.cs : ToDateTime(string,string) should use ParseExact(),
475           not Parse(). Use 'K' for roundtrip format.
476
477 2007-10-10  Atsushi Enomoto  <atsushi@ximian.com>
478
479         * XmlTextWriter2.cs : making <del>silly</del>funky MS compatibility
480           change in WriteStartAttribute() to call WriteEndAttribute() if an
481           attribute is open.
482
483 2007-10-10  Atsushi Enomoto  <atsushi@ximian.com>
484
485         * XmlTextWriter2.cs : I could make previous change only in 2.0 mode.
486
487 2007-10-10  Atsushi Enomoto  <atsushi@ximian.com>
488
489         * XmlTextWriter2.cs : When it is at Error state, do not try to close
490           attributes and elements at Close(). They will result in further
491           error and rather hide the actual issue when disposed.
492
493 2007-09-28  Atsushi Enomoto  <atsushi@ximian.com>
494
495         * XmlWriter.cs : it is now documented that WriteNode(XPathNavigator)
496           ignores attributes and namespace decls, so do that.
497         * XQueryConvert.cs : removed extra stuff that are not in use.
498
499 2007-09-27  Atsushi Enomoto  <atsushi@ximian.com>
500
501         * XmlWriter.cs : implemented WriteValue(object) based on
502           MSDN "Writing Typed Data" with some fix.
503           http://msdn2.microsoft.com/en-us/library/bft97s8e(VS.80).aspx
504         * XmlTextWriter.cs : state check is extraneous. It caused unexpected
505           rejection of empty namespace URI.
506
507 2007-08-13  Atsushi Enomoto  <atsushi@ximian.com>
508
509         * XmlTextWriter2.cs : fix extraneous indentation which is put after
510           omitted xmldecl.
511
512 2007-08-09  Jb Evain  <jbevain@novell.com>
513
514         * XmlTextReader.cs: Avoid using 2.0 only feature in 2.1.
515
516 2007-08-09  Jb Evain  <jbevain@novell.com>
517
518         * XmlConvert.cs: use 2.1 available overloads of Parse.
519
520 2007-08-09  Jb Evain  <jbevain@novell.com>
521
522         * XmlInputStream.cs: there's no ASCII encoding in 2.1.
523
524 2007-08-09  Atsushi Enomoto  <atsushi@ximian.com>
525
526         * XmlReader.cs XmlNodeReader2.cs XmlTextReader.cs XmlTextReader2.cs
527           XmlNodeReaderImpl.cs EntityResolvingXmlReader.cs :
528           The previous attempt was wrong. Those internal-virtualized ones
529           could be used in System.Xml.Core classes and outside the assembly
530           any derived XmlReaders would have thrown throw Exception.
531           Now I marked them as nonexistent-in-2.1 or privatized.
532         * XmlWriter.cs : actually only this class is affected (if there
533           were DOM or XSD they would have been affected as well).
534
535 2007-08-09  Atsushi Enomoto  <atsushi@ximian.com>
536
537         * XmlReader.cs : HasValue, ReadAttributeValue() and ResolveEntity()
538           do not exist in 2.1 profile. Hiding abstract stuff seems to cause
539           some issues at run time, so they are ifdef-ed out from 2.1.
540         * XmlNodeReader2.cs DTDValidatingReader2.cs XmlTextReader.cs
541           XmlTextReader2.cs XmlNodeReaderImpl.cs DTDValidatingReader.cs
542           EntityResolvingXmlReader.cs : hence the change above.
543
544 2007-08-04  Jb Evain  <jbevain@novell.com>
545
546         * XmlUrlResolver.cs: remove code duplication in 2.1.
547
548 2007-08-04  Jb Evain  <jbevain@novell.com>
549
550         * XmlTextReader.cs, XmlConvert.cs, XmlReaderBinarySupport.cs:
551         Use the available constructor for the 2.1 profile.
552
553 2007-08-03  Atsushi Enomoto  <atsushi@ximian.com>
554
555         * DTDObjectModel.cs : in 2.0 and especially 2.1 profiles, use
556           our own DictionaryBase-like generic type. It is to reduce
557           dependency on DictionaryBase which does not exist in 2.1 mscorlib.
558           (included in 2.0 as well so that we do not skip NUnit tests so far)
559
560 2007-08-03  Atsushi Enomoto  <atsushi@ximian.com>
561
562         * XmlResolver.cs, XmlUrlResolver.cs, XmlSecureResolver.cs :
563           remove ICredential in NET_2_1 (they have to be explicitly removed
564           outside tuner work as ICredentials does not exist in 2.1 profile).
565           We cannot use WebRequest in 2.1 as well, so remove dependency on
566           it in GetEntity() (and added MonoTODO for non-file URLs).
567
568 2007-07-12  Atsushi Enomoto  <atsushi@ximian.com>
569
570         * XmlWriter.cs : in WriteNode(XPathNavigator,bool), default namespace
571           is broken. Fixed bug #82051.
572
573 2007-07-11  Atsushi Enomoto  <atsushi@ximian.com>
574
575         * XmlReader.cs : looks like I introduced extra Settings check at
576           r69383. Fixed bug #82062.
577
578 2007-07-04  Atsushi Enomoto  <atsushi@ximian.com>
579
580         * DTDValidatingReader2.cs :
581           we can remove NET_2_1 from this unused code in SL.
582
583 2007-07-04  Atsushi Enomoto  <atsushi@ximian.com>
584
585         * DTDAutomata.cs DTDObjectModel.cs DTDReader.cs
586           DTDValidatingReader2.cs XmlException.cs XmlReader.cs
587           XmlReaderSettings.cs XmlWriter.cs :
588           Make System.Xml.Core.dll build easier, using NET_2_1.
589
590           DTD support is simply cut at this stage (as it largely depends on
591           sys.xml.schema stuff).
592
593 2007-06-30  Gert Driesen  <drieseng@users.sourceforge.net>
594
595         * XmlTextReader.cs: Expose ProhibitDtd on 1.0 profile too.
596
597 2007-06-13  Atsushi Enomoto  <atsushi@ximian.com>
598
599         * XmlNode.cs : InnerText is settable on XmlDocumentFragment (silly,
600           but since XmlDocumentFragment does not override this property
601           it must be handled here).
602
603 2007-06-11  Atsushi Enomoto  <atsushi@ximian.com>
604
605         * XmlTextReader.cs : ReadStartElement() has bogus error message.
606
607 2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>
608
609         * XmlTextWriter2.cs :
610           NewLineOnAttributes indentation fix, for bug #81770.
611
612 2007-05-25  Atsushi Enomoto  <atsushi@ximian.com>
613
614         * XQueryConvert.cs : removed unused methods. They will prevent
615           System.Xml.Core.dll implementation.
616
617 2007-05-15  Konstantin Triger <kostat@mainsoft.com>
618
619         * XmlWriter.cs, XmlTextWriter2.cs: ensure the file
620                 is closed in XmlWriter.Create(filename).
621
622 2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>
623
624         * XmlConvert.cs : MinValue and MaxValue, same for ToDateTime().
625
626 2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>
627
628         * XmlConvert.cs : MinValue and MaxValue are unchanged by the
629           serialization mode (unlike DateTime.ToString()).
630
631 2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>
632
633         * XmlConvert.cs : in 2.0, use F instead of f in dateTime formatting.
634
635 2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>
636
637         * XmlReader.cs : fixed wrong depth comparison in ReadToNextSibling().
638           Fixed bug #81451, by Eric Mercier.
639
640 2007-04-03  Atsushi Enomoto  <atsushi@ximian.com>
641
642         * XmlTextReader.cs : character ']' inside DTD comment caused parser
643           error. Fixed bug #81294.
644
645 2007-03-05  Atsushi Enomoto  <atsushi@ximian.com>
646
647         * XmlReader.cs : when Create() returns customized XmlTextReader, set
648           EntityHandling.ExpandEntities. Fixed bug #81000.
649
650 2007-02-20  Atsushi Enomoto  <atsushi@ximian.com>
651
652         * XmlTextReader.cs, XmlTextReader2.cs : Reset() should work now.
653           Closing bug #80849.
654
655 2007-02-20  Atsushi Enomoto  <atsushi@ximian.com>
656
657         * DTDValidatingReader2.cs, XmlTextReader.cs, XmlNodeReaderImpl.cs:
658           Read() silently returns false when it is closed. Fixed bug #80848.
659
660 2007-02-07  Atsushi Enomoto  <atsushi@ximian.com>
661
662         * XmlReader.cs : ReadElementContentAsString() and all relevant methods
663           didn't consume empty element correctly.
664
665 2006-12-20  Atsushi Enomoto <atsushi@ximian.com>
666
667         * XmlNode.cs : (InsertBefore) when newChild == refChild, do nothing
668           except for node type check. Fixed bug #80331.
669
670 2006-12-19  Atsushi Enomoto <atsushi@ximian.com>
671
672         * XmlTextReader.cs : Fixed ReadChars() to consume child elements,
673           including such cases that it breaks tags in the middle of multiple
674           ReadChars() calls. Fixed bug #80308.
675
676 2006-12-19  Atsushi Enomoto <atsushi@ximian.com>
677
678         * XmlTextReader.cs : ReadChars() does not have to store characters,
679           so avoid extra storing. Patch by Csaba Halasz, fixed bug #80306.
680
681 2006-12-12  Atsushi Enomoto <atsushi@ximian.com>
682
683         * XmlNode.cs : InnerText was returning comment text when there was
684           only a Comment node. Fixed bug #80233.
685
686 2006-12-12  Atsushi Enomoto <atsushi@ximian.com>
687
688         * XmlReader.cs : Create() with string url was not returning validating
689           XmlReader.
690
691 2006-12-12  Atsushi Enomoto <atsushi@ximian.com>
692
693         * DTDValidatingReader2.cs : when an attribute declaration is missing
694           in the corresponding attlist declaration, it caused NRE.
695           Fixed bug #80231.
696
697 2006-12-11  Atsushi Enomoto <atsushi@ximian.com>
698
699         * XmlDocument.cs : call overriden CreateAttribute() when loading from
700           XmlReader.
701
702 2006-12-05  Atsushi Enomoto <atsushi@ximian.com>
703
704         * XmlReader.cs : new 2.0 MoveToAttribute(int) failed to move to the
705           final attribute in an element.
706
707 2006-12-05  Atsushi Enomoto <atsushi@ximian.com>
708
709         * XmlNode.cs : GetPrefixOfNamespace() was not correctly searching
710           ancestors' namespaces.
711
712 2006-11-20  Atsushi Enomoto <atsushi@ximian.com>
713
714         * XmlTextWriter2.cs : fixed some relationship between
715           ConformanceLevel, OmitXmlDeclaration and WriteStartDocument().
716           See new tests more details.
717         * XmlWriter.cs : it could reuse XmlTextWriter.ctor(TextWriter,
718           XmlWriterSettings). It also resulted in dropping several internal
719           members in XmlTextWriter.
720
721 2006-11-14  Atsushi Enomoto <atsushi@ximian.com>
722
723         * XmlReaderSettings.cs : in copy constructor, copy (dispatch)
724           validation event as well. Add OnValidationError() to be invoked
725           by other internal stuff to raise the validation event.
726
727 2006-11-13  Michael Meeks  <michael.meeks@novell.com>
728
729         * XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs:
730         pass the XmlResolver through to the GetStream impl.
731
732 2006-10-30  Atsushi Enomoto <atsushi@ximian.com>
733
734         * XmlTextReader2.cs : if DTD does not exist, do not try to resolve
735           entity from null DTD (caused NRE). Fixed bug #79620.
736
737 2006-10-27  Atsushi Enomoto <atsushi@ximian.com>
738
739         * DTDReader.cs : some parameter entity expansions were not done.
740           Fixed bug #79683.
741
742 2006-09-27  Atsushi Enomoto <atsushi@ximian.com>
743
744         * XmlTextWriter2.cs : null arg check.
745
746 2006-09-26  Atsushi Enomoto <atsushi@ximian.com>
747
748         * XmlDeclaration.cs :
749           Removed bogus return statement in Value. Fixed bug #79496.
750
751 2006-09-21  Atsushi Enomoto <atsushi@ximian.com>
752
753         * XmlNameEntryCache.cs : It should expand temporary buffer even at
754           initial state. Fixed bug #79468.
755
756 2006-09-19  Atsushi Enomoto <atsushi@ximian.com>
757
758         * XmlElement.cs : for non-atomized names, alter null prefix with "".
759           Fixed bug #79420.
760
761 2006-09-04  Atsushi Enomoto <atsushi@ximian.com>
762
763         * XmlReader.cs : ReadContentAsString() and its family should allow 
764           attribute node. Fixed bug #79268.
765
766 2006-09-01  Atsushi Enomoto <atsushi@ximian.com>
767
768         * XmlTextWriter2.cs : expect atomized names only when it is
769           appropriate. Fixed bug #79047.
770
771 2006-08-26  Atsushi Enomoto <atsushi@ximian.com>
772
773         * XmlDocument.cs : use XmlValidatingReader to load TextReader/Stream
774           so that it could fill default and fixed attributes. This ends up
775           to fix bug #79163 (it fills fixed "xmlns" attribute and thus
776           the node's namespace URI becomes that of glade-2.0).
777
778 2006-08-17  Atsushi Enomoto <atsushi@ximian.com>
779
780         * XmlEntity.cs, XmlEntityReference.cs, XmlNode.cs :
781           create entity content only when its children is being accessed.
782           It results differently when there is no actual reference in the
783           document - an invalid entity value (when it is used to create
784           child nodes) is ignored unless a code tries to access the Value
785           of an XmlEntity. Fixed bug #79091
786         * DTDReader.cs : the fix above uncovered another bug (ibm66n03.xml).
787           Check illegal reference name in literal entity value.
788
789 2006-08-17  Atsushi Enomoto <atsushi@ximian.com>
790
791         * XmlTextReader.cs, XmlTextReader2.cs, DTDReader.cs :
792           (ResolveExternalEntityReplacementText) need to skip text
793           declaration in external entities. To make it possible internalize
794           SkipTextDeclaration() in XmlTextReader(2). Fixed bug #79090.
795
796 2006-08-16  Atsushi Enomoto <atsushi@ximian.com>
797
798         * XmlTextReader2.cs : Check recursive entity reference.
799           Fixed bug #79085. It makes W3C standalone tests on NET_2_0 working.
800
801 2006-08-14  Atsushi Enomoto <atsushi@ximian.com>
802
803         * XmlTextReader.cs : When a whitespace node comes after a text 
804           declaration in XML external entity (i.e. .ctor() with
805           XmlNodeType.Element), it contained extra value character ('<').
806
807 2006-08-10  Atsushi Enomoto <atsushi@ximian.com>
808
809         * XmlTextWriter2.cs : more indentation fixes. Now I believe it is
810           almost MS compat, but it won't help poor Mike.
811
812 2006-08-07  Atsushi Enomoto <atsushi@ximian.com>
813
814         * XmlTextWriter2.cs : WriteBinHex() is allowed at Attribute state.
815           Fixed bug #79019.
816
817 2006-07-28  Atsushi Enomoto <atsushi@ximian.com>
818
819         * XmlTextWriter2.cs : fixed some indentation bugs: comments and PIs
820           should not cause indentation override like text, cdata and
821           whitespaces do.
822           Fixed some error messages on node kind.
823         * XmlTextWriter.cs, XmlTextWriterOpenElement.cs : removed old code.
824           (I don't want to remove old great code but it confused mike today.)
825
826 2006-07-26  Atsushi Enomoto <atsushi@ximian.com>
827
828         * XmlReader.cs :
829           For DTD validator, call to SetSchemas() makes no sense.
830         * XmlValidatingReader.cs : now it internally holds old
831           XmlSchemaCollection instead of new XmlSchemaSet, to make
832           XmlSchemaSet.SchemaCollection unneccessary.
833           Removed SetSchemas() since it is now extraneous because of the
834           XmlReaderChange above.
835
836 2006-07-25  Atsushi Enomoto <atsushi@ximian.com>
837
838         * XmlConvert.cs : TimeSpan conversion for TimeSpan.MinValue was
839           failing.
840
841 2006-07-19  Atsushi Enomoto <atsushi@ximian.com>
842
843         * XmlReader.cs : In Create(), support validation flags for DTD.
844         * DTDValidatingReader2.cs : when NET_2_0 and ProcessIdentityConstraints
845           is false, skip ID validation.
846
847 2006-06-26  Atsushi Enomoto <atsushi@ximian.com>
848
849         * XmlReader.cs : when Create() received string url, it should set 
850           XmlTextReader2.CloseInput always true. Fixed bug #78706.
851
852 2006-06-08  Atsushi Enomoto <atsushi@ximian.com>
853
854         * XmlTextWriter2.cs : if an attribute being written has the same
855           non-empty namespace URI as current default namespace, its prefix
856           should be written. Fixed bug #78598.
857
858 2006-05-09  Atsushi Enomoto <atsushi@ximian.com>
859
860         * XmlAttribute.cs : (WriteTo) when the namespace URI is empty,
861           always use empty string for prefix.
862
863 2006-04-27  Geoff Norton  <gnorton@customerdna.com>
864
865         * XmlDocument.cs: Move back to the element after
866         reading an attribute.  This mimics Microsofts behaviour.
867
868 2006-04-21  Atsushi Enomoto <atsushi@ximian.com>
869
870         * XmlTextWriter.cs : fix for bug #78148. set_Formatting() is not
871           rejected after writing some content. I totally disagree on that
872           it should be allowed, but here is the fix.
873
874 2006-04-14  Atsushi Enomoto <atsushi@ximian.com>
875
876         * XmlReader.cs : ReadElementContentAsObject() incorrectly rejected
877           the argument type System.Object.
878
879 2006-04-10  Atsushi Enomoto <atsushi@ximian.com>
880
881         * XmlWriter.cs : WriteNode(XPathNavigator) : directly write element
882           and root nodes instead of dispatching to ReadSubtree().
883
884 2006-04-06  Atsushi Enomoto <atsushi@ximian.com>
885
886         * XmlReader.cs : ReadElementContentAsXXX() did not consume empty
887           element correctly.
888
889 2006-04-05  Atsushi Enomoto <atsushi@ximian.com>
890
891         * XmlWriter.cs : Create(StringBuilder,XmlWriterSettings) was missing
892           settings argument to pass another .ctor().
893         * XmlWriterSettings.cs : set_NewLineChars() should reject null.
894
895 2006-04-03      Boris Kirzner <borisk@mainsoft.com>
896         * XmlException.cs: fix .net soap serialization compatibility.
897
898 2006-03-28  Atsushi Enomoto <atsushi@ximian.com>
899
900         * XmlNameEntry.cs XmlNameEntryCache.cs :
901           Added atomization support for prefixed names.
902           Inspired by Joshua Tauberer's patch.
903         * XmlElement.cs XmlAttribute.cs : use above.
904
905 2006-03-23  Atsushi Enomoto <atsushi@ximian.com>
906
907         * XmlReader.cs : in XmlReader.Create() ValidationType Auto and XDR
908           are simply ignored (it was found on running NvdlValidatingReader
909           under MS.NET 2.0).
910
911 2006-03-23  Atsushi Enomoto <atsushi@ximian.com>
912
913         * DTDValidatingReader.cs : avoid NullReferenceException. Input
914           XmlReader might not be IHasXmlParserContext.
915
916 2006-03-08  Atsushi Enomoto <atsushi@ximian.com>
917
918         * XmlReader.cs: ReadContentAsXXX() just stops at start element,
919           without rejecting it as an error.
920           ReadElementContentAsXXX() rejects child element nodes.
921
922 2006-02-28  Atsushi Enomoto <atsushi@ximian.com>
923
924         * XmlElement.cs : (WriteTo) use IsEmpty to determine which to use:
925           WriteEndElement() and WriteFullEndElement(). Fixed sys.security
926           regression.
927
928 2006-02-24  Atsushi Enomoto <atsushi@ximian.com>
929
930         * XmlTextWriter2.cs :
931           WriteRaw() has stupid second arg. Fixed bug #77623.
932           WriteString() should raise an error when it is called immediately
933           after WriteStartDocument().
934
935 2006-02-22  Atsushi Enomoto <atsushi@ximian.com>
936
937         * XmlTextWriter2.cs : WriteChars() should allow Attribute state.
938
939 2006-02-22  Atsushi Enomoto <atsushi@ximian.com>
940
941         * XmlChar.cs : (IndexOfInvalidChar) fixed surrogate pairs handling.
942           They were always regarded as invalid.
943         * XmlTextWriter2.cs : seems like MS XmlTextWriter outputs invalid
944           characters as character references. It totally does not make sense
945           but corcompare depended on that behavior.
946
947           This "compatibility" fix causes 10% or more performance loss!!!
948
949 2006-02-21  Atsushi Enomoto <atsushi@ximian.com>
950
951         * XmlTextWriter2.cs : (WriteStartAtribute) more == removal.
952         * XmlNode.cs : (get_InnerText) reduce extra StringBuilder creation.
953
954 2006-02-21  Atsushi Enomoto <atsushi@ximian.com>
955
956         * XmlTextWriter2.cs : (WriteStartAttribute) reduced string == string.
957
958 2006-02-21  Atsushi Enomoto <atsushi@ximian.com>
959
960         * XmlDocument.cs : (ReadNodeCore) not public.
961
962 2006-02-21  Atsushi Enomoto <atsushi@ximian.com>
963
964         * XmlTextWriter2.cs : (CloseStartElement)
965           Avoid ArrayList.Clear() and culture-sensitive Contains().
966
967 2006-02-21  Atsushi Enomoto <atsushi@ximian.com>
968
969         * XmlNamespaceManager.cs : added internal LookupPrefixExclusive()
970           which discards "overriden" namespaces.
971         * XmlTextWriter2.cs : fresh implementation.
972           - The source structure is simplified and cleaner.
973           - When outputting escaped string, output directly to TextWriter.
974           - roughly 20% performance improvement.
975
976           (Also fixed previous perf. evaluation excess in ChangeLog.)
977
978 2006-02-20  Atsushi Enomoto <atsushi@ximian.com>
979
980         * XmlElement.cs : (WriteTo) make use of HasAttributes. Remove extra
981           check. 5% speed improvement.
982
983 2006-02-20  Atsushi Enomoto <atsushi@ximian.com>
984
985         * DTDValidatingReader2.cs : added Source XmlReader property for
986           XsdValidatingReader use (see XsdValidatingReader change as well).
987
988 2006-02-20  Atsushi Enomoto <atsushi@ximian.com>
989
990         * EntityResolvingXmlReader.cs, XmlNodeReader2.cs, XmlTextReader2.cs :
991           in get_NodeType() entity reader existence check is faster.
992         * DTDValidatingReader2.cs : IsDefault could be avoided.
993
994 2006-02-20  Atsushi Enomoto <atsushi@ximian.com>
995
996         * XmlNodeReaderImpl.cs : optimized Depth.
997
998 2006-02-20  Atsushi Enomoto <atsushi@ximian.com>
999
1000         * XmlValidatingReader.cs : reducing layered ReadState invocation
1001           results in 10% speed up.
1002
1003 2006-02-20  Atsushi Enomoto <atsushi@ximian.com>
1004
1005         * XmlNodeReaderImpl.cs : Reimplemented Read(). Points are:
1006           - reduced call to NextSibling which is very unlikely to be inlined
1007           - reorganized conditioning to avoid extra check
1008           - added description on each returning branch.
1009           - And then, removed unused code.
1010           It is 1.5x faster than before.
1011
1012 2006-02-17  Atsushi Enomoto <atsushi@ximian.com>
1013
1014         * XmlElement.cs : NextSibling could be effectively computed using
1015           LastLinkedChild, beyond previous XmlLinkedNode optimization.
1016
1017 2006-02-17  Atsushi Enomoto <atsushi@ximian.com>
1018
1019         * XmlLinkedNode.cs : In NextSibling, use LastChild directly.
1020           It improves NextSibling performance in bulky document.
1021
1022 2006-02-17  Atsushi Enomoto <atsushi@ximian.com>
1023
1024         * XmlNodeReaderImpl.cs : do not compute ownerLinkedNode, just store
1025           it in Read(). Simply use state field in EOF. They result in 20%
1026           perf. boost. Expanding EOF also improved performance by 2-3%
1027           (mono --optimize=inline might work in the later stage).
1028
1029 2006-02-17  Atsushi Enomoto <atsushi@ximian.com>
1030
1031         * DTDValidatingReader2.cs : more refactoring. Split ReadContent()
1032           into some methods. Reduced some extra MoveToElement().
1033
1034 2006-02-17  Atsushi Enomoto <atsushi@ximian.com>
1035
1036         * DTDValidatingReader2.cs : more refactoring. Removed and simplified
1037           some error check. String += would be enough for entity-reference-
1038           mixed attributes which rarely happen, so simplify the code.
1039           Added comments on how the fields are used.
1040
1041 2006-02-17  Atsushi Enomoto <atsushi@ximian.com>
1042
1043         * DTDValidatingReader2.cs : attribute node simplification. It now
1044           stores attribute node slots, including default attributes for
1045           further refactoring.
1046
1047 2006-02-17  Atsushi Enomoto <atsushi@ximian.com>
1048
1049         * DTDValidatingReader2.cs, EntityResolvingXmlReader.cs :
1050           new files for refactoring DTD validating reader. As the first stage,
1051           it splits entity handling process from DTD validation step.
1052
1053           (DTDValidatingReader.cs will be removed at some stage).
1054
1055 2006-02-17  Atsushi Enomoto <atsushi@ximian.com>
1056
1057         * DTDObjectModel.cs : entity resolution method will be used in
1058           the next DTD validating reader in 1.x.
1059
1060 2006-02-16  Atsushi Enomoto <atsushi@ximian.com>
1061
1062         * IHasXmlChildNode.cs :
1063           New internal interface to hold LastLinkedChild.
1064         * XmlNodeListChildren.cs XmlEntity.cs XmlElement.cs XmlAttribute.cs
1065           XmlLinkedNode.cs XmlEntityReference.cs XmlNode.cs
1066           XmlDocumentFragment.cs XmlDocument.cs : use it. It minimizes memory
1067           consumption in XmlText, XmlWhitespace, XmlComment etc.
1068
1069 2006-02-16  Atsushi Enomoto <atsushi@ximian.com>
1070
1071         * XmlChar.cs : added IndexOfNonWhitespace() and IndexOfInvalid() (not
1072           in use yet).
1073         * NewLineHandling.cs : prepared to be used internally in 1.x.
1074
1075 2006-02-16  Atsushi Enomoto <atsushi@ximian.com>
1076
1077         * XmlDocument.cs XmlTextReader.cs : in ReadNode(), we can avoid
1078           extraneous whitespace node creation for XmlTextReader by setting
1079           WhitespaceHandling.Significant when PreserveWhitespace is false.
1080
1081 2006-02-16  Atsushi Enomoto <atsushi@ximian.com>
1082
1083         * XmlTextReader.cs : atomize whitespace values. It effectively saves
1084           memory consumption when an input XML is indented.
1085
1086 2006-02-14  Atsushi Enomoto <atsushi@ximian.com>
1087
1088         * XmlTextReader.cs : When "Significant" is assigned to
1089           WhitespaceHandling, it should ignore non-significant whitespaces.
1090
1091 2006-02-14  Atsushi Enomoto <atsushi@ximian.com>
1092
1093         * XmlWriter.cs : (WriteElementString and WriteAttributeString)
1094           Skip empty string output.
1095
1096 2006-02-14  Atsushi Enomoto <atsushi@ximian.com>
1097
1098         * XmlTextWriter.cs : WriteRaw("") is not simply ignored but process
1099           state check and closes open tag.
1100
1101 2006-02-11  Atsushi Enomoto <atsushi@ximian.com>
1102
1103         * XmlTextReader.cs :
1104           Avoid extra AppendValueChar() in ReadWhitespace().
1105
1106 2006-02-06  Atsushi Enomoto <atsushi@ximian.com>
1107
1108         * XmlTextReader.cs : ReadTextReader() is now assured to have current
1109           node content, except for Text, CDATA and Comment. ReadName() does
1110           not use nameBuffer and reuse peekChars.
1111
1112 2006-02-06  Atsushi Enomoto <atsushi@ximian.com>
1113
1114         * XmlTextReader.cs : eliminated currentTagBuffer. XmlDeclaration is
1115           now once read as PI and then re-parsed from Value. DTD internal
1116           subset is now parsed as usual "value".
1117
1118 2006-02-06  Atsushi Enomoto <atsushi@ximian.com>
1119
1120         * XmlTextReader.cs : Expect() could be written inline and it could
1121           provide better information. ReadEndTag() could use Expect() instead
1122           of costy ReadName().
1123
1124 2006-02-04  Atsushi Enomoto <atsushi@ximian.com>
1125
1126         * XmlTextReader.cs : on ReadEndTag() we can avoid NameTable.Add().
1127           Store name, local name and prefix in the stack instead of just name
1128           and reuse them for EndElement.
1129
1130 2006-02-04  Atsushi Enomoto <atsushi@ximian.com>
1131
1132         * XmlDocumentNavigator.cs : make use of HasAttributes (avoid possible
1133           XmlAttributeCollection creation).
1134
1135 2006-02-03  Atsushi Enomoto <atsushi@ximian.com>
1136
1137         * XmlTextReader.cs : no need to call Clear() for each attribute value.
1138
1139 2006-02-03  Atsushi Enomoto <atsushi@ximian.com>
1140
1141         * XmlDocument.cs : reverted most of the previous changes. It somehow
1142           broke System.Data tests.
1143
1144 2006-01-30  Atsushi Enomoto <atsushi@ximian.com>
1145
1146         * XmlDocument.cs, XmlAttribute.cs, XmlElement.cs : Avoid unnecessary
1147           name checks in CreateElement() and CreateAttribute().
1148           get_DocumentType() could be stopped when the iterated child node
1149           is the document element.
1150         * XmlNode.cs : removed commented lines.
1151         * XmlNameEntry.cs : hash code for a name entry is mostly identical by
1152           its local name, so avoid extraneous GetHashCode() especially on
1153           namespaces.
1154
1155 2006-01-30  Atsushi Enomoto <atsushi@ximian.com>
1156
1157         * XmlReader.cs : ReadOuterXml() returns meaingful value only for
1158           element and attribute. ReadInnerXml() does not have to create
1159           XmlTextWriter for empty elements.
1160
1161 2006-01-30  Atsushi Enomoto <atsushi@ximian.com>
1162
1163         * XmlNodeReader2.cs XmlException.cs XmlReader.cs XmlTextReader.cs
1164           XmlWriter.cs XmlTextWriter.cs XmlValidatingReader.cs
1165           XmlNodeReaderImpl.cs DTDValidatingReader.cs XmlSecureResolver.cs:
1166           cleaning up obsolete NET_1_0 code.
1167
1168 2006-01-28  Atsushi Enomoto <atsushi@ximian.com>
1169
1170         * XmlTextWriter.cs : avoid case-insensitive String.Compare().
1171           Use array for openElements rather than ArrayList.
1172
1173 2006-01-28  Atsushi Enomoto <atsushi@ximian.com>
1174
1175         * XmlElement.cs, XmlAttribute.cs :
1176           Avoid ChildNodes.Count and use FirstChild/NextSibling.
1177
1178 2006-01-28  Atsushi Enomoto <atsushi@ximian.com>
1179
1180         * XmlNode.cs, XmlIteratorNodeList.cs :
1181           Now we can enable XmlIteratorNodeList again (mcs, incorrectly
1182           removing nodes in the node list, was fixed).
1183
1184 2006-01-28  Atsushi Enomoto <atsushi@ximian.com>
1185
1186         * XmlDocument.cs : in ReadNode() to consume element node, switched
1187           to MoveToAttribute(int) since MoveToNextAttribute() was somehow
1188           not working fine. It is needed to avoid Sys.Data test breakage
1189           and anything else should be fixed indeed.
1190
1191 Fri Jan 27 20:39:48 CET 2006 Paolo Molaro <lupus@ximian.com>
1192
1193         * XmlTextReader.cs, XmlChar.cs: more tweaks and speedups.
1194
1195 2006-01-27  Atsushi Enomoto <atsushi@ximian.com>
1196
1197         * XmlTextReader.cs : optimization patch by Paolo.
1198           Fast path optimization in PeekChar().
1199           Avoid double-evaluation of PeekChar() and ReadChar() by new
1200           Advance() method.
1201
1202 2006-01-27  Atsushi Enomoto <atsushi@ximian.com>
1203
1204         * XmlNode.cs : disabled XmlIteratorNodeList optimization. It caused
1205           some kind of regression under mcs/tests/xml-025.cs.
1206
1207 2006-01-27  Atsushi Enomoto <atsushi@ximian.com>
1208
1209         * XmlAttributeCollection.cs :
1210           Replaced all Nodes.Count with Count (it could avoid extraneous
1211           ArrayList creation in XmlNamedNodeMap). ID attribute adjustment
1212           was extraneously done against all attribute nodes and thus there
1213           was a plenty of call to Value.
1214         * XmlNamedNodeMap.cs : added comment on SetNamedItem() W3C spec
1215           violation.
1216
1217 2006-01-27  Atsushi Enomoto <atsushi@ximian.com>
1218
1219         * XmlNode.cs,
1220           XmlDocument.cs,
1221           XmlAttribute.cs,
1222           XmlElement.cs :
1223           Added internal AppendChild() override that omites node type
1224           checking, and used it in many places.
1225
1226 2006-01-27  Atsushi Enomoto <atsushi@ximian.com>
1227
1228         * XmlDocument.cs : optimized ReadAttributeNode() to not call
1229           MoveToAttribute() unneccesarily (call it only when ReadNode() is
1230           called on an attribute node).
1231
1232 2006-01-27  Atsushi Enomoto <atsushi@ximian.com>
1233
1234         * XmlNode.cs :
1235           in get_InnerText(), avoid extraneous StringBuilder creation.
1236
1237 2006-01-27  Atsushi Enomoto <atsushi@ximian.com>
1238
1239         * XmlIteratorNodeList.cs : new file for XmlNodeList implementation.
1240           It does not iterate all nodes in advance.
1241         * XmlNode.cs : use XmlIteratorNodeList in SelectNodes().
1242
1243 2006-01-26  Atsushi Enomoto <atsushi@ximian.com>
1244
1245         * XmlWriter.cs : Dispose() is protected.
1246
1247 2006-01-25  Atsushi Enomoto <atsushi@ximian.com>
1248
1249         * XmlNamedNodeMap.cs : lazily create internal ArrayList. Thanks to
1250           Joshua Tauberer for the hint.
1251
1252 2006-01-25  Atsushi Enomoto <atsushi@ximian.com>
1253
1254         * XmlConvert.cs : ToString(TimeSpan) should return valid duration
1255           for TimeSpan.Zero, rather than "P". Fixed bug #77350
1256
1257 2006-01-24  Atsushi Enomoto <atsushi@ximian.com>
1258
1259         * XmlNameEntryCache.cs XmlNameEntry.cs :
1260           Made name entry fields as not read-only. Added Update() to reset
1261           members. Its semantics of Equals() is changed.
1262           Now entry cache is based on Hashtable rather than ArrayList.
1263           It saves heavy iteration in ArrayList.
1264
1265 2006-01-24  Atsushi Enomoto <atsushi@ximian.com>
1266
1267         * XmlNameEntryCache.cs XmlNameEntry.cs XmlDocument.cs :
1268           Add Hash field to find name entry quickly.
1269           In XmlNameEntryCache make use of name table (it is totally
1270           unused there though).
1271
1272 2006-01-16  Atsushi Enomoto <atsushi@ximian.com>
1273
1274         * XmlConvert.cs : handle Ticks. Fixed bug #77252.
1275
1276 2006-01-13  Atsushi Enomoto <atsushi@ximian.com>
1277
1278         * XmlTextWriter.cs : Fixed bug #77082.
1279           When the state was Start, after WriteProcessingInstruction() and
1280           WriteWhitespace() change it to Prolog.
1281           After WriteDocType() set state to WriteState.Element.
1282
1283 2006-01-12  Atsushi Enomoto <atsushi@ximian.com>
1284
1285         * XmlTextWriter.cs : Do not local duplicate of automatically-created
1286           prefixes (i.e. check local autocreated prefixes other than
1287           namespaces from ancestors). Fixed bug #77086 and #77087.
1288
1289 2006-01-12  Atsushi Enomoto <atsushi@ximian.com>
1290
1291         * XmlWriter.cs : use XmlChar.IsNmToken() to check argument and throw
1292           ArgumentException in WriteNmTokenInternal().
1293
1294 2006-01-12  Atsushi Enomoto <atsushi@ximian.com>
1295
1296         * XmlTextWriter.cs : Fixed bug #77094. Only XmlTextWriter checks
1297           such invalid "xml" prefix which is being mapped to different
1298           namespace URI than the predefined one.
1299           Removed comment that does not make sense.
1300         * XmlNamespaceManager.cs : IsValidDeclaration() could be private.
1301           Added some comments.
1302
1303 2006-01-11  Atsushi Enomoto <atsushi@ximian.com>
1304
1305         * DTDObjectModel.cs : dtd2xsd fix; set use="optional" when an
1306           attribute is #IMPLIED.
1307
1308 2006-01-06  Atsushi Enomoto <atsushi@ximian.com>
1309
1310         * XmlWriter.cs : In WriteNode(XPathNavigator, bool), Avoid
1311           ReadSubtree() for non-element content since they are not allowed
1312           in ReadSubtree() (but allowed here).
1313
1314 2006-01-06  Atsushi Enomoto <atsushi@ximian.com>
1315
1316         * XmlValidatingReader.cs : In ReadTypedValue(), treat Whitespace
1317           nodes as target string nodes as well as other text nodes.
1318
1319 2006-01-06  Atsushi Enomoto <atsushi@ximian.com>
1320
1321         * XmlValidatingReader.cs : ReadTypedValue() was not working with
1322           non-XmlSchemaDatatype types.
1323
1324 2006-01-05  Gert Driesen <drieseng@users.sourceforge.net>
1325
1326         * XmlTextWriter.cs: Modified WriteWhitespace to throw ArgumentException
1327         if value is null or zero-length string. Modified WriteNmToken to throw
1328         ArgumentException if name is null or zero-length string. Cosmetic
1329         change to WriteStringInternal.
1330         * XmlElement.cs: In 2.0 profile, do not throw ArgumentNullException
1331         if new value for Prefix is null.
1332
1333 2005-12-26  Atsushi Enomoto <atsushi@ximian.com>
1334
1335         * XmlTextWriter.cs : when namespaceURI is String.Empty, Prefix
1336           should be just ignored (it is likely to happen that DOM nodes
1337           with empty namespace URI are specified non-empty prefix by
1338           users, which had better be just ignored). Fixed bug #77095.
1339
1340 2005-12-26  Atsushi Enomoto <atsushi@ximian.com>
1341
1342         * XmlElement.cs : patch for Prefix property by Vorobiev Maksim.
1343           - null should cause ArgumentNullException.
1344           - "" should not raise an error.
1345           - throws ArgumentException when it is readonly.
1346
1347 2005-12-23  Atsushi Enomoto <atsushi@ximian.com>
1348
1349         * XmlTextWriter.cs : When xml:space or xml:lang attribute was
1350           directly written without an element, it caused ArgumentOutOfRange.
1351           Fixed bug #77084.
1352
1353 2005-12-23  Atsushi Enomoto <atsushi@ximian.com>
1354
1355         * XmlTextWriter.cs : (WriteStartAttribute) set prefix as "xmlns" when
1356           namespaceURI is that of xmlns attributes. Fixed bug #77083.
1357
1358 2005-12-15  Atsushi Enomoto <atsushi@ximian.com>
1359
1360         * DTDObjectModel.cs : (CreateXsdParticle) element particle was
1361           missing occurence indicators.
1362
1363 2005-12-15  Atsushi Enomoto <atsushi@ximian.com>
1364
1365         * DTDObjectModel.cs : some fixes on GetXmlSchema()
1366           - make generated schema cleaner.
1367           - enumeration was missing for attribute type.
1368         * XmlTextReader.cs, XmlTextReader2.cs : added tiny notes for dtd2xsd.
1369
1370 2005-12-15  Konstantin Triger <kostat@mainsoft.com>
1371
1372         * XmlTextWriter.cs: allow null string in WriteCData.
1373
1374 2005-12-14  Atsushi Enomoto <atsushi@ximian.com>
1375
1376         * XmlNode.cs : (GetNamespaceOfPrefix) return const xml/xmlns URIs
1377           only under 2.0.
1378
1379 2005-12-14  Atsushi Enomoto <atsushi@ximian.com>
1380
1381         * XmlDocumentNavigator.cs : added UnderlyingObject as to behave as
1382           documented in MSDN.
1383
1384 2005-12-14  Atsushi Enomoto <atsushi@ximian.com>
1385
1386         * XmlNode.cs : under 2.0 xml/xmlns are treated as special cases in
1387           GetNamespaceOfPrefix()/GetPrefixOfNamespace() (but it still does not
1388           implement IXmlNamespaceResolver, bummer).
1389
1390 2005-12-14  Atsushi Enomoto <atsushi@ximian.com>
1391
1392         * XmlDocument.cs : changed some exception types.
1393         * XmlDocumentNavigator.cs : added 2.0 SchemaInfo.
1394
1395 2005-12-13  Atsushi Enomoto <atsushi@ximian.com>
1396
1397         * XmlTextReader.cs : 1.x build fix.
1398
1399 2005-12-13  Atsushi Enomoto <atsushi@ximian.com>
1400
1401         * XmlTextReader.cs : when XmlReader.Create() creates this instance,
1402           don't expect strict text declaration. Check SkipTextDeclaration()
1403           on Read().
1404
1405 2005-12-12  Atsushi Enomoto <atsushi@ximian.com>
1406
1407         * XmlReader.cs : fixed several misconception in MoveToNextSibling().
1408           It should check its ReadState to avoid infinite loop.
1409
1410 2005-12-12  Atsushi Enomoto <atsushi@ximian.com>
1411
1412         * XmlException.cs : added another .ctor() overload that takes both
1413           IXmlLineInfo and innerException.
1414         * XmlQualifiedName.cs : added Parse() overload that takes XmlReader
1415           (since XmlReader is not IXmlNamespaceResolver anymore).
1416         * XmlReader.cs : made several fixes on 2.0 ReadContentAs(),
1417           ReadElementContentAs() and all of its variants.
1418
1419 2005-12-09  Atsushi Enomoto <atsushi@ximian.com>
1420
1421         * XmlInputStream.cs :
1422           Added Encoding property on NonBlockingStreamReader
1423         * XmlTextReader.cs :
1424           set Encoding property when it proceeds to xml declaration.
1425
1426 2005-12-09  Atsushi Enomoto <atsushi@ximian.com>
1427
1428         * XmlReader.cs : ReadToDescendant() should work when its ReadState is
1429           Initial.
1430
1431 2005-12-09  Atsushi Enomoto <atsushi@ximian.com>
1432
1433         * XmlChar.cs : removed incorrect comment.
1434         * XmlReader.cs : Create() clones XmlReaderSettings (if supplied).
1435           For wrapped XmlReader, check ConformanceLevel to be consistent.
1436         * XmlTextReader.cs, XmlTextReader2.cs : added get_Conformance for
1437           internal use. Removed unused fields.
1438         * XmlInputStream.cs : updated NonBlockingStreamReader to the latest
1439           StreamReader (it is almost a copy).
1440
1441 2005-12-08  Atsushi Enomoto <atsushi@ximian.com>
1442
1443         * XmlTextReader.cs : avoid Char.IsSurrogate() and do it inside
1444           PeekChar(), which improves notable performance.
1445
1446 2005-12-08  Atsushi Enomoto <atsushi@ximian.com>
1447
1448         * XmlReaderSettings.cs : Schemas will be created only when it is
1449           required.
1450
1451 2005-12-08  Andrew Skiba  <andrews@mainsoft.com>
1452
1453         * IXmlNamespaceResolver.cs: delete TARGET_JVM,
1454         no need to mangle the name
1455
1456 2005-12-08  Atsushi Enomoto <atsushi@ximian.com>
1457
1458         * Driver.cs, Profiler.cs, XmlQualifiedNameTable.cs :
1459           removed old code.
1460
1461 2005-12-08  Atsushi Enomoto <atsushi@ximian.com>
1462
1463         * XmlReaderSettings.cs : thanks to idiotic MS design,
1464           AllowXmlAttributes is turned on by default.
1465
1466 2005-12-08  Atsushi Enomoto <atsushi@ximian.com>
1467
1468         * XmlReaderSettings.cs :
1469           set_Schemas() is fixed in 2.0 RTM (it just works).
1470         * XmlResolver.cs : throw ArgumentNullException instead of
1471           ArgumentException when both base and relative urls are null.
1472
1473 2005-12-08  Atsushi Enomoto <atsushi@ximian.com>
1474
1475         * XmlReaderSettings.cs : ProhibitDtd is set as default.
1476         * XmlWriterSettings.cs : no set_OutputMethod.
1477
1478 2005-11-30  Konstantin Triger  <kostat@mainsoft.com>
1479
1480         * IXmlNamespaceResolver.cs: TARGET_JVM namespace change.
1481
1482 2005-11-17  Vladimir Krasnov <vladimirk@mainsoft.com>
1483
1484         * XmlInputStream.cs: fixed Initialize method to be able 
1485         to read unicode file without BOM. TARGET_JVM only.
1486
1487 2005-11-14  Atsushi Enomoto <atsushi@ximian.com>
1488
1489         * XmlNodeReader.cs : removed historical one.
1490
1491 2005-11-10  Atsushi Enomoto <atsushi@ximian.com>
1492
1493         * XmlReader.cs, XmlNode.cs :
1494           [DebuggerDisplay] are not worthy of existing.
1495
1496 2005-11-09  Atsushi Enomoto <atsushi@ximian.com>
1497
1498         * XmlTokenizedType.cs, XmlNodeOrder.cs : so those enums happen to
1499           have [Serializable] in .NET 1.x, and removed in 2.0 (enums are
1500           anyways serializable, so those attributes do not make sense).
1501
1502 2005-11-09  Atsushi Enomoto <atsushi@ximian.com>
1503
1504         * XmlValidatingReader.cs : added CanReadBinaryContent.
1505         * XmlTextReader.cs, XmlTextReader2.cs : GetNamespacesInScope() are
1506           now both public and private (i.e. hush IsVirtual).
1507         * XmlWriterSettings.cs, XmlWriter.cs, XmlTextWriter.cs :
1508           NormalizeNewLines vanished.
1509
1510 2005-11-09  Atsushi Enomoto <atsushi@ximian.com>
1511
1512         * XmlReader.cs : MoveToAttribute(int) is virtual in NET_2_0.
1513
1514 2005-11-09  Atsushi Enomoto <atsushi@ximian.com>
1515
1516         * XmlConvert.cs : implemented VerifyTOKEN().
1517
1518 2005-11-09  Atsushi Enomoto <atsushi@ximian.com>
1519
1520         * XmlConvert.cs : VerifyNCName() and VerifyName() throws
1521           ArgumentNullException for "".
1522
1523 2005-11-07  Atsushi Enomoto <atsushi@ximian.com>
1524
1525         * XmlReader.cs : dependent XmlSchemaValidationFlags fix.
1526           Added ReadElementContentAsObject() and ReadContentAsObject().
1527         * XmlReader.cs, XmlTextReader.cs :
1528           LookupNamespace(string,bool) is now private.
1529         * XmlReader.cs, XmlNode,cs :
1530           [DebuggerDisplay].
1531
1532 2005-11-07  Atsushi Enomoto <atsushi@ximian.com>
1533
1534         * XmlElement.cs, XmlCDataSection.cs, XmlText.cs, XmlWhitespace.cs,
1535           XmlSignificantWhitespace.cs : added ParentNode overrides (actually
1536           they don't make sense since it just calls base.)
1537         * XmlNode.cs, XmlDocument.cs : changed .NET 2.0 CreateNavigator() impl
1538           to match signature and skip OwnerDocument check in XmlNode (since
1539           it is overriden). Maybe MS does not have ownerDocument as a field and
1540           costs too much on OwnerDocument property.
1541           Added missing bits in XmlDocument.
1542
1543 2005-11-07  Atsushi Enomoto <atsushi@ximian.com>
1544
1545         * XmlAttribute.cs : added new overrides in 2.0 RTM (this scarcely
1546           makes sense without real optimization though).
1547         * XmlDocument.cs, XmlElement.cs, XmlNode.cs : avoid ChildNodes and
1548           save extra XmlNodeList creation cost.
1549
1550 2005-11-07  Atsushi Enomoto <atsushi@ximian.com>
1551
1552         * XmlNamespaceManager.cs : NameTable is virtual in 2.0 RTM.
1553         * XmlReader.cs : IsEmptyElement is reverted to be abstract in 2.0 RTM.
1554           ReadTypedValue() is removed.
1555         * XmlValidatingReader.cs : ReadTypedValue() is not virtual now.
1556         * XmlWriter.cs : Settings is virtual.
1557
1558 2005-10-23  Atsushi Enomoto <atsushi@ximian.com>
1559
1560         * XmlDocumentNavigator.cs : now MoveToFirst() invokes internal
1561           MoveToFirstImpl().
1562
1563 2005-10-23  Atsushi Enomoto <atsushi@ximian.com>
1564
1565         * XmlTextWriter.cs : oops, so WriteState.Error is NET_2_0 only.
1566
1567 2005-10-23  Atsushi Enomoto <atsushi@ximian.com>
1568
1569         * XmlTextWriter.cs : (Error state check) actually I need to set Error.
1570
1571 2005-10-23  Atsushi Enomoto <atsushi@ximian.com>
1572
1573         * XmlTextWriter.cs : throw InvalidOperationException if any of
1574           WriteBlah() methods were invoked at error state.
1575
1576 2005-10-23  Atsushi Enomoto <atsushi@ximian.com>
1577
1578         * XmlTextReader.cs, DTDValidatingReader.cs : LookupNamespace("") for
1579           default namespace was returning "" instead of null. It didn't check
1580           empty namespace URI for non-empty prefixes.
1581
1582 2005-10-07  Joshua Tauberer <tauberer@for.net>
1583
1584         * XmlTextReader.cs: SkipTextDeclaration would not accept processing
1585         instructions that began with the string 'xml', e.g. rejecting
1586         'xml-stylesheet'.
1587
1588 2005-10-08  Gert Driesen <drieseng@users.sourceforge.net>
1589
1590         * XmlAttribute.cs: InnerText and InnerXml do not override getters in
1591         NET_2_0. Removed extra CLSCompliant attribute on SchemaInfo.
1592         * XmlReaderSettings.cs: Marked sealed.
1593
1594 2005-10-04  Atsushi Enomoto <atsushi@ximian.com>
1595
1596         * XmlConvert.cs : ToTimeSpan() resulted in an infinite loop when the
1597           digits for "second" were not exactly 3. Fixed bug #76328.
1598
1599 2005-10-04  Atsushi Enomoto <atsushi@ximian.com>
1600
1601         * XmlReader.cs : Name is virtual in NET_2_0.
1602
1603 2005-10-03  Atsushi Enomoto <atsushi@ximian.com>
1604
1605         * XmlWriter.cs, XmlWriterSettings.cs, XmlTextWriter.cs :
1606           added supprot for NormalizeNewLines.
1607           NewLineOnAttributes is considered only when Indent is true.
1608
1609 2005-10-01  Atsushi Enomoto <atsushi@ximian.com>
1610
1611         * XmlAttribute.cs, XmlDocument.cs : check id table updates when
1612           XmlAttribute.set_Value() was invoked. Fixed bug #76311.
1613
1614 2005-10-01  Atsushi Enomoto <atsushi@ximian.com>
1615
1616         * XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs :
1617          XmlReader.Create() with string url argument are not working because
1618          of incorrect choice of the .ctor().
1619
1620 2005-09-28  Atsushi Enomoto <atsushi@ximian.com>
1621
1622         * XmlNodeReaderImpl.cs : when the source node was not a document and
1623           it is an empty element, Read() was incorrectly moving to the parent
1624           of the source node. Patch by Csaba Halasz. Fixed bug #76260.
1625
1626 2005-09-27  Atsushi Enomoto <atsushi@ximian.com>
1627
1628         * XmlTextReader.cs : surrogate computation is incorrect. Fixed bug
1629           #76247. Patch by Brion Vibber.
1630
1631 2005-09-26  Atsushi Enomoto <atsushi@ximian.com>
1632
1633         * DTDValidatingReader.cs : Namespace manager was not handled correctly.
1634           Now it does the same as XmlTextReader does. Fixed bug #76234.
1635
1636 2005-09-26  Gert Driesen <drieseng@users.sourceforge.net>
1637
1638         * XmlNodeChangedEventArgs.cs: Only make ctor publicly available
1639         in NET_2_0. Fixed API compatiblity with .NET 1.1.
1640         * XmlOutputMethod.cs: Fixed values of enum fields to match MS.NET.
1641         Only available in .NET 2.0.
1642
1643 2005-09-25  Atsushi Enomoto <atsushi@ximian.com>
1644
1645         * XmlReader.cs, XmlReaderSettings.cs, XmlDocument.cs:
1646           XmlSchemaValidationFlags updates.
1647
1648 2005-09-21  Atsushi Enomoto <atsushi@ximian.com>
1649
1650         * XmlWriterSettings.cs : true NET_2_0 updates.
1651
1652 2005-09-21  Atsushi Enomoto <atsushi@ximian.com>
1653
1654         * XmlOutputMethod.cs : new file.
1655         * XmlWriter.cs, XmlValidatingReader.cs, XmlReaderSettings.cs,
1656           XmlUrlResolver.cs, XmlWriterSettings.cs :
1657           more NET_2_0 updates.
1658
1659 2005-09-21  Atsushi Enomoto <atsushi@ximian.com>
1660
1661         * XmlNodeReader2.cs, XmlReader.cs,
1662           XmlTextReader.cs, XmlTextReader2.cs,
1663           XmlNodeChangedEventArgs.cs, XmlElement.cs,
1664           XmlNode.cs, XmlDocument.cs :
1665           updated NET_2_0 API.
1666
1667 2005-09-14  Atsushi Enomoto <atsushi@ximian.com>
1668
1669         * XmlTextReader.cs : when there is a heading half of surrogate at the
1670           end of read buffer, it didn't treat it as a surrogate.
1671           Fixed bug #76102.
1672
1673 2005-09-14  Atsushi Enomoto <atsushi@ximian.com>
1674
1675         * XmlTextWriter.cs : for surrogate pair, output character reference
1676           as a single character instead of two reference pairs. Fixed bug #76095.
1677           Patch by Brion Vibber.
1678
1679 2005-08-31  Sebastien Pouliot  <sebastien@ximian.com>
1680
1681         * XmlDocument.cs: Added an InheritanceDemand for Unrestricted on 
1682         CreateDocumentType and ReadNode methods.
1683         * XmlException.cs: Added a Demand for SerializationFormatter on 
1684         GetObjectData method.
1685         * XmlResolver.cs: Added an InheritanceDemand for Unrestricted on 
1686         ResolveUri method.
1687         * XmlSecureResolver.cs: Fixed exception when creating evidences with 
1688         an empty URL in CreateEvidenceForUrl method. Only call ResolvePolicy 
1689         and PermitOnly if the security manager is enabled.
1690         * XmlTextReader.cs: Added an InheritanceDemand for Unrestricted on the
1691         class.
1692         * XmlTextReader2.cs: Added an InheritanceDemand for Unrestricted on 
1693         the class.
1694         * XmlValidatingReader.cs: Added an InheritanceDemand for Unrestricted 
1695         on the class.
1696
1697 2005-08-16  Atsushi Enomoto <atsushi@ximian.com>
1698
1699         * DTDReader.cs : no need to skip text declaration for such entity
1700           declaration that has literal entity. It should not expand entities
1701           inside ResolveExternalEntityReplacementText().
1702           Finally fixed bug #51495.
1703
1704 2005-08-16  Atsushi Enomoto <atsushi@ximian.com>
1705
1706         * XmlTextReader.cs, XmlTextReader2.cs : added internal .ctor() to
1707           receive both TextReader, XmlNodeType and BaseURI for entity
1708           resolution (though it would be removed later).
1709         * XmlParserInput.cs : Now to handle nested PE insertion and correct
1710           BaseURI, it internally holds a stack of "input source".
1711         * DTDObjectModel.cs,
1712           DTDReader.cs :
1713           Required fixes for XmlParserInput.
1714           Handle BaseURI as expected. Added ActualUri for resolved actual
1715           source URI (to resolve nested entities). Pass ActualUri to internal
1716           XmlTextReader.ctor() in ResolveExternalEntityReplacementText()
1717           (well, yes I remember, it is problematic.)
1718
1719           Incorrect Base URI handling bug (part of #51495) is fixed.
1720
1721 2005-08-16  Atsushi Enomoto <atsushi@ximian.com>
1722
1723         * DTDReader.cs, XmlParserInput.cs :
1724           let's fix #51495. First of all, refactoring.
1725
1726 2005-08-04  Atsushi Enomoto <atsushi@ximian.com>
1727
1728         * XmlAttribute.cs : When there was only one child in attribute
1729           and it was an entity reference, set_Value() tried to set text value
1730           and thus failed.
1731
1732 2005-08-03  Gert Driesen  <drieseng@users.sourceforge.net>
1733
1734         * XmlConvert.cs: Renamed RoundTripKind to RoundtripKind.
1735         * XmlDateTimeSerializationMode.cs: Renamed RoundTripKind to
1736         RoundtripKind to match .NET 2.0 Beta 2.
1737         * XmlNodeReader2.cs: GetNamespacesInScope returns generic IDictionary
1738         in .NET 2.0 Beta 2, and is explicit interface implementation.
1739         * XmlTextReader.cs: GetNamespacesInScope returns generic IDictionary
1740         in .NET 2.0 Beta 2.
1741         * XmlTextReader2.cs: GetNamespacesInScope returns generic IDictionary
1742         in .NET 2.0 Beta 2.
1743         * XmlValidatingReader.cs: GetNamespacesInScope returns generic 
1744         IDictionary in .NET 2.0 Beta 2.
1745         * IXmlNamespaceResolver.cs: GetNamespacesInScope returns generic
1746         IDictionary in .NET 2.0 Beta 2.
1747         * XmlNamespaceManager.cs: GetNamespacesInScope returns generic 
1748         IDictionary in .NET 2.0 Beta 2.
1749         * XmlNodeReaderImpl.cs: GetNamespacesInScope returns generic 
1750         IDictionary in .NET 2.0 Beta 2.
1751         * DTDValidatingReader.cs: GetNamespacesInScope returns generic
1752         IDictionary in .NET 2.0 Beta 2.
1753
1754 2005-07-14  Atsushi Enomoto <atsushi@ximian.com>
1755
1756         * XmlTextWriter.cs : In WriteQualifiedName(), when there is open
1757           attribute, it calls LookupPrefix() and then if namespace was empty,
1758           it resulted in an exception. Fixed bug #75546.
1759
1760 2005-06-29  Atsushi Enomoto <atsushi@ximian.com>
1761
1762         * XmlConvert.cs : ToTimeSpan() should accept milliseconds (according
1763           to ISO 8601 and XSD datatypes 3.2.6.1).
1764
1765 2005-06-27  Andrew Skiba  <andrews@mainsoft.com>
1766
1767         * DTDReader.cs : don't validate entity values, when the entry is
1768         redefined so it will be never used. Fixes valid-sa-086 test from W3C
1769         xmlconf suite.
1770
1771 2005-06-27  Atsushi Enomoto <atsushi@ximian.com>
1772
1773         * XmlQueryDialect.cs : removed.
1774
1775 2005-06-27  Atsushi Enomoto <atsushi@ximian.com>
1776
1777         * XmlWriter.cs : added Create(XmlWriter).
1778         * XmlValidatingReader.cs : added Read*AsBase64/BinHex().
1779         * XmlReaderSettings.cs : added obsolete annoyances to hush corcompare.
1780
1781 2005-06-22  Atsushi Enomoto <atsushi@ximian.com>
1782
1783         * XmlTextReader.cs : use StringBuilder.ToString(int,int) when it does
1784           not have a large chunk of data, following Ben's idea.
1785
1786 2005-06-22  Atsushi Enomoto <atsushi@ximian.com>
1787
1788         * XmlTextReader.cs : use StringBuilder to store character values; that
1789           saves 40% memory for large chunk of xml. Patch by Gonzalo.
1790
1791 2005-06-22  Andrew Skiba  <andrews@mainsoft.com>
1792
1793         * XmlNode.cs : cosmetic fix - remove unnecessary argument from
1794           AppendChildValues function.
1795           
1796 2005-06-22  Atsushi Enomoto <atsushi@ximian.com>
1797
1798         * XmlTextReader.cs : normalization is not required to check character
1799           validity everywhere except for character reference.
1800
1801 2005-06-17  Atsushi Enomoto <atsushi@ximian.com>
1802
1803         * DTDValidatingReader.cs : removed some extra IsDefault check (with
1804           the latse code default attributes are stored in hashtables anyways.)
1805           Fixup attribute namespaces _after_ xmlns attributse are filled.
1806           The latest change is not good that namespaceURI of a local attribute
1807           was incorrectly globally looked up (it should be always "").
1808
1809 2005-06-17  Atsushi Enomoto <atsushi@ximian.com>
1810
1811         * XmlValidatingReader.cs : LookupNamespace() was trying to access to 
1812           null reference to validatingReader.
1813         * DTDValidatingReader.cs : Fixed default xmlns* attribute handling.
1814           It used to be valid only at the declaring element.
1815
1816 2005-06-14  Atsushi Enomoto <atsushi@ximian.com>
1817
1818         * DTDValidatingReader.cs : further text node fixes.
1819           - Cut out validation code from Text node case.
1820           - Now it does not use error-prone case transition but uses 
1821             DocumentFragment 'vacant room' and fixed incorrect transition from
1822             whitespace to text.
1823           - CDATA should be validated the same as Text is.
1824
1825 2005-06-14  Atsushi Enomoto <atsushi@ximian.com>
1826
1827         * DTDValidatingReader.cs : whitespace nodes were incorrectly rejected
1828           inside non-mixed content model.
1829
1830 2005-06-09  Andrew Skiba  <andrews@mainsoft.com>
1831
1832         * XmlConvert.cs : add TARGET_JVM for roundtrip bug
1833
1834 2005-06-06  Atsushi Enomoto <atsushi@ximian.com>
1835
1836         * XmlEntityReference.cs, XmlNode.cs : protected api fix.
1837
1838 2005-06-02  Atsushi Enomoto <atsushi@ximian.com>
1839
1840         * XmlEntityReference.cs, XmlNode.cs : For entity references, BaseURI 
1841           resolution should be different from that of parent since they might
1842           differ. Patch by Andrew Skiba.
1843
1844 2005-05-31  Atsushi Enomoto <atsushi@ximian.com>
1845
1846         * DTDReader.cs :
1847           make sure to close parser input before parser stack pop.
1848         * DTDValidatingReader.cs : ditto.
1849         * DTDObjectModel.cs : Fixed another incorrect null BaseURI check.
1850
1851 2005-05-31  Atsushi Enomoto <atsushi@ximian.com>
1852
1853         * DTDValidatingReader.cs : Last BaseURI exposed this hidden bug via
1854           sys.security tests.
1855
1856 2005-05-30  Atsushi Enomoto <atsushi@ximian.com>
1857
1858         * DTDObjectModel.cs : in DTDEntityBase.Resolve() don't overwrite
1859           BaseURI which results in incorrect URI resolution.
1860
1861 2005-05-21  Atsushi Enomoto <atsushi@ximian.com>
1862
1863         * DTDObjectModel.cs : For simple type restriction creation it failed
1864           when there is no enumerations (largely failed).
1865
1866 2005-05-21  Atsushi Enomoto <atsushi@ximian.com>
1867
1868         * XmlImplementation.cs : added new NET_2_0 ctor.
1869           Let's check corcompare:-/
1870
1871 2005-05-11  Atsushi Enomoto <atsushi@ximian.com>
1872
1873         * DTDValidatingReader.cs : namespace storing was stupid.
1874
1875 2005-05-10  Atsushi Enomoto <atsushi@ximian.com>
1876
1877         * DTDValidatingReader.cs : since namespace declarations might be
1878           resolved differently due to entity handling, it holds its own set
1879           of declared namespaces. NamespaceURI and LookupNamespace() use it.
1880
1881 2005-05-09  Atsushi Enomoto <atsushi@ximian.com>
1882
1883         * XmlReader.cs : added ReadElementContentAsLong().
1884         * XmlWriter.cs : removed some obsolete WriteValue() overloads.
1885         * XmlResolver.cs,
1886           IXmlNamespaceResolver.cs : removed deprecated 2.0 bits.
1887         * XQueryConvert.cs : obsolete (yeah, now XQuery should be hidden).
1888
1889 2005-05-06  Atsushi Enomoto <atsushi@ximian.com>
1890
1891         * XmlInputStream.cs : Now XmlStreamReader uses non-blocking TextReader
1892           that is mostly copied from StreamReader. It should fix bug #74161.
1893
1894 2005-05-05  Atsushi Enomoto <atsushi@ximian.com>
1895
1896         * XmlNodeReader2.cs, XmlTextReader2.cs, XmlValidatingReader.cs,
1897           XmlNamespaceManager.cs, IXmlNamespaceResolver.cs,
1898           DTDValidatingReader.cs : Removed most of "atomizedName" related
1899           stuff that are obsoleted in 2.0 beta2.
1900         * XQueryConvert.cs : XPathAtomicValue -> XmlAtomicValue.
1901
1902 2005-05-04  Andrew Skiba <andrews@mainsoft.com>
1903
1904         * IXmlNamespaceResolver.cs : mangle the interface method names when
1905         compiling for TARGET_JVM
1906         
1907 2005-03-30  Atsushi Enomoto <atsushi@ximian.com>
1908
1909         * XmlUrlResolver.cs : just return connected Stream instead of fully
1910           downloaded memory cache. Fix by Konstantin Triger.
1911
1912 2005-03-24  Atsushi Enomoto <atsushi@ximian.com>
1913
1914         * XmlWriter.cs : WriteQualifiedName() should check namespace validity
1915           (whether it is in scope or not).
1916         * XmlTextWriter.cs : When WriteQualifiedName() is invoked inside
1917           attribute and no matching namespace declaration, create prefix
1918           on demand. Code reused from WriteStartAttribute().
1919
1920 2005-03-22  Atsushi Enomoto <atsushi@ximian.com>
1921
1922         * XmlValidatingReader.cs : create schema set on demand.
1923
1924 2005-03-22  Atsushi Enomoto <atsushi@ximian.com>
1925
1926         * XmlParserInput.cs,
1927           XmlNode.cs,
1928           XmlUrlResolver.cs,
1929           DTDValidatingReader.cs : removed/commented out those warned code.
1930
1931 2005-03-15  Atsushi Enomoto <atsushi@ximian.com>
1932
1933         * XmlDocumentNavigator.cs : overriden IsDescendant (default 
1934           implementation extraneously clones).
1935
1936 2005-03-15  Atsushi Enomoto <atsushi@ximian.com>
1937
1938         * DTDValidatingReader.cs : When expanding entities and there is a
1939           sequence of text nodes, its value was not returned.
1940         * XmlTextReader.cs : better invalid char error report for EOF.
1941
1942 2005-03-09  Andrew Skiba <andrews@mainsoft.com>
1943
1944         * XmlTextReader.cs, XmlParserInput.cs, DTDReader.cs: fix UCM-4
1945           surrogate calculations. This fixes bug 73513.
1946
1947 2005-03-09  Atsushi Enomoto <atsushi@ximian.com>
1948
1949         * XmlParserInput.cs : silly mixed line endings :(
1950
1951 2005-03-08  Atsushi Enomoto <atsushi@ximian.com>
1952
1953         * XmlTextWriter.cs : namespace declaration check for those which starts
1954           with 'x' 'm' 'l' should not be done here (it might be 'declared'
1955           though reserved).
1956         * XmlNamespaceManager.cs : error message for "'xml' prefix for
1957           different namespace" is incorrect.
1958
1959 2005-03-07  Atsushi Enomoto <atsushi@ximian.com>
1960
1961         * XmlDocument.cs : ugh, so I introduced extraneous reader.Read() in
1962           ReadNode() for EntityReference and it resulted in unexpected skip.
1963         * DTDValidatingReader.cs : On EndEntity, LocalName and Name should
1964           return the name of entity. Removed unused entityReaderNameStack.
1965
1966 2005-03-07  Atsushi Enomoto <atsushi@ximian.com>
1967
1968         * DTDValidatingReader.cs : reverted one change in r40985. Entity stack
1969           is nothing to do with ReadAttributeValue().
1970
1971 2005-03-07  Atsushi Enomoto <atsushi@ximian.com>
1972
1973         * DTDValidatingReader.cs : When there was actual attribute in source 
1974           XmlReader, MoveToAttribute(i) did not move source reader as expected.
1975
1976 2005-03-03  Atsushi Enomoto <atsushi@ximian.com>
1977
1978         * XmlDocument.cs : In ReadNode(), on EntityReference node, when 
1979           XmlReader can resolve entity, it expands entity and apppend 
1980           children into the entity reference. Patch by Konstantin Triger.
1981
1982 2005-03-03  Atsushi Enomoto <atsushi@ximian.com>
1983
1984         * XmlTextWriter.cs : For duplicating namespace mapping, it should
1985           create another prefix without throwing an exception.
1986
1987 2005-03-02  Atsushi Enomoto <atsushi@ximian.com>
1988
1989         * XmlTextWriter.cs : LookupPrefix() should not return those prefix
1990           that is overriden by another xmlns declaration.
1991
1992 2005-02-26  Atsushi Enomoto <atsushi@ximian.com>
1993
1994         * XmlEntity.cs : it was not returning SYSTEM ID when there is no
1995           PUBLIC ID.
1996         * XmlDocumentNavigator.cs : On Whitespace followed by DocumentType,
1997           get_NodeType() resulted in loop.
1998
1999 2005-02-25  Atsushi Enomoto <atsushi@ximian.com>
2000
2001         * XmlComment.cs, XmlNode.cs, XmlText.cs, XmlProcessingInstruction.cs,
2002           XmlEntityReference.cs, XmlSignificantWhitespace.cs, XmlAttribute.cs,
2003           XmlElement.cs, XmlEntity.cs, XmlCDataSection.cs :
2004           For those nodes that are created by Clone(), IsReadOnly is false.
2005           Patch by Konstantin Triger.
2006
2007 2005-02-25  Atsushi Enomoto <atsushi@ximian.com>
2008
2009         * XmlDocumentNavigator.cs : iteratedNames array could be fixed and
2010           performance got improved. Patch by Konstantin Triger.
2011
2012 2005-02-25  Atsushi Enomoto <atsushi@ximian.com>
2013
2014         * XmlAttribute.cs : MS does not reject non-NCName prefix. Patch by
2015           Konstantin Triger.
2016
2017 2005-02-24  Atsushi Enomoto <atsushi@ximian.com>
2018
2019         * XmlTextWriter.cs : WriteString() should be valid when 
2020           WriteStartDocument() was not called.
2021
2022 2005-02-23  Atsushi Enomoto <atsushi@ximian.com>
2023
2024         * XmlNamespaceManager.cs : IsValidDeclaration was giving useless error
2025           information.
2026
2027 2005-02-23  Atsushi Enomoto <atsushi@ximian.com>
2028
2029         * XmlDocumentNavigator.cs : it should virtually expand EntityReference,
2030           so refactored to handle both entity references and top level children.
2031
2032 2005-02-22  Atsushi Enomoto <atsushi@ximian.com>
2033
2034         * XmlTextReader.cs : XmlParserContext was not properly popped on
2035           the expected timing and thus had lost BaseURI, XmlSpace and XmlLang.
2036         * XmlInputStream.cs : XmlTextReader does not allow invalid utf-8 
2037           characters.
2038
2039 2005-02-21  Atsushi Enomoto <atsushi@ximian.com>
2040
2041         * DTDValidatingReader.cs : It should not skip whitespace and
2042           significant whitespace nodes unless it is expanding entities.
2043         * XmlDocumentNavigator.cs : Fixed NodeType that was returning
2044           incorrect type when there is a sequence of text/cdata/space nodes.
2045
2046 2005-02-18  Atsushi Enomoto <atsushi@ximian.com>
2047
2048         * XmlNamespaceManager.cs : Prefix "xml" is bound to the fixed
2049           namespace "http://www.w3.org/XML/1998/namespace", but it is not
2050           vice versa (i.e. we can use other prefixes for this namespace URI).
2051
2052 2005-02-17  Atsushi Enomoto <atsushi@ximian.com>
2053
2054         * XmlNode.cs : It does not have to iterate children to find argument
2055           node. Fixed exception type to ArgumentException. Patch by Andrew
2056           Skiba.
2057
2058 2005-02-16  Atsushi Enomoto <atsushi@ximian.com>
2059
2060         * XmlAttribute.cs : just use InnerText for Value. Patch by Andrew
2061           Skiba.
2062         * XmlConvert.cs : Handle null and empty strings for EncodeName(),
2063           EncodeLocalName() and EncodeNmToken(). Patch by Andrew Skiba.
2064         * NameTable.cs : usually tail of namespaces are rather different than
2065           head of them. Patch by Andrew Skiba.
2066         * XmlUrlResolver.cs : missing %20 handling. Patch by Andrew Skiba.
2067
2068 2005-02-15  Atsushi Enomoto <atsushi@ximian.com>
2069
2070         * XmlAttribute.cs : For default attributes, WriteTo() writes nothing
2071           under MS.NET.
2072         * DTDValidatingReader.cs : reduced indentation using Linus trick
2073           (it was too deep in nest).
2074
2075 2005-02-14  Atsushi Enomoto <atsushi@ximian.com>
2076
2077         * DTDValidatingReader.cs : Namespaces and prefixes are not properly
2078           handled (it incorrectly assumed DTD definitions and thus always 
2079           assumed empty namespace/prefixes).
2080
2081 2005-02-14  Atsushi Enomoto <atsushi@ximian.com>
2082
2083         * DTDValidatingReader.cs : element name stack might be empty when the
2084           input XmlReader contains fragments. Patch by Andrew Skiba.
2085
2086 2005-01-25  Martin Baulig  <martin@ximian.com>
2087
2088         * XmlNode.cs (XmlNode.SchemaInfo): Mark this as not CLS-compliant
2089         to avoid a CS3025.
2090
2091         * XmlReaderSettings.cs (XmlReaderSettings.XmlResolver): Mark this
2092         as not CLS-compliant to avoid a CS3025.
2093
2094 2005-01-18  Atsushi Enomoto <atsushi@ximian.com>
2095
2096         * XmlNode.cs,
2097           XmlAttribute.cs,
2098           XmlAttributeCollection.cs :
2099           Now reuse parentNode field for XmlAttribute.OwnerElement and
2100           reduce class allocation size.
2101         * XmlNameEntry.cs :
2102           New class that represents a name triplet.
2103           XmlNameEntryCache.cs :
2104           New type to cache name entries.
2105         * XmlAttribute.cs,
2106           XmlElement.cs :
2107           Replace name strings with name entry and save class allocation size.
2108           XmlDocument.cs :
2109           Add name entry cache field to document and reuse name entries that 
2110           are already allocated.
2111
2112 2005-01-17  Atsushi Enomoto <atsushi@ximian.com>
2113
2114         * XmlNode.cs, XmlAttribute.cs : reverted the previous patch. It broke
2115           several nunit tests.
2116
2117 2005-01-15  Ben Maurer  <bmaurer@ximian.com>
2118
2119         * XmlNode.cs (InnerText, AppendChildValues): Don't allocate a
2120         string in the case where nothing needs to be appended.
2121
2122         * XmlAttribute.cs (BuildChildValue): Start out the string with
2123         `null' not `String.Empty'. String.Concat (null, blah) == blah,
2124         pointerwise. ie, there is no allocation. This makes it so that
2125         getting the value of an attribute is faster for the fast case.
2126
2127 2005-01-13  Atsushi Enomoto <atsushi@ximian.com>
2128
2129         * XmlResolver.cs : throw ArgumentException in ResolveUri().
2130
2131 2005-01-11  Atsushi Enomoto <atsushi@ximian.com>
2132
2133         * XmlTextWriter.cs : WriteComment() was outputting extraneous EOL.
2134
2135 2004-12-26  Atsushi Enomoto <atsushi@ximian.com>
2136
2137         * XmlReader.cs : ReadElementContentAsBinHex() was calling ..AsBase64().
2138         * XmlValidatingReader.cs : In set_EntityHandling(), set that property
2139           of DTDValidatingReader.
2140         * XmlNodeReader2.cs,
2141           XmlNodeReaderImpl.cs : added simplified implementation that splits
2142           entity handling and anything else.
2143         * XQueryConvert.cs : implemented ShouldCheckValueFacets().
2144           Use Convert class instead of simple casts (check range).
2145         * XmlReaderSettings.cs : added SetSchemas() for XPathNavigator.
2146
2147 2004-12-22  Atsushi Enomoto <atsushi@ximian.com>
2148
2149         * XmlParserContext.cs : all the string properties must not be set as
2150           null. Thanks to Joshua.
2151         * XmlTextReader.cs,
2152           DTDObjectModel.cs,
2153           DTDReader.cs : XmlResolver.ResolveUri() may return null.
2154
2155 2004-12-17  Atsushi Enomoto <atsushi@ximian.com>
2156
2157         * XmlReaderBinarySupport.cs : added support class for base64/binhex
2158           reading that mostly automates those reader support.
2159         * XmlReader.cs : added CanReadBinaryContent, CanReadValueChunk,
2160           ReadContentAsBase64(), ReadElementContentAsBase64(),
2161           ReadContentAsBinHex(), ReadElementContentAsBinHex() and
2162           ReadValueChunk().
2163         * XmlTextReader.cs : Now ReadBase64() and ReadBinHex() implementations
2164           are moved to XmlReaderBinarySupport. Added CanReadBinaryContent and
2165           CanReadValueChunk overrides. Call Binary.Reset() to enable them.
2166         * XmlTextReader2.cs : added CanReadBinaryContent, CanReadValueChunk.
2167           Added ReadContentAsBase64(), ReadElementContentAsBase64(),
2168           ReadContentAsBinHex(), ReadElementContentAsBinHex() (just because
2169           they are overriden in MS.NET).
2170         * XmlNodeReader.cs : added CanReadBinaryContent and CanReadValueChunk.
2171           Call Binary.Reset() to enable them.
2172
2173 2004-12-16  Atsushi Enomoto <atsushi@ximian.com>
2174
2175         * XmlConvert.cs :
2176           Added DateTime related methods with serialization mode.
2177
2178 2004-12-16  Atsushi Enomoto <atsushi@ximian.com>
2179
2180         * XmlReader.cs : added MoveToFollowing().
2181         * XmlNode.cs,
2182           XmlElement.cs,
2183           XmlAttribute.cs : added SchemaInfo support.
2184         * XmlDocument.cs : added Schemas and Validate().
2185           ReadNode() now copies xmlReader's SchemaInfo.
2186         * XmlNodeReader.cs : ditto (just reflects node's SchemaInfo).
2187
2188 2004-12-15  Atsushi Enomoto <atsushi@ximian.com>
2189
2190         * XmlReader.cs :
2191           Create() should assure NameTable!=null on creating XmlTextReader.
2192           Now use XmlSchemaValidatingReader for all xsd validation.
2193         * XmlTextReader2.cs :
2194           Don't use input reader's Settings. It is null.
2195         * XmlReaderSettings.cs : added XmlResolver.
2196
2197 2004-12-14  Atsushi Enomoto <atsushi@ximian.com>
2198
2199         * XmlReaderSettings.cs : XsdValidate and DtdValidate are now
2200           ValidationType.
2201         * XmlReader.cs : In Create(), use XmlSchemaValidatingReader for xsd
2202           validation.
2203
2204 2004-12-12  Zoltan Varga  <vargaz@freemail.hu>
2205
2206         * XmlTextReader.cs: Work around a compiler bug in csc 2.0 beta 1.
2207
2208 2004-12-09  Atsushi Enomoto <atsushi@ximian.com>
2209
2210         * DTDObjectModel.cs : implemented lightweight XmlSchema generator.
2211
2212 2004-12-08  Atsushi Enomoto <atsushi@ximian.com>
2213
2214         * XmlValidatingReader.cs : making smarter relationship between
2215           XsdValidatingReader.
2216
2217 2004-12-08  Atsushi Enomoto <atsushi@ximian.com>
2218
2219         * XmlException.cs : added SecurityPermissionAttributes.
2220         * XmlReaderSettings.cs,
2221           XmlReader.cs : added ValidationFlags and removed obsolete ones.
2222
2223 2004-12-06  Atsushi Enomoto <atsushi@ximian.com>
2224
2225         * XmlWriter.cs : WriteQualifiedNameInternal() should consider the case
2226           ns is null, and don't lookup prefix for empty namespace.
2227
2228 2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2229
2230         * XmlTextReader.cs: don't use \0 as buffer terminator.
2231         * XmlInputStream.cs: s/Array.Copy/Buffer.BlockCopy/.
2232
2233 2004-11-30  Atsushi Enomoto <atsushi@ximian.com>
2234
2235         * DTDReader.cs : Consideration on parameter entity was missing for 
2236           attribute default value. Fixed bug #70008.
2237
2238 2004-11-26  Atsushi Enomoto <atsushi@ximian.com>
2239
2240         * XmlReader.cs : not fixage, just explicitly formatted code a bit.
2241         * XmlTextReader.cs,
2242           XmlEntity.cs,
2243           XmlAttributeCollection.cs,
2244           XmlTextWriter.cs,
2245           XmlElement.cs,
2246           XmlNode.cs,
2247           DTDObjectModel.cs,
2248           XmlParserInput.cs,
2249           DTDReader.cs,
2250           XmlDocument.cs : warning removal.
2251
2252 2004-11-25  Atsushi Enomoto <atsushi@ximian.com>
2253
2254         * XmlQualifiedNameTable.cs : oops, it was not implemented.
2255
2256 2004-11-24  Atsushi Enomoto <atsushi@ximian.com>
2257
2258         * XmlQualifiedName.cs : in 2.0 it is [Serializable].
2259         * XmlTextReader.cs : removed unused local variable.
2260         * XmlTextWriter.cs : Improved some exception messages.
2261           moved some private fields into #if NET_2_0.
2262         * XmlValidatingReader.cs : rename specifiedResolver to
2263           resolverSpecified and use it in internal get_Resolver().
2264           Added [Obsolete] for ReadTypedValue() whose base is obsoleted.
2265
2266 2004-11-22  Atsushi Enomoto <atsushi@ximian.com>
2267
2268         * XmlTextReader.cs : Now attribute normalization is handled on Read(),
2269           not on get_Value. This caused a problem when we use
2270           XmlValidatingReader that value is not always normalized expectedly.
2271
2272 2004-11-22  Atsushi Enomoto <atsushi@ximian.com>
2273
2274         * XmlReader.cs : removed old ReadValueAsXXX() and added new
2275           ReadContentAsXXX() and ReadElementContentAsXXX().
2276         * XmlTextReader.cs : removed old ReadValueAsXXX() (no overrides now).
2277         * XmlTextWriter.cs : added indentation on Comment nodes.
2278         * XmlDateTimeSerializationMode.cs : updated.
2279         * XmlResolver.cs : added 2.0 NameTable field.
2280         * ValidationType.cs : added ObsoleteAttributes on some members.
2281
2282 2004-11-18  Atsushi Enomoto <atsushi@ximian.com>
2283
2284         * XmlParserContext.cs : the fix was not checked in :(
2285
2286 2004-11-17  Atsushi Enomoto <atsushi@ximian.com>
2287
2288         * XQueryConvert.cs : moved from System.Xml.Query.
2289
2290 2004-11-14  Atsushi Enomoto <atsushi@ximian.com>
2291
2292         * XmlWriter.cs : after WriteAttributes(), argument XmlReader must
2293           move to element. This fixes bug #69350.
2294
2295 2004-11-10  Atsushi Enomoto <atsushi@ximian.com>
2296
2297         * XmlParserContext.cs : PushScope() was accessing list out of range.
2298
2299 2004-11-09  Atsushi Enomoto <atsushi@ximian.com>
2300
2301         * DTDValidatingReader.cs, XmlTextReader.cs :
2302           needed more changes wrt XmlException.
2303
2304 2004-11-08  Atsushi Enomoto <atsushi@ximian.com>
2305
2306         * DTDObjectModel.cs,
2307           DTDReader.cs,
2308           XmlReader.cs,
2309           XmlTextReader.cs,
2310           XmlException.cs :
2311
2312           Added support for 2.0 XmlException.SourceUri property. Improved
2313           exception handling to contain BaseURI everywhere in the parser.
2314
2315 2004-11-08  Atsushi Enomoto <atsushi@ximian.com>
2316
2317         * XmlTextReader2.cs : added. It is used to serve public API, plus
2318           entity handling support.
2319
2320         * DTDObjectModel.cs,
2321           DTDValidatingReader.cs,
2322           XmlDocumentType.cs,
2323           XmlParserContext.cs,
2324           XmlTextReader.cs :
2325           Implemented XmlTextReader.EntityHandling and ResolveEntity(). To
2326           implement them, XmlTextReader in 2.0 itself is in XmlTextReader2.cs
2327           and XmlTextReader.cs contains Mono.Xml2.XmlTextReader which is the
2328           same as 1.x XmlTextReader. XmlTextReader2 switches entity reader and
2329           source reader, and never handles tokenization. 
2330           The reason for "Mono.Xml2" is to avoid large changes in constructor.f
2331
2332 2004-11-08  Atsushi Enomoto <atsushi@ximian.com>
2333
2334         * XmlAttribute.cs, XmlElement.cs : get_Name should consider name table.
2335         * XmlDocument.cs : use NameTable in Load() and LoadXml().
2336         * XmlReader.cs : In Create(), use NameTable in XmlReaderSettings.
2337
2338 2004-11-05  Atsushi Enomoto <atsushi@ximian.com>
2339
2340         * XmlDocumentNavigator.cs : create rarely-used ArrayList later. This
2341           significantly improves XmlDocument-based XPath performance.
2342
2343 2004-11-04  Atsushi Enomoto <atsushi@ximian.com>
2344
2345         * XmlTextReader.cs : Manually expanded some of AppendValueChar() and
2346           XmlChar.IsWhitespace() which are on critical points on performance
2347           (marked as FIXME, but it depends on JIT).
2348
2349 2004-11-04  Atsushi Enomoto <atsushi@ximian.com>
2350
2351         * XmlTextReader.cs : Search xml:* attributes more efficiently.
2352
2353 2004-11-04  Atsushi Enomoto <atsushi@ximian.com>
2354
2355         * XmlTextReader.cs : Reduced NameTable.Add() for prefixed names. First,
2356           ReadName() now returns atomized LocalName and Prefix. Second, to
2357           avoid extraneous split, SetProperties() now takes prefix and
2358           localName that might be given from ReadName(). Third, removed 
2359           FillNames(). This optimizes "namespace-aware and prefixed document"
2360           parsing 10-20% faster.
2361
2362 2004-11-03  Atsushi Enomoto <atsushi@ximian.com>
2363
2364         * XmlTextReader.cs :
2365           With related to AddNamespace(), there was extra string.StartsWith()
2366           calls. Now AttributeTokenInfo.FillNames() is splitted into
2367           FillPrefixAndXmlns() and FillNamespace(), and AddNamespace() is done
2368           at FillPrefixAndXmlns().
2369
2370 2004-11-03  Atsushi Enomoto <atsushi@ximian.com>
2371
2372         * XmlTextReader.cs :
2373           Reduces LookupNamespace() call in FillNames(). This improves 6-7%
2374           speedup in some scenario.
2375           Code refactory; Removed unused code. AddAttribute() is used only for
2376           DTD, so renamed to AddDtdAttribute(). For PUBLIC and SYSTEM ids,
2377           FillNames() is not required. Two SetProperties() are ambiguous, so
2378           renamed one (that takes TokenInfo) as SetTokenProperties().
2379
2380 2004-11-03  Atsushi Enomoto <atsushi@ximian.com>
2381
2382         * XmlParserContext.cs : rewrote; especially to avoid XmlSpace boxing.
2383
2384 2004-11-03  Atsushi Enomoto <atsushi@ximian.com>
2385
2386         * XmlTextReader.cs : LookupNamespace() don't have to be called in
2387           ReadStartTag() to check prefix, since NamespaceURI is filled in
2388           FillNames(). 10% performance up by avoiding this extra check.
2389
2390 2004-10-29  Atsushi Enomoto <atsushi@ximian.com>
2391
2392         * XmlValidatingReader.cs : fixed incorrect recursion between
2393           indexer and GetAttribute().
2394
2395 2004-10-29  Atsushi Enomoto <atsushi@ximian.com>
2396
2397         * DTDReader.cs, DTDValidatingReader.cs, XmlTextReader.cs :
2398           When XmlTextReader is created with NodeType Element or Attribute,
2399           skip possible text declaration (that might be used for resolving
2400           entities) that specifies text encoding. With this fix, bug #61274
2401           must be regarded as fixed.
2402
2403 2004-10-29  Atsushi Enomoto <atsushi@ximian.com>
2404
2405         * XmlNodeReader.cs : Reimplemented ResolveEntity(). It does not use
2406           XmlTextReader trick anymore. XmlNodeReader itself is used instead.
2407
2408 2004-10-29  Atsushi Enomoto <atsushi@ximian.com>
2409
2410         * XmlNodeReader.cs : for NET_1_0 ReadInnerXml(), just use
2411           XmlReader.ReadInnerXmlInternal(). It should work fine.
2412           Ditto for ReadOuterXml().
2413
2414 2004-10-29  Atsushi Enomoto <atsushi@ximian.com>
2415
2416         * XmlNodeReader.cs : removed unused/unreachable code. Simplify
2417           namespace lookup.
2418
2419 2004-10-29  Atsushi Enomoto <atsushi@ximian.com>
2420
2421         * XmlDocument.cs, XmlNodeReader.cs, XmlTextReader.cs,
2422           XmlValidatingReader.cs : Those readers could just implement internal
2423           interface IHasXmlParserContext.
2424         * XmlTextReader.cs, XmlValidatingReader.cs : this[] disappeared in 2.0.
2425           (XmlReader has them as virtual.)
2426         * XmlReader.cs : ReadAsObject() disappeared.
2427         * XmlWriter.cs : WriteFromObject() disappeared.
2428
2429 2004-10-29  Atsushi Enomoto <atsushi@ximian.com>
2430
2431         * XmlDocumentNavigator.cs : GetNode() should consider namespace nodes.
2432         * XmlNode.cs : dustclean.
2433
2434 2004-10-28  Atsushi Enomoto <atsushi@ximian.com>
2435
2436         * XmlDocument.cs : use XPathEditableDocument again.
2437         * XmlNode.cs : To be compatible with XPathEditableDocument, it should
2438           not cast XPathNavigator to XmlDocumentNavigator but to IHasXmlNode.
2439
2440 2004-10-28  Atsushi Enomoto <atsushi@ximian.com>
2441
2442         * XmlChar.cs, XmlConstructs.cs :
2443           Switched again, for reducing per-process memory consumption.
2444         * XmlInputStream.cs :
2445           Just 64 bytes of buffer would be enough, for example like
2446           <?xml version="1.0" encoding="iso-8859-15" standalone="yes" ?>
2447
2448 2004-10-28  Atsushi Enomoto <atsushi@ximian.com>
2449
2450         * IXmlDataEvidence.cs : disappeared.
2451         * XmlConvertDateTimeSerializationMode.cs : incorrect filename. removed.
2452         * XmlDateTimeSerializationMode.cs : added
2453         * NewLineHandling.cs : added
2454         * IXmlNamespaceResolver.cs, XmlNamespaceManager.cs :
2455           now 'atomizedNames' is obsolete.
2456         * XmlReaderSettings.cs, XmlWriterSettings.cs :
2457           Should not be sealed. Should not be ICloneable.
2458
2459 2004-10-28  Atsushi Enomoto <atsushi@ximian.com>
2460
2461         * XmlDocument.cs : XPathEditableDocument looks broken. Just reverted
2462           to fix 2.0 corcompare.
2463
2464 2004-10-26  Atsushi Enomoto <atsushi@ximian.com>
2465
2466         * XmlTextReader.cs : Don't create attribute Value string on Read()
2467           (i.e. create string when get_Value() is invoked.) This optimizes
2468           some kind of XmlTextReader usage significantly such as Skip().
2469
2470 2004-10-22  Atsushi Enomoto <atsushi@ximian.com>
2471
2472         * XmlConvertDateTimeSerializationMode.cs : added.
2473         * XmlConvertDateTimeOption.cs : removed.
2474
2475 2004-10-22  Atsushi Enomoto <atsushi@ximian.com>
2476
2477         * XmlDocument.cs :
2478           For net_2_0, CreateNavigator() returns editable XPathNavigator.
2479         * XmlReader.cs, XmlTextReader.cs, XmlValidatingReader.cs :
2480           They do not implement IXmlDataEvidence anymore.
2481
2482 2004-10-18  Atsushi Enomoto  <atsushi@ximian.com>
2483
2484         * XmlTextReader.cs :
2485           Fixed CheckCharacters setter that always set false.
2486           CheckCharacters check is also required for ReadText(). This fixes
2487           bug #68449.
2488
2489 2004-10-15  Atsushi Enomoto  <atsushi@ximian.com>
2490
2491         * XmlTextReader.cs : Inside DTD, '<' character inside XML comment 
2492           is regatded as invalid. This fixes bug #68410. (Error message was
2493           also not correct.)
2494
2495 2004-10-14  Atsushi Enomoto  <atsushi@ximian.com>
2496
2497         * XmlWriter.cs : CreateTextWriter() is private.
2498
2499 2004-10-09  Atsushi Enomoto  <atsushi@ximian.com>
2500
2501         * XmlNodeReader.cs : LookupPrefix() was only after 2.0.
2502
2503 2004-10-08  Atsushi Enomoto  <atsushi@ximian.com>
2504
2505         * XmlNamespaceManager.cs : GetNamespacesInScope() caused
2506           IndexOutOfRangeException (miscounted indexes).
2507
2508 2004-10-04  Atsushi Enomoto  <atsushi@ximian.com>
2509
2510         * XmlWriter.cs : WriteNode(XPathNavigator,bool) should check null arg.
2511           For attribute nodes, it should not use WriteSubtree() which does not
2512           support attribute nodes.
2513
2514 2004-09-20  Gert Driesen <drieseng@users.sourceforge.net>
2515         
2516         * XmlValidatingReader.cs: Added deprecation message.
2517
2518 2004-09-14  Atsushi Enomoto  <atsushi@ximian.com>
2519
2520         * XmlTextWriter.cs : Close() should not Flush() when the output is
2521           already closed. bug #65918 is fixed.
2522
2523 2004-09-12  Atsushi Enomoto  <atsushi@ximian.com>
2524
2525         * XmlTextWriter.cs : CloseOutput must be true by default.
2526
2527 2004-09-08  Atsushi Enomoto  <atsushi@ximian.com>
2528
2529         * XmlWriter.cs, XmlTextWriter.cs, XmlWriterSettings.cs :
2530           Implemented CheckCharacters and CloseOutput support.
2531
2532 2004-09-08  Atsushi Enomoto  <atsushi@ximian.com>
2533
2534         * XmlReader.cs : evidence is always provided.
2535         * XmlWriter.cs, XmlTextWriter.cs :
2536           added support for ConformanceLevel and OmitXmlDeclaration.
2537
2538 2004-09-08  Atsushi Enomoto  <atsushi@ximian.com>
2539
2540         * XmlTextReader.cs : Console.WriteLine() injected :(
2541         * XmlTextWriter.cs : It it partly supports XmlWriterSettings.
2542         * XmlWriter.cs : implemented Create().
2543         * XmlWriterSettings.cs : removed EncodeXmlBinary (deprecated).
2544
2545 2004-09-07  Atsushi Enomoto  <atsushi@ximian.com>
2546
2547         * XmlFactory.cs : removed (obsolete).
2548
2549 2004-09-07  Atsushi Enomoto  <atsushi@ximian.com>
2550
2551         * XmlNamespaceManager.cs : GetNamespacesInScope() ignored default
2552           namespace when scope is .ExcludeXml or .All.
2553         * XmlReader.cs : Implemented ValueType, SchemaInfo, ReadAsObject().
2554           Fixed ReadTypedValue() to call ReadValueAs().
2555
2556 2004-09-07  Atsushi Enomoto  <atsushi@ximian.com>
2557
2558         * XmlNamespaceManager.cs : Fixed GetNamespacesInScope() that returned
2559           inconsistent namespace pairs.
2560
2561 2004-09-07  Atsushi Enomoto  <atsushi@ximian.com>
2562
2563         * XmlReader.cs, XmlTextReader.cs :
2564           Added NET_2_0 CheckCharacters support.
2565
2566 2004-09-06  Atsushi Enomoto  <atsushi@ximian.com>
2567
2568         * XmlNode.cs : GetEnumerator() does not have to create ChildNodes
2569           every time. Removed unused StringBuilder field.
2570
2571 2004-09-06  Atsushi Enomoto  <atsushi@ximian.com>
2572
2573         * XmlWriter.cs : on reader.NodeType is None, WriteNode() still tries
2574           to read more (and might result in an error).
2575
2576 2004-09-03  Atsushi Enomoto  <atsushi@ximian.com>
2577
2578         * XmlTextReader.cs : When Normalization is true, CRLF and CR should
2579           be converted to single LF. This should fix part of bug #62076.
2580
2581 2004-08-30  Atsushi Enomoto  <atsushi@ximian.com>
2582
2583         * XmlWriter.cs : implemented WriteValue(object) for known types.
2584
2585 2004-08-30  Atsushi Enomoto  <atsushi@ximian.com>
2586
2587         * XmlElement.cs : XmlAttributeCollection doesn't have to be created
2588           every time until the actual use. This sometimes optimizes
2589           attribute-less XML performance siginificantly.
2590
2591 2004-08-27  Atsushi Enomoto  <atsushi@ximian.com>
2592
2593         * XmlAttribute.cs : some property getters threw NullReferenceException
2594           when the attribute is not added to an element.
2595         * XmlNode.cs : When a node is not appended to another node, BaseURI
2596           is empty. Bug #64120 is fixed.
2597
2598 2004-08-26  Atsushi Enomoto  <atsushi@ximian.com>
2599
2600         * XmlTextWriter.cs : In CheckState(), don't create indentation string
2601           at every time. WriteIndent() now handles the indentation without
2602           recomputation.
2603
2604 2004-08-23  Atsushi Enomoto  <atsushi@ximian.com>
2605
2606         * XmlReader.cs, XmlTextReader.cs, XmlWriter.cs :
2607           eliminate MS.Internal.Xml.* classes.
2608
2609 2004-08-21  Atsushi Enomoto  <atsushi@ximian.com>
2610
2611         * XmlElement.cs : set_InnerText was removing children incompletely.
2612           This fixes bug #63574.
2613
2614 2004-08-20  Atsushi Enomoto  <atsushi@ximian.com>
2615
2616         * XmlTextReader.cs : Fixed EOF not to return true when it is just
2617           closed. Element and EndElement location is now adjusted to be the
2618           same as MS.NET does. This fixes bug #63505 and #63507.
2619           ResetState() now throws InvalidOperationException() as MS.NET does.
2620
2621         * WriteState.cs : added missing 2_0 enumeration.
2622         * XmlReader.cs : ReadTypedValue() is virtual.
2623         * XmlValidatingReader.cs : ReadTypedValue() is override under 2_0.
2624
2625 2004-08-10  Atsushi Enomoto  <atsushi@ximian.com>
2626
2627         * XmlValidatingReader.cs : Replaced XmlSchemaCollection with
2628           XmlSchemaSet. Added Settings property override
2629
2630 2004-08-10  Atsushi Enomoto  <atsushi@ximian.com>
2631
2632         * DTDReader.cs : Replacing XmlSchemaDatatype .FromName(string) with
2633           .FromName(string, string) [going to remove former one; it is not
2634           good to support xdt:blah datatypes].
2635
2636 2004-08-03  Atsushi Enomoto  <atsushi@ximian.com>
2637
2638         * DTDValidatingReader.cs,
2639           XmlValidatingReader.cs : implemented IXmlNamespaceResolver.
2640         * XmlNamespaceManager.cs,
2641           XmlNodeReader.cs : implemented GetNamespacesInScope().
2642
2643 2004-08-03  Atsushi Enomoto  <atsushi@ximian.com>
2644
2645         * XmlCharacterData.cs,
2646           XmlDocument.cs,
2647           XmlNodeChangedEventArgs.cs : 
2648           Implemented XmlNodeChangedEventArgs.OldValue and .NewValue.
2649
2650 2004-08-03  Atsushi Enomoto  <atsushi@ximian.com>
2651
2652         * XmlWriter.cs : implemented settings-less Create().
2653         * XmlWriterSettings.cs : added some comments.
2654
2655 2004-07-29  Atsushi Enomoto  <atsushi@ximian.com>
2656
2657         * XmlWriter.cs : implemented WriteNode(XPathNavigator, bool) 
2658           incompletely, using XPathNavigator.ReadSubtree().
2659
2660 2004-07-29  Atsushi Enomoto  <atsushi@ximian.com>
2661
2662         * XmlReader.cs : Implemented new 2.0 virtual members that used to be
2663           abstract in 1.x. Implemented ReadSubtree().
2664
2665 2004-07-28  Lluis Sanchez Gual  <lluis@novell.com>
2666
2667         * XmlTextReader.cs: Stop parsing when a null character is found.
2668
2669 2004-07-28  Atsushi Enomoto  <atsushi@ximian.com>
2670
2671         * XmlReader.cs : Implemented missing MoveToNextSibling() and
2672           MoveToDescendant().
2673         * XmlTextReader.cs : Added missing ReadValueAs() override (hmm...
2674           are they really worth overriding?)
2675
2676 2004-07-28  Atsushi Enomoto  <atsushi@ximian.com>
2677
2678         * XmlWriter.cs : Added new WriteStartAttribute(string).
2679
2680 2004-07-28  Atsushi Enomoto  <atsushi@ximian.com>
2681
2682         * XmlConvert.cs : Added 2.0 VerifyNMTOKEN() and internal WriteBinHex().
2683         * XmlQualifiedName.cs : Added internal static Parse().
2684         * XmlReader.cs : use XmlQualifiedName.Parse().
2685         * XmlTextWriter.cs : use new XmlWriter.WriteNameInternal() etc.
2686         * XmlWriter.cs : Added 2.0 Settings and WriteFromObject().
2687           Implemented 2.0 virtual methods that used to be abstract in 1.x.
2688
2689 2004-07-26  Atsushi Enomoto  <atsushi@ximian.com>
2690
2691         * XmlReader.cs : Implemented ReadValueAsXxx() except for
2692           ReadValueAsList().
2693         * XmlTextReader.cs : implemented them as well, just invoking 
2694           base.ReadValueAsXxx ().
2695         * XmlWriter.cs : implemented some WriteValue() methods.
2696
2697 2004-07-21  Atsushi Enomoto  <atsushi@ximian.com>
2698
2699         * XmlConvert.cs : added internal ToBinHexString() (BTW according to
2700           MSDN documentation it should be public).
2701         * XmlReader.cs : fixed one incorrect Create() overload. Added
2702           LookupNamespace (string, bool) (public for 2.0, internal for 1.x).
2703         * XmlTextReader.cs : Mostly implemented IXmlNamespaceResolver
2704           interface. Fixed HasLineInfo() access modifier on 2.0.
2705         * XmlNodeReader.cs : Mostly implemented IXmlNamespaceResolver
2706           interface. Wrote common namespace node lookup method and rewrote
2707           existing LookupNamespace().
2708         * XmlValidatingReader.cs : Fixed 2.0 IXmlLineInfo members' signatures.
2709
2710 2004-07-20  Atsushi Enomoto  <atsushi@ximian.com>
2711
2712         * XmlNode.cs : When the argument node being inserted is the existing
2713           document element, it should not result in an error (since it should
2714           be first removed from document, thus no error should happen).
2715
2716 2004-07-16  Atsushi Enomoto  <atsushi@ximian.com>
2717
2718         * XmlTextReader.cs : Fixed several problems on ReadBase64();
2719           Whitespaces should be ignored, and '=' was not skipped correctly.
2720           It caused "unexpected end of document" error at immediate close tag.
2721
2722 2004-07-13  Atsushi Enomoto  <atsushi@ximian.com>
2723
2724         * Added MonoFIXAttribute.cs
2725
2726 2004-07-13  Atsushi Enomoto  <atsushi@ximian.com>
2727
2728         * XmlWriter.cs : Added Create() stubs.
2729         * XmlWriterSettings.cs : Added missing property setters.
2730         * XmlValidatingReader.cs : added internal schemas setter.
2731         * XmlTextReader.cs : added internal XmlReaderSettings property setter.
2732         * XmlReader.cs :  Halfly implemented Create().
2733         * DTDValidatingReader.cs : author information was missing.
2734
2735 2004-07-11  Atsushi Enomoto  <atsushi@ximian.com>
2736
2737         * XmlConvertDateTimeOption.cs : it is NET_2_0.
2738         * IXmlNamespaceResolver.cs,
2739           XmlNamespaceScope.cs : Compile it in .net 1.1 (as internal).
2740         * XmlNamespaceManager.cs : Implement IXmlNamespaceResolver.
2741
2742 2004-07-09  Atsushi Enomoto  <atsushi@ximian.com>
2743
2744         * XmlConvertDateTimeOption.cs : Forgot to change the content...
2745
2746 2004-07-09  Atsushi Enomoto  <atsushi@ximian.com>
2747
2748         * ConformanceLevel.cs : Fixed integer value.
2749         * Added XmlConvertDateTimeOption.cs.
2750         * Removed XmlItemView.cs and XmlItemViewCollection.cs.
2751
2752 2004-07-09  Atsushi Enomoto  <atsushi@ximian.com>
2753
2754         * IXmlNamespaceResolver.cs :
2755           Fixed return value of GetNamespacesInScope().
2756         * IXmlDataEvidence.cs,
2757           XmlReader.cs,
2758           XmlTextReader.cs,
2759           XmlValidatingReader.cs : fixed Evidence (it is not array anymore).
2760         * XmlReader.cs :
2761           Implemented virtual indexers, QuoteChar, and Dispose() (2.0 stuff).
2762         * XmlNodeReader.cs,
2763           In net_2_0, indexers vanished from XmlNodeReader.
2764           In net_2_0, overriden QuoteChar vanished.
2765         * XmlReaderSettings.cs : set_NameTable is missing.
2766         * XmlTextReader.cs : Implemented ProhibitDtd.
2767
2768 2004-07-09  Atsushi Enomoto  <atsushi@ximian.com>
2769
2770         * XmlAttributeCollection.cs : In .net 2.0, it became sealed class.
2771         * IXmlDataEvidence.cs : not "Evidences" but "Evidence".
2772         * XmlInputStream.cs : new csc rejected implicit int->char cast.
2773         * XmlNamespaceManager.cs : In net_2_0, LookupNamespace(string) and
2774           LookupPrefix(string) does not require argument string as atomized.
2775           Added HasNamespace (string, bool).
2776         * XmlReader.cs : Added Settings and SchemaInfo properties.
2777         * XmlReaderSettings.cs : Added NameTable. Throw XmlException when
2778           attempt to set Schemas.
2779         * XmlTextReader.cs : Fixed "Evidences" to "Evidence". new csc rejected
2780           implicit int->char cast.
2781         * XmlValidatingReader.cs : Fixed "Evidences" to "Evidence".
2782
2783 2004-06-27  Atsushi Enomoto  <atsushi@ximian.com>
2784
2785         * XmlDocument.cs:
2786           Close XmlReader only when it is created. This fixes bug #60809.
2787
2788 2004-06-18  Atsushi Enomoto <atsushi@ximian.com>
2789
2790         * DTDObjectModel.cs, DTDReader.cs, XmlConvert.cs, XmlDocument.cs,
2791           XmlException.cs, XmlParserInput.cs, XmlTextReader.cs,
2792           XmlTextWriter.cs : Globalization.
2793         * XmlNode.cs : Fixed error message that confused node type.
2794
2795 2004-06-14  Atsushi Enomoto <atsushi@ximian.com>
2796
2797         * XmlDocumentNavigator.cs : MoveToNext() should skip concatenating
2798           text/cdata/whitespace nodes.
2799
2800 2004-06-14  Atsushi Enomoto <atsushi@ximian.com>
2801
2802         * XmlInputStream.cs : Fixed encoding detection detected in xslt
2803           standalone tests. Removed extraneous code.
2804
2805 2004-06-13  Atsushi Enomoto <atsushi@ximian.com>
2806
2807         * XmlTextReader.cs : Character range check is always done. It is only
2808           character references for which check is not done when Normalization
2809           is false.
2810           A bit more kind error message for multiple document element error.
2811         * XmlTextWriter.cs : Check if character is valid and entitize when
2812           it was invalid.
2813
2814 2004-06-09  Atsushi Enomoto <atsushi@ximian.com>
2815
2816         * XmlNamespaceManager.cs : The error message was improper.
2817           Fix for bug #59880.
2818
2819 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2820
2821         * XmlInputStream.cs: Initialize reads a larger buffer now when trying
2822         to guess the encoding.
2823
2824 2004-06-06  Atsushi Enomoto <atsushi@ximian.com>
2825
2826         * NameTable.cs : Fixed incorrect hash computation. Thanks to Ben.
2827         * XmlTextWriter.cs : Fixed remaining LookupNamespace() atom problem
2828           shown in xslt standalone tests.
2829
2830 2004-06-06  Atsushi Enomoto <atsushi@ximian.com>
2831
2832         * XmlTextWriter.cs : Improved indenting. For children of a mixed 
2833           content element, it won't be indented.
2834
2835 2004-06-06  Atsushi Enomoto <atsushi@ximian.com>
2836
2837         * DTDObjectModel.cs,
2838           XmlDocument.cs : Close stream always.
2839         * XmlNodeReader.cs : don't expect atomized name in LookupNamespace().
2840         * XmlTextReader.cs : Namespace check was not done. Some tests depends
2841           on this failure and to be fixed.
2842
2843 2004-06-03  Atsushi Enomoto <atsushi@ximian.com>
2844
2845         * XmlNamespaceManagre.cs : Fixed LookupNamespace() and LookupPrefix().
2846           They require that names are *already* atomized.
2847         * XmlNodeReader.cs,
2848           XmlTextWriter.cs : use safe overload of LookupXXX().
2849
2850 2004-05-30  Atsushi Enomoto <atsushi@ximian.com>
2851
2852         * XmlTextReader.cs : Fixed version mismatch; ProhibitDtd should be
2853           NET_2_0.
2854
2855 2004-05-29  Gert Driesen (drieseng@users.sourceforge.net)
2856         
2857         * XmlTextReader.cs: Added ProhibitDtd property for NET 1.1 to match
2858         public API in MS.NET 1.1
2859
2860 2004-05-27  Atsushi Enomoto <atsushi@ximian.com>
2861
2862         * XmlDocument.cs : Save() should indent only when PreserveWhitespace
2863           is false. Fixed bug #59155.
2864           Modified comment lines a bit.
2865
2866 2004-05-27  Atsushi Enomoto <atsushi@ximian.com>
2867
2868         * XmlTextWriter.cs : WriteRaw() looks to proceed WriteState to Prolog
2869           (if it is Start). Fixed bug #59154.
2870
2871 2004-05-27  Atsushi Enomoto <atsushi@ximian.com>
2872
2873         * XmlTextReader.cs : simplified ReadCharsInternal(); use ReadEndTag()
2874           and don't bork against <foo></foo>. Also mofidied this method to skip
2875           <foo/>. Fixed bug #59142.
2876           Modified some comments on the code (FIXME->LAMESPEC et al).
2877
2878 2004-05-24  Atsushi Enomoto <atsushi@ximian.com>
2879
2880         * DTDReader.cs : When sequential PE references exist, the reader only
2881           expands the first one and in some cases the parser complaints the
2882           content (such like expecting name character but found '%').
2883           This fixes bug #58818.
2884
2885 2004-05-23  Atsushi Enomoto <atsushi@ximian.com>
2886
2887         * XmlNode.cs : RemoveChild() should check null argument.
2888           Normalize() was broken in some cases.
2889
2890 2004-05-22  Atsushi Enomoto <atsushi@ximian.com>
2891
2892         * ConformanceLevel.cs : added.
2893
2894 2004-05-22  Atsushi Enomoto <atsushi@ximian.com>
2895
2896         * XmlNodeChangedEventArgs.cs : the last patch looks true 
2897           ONLY AFTER .NET 2.0.
2898
2899 2004-05-22  Atsushi Enomoto <atsushi@ximian.com>
2900
2901         * XmlReaderSettings.cs, XmlWriterSettings.cs : NET_2_0 were missed.
2902
2903 2004-05-22  Atsushi Enomoto <atsushi@ximian.com>
2904
2905         * XmlFactory.cs,
2906           XmlItemView.cs,
2907           XmlItemViewCollection.cs,
2908           XmlReaderSettings.cs,
2909           XmlWriterSettings.cs : added new .NET 2.0 classes.
2910
2911         * AsyncXmlTextWriter.cs,
2912           IXPathChangeNavigator.cs,
2913           IXPathEditor.cs,
2914           IXPathNavigator.cs,
2915           XmlChangeFilters.cs,
2916           XmlInfoItemType.cs,
2917           XmlNodeChangeType.cs,
2918           XPathChangeNavigator.cs,
2919           XPathDocument2.cs,
2920           XPathDocument2ChangedEventAction.cs,
2921           XPathDocument2ChangedEventHandler.cs,
2922           XPathEditor.cs,
2923           XPathNavigator2.cs : removed. (They are only in .NET 1.2)
2924
2925         * XmlWriter.cs : added new NET_2_0 WriteElementString().
2926
2927 2004-05-22  Atsushi Enomoto <atsushi@ximian.com>
2928
2929         * XmlNodeChangedEventArgs.cs : not properly inherited from EventArgs.
2930
2931 2004-05-17  Atsushi Enomoto <atsushi@ximian.com>
2932
2933         * XmlConvert.cs : Fixed ToString(TimeSpan) that didn't handle Hour 
2934           correctly. This fixes bug #57786.
2935
2936 2004-05-13  Atsushi Enomoto <atsushi@ximian.com>
2937
2938         * XmlValidatingReader.cs : explicitly mark as MonoTODO for XDR (not
2939           supported).
2940
2941 2004-05-12  Atsushi Enomoto <atsushi@ximian.com>
2942
2943         * DTDObjectModel.cs,
2944           DTDReader.cs,
2945           XmlDocument.cs,
2946           XmlInputStream.cs,
2947           XmlParserInput.cs,
2948           XmlTextReader.cs,
2949           XmlUrlResolver.cs : removed reference to Mono.Xml.
2950           Made Mono.Xml.* classes internal.
2951         * XmlDocument.cs : output xml declaration for TextWriter output in Save()
2952         * XmlElement.cs : Name character check should be done in .ctor().
2953         * XmlNamespaceManager.cs : Removed dangerous internal .ctor()
2954
2955 2004-05-10  Atsushi Enomoto <atsushi@ximian.com>
2956
2957         * XmlNodeReader.cs : renamed ownerElement to ownerLinkedNode (text
2958           node can be it as well) and added check for Attributes existence
2959           in GetAttribute() and MoveTo*Attribute().
2960
2961 2004-05-10  Atsushi Enomoto <atsushi@ximian.com>
2962
2963         * XmlTextWriter.cs : comment not in the content state is indented.
2964           This fixes bug #58247.
2965
2966 2004-05-07  Lluis Sanchez Gual  <lluis@ximian.com>
2967
2968         * XmlTextWriter.cs: In WriteStartAttribute, when the prefix is xmlns and
2969           the name is empty, convert it to a xmlns attribute.
2970
2971 2004-04-27  Atsushi Enomoto <atsushi@ximian.com>
2972
2973         * XmlTextReader.cs : don't use NET_1_0.
2974
2975 2004-04-24  Atsushi Enomoto <atsushi@ximian.com>
2976
2977         * XmlComment.cs. XmlProcessingInstruction.cs : missing commits.
2978
2979 2004-04-24  Atsushi Enomoto <atsushi@ximian.com>
2980
2981         W3C DOM compliant read-only check support (buggy part in MS.NET).
2982         * XmlAttribute.cs,
2983           XmlCDataSection.cs,
2984           XmlCharacterData.cs,
2985           XmlDocument.cs,
2986           XmlElement.cs,
2987           XmlNode.cs,
2988           XmlSignificantWhitespace.cs,
2989           XmlText.cs
2990           : CloneNode() - set read-only when copied node is read-only.
2991             Check IsReadOnly on attempt to modify value.
2992         * XmlEntity.cs,
2993           XmlEntityReference.cs : Set descendant nodes read-only.
2994         * XmlAttributeCollection.cs,
2995           XmlNode.cs
2996           : Fixed incompatible exception type.
2997         * XmlEntityReference.cs : CloneNode() should not pass an empty string
2998           as its name.
2999         * XmlEntityReference.cs,
3000           XmlProcessingInstruction.cs : Check XML name validity.
3001         * XmlText.cs : CloneNode() does not have to check children.
3002
3003 2004-04-24  Atsushi Enomoto <atsushi@ximian.com>
3004
3005         * XmlDeclaration.cs : More strict check on InnerText and Value.
3006
3007 2004-04-24  Atsushi Enomoto <atsushi@ximian.com>
3008
3009         * DTDReader.cs, XmlConvert.cs, XmlDeclaration.cs, XmlImplementation.cs,
3010           XmlNode.cs : Culture independency fix.
3011
3012 2004-04-22  Atsushi Enomoto <atsushi@ximian.com>
3013
3014         * XmlEntityReference.cs : Added XPathNodeType (just for workaround).
3015           This should really fix bug #57248.
3016
3017 2004-04-20  Atsushi Enomoto <atsushi@ximian.com>
3018
3019         * XmlDocumentNavigator.cs : MoveToFirstChild() failed when there is
3020           only an EntityReference (not navigatable) child. Bug #57248 fixed.
3021         * XmlWriter.cs : Modified WriteNode() to use MoveToAttribute(int)
3022           instead of WriteAttributes() only for MS.NET behavior compatibility.
3023           This change makes SgmlReader usable (due to SgmlReader bug).
3024
3025 2004-04-10  Atsushi Enomoto <atsushi@ximian.com>
3026
3027         * XmlParserContext.cs : Fixed .ctor() not to reference null namespace
3028           manager. This fixes bug #56770.
3029
3030 2004-04-06  Atsushi Enomoto <atsushi@ximian.com>
3031
3032         * DTDReader.cs : In ProcessDTDSubset(), 1)error message was 
3033           generated with incorrect stream character, 2)entity nest check 
3034           should not depend on line info which might not be supplied, 3)
3035           empty PE should be skipped.
3036         * XmlParserInput.cs : use index for StringBuilder instead of calling
3037           Remove() many times. This highly optimizes DTD parser.
3038
3039         * XmlAttribute.cs : removed commented code.
3040         * XmlEntity.cs : removed unused field.
3041
3042 2004-04-05  Atsushi Enomoto <atsushi@ximian.com>
3043
3044         * DTDObjectModel.cs : (DTDAttributeDefinition) create ArrayList 
3045           only when they are required.
3046         * DTDReader.cs,
3047           XmlParserInput.cs : raw tag string now don't have to be kept, while
3048           it cost so much. Removed unused code. 20% to 30% memory got saved.
3049         * XmlNotation.cs : removed unused code.
3050         * XmlTextReader.cs : Removed unused code. ReadString() now uses 
3051           XmlReader's internal method. Fixed BaseURI to be conformant with
3052           W3C XML InfoSet and (subsequently) xml:base specification (i.e. 
3053           reflect xml:base attribute correctly).
3054
3055 2004-04-05  Atsushi Enomoto <atsushi@ximian.com>
3056
3057         * XmlAttribute.cs : get_Value should return all children's value.
3058         * XmlCharacterData.cs : DOM's substring does not raise an error when
3059           startIndex + count exceeds the length of Data.
3060         * XmlNamedNodeMap.cs : SetNamedItem() returns the new child when it
3061           does not replace another named item.
3062         * XmlElement.cs : with related to the XmlNamedNodeMap change, 
3063           SetAttributeNode() is required to fix as to return null when it does
3064           not replace existing attribute.
3065
3066 2004-03-31  Atsushi Enomoto <atsushi@ximian.com>
3067
3068         * XmlDocumentNavigator.cs : When this instance is created from xmlns 
3069           attributes, it should be Namespace node.
3070
3071 2004-03-27  Atsushi Enomoto <atsushi@ximian.com>
3072
3073         * XmlReader.cs : ReadInnerXml() should progress reader when it is on
3074           an empty element. This fixes bug #56064.
3075
3076 2004-03-27  Atsushi Enomoto <atsushi@ximian.com>
3077
3078         * DTDReader.cs : In some places sequential parameter entity was
3079           incorrectly skipped (and caused invalid result).
3080
3081 2004-03-24  Atsushi Enomoto <atsushi@ximian.com>
3082
3083         * XmlDocumentNavigator.cs : MoveTo*Namespace() should not iterate
3084           namespace nodes which has the same name as already-iterated nodes.
3085           Also xmlns='' should not be selected, and once it appeared, default 
3086           namespace should not be selected anymore.
3087
3088 2004-03-24  Atsushi Enomoto <atsushi@ximian.com>
3089
3090         * XmlCharacterData.cs : ReplaceData() should reject negative integer
3091           value for count argument.
3092         * XmlAttribute.cs, XmlAttributeCollection.cs, XmlNamedNodeMap.cs :
3093           On RemoveNamedItem(), default attribute value should be restored.
3094
3095 2004-03-24  Atsushi Enomoto <atsushi@ximian.com>
3096
3097         * XmlAttributeCollection.cs : Remove() should throw an exception when
3098           target attribute is not included in the collection.
3099         * XmlDocument.cs : ImportNode() should reject null node.
3100         * XmlNode.cs : Fixed type of exception for invalid insertion.
3101           It should throw an exception not only when the owner document of the
3102           reference element is different but its parent element is different.
3103           Some error message improvement.
3104
3105 2004-03-21  Atsushi Enomoto <atsushi@ximian.com>
3106
3107         * XmlReader.cs : ReadInnerXml() incorrectly tried to get output xml.
3108           This fixes bug #55856.
3109
3110 2004-03-20  Atsushi Enomoto <atsushi@ximian.com>
3111
3112         * XmlTextWriter.cs : Fixed indentation on CDATA. This fixes bug #55828.
3113
3114 2004-03-19  Atsushi Enomoto <atsushi@ximian.com>
3115
3116         * XmlImplementation.cs : HasFeature() returns true when strVersion
3117           is null.
3118
3119 2004-03-16  Atsushi Enomoto <atsushi@ximian.com>
3120
3121         * XmlWhitespace.cs : Fixed WriteTo(). Whitespace nodes should be 
3122           written regardless of document's PreserveWhitespace.
3123
3124 2004-03-16  Atsushi Enomoto <atsushi@ximian.com>
3125
3126         * XmlDocumentNavigator.cs : Value should return concatenated string for 
3127           sequential text nodes. Considered detached nodes, the result of 
3128           MoveToParent() should be checked.
3129
3130 2004-03-15  Atsushi Enomoto <atsushi@ximian.com>
3131
3132         * XmlReader.cs : ReadInnerXml()/ReadOuterXml() should not bork when
3133           the reader is on EndElement. Patch by Jean-Marc Andre.
3134
3135 2004-03-14  Atsushi Enomoto <atsushi@ximian.com>
3136
3137         * XmlDocumentNavigator.cs : as for namespace node "xml", MS.NET seems
3138           to return attribute node. It affects on IHasXmlNode.GetNode() and
3139           SelectNodes()/SelectSingleNode().
3140
3141 2004-03-04  Atsushi Enomoto <atsushi@ximian.com>
3142
3143         * XmlImplementation.cs : fixity fix (I need NUnit runnable ;)
3144
3145 2004-03-04  Atsushi Enomoto <atsushi@ximian.com>
3146
3147         * XmlImplementation.cs : forgot to commit (renaming internal case)
3148
3149 2004-03-04  Atsushi Enomoto <atsushi@ximian.com>
3150
3151         * XmlDocument.cs : Implementation should not return null.
3152
3153 2004-02-25  Atsushi Enomoto <atsushi@ximian.com>
3154
3155         * XmlTextWriterOpenElement.cs : Reset() should reset _all_ fields.
3156           This fixes indentation bug.
3157
3158 2004-02-19  Atsushi Enomoto <atsushi@ximian.com>
3159
3160         * XmlTextWriter.cs : Fixed bugzilla #54554 (incorrent end tag output).
3161
3162 2004-02-16  Atsushi Enomoto <atsushi@ximian.com>
3163
3164         * DTDAutomata.cs,
3165           DTDObjectModel.cs,
3166           DTDReader.cs,
3167           DTDValidatingReader.cs : made classes internal.
3168         * XmlDocument.cs : removed extra FIXMEs.
3169         * XmlNamedNodeMap.cs,
3170           XmlResolver.cs,
3171           XmlUrlResolver.cs : 
3172           Fixed incorrect method signature.
3173
3174 2004-02-13  Atsushi Enomoto <atsushi@ximian.com>
3175
3176         * DTDObjectModel.cs, DTDReader.cs, DTDValidatingReader.cs : 
3177           say goodbye to sys.collections.specialized.
3178           (replaced the classes in that namespace with ArrayList or Hashtable)
3179
3180 2004-02-12  Atsushi Enomoto <atsushi@ximian.com>
3181
3182         * XmlReader.cs : For performance reason, XmlTextReader now uses
3183           base ReadInnerXml() and don't store currentTag array unnecessarily.
3184         * XmlTextReader.cs :
3185           - Fixed GetAttribute(int) that might cause index out of range.
3186           - Now it consumes the text reader by reading blocks, as MS.NET does.
3187             Modified GetRemainder(), PeekChar(), ReadChar() and so on.
3188           - Now it doesn't create Value string for linked nodes, unless it 
3189             is actually required.
3190           - some code refactory.
3191
3192 2004-02-11  Atsushi Enomoto <atsushi@ximian.com>
3193
3194         * XmlTextWriter.cs, XmlTextWriterOpenElement.cs :
3195           Reduced creation of openlElement. It also saves much memory.
3196
3197 2004-02-10  Atsushi Enomoto <atsushi@ximian.com>
3198
3199         * XmlNode.cs : ChildNodes should not create XmlNodeListChildren
3200           every time. This fix heavily improved performance.
3201
3202 2004-02-10  Atsushi Enomoto <atsushi@ximian.com>
3203
3204         * XmlAttributeCollection.cs : set owner element as parent on removal
3205           events (though they are not "parent" in infoset or dom context)
3206         * XmlElement.cs : Don't remove attributes twice (raises extraneous
3207           removal events).
3208         * XmlNamespaceManager.cs, XmlNodeChangedEventArgs :
3209           Added NET_2_0 members.
3210
3211 2004-02-08  Atsushi Enomoto <atsushi@ximian.com>
3212
3213         * DTDObjectModel.cs : Limit external entity reference from DTD by 256.
3214           foreach elimination.  DTDParameterEntityDeclaration should set Root.
3215           Compute attribute default value without raising an error.
3216           (for non-error reporting reader)
3217         * DTDReader.cs : Fixes for the above fixes. foreach elimination.
3218         * DTDValidatingReader.cs, NameTable.cs, XmlAttribute.cs,
3219           XmlAttributeCollection.cs, XmlChar.cs, XmlConstruct.cs,
3220           XmlDocumentFragment.cs, XmlDocumentNavigator.cs, XmlElement.cs,
3221           XmlEntityReference.cs, XmlNamedNodeMap.cs, XmlNode.cs,
3222           XmlText.cs : foreach elimination.
3223         * XmlDocument.cs, XmlSignificantWhitespace.cs, XmlWhitespace.cs :
3224           foreach elimination. Removed unnecesary methods.
3225         * XmlTextReader.cs : code format refactory. Optimized some methods.
3226           foreach elimination. Replaced Stack with string array.
3227           Replaced StringBuilder with char array. Removed unnecessary methods.
3228
3229 2004-02-06  Atsushi Enomoto <atsushi@ximian.com>
3230
3231         * DTDValidatingReader.cs : Fixed MoveToElement() that causes incorrect
3232           IsDefault and Depth.
3233         * XmlAttribute.cs : Fixed .ctor(). Omit more namespace check when 
3234           checkNamespace = false.
3235         * XmlNamedNodeMap.cs : Fixed SetNamedItem() to raise events.
3236         * XmlAttributeCollection.cs : Reimplemented InsertAfter to use
3237           InsertBefore() (similar to XmlNode).
3238         * XmlDocument.cs : Added internal .ctor().  Reimplemented ReadNode()
3239           as recursive, to make event order compatible.
3240         * XmlDocumentType.cs : Use SetNamedItem() (to raise events).
3241         * XmlElement.cs : Some refactory.  Fixed SetAttributeNode() with 
3242           string name to block prefixed name.
3243         * XmlEntity.cs : Don't raise events on setting contents.
3244         * XmlNode.cs : Some refactory. Added raiseEvent argument to internal
3245           InsertBefore().
3246         * XmlEntityReference.cs : related fix for XmlNode change.
3247         * XmlTextReader.cs : When the reader is on "attributes" of xmldecl or
3248           doctype, Depth 1 lower than usual attribute. Split large function.
3249
3250 2004-02-05  Atsushi Enomoto <atsushi@ximian.com>
3251
3252         * XmlConvert.cs : ToSingle() and ToDouble() should be culture 
3253           independent. Patch by Rodolfo Campero.
3254
3255 2004-02-04  Atsushi Enomoto <atsushi@ximian.com>
3256
3257         * DTDObjectModel.cs : Never expand entity on ScanEntityValue().
3258         * DTDValidatingReader.cs : XmlDeclaration node requires attributes
3259           to be movable.
3260         * XmlAttribute.cs,
3261           XmlDocument.cs,
3262           XmlDocumentFragment.cs,
3263           XmlElement.cs,
3264           XmlEntity.cs,
3265           XmlLinkedNode.cs,
3266           XmlNode.cs,
3267           XmlNotation.cs : 
3268           Added namespace checking flag (required for such xml readers
3269           that holds Namespaces=false). Now only XmlNode holds LastLinkedNode.
3270         * XmlDocumentType.cs,
3271           XmlEntity.cs,
3272           XmlEntityReference.cs : The children of Entity and EntityReference
3273           became correct. They now holds parsed nodes, but it is only when
3274           they are appended to the document.
3275         * XmlNode.cs : Modified insertBeforeIntern() to InsertBefore() with
3276           boolean checkNodeType argument.  This method also tries to create
3277           Entity's and EntityReference's child nodes.  Also added internal
3278           RemoveChild() with boolean checkNodeType argument.
3279         * XmlNodeReader.cs : Quick hack for ResolveEntity() that became 
3280           broken with these changes. use InnerXml as input to entityReader.
3281         * XmlTextReader.cs : XmlDeclaration's value LocalName should be the
3282           same as Name.  The names of DTD's pseudo attributes should be empty.
3283           Fixed DTD node's Depth (was regarded as attribute value's depth).
3284
3285 2004-02-03  Atsushi Enomoto <atsushi@ximian.com>
3286
3287         * XmlTextReader.cs, DTDReader.cs : fixity fix ;)
3288
3289 2004-02-03  Atsushi Enomoto <atsushi@ximian.com>
3290
3291         * ChangeLog : Fixed incorrect description that should be written for
3292           DTDValidatingReader.cs but written for DTDReader.cs.
3293         * DTDValidatingReader.cs : Fixes described in the last DTDReader fix.
3294
3295         * XmlChar.cs,
3296           XmlConstructs.cs : Made XmlChar and XmlConstructs equivalent and
3297           replaced XmlChar with XmlConstruts, renaming "XmlChar" to 
3298           "XmlCharCompact" and "XmlConstructs" to "XmlChar". 
3299           (XmlChar will be used for compact framework.)
3300         * DTDReader.cs, XmlParserInput.cs, XmlTextReader.cs : 
3301           XmlChar related changes.  Support for surrogate pair.
3302           It cannot use TextReader's peek anymore (for surrogate pair).
3303           Character range check for PI value, attribute value, text
3304         * XmlTextWriter.cs : Change openElements from Stack to ArrayList.
3305           (It calls ToArray() every time.)
3306
3307 2004-02-03  Alon Gazit <along@mainsoft.com>
3308         * XmlNamedNodeMap - now Item(int index) returns null for nodeList.Count
3309           instead of throwing ArgumentOutOfRangeException.
3310
3311 2004-02-03  Atsushi Enomoto <atsushi@ximian.com>
3312
3313         * XmlChar.cs : now GetPredefinedEntity() returns int and -1 for not
3314           predefined entity names.
3315         * DTDObjectModel.cs : DTDxxxCollection now derives from 
3316           - DTDCollectionBase that derives from DictionaryBase.
3317           - "Literal value" and "replacement text" are handled differently.
3318           - Throw XmlException when external entity could not be resolved. 
3319           - Return ReplacementText for EntityValue.
3320         * DTDReader.cs :
3321           - Support IXmlLineInfo.
3322           - Fixed IGNORE section handling to be more strict.
3323           - Compute replacement text on reading entity declarations.
3324           - Don't expand char references before getting literal entity value.
3325           - Check not allowed parameter entity inside internal subset.
3326         * DTDValidatingReader.cs :
3327           - Added ValidateWhitespaceNode() to check whitespace's Validity
3328             Constraints on external elementdecl and standalone document.
3329           - When invalid data against its datatype was found, don't throw
3330             parse error.
3331           - Other code refactory.
3332         * XmlTextReader.cs : 
3333           - Check for invalid Text pattern "]]>" should not depend on line 
3334             info since it might not be supported.
3335           - Check referenced character's validity (WFC).
3336
3337 2004-01-28  Atsushi Enomoto <atsushi@ximian.com>
3338
3339         * DTDReader.cs : Added Normalization.  Parameter Entity declaration
3340           should block invalid characters. (GEDecl should be fixed as well.)
3341         * XmlConstruct.cs : Should allow surrogate chars.
3342         * XmlNotation.cs : When prefix is empty (i.e. almost all cases) 
3343           Name should not add ':'. Patch by Boris Kirzner.
3344         * XmlTextReader.cs : Modified private ReadCharacterReference() to
3345           return the character (or -1 when should not return anything).
3346           Now Text character reference are checked their character range.
3347           Set DTDReader.Normalization as well as the reader itself.
3348
3349 2004-01-28  Atsushi Enomoto <atsushi@ximian.com>
3350
3351         * DTDReader.cs : Make sure that parameter entities are not allowed
3352           inside internal subset unless it appears as a markupdecl.
3353         * DTDValidatingReader.cs : ENTITY or ENTITIES type attributes must have
3354           a value that indicates *unparsed* entity (i.e. NDATA required).
3355
3356 2004-01-26  Atsushi Enomoto <atsushi@ximian.com>
3357
3358         * XmlTextWriter.cs : quick performance fix.
3359           Reduced memoty allocation (e.g. 12% when writing XMLSchema.xsd.)
3360
3361 2004-01-26  Atsushi Enomoto <atsushi@ximian.com>
3362
3363         * DTDObjectModel.cs :
3364           - DTDNode's BaseURI should not always refer to that of DTD's.
3365           - Use absolute URI's .ToString() instead of AbsolutePath.
3366         * DTDReader.cs : Throw XmlException for illegal character references.
3367         * DTDValidatingReader.cs :
3368           - Share XmlResolver when the actual reader is XmlTextReader.
3369             (MS's XmlValidatingReader and XmlTextReader do this.)
3370           - Added its own EntityHandling property.
3371         * XmlValidatingReader.cs : Share XmlResolver with XmlTextReader.
3372         * XmlReader.cs,
3373           XmlTextReader.cs : Added new NET_2_0 members.
3374         * XmlElement.cs : Removed extra lines (caused by XmlTextWriter bugs).
3375         * XmlEntityReference.cs : Forgot to add, the real fix by Boris.
3376
3377 2004-01-23  Atsushi Enomoto <atsushi@ximian.com>
3378
3379         * XmlWriter.cs, XmlTextWriter.cs :
3380           Several namespace related fixes.
3381           - Current element's NamespaceURI should be immediately available
3382             after the call of WriteStartElement() for LookupPrefix(), so 
3383             AddMissingElementXmlns() only affects on output. This is 
3384             now identified by shouldCheckElementXmlns field.
3385           - Attribute's overraped xmlns should be ignored for LookupPrefix(),
3386             Especially, when the owner element is written with the default
3387             namespace. HOWEVER, the attribute should be *written*. This is
3388             identified by shouldAddSavedNsToManager field.
3389           - In AddMissingElementXmlns(), non-empty prefix namespace was not
3390             checked user-written attributes.
3391           - XmlWriter.WriteAttributeString() never supplies namespace URI for
3392             xmlns attributes for other versions than NET_1_0. Instead, added
3393             ns check logic in WriteStartAttribute() only with NET_1_0.
3394           - WriteEndAttribute() should reject zero-length namespace for 
3395             non-default xmlns declarations.
3396           - LookupPrefix() should reject argument null and empty.
3397
3398         (added 2004-01-24 : forgot to mention more)
3399           - WriteAttributeString() w/o namespace should supply null, not ""
3400           - Added .NET 1.2 members.
3401           - Regard any name with "xml" prefix as in "namespace for XML".
3402
3403 2004-01-22  Atsushi Enomoto <atsushi@ximian.com>
3404
3405         * XmlElement.cs : Reverted previous fix since it broke monodoc web 
3406           service.
3407
3408 2004-01-20  Atsushi Enomoto <atsushi@ximian.com>
3409
3410         * XmlNode.cs : When adding a node to child list, it should reject its
3411           ancestors. Patch by Boris Kirzner.
3412         * XmlNodeReader.cs : Related fix to the fix above. It should not move
3413           to children of XmlEntityReference nodes.
3414         * XmlTextWriter.cs : FixedWriteStartElement() not to write default
3415           namespace when ns is null (while ns is "", it writes default ns).
3416         * XmlElement.cs : Fixed WriteTo() to call WriteStartElement(localName)
3417           when NamespaceURI is an empty string.
3418
3419 2004-01-14  Atsushi Enomoto <atsushi@ximian.com>
3420
3421         * XmlAttribute.cs : when set a value, it is no longer default 
3422           (even if the value is the same as default value).
3423         * XmlAttributeCollection.cs : Remove() should recover default attribute
3424           value to default, not specified value.
3425           Patch by Boris Kirzner (modified a bit)
3426         * XmlDocument.cs : Reference to undeclared entity is not allowed in
3427           Load(), while allowed in ReadNode(). Added such distinguishing logic.
3428
3429 2004-01-13  Atsushi Enomoto <atsushi@ximian.com>
3430
3431         * XmlValidatingReader.cs : Throw exception only in case of errors.
3432           Added NET_2_0 Evidences property.
3433
3434 2004-01-12  Atsushi Enomoto  <atsushi@ximian.com>
3435
3436         * XmlElement.cs : Fixed .ctor(). Default attribute was not treated as
3437           Specified = false. Patch by Boris Kirzner.
3438
3439 2004-01-11  Atsushi Enomoto <atsushi@ximian.com>
3440
3441         * XmlException.cs : Fixed incorrect .ctor signature.
3442         * XmlParserInput.cs : Fixed in sync with the above fix.
3443
3444 2004-01-08  Atsushi Enomoto  <atsushi@ximian.com>
3445
3446         * XmlAttribute.cs, XmlElement.cs : 
3447           Fixed incorrect protected .ctor modification.
3448
3449 2004-01-08  Nick Drochak <ndrochak@ieee.org>
3450
3451         * DTDValidatingReader.cs: Removed unused variable
3452         
3453 2004-01-07  Atsushi Enomoto  <atsushi@ximian.com>
3454
3455         * XmlNamespaceManager.cs : Implemented .NET 1.2 methods that take
3456           atomizedNames argument.
3457         * XmlTextReader.cs : Use new namespace manager methods.
3458           Reduced NameTable.Add().
3459         * DTDObjectModel.cs : fixed incorrectly commented-out line.
3460
3461 2004-01-07  Atsushi Enomoto  <atsushi@ximian.com>
3462
3463         * XmlAttribute.cs, XmlDocument.cs, XmlElement.cs :
3464           set_Prefix should atomize to name table.
3465           Avoided extraneous atomization attempt a bit.
3466
3467 2004-01-07  Atsushi Enomoto  <atsushi@ximian.com>
3468
3469         * DTDObjectModel.cs, DTDReader.cs, XmlSecureResolver.cs :
3470           avoiding obvious exception.
3471         * DTDReader.cs, XmlTextReader.cs : Some optimization. 
3472           Avoided extraneous PeekChar() and reduced name string creation.
3473
3474 2004-01-05  David Sheldon <dave-mono@earth.li>
3475   
3476   * XmlTextReader.cs: Fixed constructors taking string url to not
3477     loose the absolute part of the path.
3478
3479 2004-01-04  Atsushi Enomoto  <atsushi@ximian.com>
3480
3481         * XmlDocument.cs : Fixed Load() to set XmlResolver correctly. Patch
3482           by Benjamin Jemlich.
3483           Assure closing XmlTextReader which are internally used.
3484
3485 2004-01-03  Atsushi Enomoto  <atsushi@ximian.com>
3486
3487         * XmlTextWriter.cs : trivial character-case fix
3488         * XmlUrlResolver.cs : It downloads network stream content at 
3489           GetEntity() call. You can try like below:
3490             for (int i=0;i<100;i++) u.GetEntity(url, null, typeof(Stream));
3491
3492 2003-12-23  Atsushi Enomoto  <atsushi@ximian.com>
3493
3494         * XmlNamedNodeMap.cs : Fixed internal SetNamedItem(node, pos) to set
3495           replacing node correctly. This fixes bug #52453.
3496
3497 2003-12-21  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3498
3499         * XmlDocument.cs, XmlElement.cs, XmlNode.cs :
3500           GetElementsByTagName() - Fixed bugzilla #52419, refactored, 
3501           and moved private implementation methods to XmlNode class.
3502
3503 2003-12-20  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3504
3505         * XmlTextWriter.cs :
3506           Element's namespace should be escaped as usual attribute.
3507
3508 2003-12-18  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3509
3510         * XmlTextWriter.cs : Indentation between xmldecl and doctype.
3511         * DTDValidatingReader.cs : AttList null reference fix.
3512
3513 2003-12-16  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3514
3515         * DTDValidatingReader.cs : Validity check and entity expansion were
3516           incorrectly mixed.
3517         * DTDObjectModel.cs, DTDReader.cs, XmlInputStream.cs :
3518           Going to remove XmlInputStream. XmlStreamReader might be replacable.
3519
3520 2003-12-15  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3521
3522         * XPathDocument2ChangedEventHandler.cs : fixed incorrect argument.
3523         * Moved UpdateEventHandler.cs and XmlUpdateEventArgs.cs to sqlxml.
3524
3525 2003-12-15  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3526
3527         * XmlTextReader.cs : BaseURI was broken. This fixes bug #52098.
3528
3529 2003-12-15  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3530
3531         * XmlUrlResolver.cs : GetEntity() does not return direct network stream
3532           that may hold up connection. Now it reads up all the content stream.
3533
3534 2003-12-12  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3535
3536         * XmlAttributeCollection.cs,
3537           XmlElement.cs : Fixed bug #51415.
3538           When adding attribute to an element using Attributes, it failed.
3539
3540 2003-12-11  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3541
3542         * XmlDocument.cs : Fixed ReadNode() to call AppendChild() to document
3543           after setting all attribute nodes. Modified ReadNode() to handle
3544           Depth comparison and error handling (!= to <). It allows MS's
3545           SgmlReader bug that returns incorrect Depth.
3546
3547 2003-12-11  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3548
3549         * XmlDocumentNavigator.cs : Fixed MoveToNextAttribute (and 
3550           MoveToNextNamespace) that might result in NullReferenceException.
3551           patch by Sanjay Gupta. This fixed bug #51941 (and possibly #51415)
3552
3553 2003-12-07  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3554
3555         * XmlUrlResolver.cs : Update with recent System.Uri change. This fixes
3556           bugzilla #51808 (patch by Jeroen Zwartepoorte, a bit modified).
3557
3558 2003-12-04  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3559
3560         * XmlTextWriter.cs : WriteComment() should block "--", not full "-->".
3561         * XmlDocumentNavigator.cs : Added null check in MoveToNextAttribute().
3562           This may fix bug #51415.
3563
3564 2003-11-28  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3565
3566         * XmlAttribute.cs : set_Prefix checks value when existing is "xmlns".
3567
3568 2003-11-28  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3569
3570         * XmlWriter.cs : patch by Gonzalo (I modified a bit). WriteNode()
3571           shouldn't expect non-empty element content. This will fix bug #48287.
3572
3573 2003-11-28  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3574
3575         * XmlTextWriter.cs : When element's namespace should be overwritten by
3576           one of its attribute, if exist as such. This fixes bug #51305.
3577
3578 2003-11-24  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3579
3580         * DTDValidatingReader.cs : Fixed ReadContent() which may result in 
3581           invalid additional Text node.
3582
3583 2003-11-24  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3584
3585         * XmlTextWriter.cs : 
3586           On WriteProcessingInstruction(), ArgumentException() is expected ;-)
3587
3588 2003-11-24  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3589
3590         * XmlTextWriter.cs :
3591           WriteProcessingInstruction() should check name validity.
3592           AddMissingElementXmlns() should allow namespace emission even if it
3593           is identical to existing one.
3594
3595 2003-11-22  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3596
3597         * XmlTextReader.cs : Fixed ReadInnerXml(). This fixes bug #51267.
3598
3599 2003-11-20 Eran Domb <erand@mainsoft.com>
3600
3601         * XmlTextWriter.cs (WriteStartAttribute) : Check if the ket already exists in the newAttributeNamespaces table 
3602           before trying to add it to the table.
3603
3604 2003-11-19  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3605
3606         * DTDValidatingReader.cs : Replaced entity should not treat whitespaces
3607           as significant.
3608         * XmlNode.cs : Removed extraneous MonoTODOs.
3609
3610 2003-11-17  Jackson Harper  <jackson@ximian.com>
3611
3612         * XPathEditor.cs: .net 1.2 only
3613         
3614 2003-11-17  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
3615
3616         * AsyncXmlTextWriter.cs, IXPathChangeNavigator.cs, IXPathEditor.cs,
3617           IXPathNavigator.cs, IXmlDataEvidence.cs, IXmlNamespaceResolver.cs,
3618           UpdateEventHandler.cs, XPathChangeNavigator.cs, XPathDocument2.cs,
3619           XPathDocument2ChangedEventAction.cs, 
3620           XPathDocument2ChangedEventHandler.cs, XPathEditor.cs,
3621           XPathNavigator2.cs, XmlChangeFilters.cs, XmlInfoItemType.cs,
3622           XmlNamespaceScope.cs, XmlNodeChangeType.cs, XmlQualifiedNameTable,cs,
3623           XmlQueryDialect.cs, XmlUpdateEventArgs.cs
3624           : Added .NET 1.2 classes (for convenience of ObjectSpaces stubbing).
3625
3626 2003-11-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3627
3628         * XmlDocumentNavigator.cs : Fixed MoveToFirstChild() and MoveToNext()
3629           to skip XmlEntityReference.
3630         * XmlTextWriter.cs : Fixed AddMissingElements() and 
3631           WriteStartAttribute() not to emit extraneous xmlns.
3632
3633 2003-11-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3634
3635         * XmlTextWriter.cs : Skip multiple xmlns when element and any of 
3636           attributes have the same xmlns values.
3637           WriteEndElement() allows open attribute (calles WriteEndAttribute()).
3638           Indentation should be inserted between ">" and "</xxx>" .
3639
3640 2003-11-02  Pedro Martínez Juliá  <yoros@wanadoo.es>
3641
3642         * XmlConvert.cs: Only parse INF/-INF/NaN. Other Infinty or NAN
3643         numbers are parsed with the respective ::Parse method.
3644
3645 2003-11-01  Pedro Martínez Juliá  <yoros@wanadoo.es>
3646
3647         * XmlConvert.cs: Revert my last change. INF and -INF must be
3648         processed here because Double::Parse and Single::Parse doesn't
3649         understand anything of parsing [-]INF.
3650
3651 2003-11-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3652
3653         * XmlDocument.cs : Save(Stream) should not close the stream.
3654
3655 2003-10-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3656
3657         * DTDReader.cs, DTDValidatingReader.cs, XmlInputStream.cs,
3658           XmlTextReader.cs : More cleanup.
3659         * XmlDocument.cs : Removed CheckName(). Code cleanup.
3660         * XmlElement.cs : .ctor() now adds default attributes (if required).
3661         * XmlAttribute.cs, XmlElement.cs, XmlEntity.cs, XmlEntityReference.cs,
3662           XmlNotation.cs : Now uses OwnerDocument's NameTable.
3663
3664 2003-10-25  Pedro Martínez Juliá  <yoros@wanadoo.es>
3665
3666         * XmlConvert.cs: Support for the sign in double and single. The
3667         processing of the infinites and nan numbers are more complex than
3668         comparing to "INF" so we must let Double::Parse and Single::Parse
3669         doing their job.
3670
3671 2003-10-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3672
3673         * DTDValidatingReader.cs : Now it handles whitespace entity as
3674           significant.
3675         * XmlConvert.cs : As to NIST testcases, exponential support on single
3676           and double floating point numbers.
3677         * XmlValidatingReader.cs : If it IsDefault, then line number and line
3678           position returns 0.
3679
3680 2003-10-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3681
3682         * DTDReader.cs,
3683           XmlConstructs.cs,
3684           XmlTextReader.cs,
3685           XmlWriter.cs : Fixed incorrect access modifier.
3686         * XmlTextWriter.cs : Imported state variable from XmlWriter.
3687         * DTDValidatingReader.cs : Removed extraneous MonoTODO.
3688         * XmlConvert.cs : Implemented ToTimeSpan().
3689           Modified ToDateTime() to reuse the same array.
3690
3691 2003-10-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3692
3693         * XmlAttributeCollection.cs : Fixed synchronization stuff.
3694         * XmlConvert.cs : Added two FromBinHexString() methods.
3695         * XmlTextReader.cs : Modified to use one of the above method.
3696         * XmlValidatingReader.cs : XsdValidatingReader.XmlResolver will be 
3697           disabled (in the next commit), so resolver won' be set to it.
3698           Attempt to validate against XDR now throws NotSupportedException.
3699
3700 2003-10-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3701
3702         * XmlChar.cs : added WhitespaceChars, used in common.
3703         * XmlConvert.cs,
3704           XmlDeclaration.cs,
3705           XmlParserInput.cs,
3706           XmlTextReader.cs,
3707           XmlTextWriter.cs : String.Trim()
3708         * XmlConvert.cs : shifted XmlConstructs to XmlChar.
3709         * XmlTextReader.cs : Implemented Normalization.
3710
3711 2003-10-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3712
3713         * XmlNode.cs : GetPrefixOfNamespace() also contained a bug similar to
3714           GetNamespaceOfPrefix() fixed at 2003-10-13.
3715         * XmlTextReader.cs : ReadBase64() should keep incomplete base64 block
3716           which remained by previous call of this method.
3717         * XmlUrlResolver.cs : Added assertion for file Uri path's absoluteness.
3718         * XmlValidatingReader.cs : Notice about intention of XDR won't be
3719           supported (at least in Mono 1.0).
3720
3721 2003-10-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3722
3723         * XmlDocument.cs : CloneNode() does not copy PreserveWhitespace.
3724         * XmlWriter.cs : Calling WriteNode() with XmlReader whose state is
3725           XmlDeclaration now calls WriteProcessingInstruction(). This fixes
3726           testcase XmlWriterTests.WriteNodeFullDocument().
3727         * XmlTextWriter.cs : Added LAMESPEC comments related to above.
3728
3729 2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3730
3731         * XmlDocument.cs : Fixed bugzilla #49607. Save() outputs XML 
3732           declaration even though there is no XmlDeclaration child.
3733         * XmlTextReader.cs : Fixed Init() so that ResetState() should work.
3734
3735 2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3736
3737         * XmlTextWriter.cs : Implemented WriteSurrogateCharEntity().
3738           Reverted my recent extraneous check in WriteStartAttribute().
3739
3740 2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3741
3742         * XmlNode.cs : GetNamespaceOfPrefix() should check Attributes existence.
3743           And it should throw ArgumentNullException.
3744
3745 2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3746
3747         * XmlAttribute.cs : Fixed InnerText that did not removed its content
3748           if there is two or more children.
3749         * XmlNode.cs : XmlNode.cs : Fixed bugzilla #49580 (1)to return "",
3750           (2)not to compare NodeType for detached nodes, (3)optimization to
3751           compare element's prefix.
3752         * XmlSecureResolver.cs : Removed extraneous members.
3753
3754 2003-10-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3755
3756         * Added DTDReader.cs. It is almost importation of XmlTextReader.
3757         * DTDObjectModel.cs :
3758           - More .NET-ism. Properties took place of fields.
3759           - Imported PE set from XmlTextReader. Added location info.
3760           - Added DTDEntityBase common to PE and GE.
3761           - More correct text declaration handling with new XmlTextReader.
3762         * DTDValidatingReader.cs :
3763           - Now uses entity resolving XmlTextReader to validate attributes
3764             correctly. Implemented standalone
3765           - Standalone and default related validity constraints check.
3766         * XmlImplementation.cs: Implemented HasFeature().
3767         * XmlNode.cs : Implemented Supports().
3768         * XmlNodeReader.cs : Modified to use XmlTextReader.SkipTextDeclaration()
3769         * XmlParserInput.cs : Removed extraneous members.
3770         * XmlTextReader.cs :
3771           - All DTD related functionality now goes to DTDReader.cs
3772           - It became old simple TextReader input style.
3773           - Implemented GetRemainder().
3774           - Implemented ReadBase64(), ReadBinHex() and ReadChars(), using 
3775             additional new private method ReadUntilEndTag().
3776           - Removed incomplete MaybeTextDecl and added SkipTextDeclaration().
3777             ReadXmlDeclaration() now became simple.
3778           - More strict entity reference check at SetEntityReferenceProperty()
3779           - Removed extraneous members.
3780         * XmlWriter.cs : WriteNode(XmlNodeType.None) does not raise error.
3781
3782 2003-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3783
3784         * XmlTextReader.cs: when we get an unexpected EOF in ReadContent, set
3785         the state before throwing the exception if depth > 0.
3786
3787 2003-10-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3788
3789         * XmlAttribute.cs : Removed extraneous MonoTODO.
3790         * XmlTextWriter.cs : Implemented WriteBinHex() and WriteChars().
3791           WriteStartElement() and WriteStartAttribute() should ignore Prefix
3792           if namespace uri is not specified.
3793
3794 2003-10-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3795
3796         * XmlDocumentFragment.cs,
3797           XmlElement.cs,
3798           XmlEntityReference.cs : Removed extraneous MonoTODO.
3799         * XmlNode.cs : Implemented Normalize().
3800         * XmlNodeReader.cs :
3801           - AttributeCount and HasAttributes should return its owner element's
3802             value, to be consistent with XmlTextReader.
3803           - Fixed Depth to reflect correct attribute/attribute-value iteration.
3804           - simplified ownerElement and HasValue.
3805           - Prefix won't return null.
3806           - MoveToElement() should also work against attribute value nodes.
3807         * XmlTextReader.cs : MoveToElement() should return false if it is
3808           positioned at element itself.
3809
3810 2003-10-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3811
3812         * XmlTextReader.cs : Improved SignificantWhitespace handling.
3813
3814 2003-10-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3815
3816         * XmlSecureResolver.cs : Implemented basic feature.
3817
3818 2003-10-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3819
3820         * XmlUrlResolver.cs : Should work with null type argument.
3821
3822 2003-10-01  Lluis Sanchez Gual <lluis@ximian.com>
3823
3824         * XmlTextWriter.cs : An attribute can require a prefix for the default
3825           namespace, so we need to store the prefix as well as the namespace.
3826
3827 2003-09-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3828
3829         * DTDValidatingReader.cs : Simplified to use 
3830           XmlSchemaUtil.GetParserContext().
3831         * XmlValidatingReader.cs : ValidationType.Auto should always use
3832           XsdValidatingReader because xsi:schemaLocation might be used.
3833
3834 2003-09-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3835
3836         * XmlTextReader.cs : Attribute value token properties were incorrectly
3837           set by the linked node.
3838
3839 2003-09-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3840
3841         * XmlDocumentNavigator.cs : Fix for bugzilla #48931. MoveToRoot() now
3842           considers such case that target node was not adapted to the document.
3843         * XmlNamespaceManager.cs : GetEnumerator() missed the last pair.
3844         * XmlTextWriter.cs : use 'as'  instead of 'try..catch'.
3845
3846 2003-09-25 Ben Maurer  <bmaurer@users.sourceforge.net>
3847
3848         * XmlNode.cs (XPathNodeType): Give more useful debugging message.
3849         * XmlDocumentNavigator.cs (MoveToPrevious): Needs same checks as
3850         in MoveToNext.
3851
3852 2003-09-23  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3853
3854         * XmlNamespaceManager.cs: Rewrote PopScope() because its namespace
3855           recovery was still not enough. Fixed GrowScopes() (incorrect index).
3856
3857 2003-09-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3858
3859         * XmlTextReader.cs : 
3860           - Fix for bugzilla #48337 (containing Ben's advice on that).
3861           - Added internal XmlTokenInfo classes. Nodes are now handled as token 
3862             objects (linked node, attributes and attribute values). Most of the
3863             node state properties and iterating methods are changed to refer to
3864             the token classes (except for value builder availability). Removed
3865             fields which are never used. CompileDTDSubset() is changed in
3866             reflection to nodeType field removal.
3867           - Fixed Depth that should vary in moving between attributes and/or
3868             reading attribute values.
3869           - LineNumber and LinePosition now returns more correct location.
3870           - Fixed Value that should still return true if its value is an empty
3871             attribute value string.
3872           - EntityValue is checked WFC constraints even thoug it is not used.
3873           - All .ctor() now initializes ReadState as Initial.
3874           - Read() should be available for attribute value constructor.
3875         * XmlAttribute.cs : set_InnerXml() now calls reader's Read().
3876
3877 2003-09-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3878
3879         * XmlNamespaceManager.cs: PopScope() must retain those namespaces which
3880           are added in the scope before PushScope() was called.
3881
3882 2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>
3883
3884         * XmlNamespaceManager.cs: Rewrote. Uses arrays, rather than linked
3885         lists and removes uses of Hashtable. Results in huge speed gains.
3886
3887 2003-09-19 Ben Maurer  <bmaurer@users.sourceforge.net>
3888
3889         * XmlConvert.cs: NaN.ToString () != INF.
3890
3891 2003-09-14  Lluis Sanchez Gual  <lluis@ximian.com>
3892
3893         * XmlTextWriter.cs: Attributes that have a namespace must be always
3894           prefixed.
3895
3896 2003-09-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3897
3898         * XmlTextWriterOpenElement.cs : Changed to receive prefix and localName
3899           in .ctor().
3900         * XmlTextWriter.cs : Changed to use above XmlTextWriterOpenElement.
3901           Changed xmlns adding scheme. In detail, 1) WriteStartElement does not
3902           add Namespaces immediately, but adds at AddMissingElementXmlns so 
3903           that we don't have to have extra check than namespaceManager's
3904           LookupPrefix(). 2) Removed writtenAttributes for performance reason
3905           since it is no more required.
3906
3907 2003-09-10  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3908
3909         * XmlDocument.cs : patch by Jonathan Hogg. Fixed CreateAttribute()
3910           that handled xmlns attributes inproperly.
3911
3912 2003-09-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3913
3914         * XmlNamespaceManager.cs : GetEnumerator() should return all of the
3915           available pairs (of prefix and namespace).
3916         * XmlQualifiedName.cs : Quick fix for NullReferenceException in case
3917           of name (or ns) is null. (The description of the immediate previous 
3918           changes will be inserted below.)
3919         * XmlTextWriter.cs : Fixed WriteDocType(). Removed CheckValidName().
3920         * XmlUrlResolver.cs : Changed not to call WebClient.Dispose() which
3921           will release resources it had allocated.
3922
3923 2003-09-01 Ben Maurer  <bmaurer@users.sourceforge.net>
3924
3925         * XmlDocument.cs (Save): use the encoding of the document, if
3926         available.
3927
3928 2003-08-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3929
3930         * XmlValidatingReader.cs : Implemented SchemaType. Added support for
3931           ValidationType.Schema. Added support for XmlResolver. Fixed 
3932           ReadTypedValue() not to consume EndElement.
3933
3934 2003-08-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3935
3936         * XmlDocumentNavigator.cs : Fixed MoveToFirstNamespace() that arose
3937           infinite loop.
3938         * XmlNamespaceManager.cs : Renamed AtomStrEq to AtomicStringEquals.
3939           Commented out Console.Error.WriteLine().
3940         * XmlUrlResolver.cs : Fixed ResolveUri() and GetEntity() to support
3941           escape and unescape for relative URI string.
3942
3943 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
3944
3945         * XmlParserContext.cs: Make each context inherit next.
3946
3947 2003-08-18 Ben Maurer  <bmaurer@users.sourceforge.net>
3948
3949         * XmlChar.cs (IsWhitespace): Spare enumerator allocation.
3950         * XmlTextWriter.cs (WriteWhitespace): Enumerators are very high in
3951         fat, use low-fat loops instead. Even better, call the function
3952         inside XmlChar for code reuse.
3953         * HighWaterStack.cs (added): New class that acts like a Stack, but
3954         helps with memory allocation.
3955         * XmlNamespaceManager.cs, XmlParserContext.cs: Rewrote to use
3956         HighWaterStack.
3957         * XmlTextReader.cs: Remove orderedAttributesEnumerator variable,
3958         use a variable that stores the position in the ArrayList.
3959         
3960 2003-08-18 Ben Maurer  <bmaurer@users.sourceforge.net>
3961
3962         * XmlTextWriter.cs: Begin diet. String.Format has too much
3963         saturated fat, lets replace with the fat-free .Write ()
3964         calls. Effects best seen when Paolo's StreamWriter patch is
3965         applied.
3966
3967 2003-08-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3968
3969         * XmlNodeReader.cs : Fixed ReadAttributeValue() that might result in
3970           vanishing current node.
3971
3972 2003-08-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3973
3974         * DTDValidatingReader.cs : Added SchemaType.
3975           Read() Assures to return to element.
3976         * DTDObjectModel.cs : Removed DTDEntityDeclaration.BaseURI.
3977         * XmlReader.cs : ReadString() should be virtual in NET_1_1.
3978         * XmlTextReader.cs : 1) Depth should consider Attribute and its values.
3979           Introduced insideAttribute field to support them.
3980           2) ReadAttributeValue() should consider empty string.
3981         * XmlValidatingReader.cs :
3982           Fixed several properties which premised as if it was already read.
3983           Encoding and Namespaces now throws NotSupportedException for other
3984           than XmlTextReader.
3985           Implemented ReadTypedValue() based on IHasXmlSchemaInfo.SchemaType.
3986
3987 2003-08-10  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3988
3989         * XmlInputStream.cs : Reverted CanSeek as to return false anyway.
3990
3991 2003-08-10  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3992
3993         * DTDObjectModel.cs : added XmlResolver related members. Added
3994           invalid entity recursion logic. Added encodingdecl check on textdecl.
3995         * DTDValidatingReader.cs : It now implements IHasXmlParserContext.
3996         * XmlChar.cs : IsPubidChar() should not allow TAB(&#9;).
3997         * XmlDocumentType.cs : 1) internal CreateDocumentType() was now changed
3998           to receive DTDObjectModel to support other than XmlTextReader. 
3999           2) Most of its public member is now based on DTDObjectModel.
4000         * XmlDocument.cs : 1) Synchronous change with XmlDocumentType.
4001           2) ReadNode() now considers XmlParserContext's DTDObjectModel for
4002           other than XmlTextReader (such as XmlValidatingReader).
4003         * XmlNode.cs : code cleanup only.
4004         * XmlParserInput.cs : added HasPEBuffer, used to check illegal nesting.
4005         * XmlTextReader.cs : 1) Illegal entity reference check logic was moved 
4006           from ReadContent() to SetEntityReferenceProperties(). 2) Indentation
4007           change on ReadEntityReference(). 3) ReadAttribute() now checks
4008           reference to external entity reference. 4) Added textdecl encoding
4009           check. 5) DTDObjectModel fields are now set correctly. 6) added
4010           PERef markup nest check. 7) If PEDecl was not found, it might be WFC
4011           violation, not only be VC violation. 8) ReadEntityDecl() now receives
4012           its declared entity itself, and this method checks IsInternalSubset.
4013         * XmlValidatingReader.cs : 1) Added GetInternalPerserContext().
4014           2) ValidationType.None should be the same as Auto, not DTD (in the
4015           future it should keep xml schema's default values).
4016
4017         Pending Stuff in XmlTextReader which breaks some NUnit tests;
4018           1) SetEntityReferenceProperies() has check for illegal references.
4019           2) ReadAttribute(bool) has similar check for illegal references.
4020
4021 2003-08-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4022
4023         * DTDAutomata.cs : Fixed (modified or added) TryEndElement() of choice,
4024           sequence and oneOrMore. Fixed DTDChoiceAutomata.TryStartElement().
4025
4026 2003-08-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4027
4028         * XmlTextReader.cs : Checked and fixed all TryExpandPERef() invokation 
4029           and supplied SkipWhitespace() as they needed. It broke monodoc.
4030           Fixed ReadEntityValueDecl() to get correct value.
4031
4032 2003-08-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4033
4034         * XmlInputStream.cs :
4035           Fixed Initialize() that might result in incorrect buffer.
4036           CanRead and Position should consider buffer (especially when the
4037           stream was EOF).
4038           CanSeek should use stream's CanSeek.
4039
4040         * XmlChar.cs : added GetPredefinedEntity().
4041         * DTDObjectModel.cs :
4042           - Modified ComputeDefaultValue() to use it.
4043           - Fixed NormalizedDefaultValue not to expect parsed value as string.
4044           - ResolveExternalEntity now detects invalid standalone specification.
4045           - DTDParameterEntityDeclaration.Value is now changed to property and
4046             keep its resolved value of literal value of external value using
4047             new Resolve (XmlResolver) method (called only by XmlTextReader).
4048         * DTDValidatingReader.cs :
4049           - It now handles entity-expanded Whitespace and SignificantWhitespace
4050             correctly. Does not raise unexpected text not allowed error.
4051           - Fixed MoveToAttribute()s to move internal reader correctly, and
4052             should be able to move in other cases than on element node.
4053           - On Read()ing document type and ResolveEntity(), it now sets
4054             XmlResolver on text reader.
4055           - On ID constraints check and type verification, it now uses
4056             normalized attribute or its tokenized value(s).
4057           - Fixed ValidateAttributes() to add default values when 
4058             ValidationType is Auto.
4059         * XmlParserContext.cs : added internal Dtd setter.
4060         * XmlParserInput.cs :
4061           InsertParameterEntityBuffer() should add surrounding whitespaces.
4062           Removed unused code block.
4063         * XmlTextReader.cs :
4064           - Modified ReadReference(), ReadAttribute() and Dereference() to use
4065             XmlChar.GetPredefinedEntity().
4066           - When returning entity reference, it checks extity declaration
4067             existence in certain conditions.
4068           - ReadAttribute() now skips general entity replacement on reading
4069             entity value.
4070           - ReadText() now handles whitespace texts as XmlNodeType.Whitespace.
4071           - ReadXmlDeclaration() holds isStandalone, which might be used in
4072             entity reference's well-formedness check.
4073           - internal 'DTD' now uses XmlParserContext.Dtd.
4074           - isInternalSubset was meaningless. Now uses input stack's Count.
4075           - Added some required SkipWhitespace().
4076           - Several parameter entity handling changes.  Added GetPEValue(name).
4077             TryExpandPERef() now uses ImportAsPERef(). ReadParameterEntityDecl()
4078             now uses its Resolve() when it was external PE.  Now it uses value
4079             buffer instead of currentTag, to efficiently read (included) PE.
4080             CompileDeclaration() now uses ImportAsPERef instead of ExpandPERef().
4081             ImportAsPERef() simply inserts the value to currentInput.
4082             ReadEntityDecl() also uses value buffer.   Removed non-used methods.
4083           - Default attributes are now stored in normalized form.
4084           - Dereference() now considers non-expanding predefined entities.
4085         * XmlValidatingReader.cs : now holds Schemas, and ValidationType.Auto
4086           is more correctly supported.
4087
4088         * XmlAttributeCollection.cs :
4089           When removing default attribute, it immediately inserts the attribute.
4090           RemoveAll() should consider default (not-removable) attributes.
4091         * XmlDocument.cs :
4092           Should have its default XmlResolver. Added Internal Resolver.
4093           Some Load() should use its XmlResolver.
4094           ImportNode() should copy its children in node level, not value level.
4095           It also have to consider not to copy default attribute on importing
4096           XmlElement.
4097         * XmlDocumentType.cs : Now uses document's XmlResolver to read DTD.
4098         * XmlAttribute.cs,
4099           XmlDocumentFragment.cs.
4100           XmlElement.cs : use XmlResolver on InnerXml. Removed some MonoTODO.
4101         * XmlNodeReader.cs : GetInternalParserConext() should provide its DTD.
4102           ResolveEntity() uses XmlResolver on entityReader.
4103
4104 2003-08-07  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4105
4106         * DTDObjectModel.cs :
4107           - Added validation error check (and AddError(), Errors).
4108           - Fixed ComputeDefaultValue() to handle various references correctly.
4109           - DTDEntityDeclaration.EntityValue became property, and added
4110             LiteralEntityValue. The new one holds resolved value.
4111             Added ResolveExternalEntity(). It now required root in .ctor().
4112         * DTDValidatingReader.cs :
4113           - Now it handles namespaced attributes (as input to xsd validator).
4114           - Added XmlResolver property as usual XmlReader.
4115           - Added currentEntityHandling field so that it can stand changing
4116             XmlValidatingReader's EntityHandling dynamically.
4117           - FilterNormalization() now requires name for getting datatypes and
4118             can stand for non-current attribute normalization.
4119           - Splitted ReadContent() from Read() that can be called recursively
4120             when expanding entities.
4121           - Now handles Entity not found error *after* resolution of entities,
4122             as MS.NET does.
4123           - Read()ing DTD checks its Errors and raises validation error events.
4124             In some situations, DTD parsing may detect VC error, not WFC error.
4125             It also strictly checks NData existence.
4126           - Handling of entity-resolved text is a bit changed and Read()ing
4127             element, endElement, cdata now changed to switch collecting text
4128             and collected text.
4129           - content type ANY should allow texts.
4130           - Added enumerated attribute validity check.
4131           - Added Name/Names creation rule check for ID/IDREF/IDREFS.
4132           - Added entity existence check for ENTITY/ENTITIES attributes.
4133           - Added NMTOKEN creation rule check for NMTOKEN/NMTOKENS.
4134           - Fixed to remove extraneous #REQUIRED check.
4135           - Contributing default attribute is now only applied to the case
4136             ValidationType is DTD or None.
4137           - ResolveEntity() now handles external entities.
4138             Added Mono.Xml.IXmlParserContext interface support.
4139         * XmlDocumentType.cs : Fixed to use BaseURI to build DTD model.
4140         * XmlTextReader.cs :
4141           - Fixed ReadAttributeValue() to reset returnEntityReference.
4142           - Added bool MaybeTextDecl only for ResolveEntity().
4143           - Fixed ReadWhitespace(). In fact its value is considered even if it
4144             is in the end of the XML.
4145           - Fixed ReadXmlDeclaration(). Now skips text declaration.
4146           - CompileDTDSubset() now checks IGNORE/INCLUDE section end balances.
4147           - ReadContentSpec() should set OrderType = OR for mixed model.
4148             Fixed to set content element name correctly.
4149           - ImportAsPERef() now skips Text declaration.
4150           - Type of enumerated default attributes shold be string.
4151           - Undeclared PE error is now handled as DTD's VC error, not
4152             XmlTextReader's WFC error.
4153         * XmlValidatingReader.cs : BaseURI should provide that of 
4154           original XmlReader's when read was not started yet.
4155           Fixed XmlResolver to delegate to DTDValidatingReader.
4156
4157         * XmlAttributeCollection.cs : Acquiring attList declaration is
4158           insufficient especially in case of lack of elementdecl.
4159         * XmlChar.cs : (Maybe this is compact than XmlConstructs.)
4160           added IsWhitespace(),IsNCNameChar(),IsName(),IsNCName(),IsNmToken(),
4161           IsPubid(). Copies IsValidIANAEncoding() from XmlConstructs.
4162
4163         * XmlInputStream.cs : Removed "version" declaration check. It should
4164           be done by XmlTextReader.
4165
4166         * XmlNodeReader.cs : added internal GetInternalParserContext() and now
4167           it can be used in XmlValidatingReader.ResolveEntity().
4168           ResolveEntity() sets XmlTextReader.MaybeTextDecl.
4169
4170 2003-08-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4171
4172         * DTDValidatingReader.cs :
4173           Added full ExpandEntities support for text node and entity reference
4174           node (although require many usage tests). Almost all methods and
4175           properties now have currentTextValue != null check, that field means
4176           that there are cached (entity-resolved) text.
4177           Implemented default attribute aware XmlLang and XmlSpace.
4178         * XmlNodeReader.cs : ResolveEntity() should not require DTD.
4179
4180 2003-08-03  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4181
4182         * DTDValidatingReader.cs,
4183           XmlNodeReader.cs,
4184           XmlReader.cs,
4185           XmlTextReader.cs,
4186           XmlValidatingReader.cs : fixed pragma USE_VERSION_1_0 to NET_1_0.
4187
4188 2003-08-03  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4189
4190         * DTDObjectModel.cs : Added BaseURI (but not used yet).
4191           DTDAttListDeclaration.ctro() now requires root dtd object model.
4192         * DTDValidatingReader.cs : Read() now expands EntityReference if
4193           entity handling of validating reader is ExpandEntities.
4194         * XmlReader.cs,
4195           XmlTextReader.cs,
4196           XmlNodeReader.cs,
4197           XmlValidatingReader.cs : Implemented "virtual" ReadInnerXml and
4198             ReadOuterXml which are modified in MS.NET 1.1.
4199         * XmlConstructs.cs : added int version of IsValid, IsInvalid,
4200           IsContent, IsMarkup and IsNCNameStart.
4201           Fixed int version of IsXXX() to check array index range. 
4202           Added IsValidName (string).
4203         * XmlTextReader.cs :
4204           - Read() handles document with non document element as an error.
4205           - ReadText() and ReadCharacterReference() checkes illegal characters.
4206           - ReadEntityReference() checks name validity.
4207           - ReadProcessingInstruction() rejects such name that starts with
4208             "xml" ignoring case, and checks attributes more strictly.
4209           - ReadDeclaration() rejects unrecognized kind of declaration.
4210           - In many places, added "required whitespace" check in DTD markup.
4211           - DTD content model now disallows mixing use of '|' and ','.
4212
4213 2003-08-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4214
4215         * XmlDocumentFragment.cs : I missed to add it in relation to the
4216           previous XmlParserContext patch. Similar to XmlAttribute/XmlElement.
4217         * XmlNodeReader.cs : removed some TODO attributes.
4218         * DTDValidatingReader.cs,
4219           XmlValidatingReader.cs : Implemented ResolveEntity().
4220
4221 2003-07-31  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4222
4223         * XmlParserContext.cs,
4224           XmlAttribute.cs,
4225           XmlElement.cs : Added internal Dtd and new internal XmlParserContext
4226           .ctor() that takes DTDObjectModel. And then rewrote classes which 
4227           uses DTD information. Changed DocTypeName, InternalSubset, PublicId
4228           and SystemId to use DTDObjectModel.
4229         * DTDObjectModel.cs :
4230           Added DTDObjectModel.InternalSubsetHasPEReference.
4231           Added DTDEntityDeclaration.IsInternalSubset.
4232         * XmlTextReader.cs :
4233           Added internal GetInternalParserContext (to build entity reader).
4234           Added private isIntSubset to check if the DTD subset is internal or
4235           external, which might affect well-formedness constraints.
4236           Changed GenerateDTDObjectModel to return the resulting DTD model.
4237
4238         * XmlEntityReference.cs : implemented BaseURI.
4239         * XmlNodeReader.cs :
4240           - Implemented ResolveEntity() and CanResolveEntity(). In fact
4241             it leads too many changes on almost all methods and properties,
4242             since they now must be aware of entityReader.
4243           - fixed ownerElement that might be used to return from attribute 
4244             value to the element through parent attribtues.
4245           - Now changed indexer to call GetAttribute() and moved actual logic
4246             to the matching GetAttribute() methods.
4247
4248 2003-07-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4249
4250         * XmlNode.cs : fixed internal ConstructNamespaceManager() for InnerXml
4251           not to create extraneous xmlns="".
4252
4253 2003-07-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4254
4255         * DTDValidatingReader.cs : (Read,ValidateAttributes,ReadAttributeValue)
4256           attribute declaration should be got independently of elementdecl.
4257         * XmlAttribute.cs :
4258           Added internal SetDefault() to mark as default.
4259           Removed InnerText implementation that is just the same as XmlNode.
4260         * XmlDocument.cs : id shouldn't be removed from table at 'trying' to
4261           get matching elements.  ReadAttributeNode() now sets default mark.
4262         * XmlElement.cs : WriteTo() should ignore default attributes.
4263         * XmlTextWriter.cs : shuold allow valid name char such as digits.
4264
4265 2003-07-27  Piers Haken <piersh@friskit.com>
4266
4267         * XmlQualifiedName.cs : fields should never be null
4268
4269 2003-07-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4270
4271         * XmlDocumentFragment.cs : added XPathNodeType indicating Root.
4272
4273 2003-07-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4274
4275         * XmlDocument.cs (GetIdenticalAttribute): restored OwnerElement.IsRooted
4276
4277 2003-07-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4278
4279         * XmlLinkedNode.cs : added internal IsRooted.
4280
4281 2003-07-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4282
4283         * DTDValidatingReader.cs :
4284           - Added ID support in ValidateAttributes().
4285           - More refined ReadAttributeValue() support for non-expanding entity
4286             situation
4287           - It should handle LocalName, Name, Prefix, NamespaceURI and Value
4288             correctly when the reader is on each of the value nodes of an
4289             attribute. Now XmlDocument.ReadNode() should work well.
4290         * XmlDocument.cs :
4291           - added idTable, AddIdenticalAttribute(), GetIdenticalAttribute() and
4292             RemoveIdenticalAttribute()
4293           - Implemented GetElementById().
4294         * XmlAttributeCollection.cs :
4295           - added private ownerDocument property and replaced
4296             ownerElement.OwnerDocument with it.
4297           - Added AdjustIdenticalAttribute() and it is used in SetNamedItem().
4298             It calls XmlDocument.{Add|Remove}IdenticalAttribute().
4299           - Added RemoveIdenticalAttribute() and it is used in Remove().
4300             (I also added AddIdenticalAttribute() but is not used.)
4301
4302 2003-07-26  Duncan Mak  <duncan@ximian.com>
4303
4304         * XmlDocument.cs (GetIdenticalAttribute): Temporarily remove test
4305         for OwnerElement.IsRooted to fix the build..
4306
4307 2003-07-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4308
4309         * XmlDocumentType.cs :
4310           modified private DTD to dtd and added internal DTD (the same thing).
4311         * XmlElement.cs :
4312           Fixed SetAttributeNode() to check if specified attribute is already
4313           set to the other element. In fact it is W3C DOM's specification but
4314           MS.NET 1.0 failed to catch it.
4315         * XmlTextReader.cs :
4316           ReadAttributeValue() should check if the value of the attribute is
4317           already read when the whole value is entity reference.
4318           Also, Name of text nodes should be "", not "#text"
4319
4320 2003-07-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4321
4322         * XmlAttribute.cs : .ctor() shouldallow localName "xml" (not prefix)
4323           with http://www.w3.org/XML/1998/namespace.
4324         * XmlEntity.cs : patch by Aleksey Sanin. InnerText is now supported.
4325         * XmlNode.cs : InnerText should handle CDATA and whitespaces.
4326         * XmlTextReader.cs : Should allow " (#PCDATA)* " in ReadContentSpec().
4327         * XmlTextWriter.cs : Quick fix for accepting (and writing) same-named
4328           attributes (as MS.NET does). It isn't good way and I may change it.
4329
4330 2003-07-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4331
4332         * DTDObjectModel.cs : Added DTDEntityDeclarationCollection and
4333           DTDNotationDeclarationCollection and replaced Hashtables with them.
4334           Added NormalizedDefaultValue property for DTDAttributeDefinition.
4335         * DTDValidatingReader.cs :
4336           - It now reads attribute values into value collection. 
4337           - Renamed consumedDefaultAttribute to consumedAttribute, and
4338             inContent to insideContent.
4339           - GetAttribute() should allow reader's other node state than element.
4340           - MoveToNextAttribute() should move when reader is placed other than
4341             the first attribute.
4342           - HandleError() now supports ValidationType.None (i.e. does nothing).
4343           - ValidateAttribute() now collects and resolves attribute value 
4344             entity references. (On the other hand, it doesn't support
4345             EntityHandling.ExpandCharEntity.)
4346           - NodeType shouldn't return Attribute after ReadAttributeValue().
4347             Now only Text is supported, but must also support EntityReference.
4348           - Add FilterNormalization() and partially support Normalization.
4349
4350 2003-07-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4351
4352         * XmlTextReader.cs :
4353           Read() now handles parser context stuff (BaseURI, XmlLang and 
4354           XmlSpace) correctly for an empty element.
4355           Normalization property now doesn't throw an error. Will be used soon.
4356         * XmlValidatingReader.cs : added ValidationType.None support (wait for
4357           the next DTDValidatingReader update for "not firing event handler).
4358         * XmlNodeReader.cs : jun. 30th commit seems wrong. It keeps its state.
4359
4360 2003-07-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4361
4362         * DTDValidatingReader.cs :
4363           changed base class to XmlReader and implemented IXmlLineInfo members.
4364           changed .ctor() argument from event handler to validating reader.
4365           Removed some #if ... #else ... #endif blocks.
4366           Added validation event support for Read() using HandleError().
4367         * XmlValidatingReader.cs : added internal OnValidationEvent().
4368         * XmlDocument.cs : ReadNode() now checks reader's state more strictly.
4369
4370 2003-07-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4371
4372         * XmlUrlResolver.cs : applied BenM's patch for file uri problem
4373           (bug #46610).
4374
4375 2003-07-15  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4376
4377         * DTDValidatingReader.cs :
4378           added DTDObjectModel support for non-XmlTextReader XmlReader 
4379           e.g. XmlNodeReader (Read() method).
4380         * XmlDocument.cs :
4381           added internal CreateDocumentType(XmlTextReader) and moved
4382           ReadDoctypeNode() to XmlDocumentType.ImportFromDTD().
4383         * XmlDocumentType.cs :
4384           added internal .ctor(XmlTextReader, document) and ImportFromDTD().
4385         * XmlTextReader.cs :
4386           Renamed useSbForVal (valueBuilderAvailable), valSb (valueBuilder)
4387           and currentSubset (DTD).
4388           Added GenerateDTDObjectModel() (for independent doctype parsing).
4389
4390 2003-07-15  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4391
4392         * XmlAttribute.cs :
4393           .ctor() should reject xml- or xmlns-prefixed node.
4394         * XmlNamespaceManager.cs :
4395           added some xmlns validity check.
4396         * XmlNode.cs :
4397           optimized GetNamespaceOfPrefix() and GetPrefixOfNamespace() by
4398           avoiding XmlNamespaceManager creation.
4399         * XmlNodeReader.cs :
4400           doctype node should return PUBLIC and SYSTEM for its indexer, 
4401           and Value should be internal subset,
4402
4403 2003-07-12  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4404
4405         * DTDObjectModel.cs,
4406           DTDValidatingReader.cs : Completely rewrote attribute handling.
4407
4408 2003-07-12  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4409
4410         * XmlAttribute.cs,
4411           XmlElement.cs : Fixed CloneNode() for bug #46129.
4412         * XmlDocument.cs : Fixed MakeReaderErrorMessage that specified invalid
4413           String.Format arguments, and basically XmlException.ctor(
4414           IXmlLineInfo, message) seems good idea to use.
4415         * XmlTextReader.cs :
4416           - Fixed .ctor(Stream, XmlNodeType, XmlParserContext) which had
4417             required non-null context which don't have to exist.
4418           - Added state check. Introduced 'currentState' and 'maybeTextDecl' 
4419             (for external entity) and removed hasEnteredDocument. Added 
4420             state-check logic to ReadStartTag(), ReadEndTag(), ReadText(),
4421             ReadCData(), ReadDoctypeDecl() and ReadWhitespace().
4422           - Replaced throw ReaderError() with throw new XmlException() and
4423             fixed that some error hadn't thrown, only created.
4424           - ResetState() should re-initialize existing private members other 
4425             than some specified fields.
4426           - Private AddAttribute() should check if the same-named attribute 
4427             already exists.
4428         * DTDObjectModel.cs : Additive declaration for ATTLIST is availabe now.
4429
4430 2003-07-09  Lluis Sanchez Gual <lluis@ximian.com>
4431
4432         * XmlTextReader.cs : Implemented ResetState() method.
4433
4434 2003-07-06  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4435
4436         * XmlElement.cs : IsEmpty has removed attributes since it incorrectly
4437           used RemoveAll().
4438
4439 2003-07-06  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4440
4441         * XmlDocument.cs : Load(string filename) should close its stream.
4442           Small change for the latest DTDObjectModel change.
4443         * XmlTextReader.cs : Changed for the latest DTDObjectModel change (all
4444           changed methods are only related to DTD stuff).
4445           Now uses XmlSchemaDatatype for attribute type definition.
4446         * XmlValidatingReader : initial (limited) support for DTD validation.
4447           It can handle only XmlTextReader.
4448         * DTDObjectModel.cs : changed radically for initial validation support.
4449         * added DTDAutomata.cs and DTDValidatingReader.cs.
4450
4451 2003-07-06  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4452
4453         * XmlElement.cs : Removed extraneous xmlns output support (it should
4454           be done by XmlTextWriter).
4455         * XmlNode.cs : InsertBefore() now checks validity of the newChild (and
4456           most of the changes are in fact indentation changes).
4457         * XmlWriter.cs : WriteAttributes() now can write entity references.
4458           WriteNode() now writes xmldecl attributes correctly.
4459           Removed namespaceManager and xmlns check logic, since it should be 
4460           done by individual XmlTextWriter.
4461         * XmlTextWriter.cs : Patch by Jerome. AddMissingElementXmlns () has
4462           written multiple xmlns declarations.
4463           Moved namespaceManager from abstract XmlWriter.
4464           Write{Start|End}Attribute() and WriteString() now checks xmlns 
4465           attribute value. (MS.NET holds value only with this write method).
4466
4467 2003-07-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4468
4469         * XmlDocument.cs : removed xmlReader.Close() from Load(XmlReader).
4470
4471 2003-06-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4472
4473         * XmlDocumentNavigator.cs : Implemented MoveTo*Namespace() and 
4474           essentially changed most of the property handling (e.g. removed attribute 
4475           enumerator and it now became really cloneable).
4476         * XmlNodeReader.cs : ReadInnerXml() changes its state as error
4477           when the method is called at Initial state.
4478
4479 2003-06-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4480
4481         * XmlDocumentNavigator.cs : Fixed IsEmptyElement. It treats <foo></foo>
4482           as non-empty, and XmlElement's IsEmpty is designed as such.
4483           Fixed MoveToFirst() and MoveToNext() not to move to xmldecl nor 
4484           doctype node. 
4485         * XmlNode.cs : Fixed XPathNodeType. It should throw an exception
4486           instead of returning undefined enum value.
4487           Modified some code comments.
4488         * XmlWriter.cs : Fixed WriteNode () to use WriteFullEndElement() 
4489           when XmlReader's node is not at empty element or at EndElement. 
4490           Fixed XmlDeclaration's standalone check.
4491
4492 2003-06-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4493
4494         * XmlTextReader.cs : removed CRLFs. Fixed private InitializeContext()
4495           to use known Uri way (used in XmlUrlResolver) instead of UriBuilder.
4496
4497 2003-06-20  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4498
4499         * XmlInputStream.cs : quick fix for public ctor() BaseURI bug.
4500
4501 2003-06-20  Ben Maurer <bmaurer@users.sourceforge.net>
4502         
4503         * XmlTextReader.cs: Reduces memory allocation when the reader is
4504         not queried for some values.
4505         * NameTable.cs: Now uses a custom hashtable to implement. As a
4506         result, when Get (char[], int, int) is called, a string is only
4507         allocated if it is actually a new entry.
4508         (StrEqArray) Compares a string and a char[]
4509         (AddEntry) Adds a new entry to the hashtable
4510         (Entry) Represents a hashtable entry.
4511
4512 2003-06-20  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4513
4514         * XmlUrlResolver.cs : several ResolveUri() fix. e.g. for external URIs.
4515
4516 2003-06-16  Ben Maurer <bmaurer@users.sourceforge.net>
4517         * XmlUrlResolver.cs: really fixed #44231
4518
4519 2003-06-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4520
4521         * XmlNodeReader.cs : fixed MoveToNextAttribute(). In some cases 
4522           this method set current node null.
4523         * XmlTextReader.cs : fixed GetAttribute (name, ns), which returned
4524           String.Empty instead of null (expected value).
4525         * XmlTextReader.cs,
4526           XmlUrlResolver.cs,
4527           XmlInputStream.cs : fixed BaseURI problem (bug #44231).
4528
4529 2003-06-15  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4530
4531         * XmlNodeReader.cs : this [name] and this [name, ns] (and
4532           GetAttribute() methods in turn) returns null instead of String.Empty.
4533         * XmlTextWriter.cs : WriteStartAttribute() should try to use specified
4534           prefix before auto-generating prefixes.
4535           Implemented WriteBase64().
4536
4537 2003-06-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4538
4539         * XmlNodeReader.cs : LookupNamespace () has refered invalid current
4540           node for attributes. Modified to use private "document" property.
4541
4542 2003-06-10  Lluis Sanchez Gual <lluis@ximian.com>
4543
4544         * XmlTextWriter.cs: when adding an attribute with a namespace, a prefix must be automaticaly
4545           generated, and a namespace declaration must be added. 
4546         * XmlWriter.cs: the namespace for the prefix xmlns must be http://www.w3.org/2000/xmlns/
4547
4548 2003-06-10  Zoltan Varga  <vargaz@freemail.hu>
4549
4550         * XmlAttribute.cs: Accept a null prefix or namespaceURI.
4551
4552 2003-06-10  Duncan Mak  <duncan@ximian.com>
4553
4554         * XmlDocumentNavigator.cs (GetNode): Make it implement
4555         IHasXmlNode.
4556
4557 2003-06-05  Lluis Sanchez Gual <lluis@ideary.com>
4558
4559         * XmlTextWriter.cs : Fixed bug. After calling for example WriteStartElement ("pref","ln","ns");
4560           a call to LookupPrefix ("pref") when still writting attributes should 
4561           return "ns", and it didn't.
4562
4563 2003-06-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4564
4565         * XmlDocumentNavigator.cs : quick fix for MoveToFirstChild().
4566         * XmlConvert.cs : fixed VerifyNCName() to check correctly.
4567
4568 2003-06-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4569
4570         * XmlDocumentNavigator.cs : Compute document node one time.
4571           MoveToFirstChild() should move to PIs and comments.
4572
4573 2003-05-30  Miguel de Icaza  <miguel@ximian.com>
4574
4575         * XmlReader.cs (ReadStartElement): Improve error message.  
4576
4577 2003-05-28  Lluis Sanchez Gual <lluis@ideary.com>
4578
4579         * XmlTextReader.cs : MoveToAttribute methods must set the enumerator to the right
4580           position, since MoveToNextAttribute may be called after it. 
4581           SetProperties(): attributes do not "inherit" the namespace.
4582         * XmlDocument.cs: ReadNode(), ReadAttributeNode(): must keep the current reader position.
4583
4584 2003-05-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4585
4586         * NameTable.cs : Add() sets the given name string interned.
4587         * XmlParserContext.cs : added internal PushScope() and PopScope() to
4588           hold stacks of xml:base, xml:lang and xml:space.
4589         * XmlTextReader.cs : implemented XmlLang and XmlSpace (only as a
4590           property for stacked attributes). Renamed Initialize() to Initialize-
4591           Context(). Modified to use XmlParserContext.PushScope()/PopScope().
4592
4593 2003-05-26  Lluis Sanchez Gual <lluis@ximian.com>
4594
4595         * XmlReader.cs: Little fix to WriteAttributeString()
4596
4597 2003-05-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4598
4599         * XmlAttribute.cs, XmlCharacterData.cs, XmlComment.cs, XmlDocument.cs,
4600           XmlDocumentFragment.cs, XmlElement.cs, XmlEntity.cs, XmlLinkedNode.cs,
4601           XmlNode.cs, XmlNotation.cs, XmlProcessingInstruction.cs, XmlReader.cs,
4602           XmlSignificantWhitespace.cs, XmlText.cs, XmlWhitespace.cs:
4603           Reverted the recent accessibility mistake (5/16).
4604         * XmlDocument.cs, XmlNode.cs : moved actual CreateNavigator() logic 
4605           from XmlNode to XmlDocument.
4606
4607 2003-05-18  Lluis Sanchez Gual <lluis@ideary.com>
4608
4609         * XmlQualifiedName.cs : Fixed bug in equality operator.
4610
4611 2003-05-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4612
4613         * XmlTextWriter.cs : patch by Jonathan Hogg. Flush() does not close
4614           any open attributes or elements. WriteWhitespace() checks state and
4615           closes start tag.  Fixed WriteStringInternal() to replace CR/LF chars
4616           when it is called inside attribute value.
4617         * XmlException.cs : added .NET 1.1 .ctor.
4618         * added XmlSecureResolver.cs (only stubbing).
4619         * XmlAttribute.cs : set_InnerXml() should remove children.
4620         * XmlAttribute.cs,
4621           XmlElement.cs,
4622           XmlDocumentFragment.cs,
4623           XmlDocument.cs : removed XmlTextReader reuse (It was buggy stuff).
4624         * XmlNode.cs : RemoveAll() should also remove all attributes.
4625         * XmlTextRader.cs : .ctor() for attribute value reader should add
4626           quotations at initialization, since it requires quote chars.
4627         * XmlWriter.cs : WriteAttributeString() more correct xmlns check.
4628
4629 2003-05-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4630
4631         * changed XPathNodeType modifier to internal *protected* override.
4632         * XmlAttribute.cs : .ctor() now checks name validity e.g. xmlns.
4633         * XmlAttribute.cs, XmlElement.cs : set_Prefix checks NCName validity.
4634         * XmlAttributeCollection.cs : removed some incorrect TODO attributes.
4635         * XmlDocument.cs ; CreateAttribute(name) now auto-completes xmlns NSURI
4636           when the argument is "xmlns".
4637         * XmlElement.cs : more compliant IsEmpty support. See also WriteTo().
4638         * XmlNamespaceManager.cs : added initial "xml" and "xmlns" namespaces.
4639         * XmlNode.cs : ser_InnerXml() throws InvalidOperationException.
4640         * XmlNodeReader.cs : LookupNamespace() refactory. Fixed ReadInnerXml()
4641           not to set error state for non-started XmlNodeReader.
4642         * XmlTextReader.cs : fixed ReadAttributeValue() not to reset state.
4643           BaseURI support. Fixed Initialize() to handle Attribute correctly.
4644           SetProperty for attribute auto-completes xmlns NSURI.
4645           Attribute and whitespace handling became more correct.
4646           Don't parse external DTD if XmlResolver is null.
4647         * XmlTextWriter.cs : implemented WriteEntityRef().
4648           WriteStartAttribute() checks if ns does not equal to that of xmlns.
4649         * XmlWriter.cs : trivial refactoring (WriteNode() xmldecl output).
4650
4651 2003-05-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4652
4653         * XmlConvert.cs : IsInvalid() Now uses XmlConstructs.IsName(Start).
4654           EncodeName() now correctly encodes invalid names.
4655           Result string of ToString(DateTime) contains "fffffff".
4656
4657 2003-04-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4658
4659         * XmlElement.cs : fixed IsEmpty (removed private field isEmpty).
4660         * XmlNodeReader.cs : Fixed AttributeCount, each this[] (indexers),
4661           MoveTo*Attribute(),
4662           Fixed this[] to work correctly against XmlDeclarations.
4663           Fixed ReadInnerXml() and ReadOuterXml() to call Read() correctly.
4664           (which may prevent validations etc.)
4665         * XmlReader.cs,
4666           XmlNodeReader.cs,
4667           XmlTextReader.cs : Fixed ReadString() to be compliant with each
4668           other.
4669         * XmlTextReader.cs : ReadInnerXml() now moves to next node correctly.
4670
4671 2003-04-27  Pedro Martínez Juliá  <yoros@wanadoo.es>
4672
4673         * XmlNode.cs: ensure to get a valid Uri in BaseUri when loading the
4674         source document from a file.
4675
4676 2003-04-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4677
4678         * XmlAttribute.cs : fixed WriteTo() and WriteContentTo() to write
4679           content EntityReference correctly.
4680         * XmlNodeReader.cs : many fix for EndElement handling (AttributeCount,
4681           HasAttributes, indexers, MoveTo*Attribute() and Read() ).
4682           Modified Skip() to call Read () explicitly.
4683         * XmlTextReader.cs :
4684           Fixed ReadInnerXml() which ignored EndElement token in certain cases.
4685           Implemented MoveToAttribute (local, ns), and modified GetAttribute()
4686           in relation to this change.
4687           Attributes for XmlDeclaration are now correctly set.
4688         * XmlTextWriter.cs : WriteRaw() is now different from WriteString().
4689           Simplified WriteAttributes() for XmlDeclaration.
4690
4691 2003-04-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4692
4693         * XmlTextReader.cs : fixed ReadInnerXml(). it was inconsistent with
4694           Depth property fix.
4695
4696 2003-04-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4697
4698         * XmlDocument.cs : fixed Load() to set baseURI correctly.
4699         * XmlReader.cs : patch by Gonzalo. Fixed not to skip XmlDeclaration.
4700         * XmlTextReader.cs :
4701           fixed Depth. When it's on StartElement, Depth was already incremented.
4702           fixed private SaveProperty(), which moved away its saved properties
4703           when MoveToElement was called repeatedly.
4704         * XmlTextWriter.cs : fixed WriteQualifiedName() to close start tag.
4705         * XmlWriter.cs :
4706           WriteAttributes() refactory (for XMLDecl).
4707           WriteNode() don't Read() when the reader is Initial state, let other
4708           invokation to Read(). In case of Element, it should write entire
4709           element. In case of Attribute, it shouldn't Read().
4710           WriteStartDocument() should omit standalone decl. when there is no
4711           explicit value.
4712
4713 2003-04-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4714
4715         * XmlReader.cs: reverted last patch. It breaks System.Configuration 
4716         because 1. it considers XmlDeclaration as content and 2. always
4717         returns XmlNodeType.None.
4718         
4719
4720 2003-04-23  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4721
4722         * Added missing ChangeLog of 4/4/2003.
4723         * XmlTextWriter.cs : patch by Erik. fixed WriteQualifiedName.
4724           (write prefix instead of ns.)
4725         * XmlInputStream.cs : file access mode fix (FileAccess.Read was missing)
4726         * XmlTextReader.cs : modified to call Read() instead of ReadContent().
4727           (It may be required for decorated reader such as XmlValidatingReader.)
4728           Changed Read() error message for mismatch end tag.
4729         * XmlDocument.cs : (ReadNode) friendly message for mismatch EndElement.
4730         * XmlReader.cs : Corrected misinterpreted MoveToContent() method.
4731
4732 2003-04-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4733
4734         * XmlDocument.cs : Load() now closes the given XmlReader.
4735           Don't allow creation of XmlTextReader for Doctype. (workaround.)
4736         * XmlInputStream.cs : It now closes its internal stream explicitly.
4737         * XmlNode.cs : RemoveChild() bugfix for removing LastLinkedChild.
4738         * XmlNodeReader.cs : GetAttribute() bugfix for not-present attribute.
4739         * XmlParserInput.cs : added Close() method.
4740         * XmlReader.cs : MoveToContent() should (1) not Read in case of empty
4741           element, and (2) MoveToElement() in case of attribute.
4742         * XmlTextReader.cs : Close() now actually closes source TextReaders.
4743
4744 2003-03-26  Duncan Mak  <duncan@ximian.com>
4745
4746         * XmlTextWriter.cs (Write): A patch from Atsushi to fix
4747         prematurely ending the write, or something like that. It was
4748         causing us to chop off the end of the document when we're trying
4749         to generate XML Schemas.
4750
4751 2003-03-23  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4752
4753         * XmlTextReader.cs : implemented ReadString().
4754           fixed ctor(string, XmlNodeType, XmlParserContext) - don't raise
4755           null reference exception when context is null.
4756         * XmlNodeReader.cs : fixed ReadString() - should ignore attributes etc.
4757           fixed Read() - when positioned at EndElement, it didn't progress.
4758           fixed HasAttribute - it didn't return false in all cases.
4759           fixed Name and LocalName - only limited type of nodes return names.
4760           fixed AttributeCount - in some cases it threw null ref exception.
4761
4762 2003-03-22  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4763
4764         * XmlTextWriter.cs : WriteStartDocument doesn't set hasRoot=true, then
4765           WriteEndDocument without root element now raises an error correctly.
4766         * XmlDocumentNavigator.cs : (MoveToFirstChild) fixed bugzilla #36672.
4767           implemented BaseURI, NameTable, XmlLang, GetAttributes, GetNamespace,
4768           MoveToAttribute.
4769
4770 2003-03-22  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4771
4772         * XmlElement.cs : RemoveAttribute now don't throws when specified
4773           attribute does not exist.
4774
4775 2003-03-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4776
4777         * XmlNode.cs : add descriptions for some node type error.
4778
4779 2003-03-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4780
4781         * XmlNodeArrayList.cs, XmlNodeListChildren.cs : bugzilla #39920 fix.
4782
4783 2003-03-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4784
4785         * XmlDeclaration.cs : quick fix, not to use regex for set_Value.
4786
4787 2003-03-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4788
4789         * XmlTextReader.cs : Fixed wrong notationdecl SYSTEM id read.
4790         * XmlInputStream.cs : Should allow versionless input stream entity.
4791
4792 2003-03-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4793
4794         * added XmlParserInput.cs for multi xml document sources.
4795         * added DTDObjectModel.cs (maybe temporary).
4796         * XmlTextReader.cs :
4797           + fixed ctor to use XmlStreamReader. Allowed null XmlParserContext.
4798           + Some members such as LineNumber, ReadChar now uses XmlParserInput.
4799           + added support for Namespaces (namespace-ignorant parse available).
4800           + added support for XmlResolver.
4801           + replace SetReaderContext()/SetReaderFragment() with Initialize().
4802           + use NameTable in CreateNameString.
4803           + fixed ReadCData(). Now reads "]]]>" correctly.
4804           + support for DTD parse.
4805           + Read() now throws an error when it reached EOF while Depth > 0.
4806         * XmlAttribute.cs,
4807           XmlDocumentFragment.cs,
4808           XmlElement.cs : fix related to the changes of XmlTextReader.Initialize
4809         * XmlDocument.cs : ReadNode() now reads DocumentType.
4810         * XmlDocumentType.cs : implemented Entities, Notations, WriteTo().
4811         * XmlEntity.cs,
4812           XmlNotation.cs : added override LastLinkedChild (for doctype node).
4813         * XmlNamedNodeMap.cs : Remove() raises an error if target is read only.
4814         * XmlElement.cs : bugfix for node removal of set_InnerXml.
4815         * XmlNode.cs : added insertBeforeIntern() derived from InsertBefore().
4816           (to append child XmlEntity into XmlDocumentType correctly.)
4817         * XmlInputStream.cs : fixed to access file with FileAccess.Read.
4818
4819 2003-03-15  Duncan Mak  <duncan@ximian.com>
4820
4821         * XmlElement.cs (Name): Only append prefix + ':' when prefix is
4822         neither String.Empty nor null. Thanks to Simon Guindon for
4823         reporting the bug and Jackson for fixing this bug with me.
4824
4825 2003-03-15  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4826
4827         * XmlConstructs.cs : fix "int IsXXX()" to reject negative value.
4828         * XmlDocument.cs : simplify Load(string url) to use XmlTextReader.
4829           fixed ReadNode(), it should call reader.Read() only on Initial state.
4830         * XmlInputStream.cs : Changed namespace. Added XmlStreamReader(stream)
4831           and XmlStreamReader (string). Fixed XmlInputStream(url) not to use
4832           System.Net.WebClient directly.
4833         * XmlParserContext.cs : baseURI never be null.
4834         * XmlTextWriter.cs : use WebName for Encoding instead of HeaderName.
4835         * XmlUrlResolver.cs : namespace change for XmlInputStream.
4836
4837 2003-03-12  Elan Feingold <efeingold@mn.rr.com>
4838
4839         * XmlTextReader.cs: When throwing a ReaderException, show what
4840         character was the culprit
4841
4842 2003-03-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4843
4844         * XmlDocumentFragment.cs, XmlElement.cs :
4845           modified InnerXml (fragment type from Element to DocumentFragment).
4846
4847         * XmlElement.cs : fixed WriteTo() ns check.
4848         * XmlNamespaceManager.cs : MS.NET allows Add() used two or more times.
4849         * XmlNode.cs : fixed ConstructNamespaceManager().
4850
4851         * XmlConstructs.cs : added IsSpace, IsName, IsNameStart, IsNCName,
4852           IsPubid with an int arg.
4853         * XmlReader.cs : changed to use XmlChar.cs (its role is as same as
4854           XmlConstructs.cs).
4855         * XmlTextReader.cs :
4856           improved error messages with line info.
4857           / checking matching start and end tags.
4858           / prevents the apperance of multiple root elements. (patch by Erik)
4859           fixed and refactored ReadInnerXml() and ReadOuterXml()
4860           changed to use XmlChar.cs.
4861
4862         * XmlTextWriter.cs : changed to put element's xmlns at CloseStartTag ()
4863           (It will help c14n implementation.)
4864           / blocks multiple attribute output with element node.
4865
4866 2003-02-28  Alan Tam <Tam@SiuLung.com>
4867
4868         * XmlConvert.cs: fixed the most ToXXX(string) and ToString(XXX)
4869         methods to make them compatible with the XML Schema Spec from W3C
4870         ToString(TimeSpan) is still outstanding
4871
4872 2003-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4873
4874         * XmlDocument.cs:
4875         (Load (string)): hack to workaround some issues with Uri.Parse. Once
4876         Parse is fixed, remove the hack.
4877
4878 2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4879
4880         * XmlQualifiedName.cs : fixed GetHashCode() to avoid null reference
4881         * XmlTextReader.cs : fixed ReadAttributeValue() to handle 
4882                 entity reference, and some refactory.
4883
4884 2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4885
4886         * XmlUrlResolver.cs : WebClient.Credentials was not implemented yet.
4887
4888 2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4889
4890         * XmlInputStream.cs : added (also contains internal XmlStreamReader).
4891         * XmlDocument.cs : Load () now can specify URL using XmlUrlResolver,
4892                 and can read non-UTF-8 stream.
4893         * XmlTextReader.cs : related to above stream fix.
4894         * XmlUrlResolver.cs : implemented GetEntity ().
4895
4896 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4897
4898         * XmlTextWriter.cs: implemented WriteRaw (char[], int, int).
4899
4900 2003-02-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4901
4902         * XmlTextReader.cs : implemented QuoteChar.
4903
4904 2003-01-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4905
4906         * XmlNode.cs : implemented ReplaceChild.
4907           removed DocElem checking at InsertBefore.
4908         * XmlNodeReader.cs : fixed ReadString and Read for correct node info.
4909         * XmlText.cs : implemented CloneNode and SplitText.
4910
4911 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4912
4913         * XmlCharacterData.cs: added XPathNodeType property.
4914
4915 2003-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4916
4917         * XmlTextWriter.cs: throw an exception if WriteEndDocument is
4918         called without a prior call to WriteStartDocument.
4919
4920 2003-01-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4921
4922         * XmlNodeReader.cs : several fix to get more compatible with MS.NET.
4923
4924 2003-01-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4925
4926         * XmlNamespaceManager.cs : fundamental change of LookupPrefix to return
4927                 null when no matching uri.
4928         * XmlElement.cs : removed unnecessary xmlns output.
4929         * XmlNode.cs : GetPrefixOfNamespace fix along with the change above.
4930         * XmlTextWriter.cs : LookupPrefix and WriteStartElementInternal fix 
4931                 along with the change above, and moved timing of 'xmlns' output 
4932                 to CloseStartElement.
4933         * XmlWriter.cs: modified WriteStartAttribute, same as yesterday.
4934
4935 2003-01-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4936
4937         * XmlWriter.cs: modified WriteStartElement (see test for detail).
4938         Added WriteNode.
4939
4940 2003-01-13  Ville Palo <vi64pa@koti.soon.fi>
4941
4942         * XmlDocument.cs: Added CheckName () method to check names validity.
4943         
4944 2003-01-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4945
4946         * XmlTextReader.cs:
4947         (ReadOuterXml): use Depth property which return elementDepth, not depth.
4948
4949 2003-01-11  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4950
4951         * XmlElement.cs : (by ville) XmlElement.set_InnerText event bugfix.
4952         * XmlTextReader.cs : some fix for ReadOuterXml().
4953
4954 2003-01-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4955
4956         * XmlTextReader.cs : bugfix for attributes related to creation of 
4957           XmlAttribute *node*.
4958
4959 2003-01-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4960
4961         * XmlTextReader.cs : bugfix for attribute values which have entity
4962           references.
4963
4964 2002-12-28  Ville Palo <vi64pa@koti.soon.fi>
4965
4966         * XmlDocument.cs: XmlTextWriter.Formatting == Indented when 
4967         calling Save () -methods.
4968         
4969 2002-12-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4970
4971         * XmlNodeReader.cs : primitive reading implementation.
4972
4973 2002-12-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4974
4975         * XmlElement.cs : quick fix for the incomplete patch of #35308 below.
4976
4977 2002-12-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4978
4979         * XmlDocument.cs : removed inconsistent line-feed output.
4980         * XmlElement.cs, XmlTextWriter.cs :
4981                 fixed for bugzilla 35308 (default ns output)
4982         * XmlWhitespace.cs : limited output only when preserving whitespace.
4983
4984 2002-12-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4985
4986         * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
4987                 Implemented XmlTextReader.ReadAttributeValue().
4988                 Added internal ReadAttributeNodeValue().
4989                 Fixed XmlAttribute.InnerXml to use these methods.
4990         
4991         * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
4992                 Implemented XmlDocument.ReadNode() and removed ConstructDOM().
4993                 Other changes are replacing them.
4994
4995 2002-12-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
4996
4997         * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
4998
4999 2002-12-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
5000
5001         * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
5002                 patch by JD Conley <jconley@winfessor.com>.
5003                 (Fix for xmlns attribute output.)
5004
5005 2002-12-05  Ville Palo <vi64p@koti.soon.fi>
5006
5007         * XmlQualifiedName.cs: Little fix to ToString () -method
5008
5009 2002-12-04  Tim Haynes  <thaynes@openlinksw.com>
5010
5011         * class/System.XML/System.Xml/XmlElement.cs: Made more refined
5012         checks on attributeNode to fix 32262.
5013
5014 2002-12-03  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
5015
5016         * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
5017         * XmlTextWriter.cs (WriteStartElementInternal):
5018           fixed when default namespace was specified, all descendants
5019           fail to omit the default namespace declarations.
5020         * XmlAttribute.cs,
5021           XmlDocument.cs,
5022           XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
5023         * XmlAttribute.cs,
5024           XmlDocumentFragment.cs,
5025           XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
5026         * XmlElement.cs (set_IsEmpty) : implemented
5027           (WriteTo) : removed my improper indenting (Writer already done)
5028         * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
5029           (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
5030         ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
5031
5032 2002-12-01  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
5033
5034         * XmlNode.cs (RemoveChild):
5035                 bugfixed when XmlNode is Document OwnerDocument is null
5036         * XmlDeclaration.cs (Value):
5037                 bugfixed regular expression pattern.
5038         * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
5039
5040 2002-11-24  Duncan Mak  <duncan@ximian.com>
5041
5042         * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
5043         Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
5044         first patch to Mono! ;-)
5045
5046 2002-11-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5047
5048         * XmlNode.cs:
5049         (AppendChild): readded refChild != null condition before throwing
5050         "cannot insert this node in this position" exception. There's probably
5051         a better solution. Fixes #34191.
5052         (RemoveAll): changed following Atsushi instructions.
5053         
5054
5055 2002-11-13  Duncan Mak  <duncan@ximian.com>
5056
5057         * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
5058         compiling.
5059
5060 2002-11-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
5061
5062         * XmlDocument.cs : unified all constructors, added ConventionalParser,
5063                 implemented CloneNode() and CreateEntityReference(),
5064         * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
5065                 set BaseURI to MonoTODO
5066         * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
5067                 bugfix InsertAfter (incorrect prepending) and InsertBefore
5068                 (more than one DocumentElements hadn't caused errors)
5069         * XmlTextReader.cs : unified all constructors,
5070                 added internal SetReaderContext(), SetReaderFragment()
5071                 bugfix (syntax check of PUBLIC / getting internal subset)
5072
5073 2002-11-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
5074
5075         XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
5076         XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
5077         XmlCharacterData.cs : exchanged Data and Value
5078                 (for processing events and inheritance)
5079         XmlDocumentFragment.cs : set_InnerXml
5080         XmlSignificantWhitespace.cs : set_Value
5081         XmlTextReader.cs : ReadAttributeValue
5082
5083 2002-11-04  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
5084
5085         XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
5086
5087 2002-11-03  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
5088
5089         * XmlAttributeCollection.cs : checks owner element.
5090                 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
5091                 Remove, RemoveAt, SetNamedItem.
5092                 removed some logics that sets 'Parent' (that should be null)
5093         * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
5094         * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
5095         * XmlElement.cs : implemented WriteTo, set_InnerText.
5096                 Fixed WriteTo() to add xmlns:* attributes when
5097                 writer.LookupPrefix() returned mismatching.
5098         * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
5099                 Removing different prefixes for the same uri now runs correct.
5100                 added SetNamedItem(XmlNode node, int position_to_insert).
5101         * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
5102                 XmlWhitespace, and XmlSignificantWhitespace
5103
5104 2002-10-31  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
5105
5106         * XmlDocument.cs : implemented CreateDocumentFragment()
5107         * XmlElement.cs, XmlLinkedNode.cs :
5108                 moved LastLinkedChild from XmlElement to XmlLinkedNode.
5109         * XmlEntityReference.cs : must throw NotImplementedException.
5110         * XmlNode.cs :
5111               + implemented InsertBefore() and then implemented InsertAfter()
5112                 and modified AppendChild() to call it.
5113               + added logic to check ReadOnly, parent document equivalence,
5114                 and inserting any 'content' before/after DocumentElement.
5115               + implemented Clone() [it is equals to CloneNode() by MS doc.]
5116               + added logic in RemoveChild() to check parent of oldChild.
5117               + fixed ConstructNamespaceManager() to internal only.
5118
5119 2002-10-29  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
5120
5121         * XmlAttribute.cs : add internal 'IsDefault' property
5122                             (equals to !Specified)
5123         * XmlImplementation.cs : added 'internalNameTable' property.
5124         * XmlDocument.cs :
5125             + now allows "" for 'standalone' in CreateXmlDeclaration.
5126             + implemented 'Implementation' property and constructor with it.
5127             + added logic for appending name table (but still no use)
5128             + implemented property 'DocumentType'
5129               (but without internalSubset parsing. wait for next update.)
5130         * XmlNode.cs :
5131             + modified AppendChild() and RemoveChild() to support fragment.
5132             + modified AppendChild() to remove newChild from its parent
5133               when newChild is already in the other place.
5134             + modified RemoveChild() to set parentNode null.
5135             + modified ConstructDOM() to create DocumentType,
5136               and fixed access modifier ('internal protected' to 'internal')
5137         * XmlLinkedNode.cs : fixed 'NextSibling' to return null
5138                 when its parent is null.
5139         * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
5140                 property to enable AppendChild() for this class.
5141         * XmlTextReader.cs : appended private publicId and systemId fields.
5142
5143 2002-10-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5144
5145         * XmlTextReader.cs: make it work when the underlying Stream is not
5146         'seekable'.
5147
5148 2002-10-26  Piers Haken <piersh@friskit.com>
5149
5150         * XmlNode.cs: add virtual property XPathNodeType
5151         * XmlAttribute.cs:
5152         * XmlComment.cs:
5153         * XmlDocument.cs:
5154         * XmlElement.cs::
5155         * XmlProcessingInstruction.cs:
5156         * XmlSignificantWhitespace.cs:
5157         * XmlText.cs:
5158         * XmlWhitespace.cs: implement XPathNodeType property
5159         * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
5160
5161 2002-10-26  Piers Haken <piersh@friskit.com>
5162
5163         * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
5164
5165 2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5166
5167         * XmlTextReader.cs: don't increment depth for entity references.
5168
5169 2002-10-22  Tim Haynes <thaynes@openlinksw.com>
5170
5171         * - Fixed the duplication of xmlns:xx = yy when serializing the
5172         XML for serialization
5173         
5174         Fixed the unnecessary parsing/serializing when adding assemblies
5175         for serialization 
5176
5177         Avoided setting the XmlNode.InnerXml property
5178         (as it's not implemented) 
5179
5180         Fixed the usage/implementation of
5181         XmlElement.GetElementsByTagName()
5182         
5183 2002-10-21  Duncan Mak  <duncan@ximian.com>
5184
5185         * XmlDocument.cs:
5186         * XmlElement.cs:
5187         * XmlNode.cs:
5188         * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
5189         Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
5190
5191 2002-10-18  Duncan Mak  <duncan@ximian.com>
5192
5193         * XmlDocument.cs: Applied a patch by Atsushi Enomoto
5194         <ginga@kit.hi-ho.ne.jp>.
5195
5196 2002-10-12  A.Enomoto <ginga@kit.hi-ho.ne.jp>
5197
5198         * XmlDocument.cs (ImportNode): Implemented
5199
5200 2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5201
5202         * XmlDocument.cs: one more Load method implemented.
5203         * XmlTextReader.cs: Depth now works.
5204
5205 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5206
5207         * XmlConvert.cs: IsInvalid is now internal.
5208         * XmlNamespaceManager.cs: implemented RemoveNamespace
5209         * XmlTextReader.cs: return BaseURI and Encoding from the parser.
5210         * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
5211
5212 2002-09-19  Matt Hunter <mahunter@tconl.com>
5213
5214         * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
5215         * XmlAttributeCollection.cs: Implemented Append (XmlAttribute) 
5216           
5217 2002-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5218
5219         * XmlConvert.cs: finished implementation.
5220         * XmlTextReader.cs: fixed #30239.
5221         * XmlTextWriter.cs: fixed #30240.
5222
5223 2002-09-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5224
5225         * XmlTextReader.cs: line and position begin with 1.
5226
5227 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5228
5229         * XmlException.cs: added a new internal constructor for IXmlLineInfo
5230         and output line and position info in Message.
5231
5232         * XmlReader.cs: implemented missing bits.
5233
5234 2002-09-12      Piers Haken <piersh@friksit.com>
5235
5236         * XmlDocumentNavigator.cs: implement MoveToId()
5237
5238 2002-09-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5239
5240         * XmlTextWriter.cs: fixed bug #29886.
5241
5242 2002-08-26  Ravi Pratap  <ravi@ximian.com>
5243
5244
5245         * XmlAttribute.cs (InnerText): Implement getting this property.
5246
5247         * XmlNode.cs (InnerText): Ensure that we append only values of
5248         text nodes.
5249
5250 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5251
5252         * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
5253         that allowed compiling this.
5254         [ FIXME: filed bug #29435. mcs should have failed on this ]
5255
5256 2002-08-25  Tim Coleman <tim@timcoleman.com>
5257         * XmlNode.cs:
5258                 Change CreateNavigator to not be virtual.
5259         * XmlElement.cs:
5260                 Add set_Prefix and InnerText accessors.
5261         * XmlEntityReference.cs:
5262                 Add set_Value accessor.
5263         * XmlTextWriter.cs:
5264                 Make objects which should be private private.
5265         * XmlWriter.cs:
5266                 Remove WriteStartElementInternal abstract definition.
5267         * XmlValidatingReader.cs:
5268                 New stubs added.
5269
5270 2002-08-22  Jason Diamond <jason@injektilo.org>
5271
5272         * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
5273         and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
5274
5275 2002-08-22  Jason Diamond <jason@injektilo.org>
5276
5277         * XmlElement.cs: Correction to previous GetElementsByTagName patch
5278         courtesy of Matt Hunter <xrkune@tconl.com>.
5279
5280 2002-08-22  Jason Diamond <jason@injektilo.org>
5281
5282         * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
5283         qualified GetElementsByTagName courtesy of Matt Hunter 
5284         <xrkune@tconl.com>.
5285
5286 2002-08-19  Jason Diamond <jason@injektilo.org>
5287
5288         * XmlDocument.cs, XmlElement.cs: Added implementation of 
5289         GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
5290
5291 2002-08-16  Jason Diamond <jason@injektilo.org>
5292
5293         * XmlElement.cs: Fixed writing out qualified elements courtesy of
5294         Marcus Bürgel <marcus.buergel@gmx.de>.
5295
5296 2002-08-13  Tim Coleman <tim@timcoleman.com>
5297         * XmlTextWriter.cs:
5298                 Partial implementation of WriteQualifiedName ().
5299
5300 2002-08-07  Kral Ferch <kral_ferch@hotmail.com>
5301         * XmlCharacterData.cs:  Implemented AppendData(), DeleteData(),
5302                 InsertData(), and ReplaceData().  These methods fire the
5303                 NodeChanging and NodeChanged events.
5304                 
5305         * XmlDocument.cs:  Fixed bugs in onNodeChanged() and onNodeChanging().
5306         
5307         * XmlNode.cs:  AppendChild() fires NodeInserting and NodeInserted events.
5308                 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
5309         
5310 2002-08-03  Tim Coleman <tim@timcoleman.com>
5311         * XmlNamespaceManager.cs:
5312                 .Net allows the empty namespace to be redefined
5313                 at a later point, but the current implementation
5314                 did not.  This fixes a hashtable conflict.
5315
5316 2002-07-26  Tim Coleman <tim@timcoleman.com>
5317         * XmlTextWriter.cs:
5318                 When given a textwriter, check to see if it has a
5319                 null encoding. This was being done for other inputs
5320                 than a textwriter.
5321
5322 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
5323
5324         * XmlTextReader.cs: rough line/column support.
5325
5326 2002-07-23  Duncan Mak  <duncan@ximian.com>
5327
5328         * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
5329         (string, string []) is particularly strange.
5330
5331         * XmlException.cs: Remember to call the base serialization
5332         constructor.
5333
5334         * XmlNodeReader.cs: Keep a new variable to store the Depth. 
5335
5336 2002-07-14  Jason Diamond  <jason@injektilo.org>
5337
5338         * XmlAttribute.cs: Removed ownerElement field since we can reuse 
5339         parentNode field.
5340
5341         * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
5342         if the current node is an attribute.
5343
5344         * XmlElement.cs: SetAttributeNode now sets the new attribute's
5345         owner element.
5346
5347 2002-07-12  Jason Diamond  <jason@injektilo.org>
5348
5349         * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
5350         creating an element, use String.Empty instead.
5351
5352 2002-07-12      Piers Haken <piersh@friksit.com>
5353
5354         * XmlAttributeCollection.cs: implement some ItemOf indexers
5355         * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
5356         * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
5357
5358 2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
5359
5360
5361 2002-10-26  Piers Haken <piersh@friskit.com>
5362
5363         * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
5364
5365 2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5366
5367         * XmlTextReader.cs: don't increment depth for entity references.
5368
5369 2002-10-22  Tim Haynes <thaynes@openlinksw.com>
5370
5371         * - Fixed the duplication of xmlns:xx = yy when serializing the
5372         XML for serialization
5373         
5374         Fixed the unnecessary parsing/serializing when adding assemblies
5375         for serialization 
5376
5377         Avoided setting the XmlNode.InnerXml property
5378         (as it's not implemented) 
5379
5380         Fixed the usage/implementation of
5381         XmlElement.GetElementsByTagName()
5382         
5383 2002-10-21  Duncan Mak  <duncan@ximian.com>
5384
5385         * XmlDocument.cs:
5386         * XmlElement.cs:
5387         * XmlNode.cs:
5388         * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
5389         Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
5390
5391 2002-10-18  Duncan Mak  <duncan@ximian.com>
5392
5393         * XmlDocument.cs: Applied a patch by Atsushi Enomoto
5394         <ginga@kit.hi-ho.ne.jp>.
5395
5396 2002-10-12  A.Enomoto <ginga@kit.hi-ho.ne.jp>
5397
5398         * XmlDocument.cs (ImportNode): Implemented
5399
5400 2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5401
5402         * XmlDocument.cs: one more Load method implemented.
5403         * XmlTextReader.cs: Depth now works.
5404
5405 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5406
5407         * XmlConvert.cs: IsInvalid is now internal.
5408         * XmlNamespaceManager.cs: implemented RemoveNamespace
5409         * XmlTextReader.cs: return BaseURI and Encoding from the parser.
5410         * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
5411
5412 2002-09-19  Matt Hunter <mahunter@tconl.com>
5413
5414         * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
5415         * XmlAttributeCollection.cs: Implemented Append (XmlAttribute) 
5416           
5417 2002-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5418
5419         * XmlConvert.cs: finished implementation.
5420         * XmlTextReader.cs: fixed #30239.
5421         * XmlTextWriter.cs: fixed #30240.
5422
5423 2002-09-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5424
5425         * XmlTextReader.cs: line and position begin with 1.
5426
5427 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5428
5429         * XmlException.cs: added a new internal constructor for IXmlLineInfo
5430         and output line and position info in Message.
5431
5432         * XmlReader.cs: implemented missing bits.
5433
5434 2002-09-12      Piers Haken <piersh@friksit.com>
5435
5436         * XmlDocumentNavigator.cs: implement MoveToId()
5437
5438 2002-09-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5439
5440         * XmlTextWriter.cs: fixed bug #29886.
5441
5442 2002-08-26  Ravi Pratap  <ravi@ximian.com>
5443
5444
5445         * XmlAttribute.cs (InnerText): Implement getting this property.
5446
5447         * XmlNode.cs (InnerText): Ensure that we append only values of
5448         text nodes.
5449
5450 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5451
5452         * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
5453         that allowed compiling this.
5454         [ FIXME: filed bug #29435. mcs should have failed on this ]
5455
5456 2002-08-25  Tim Coleman <tim@timcoleman.com>
5457         * XmlNode.cs:
5458                 Change CreateNavigator to not be virtual.
5459         * XmlElement.cs:
5460                 Add set_Prefix and InnerText accessors.
5461         * XmlEntityReference.cs:
5462                 Add set_Value accessor.
5463         * XmlTextWriter.cs:
5464                 Make objects which should be private private.
5465         * XmlWriter.cs:
5466                 Remove WriteStartElementInternal abstract definition.
5467         * XmlValidatingReader.cs:
5468                 New stubs added.
5469
5470 2002-08-22  Jason Diamond <jason@injektilo.org>
5471
5472         * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
5473         and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
5474
5475 2002-08-22  Jason Diamond <jason@injektilo.org>
5476
5477         * XmlElement.cs: Correction to previous GetElementsByTagName patch
5478         courtesy of Matt Hunter <xrkune@tconl.com>.
5479
5480 2002-08-22  Jason Diamond <jason@injektilo.org>
5481
5482         * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
5483         qualified GetElementsByTagName courtesy of Matt Hunter 
5484         <xrkune@tconl.com>.
5485
5486 2002-08-19  Jason Diamond <jason@injektilo.org>
5487
5488         * XmlDocument.cs, XmlElement.cs: Added implementation of 
5489         GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
5490
5491 2002-08-16  Jason Diamond <jason@injektilo.org>
5492
5493         * XmlElement.cs: Fixed writing out qualified elements courtesy of
5494         Marcus Bürgel <marcus.buergel@gmx.de>.
5495
5496 2002-08-13  Tim Coleman <tim@timcoleman.com>
5497         * XmlTextWriter.cs:
5498                 Partial implementation of WriteQualifiedName ().
5499
5500 2002-08-07  Kral Ferch <kral_ferch@hotmail.com>
5501         * XmlCharacterData.cs:  Implemented AppendData(), DeleteData(),
5502                 InsertData(), and ReplaceData().  These methods fire the
5503                 NodeChanging and NodeChanged events.
5504                 
5505         * XmlDocument.cs:  Fixed bugs in onNodeChanged() and onNodeChanging().
5506         
5507         * XmlNode.cs:  AppendChild() fires NodeInserting and NodeInserted events.
5508                 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
5509         
5510 2002-08-03  Tim Coleman <tim@timcoleman.com>
5511         * XmlNamespaceManager.cs:
5512                 .Net allows the empty namespace to be redefined
5513                 at a later point, but the current implementation
5514                 did not.  This fixes a hashtable conflict.
5515
5516 2002-07-26  Tim Coleman <tim@timcoleman.com>
5517         * XmlTextWriter.cs:
5518                 When given a textwriter, check to see if it has a
5519                 null encoding. This was being done for other inputs
5520                 than a textwriter.
5521
5522 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
5523
5524         * XmlTextReader.cs: rough line/column support.
5525
5526 2002-07-23  Duncan Mak  <duncan@ximian.com>
5527
5528         * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
5529         (string, string []) is particularly strange.
5530
5531         * XmlException.cs: Remember to call the base serialization
5532         constructor.
5533
5534         * XmlNodeReader.cs: Keep a new variable to store the Depth. 
5535
5536 2002-07-14  Jason Diamond  <jason@injektilo.org>
5537
5538         * XmlAttribute.cs: Removed ownerElement field since we can reuse 
5539         parentNode field.
5540
5541         * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
5542         if the current node is an attribute.
5543
5544         * XmlElement.cs: SetAttributeNode now sets the new attribute's
5545         owner element.
5546
5547 2002-07-12  Jason Diamond  <jason@injektilo.org>
5548
5549         * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
5550         creating an element, use String.Empty instead.
5551
5552 2002-07-12      Piers Haken <piersh@friksit.com>
5553
5554         * XmlAttributeCollection.cs: implement some ItemOf indexers
5555         * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
5556         * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
5557
5558 2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
5559
5560         * XmlTextWriter: Fixed Indentation. IndentationOverridden should
5561                 not be set when inside a attribute.
5562
5563 2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
5564
5565         * XmlTextWriter: In WriteStartElement, if namespace is null and 
5566                 prefix is null|empty do not write out xmlns=""
5567         
5568         * XmlWriter: WriteStartElement calls the virtual method with null
5569                 argument instead of empty string.
5570
5571 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
5572
5573         * XmlTextReader.cs: implemented .ctor (Stream).
5574
5575 2002-06-26  Duncan Mak  <duncan@ximian.com>
5576
5577         * XmlNodeReader.cs: Implementation of most of the properties, and
5578         some of the related methods. 
5579
5580 2002-06-23  Piers Haken <piersh@friskit.com>
5581         
5582         * XmlDocumentNavigator.cs: implement Clone()
5583         * XmlElement.cs: remove bogus unimplemented override of InnerText
5584         * XmlNode.cs: implment SelectNodes/SelectSingleNode
5585         * XmlNodeArrayList.cs: new support class for SelectNodes
5586
5587 2002-06-21  Ajay kumar Dwivedi <adwiv@yahoo.com>
5588         
5589         * XmlQualifiedName: Name and Namespaces are never null. If null is passed
5590                 to the constructor, set them to empty strings.
5591                 Fixed the Operators.
5592         
5593 2002-06-18  Ajay kumar Dwivedi <adwiv@yahoo.com>
5594         
5595         * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
5596         Exception.
5597
5598 2002-06-14  Duncan Mak  <duncan@ximian.com>
5599
5600         * XmlConvert.cs: Added CLSCompliant attributes to methods.
5601         
5602 2002-06-12  Duncan Mak  <duncan@ximian.com>
5603
5604         * XmlCharacterData.cs (Value): Throw an ArgumentException in the
5605         set block if the node is read-only.
5606
5607 2002-06-10  Ajay kumar Dwivedi <adwiv@yahoo.com>
5608         * XmlConstruct.cs : New Internal class with Helper methods for
5609         Checking XmlConstructs
5610         * XmlConvert.cs: Implemented most of the methods
5611
5612 2002-06-08  Duncan Mak  <duncan@ximian.com>     
5613
5614         * XmlDocument.cs (Load):
5615         Added bits to Load (string) for BaseURI support.
5616
5617         * XmlAttribute.cs (BaseURI): 
5618         * XmlDocument.cs (BaseURI): 
5619         * XmlEntity.cs (BaseURI): Implemented.
5620
5621 2002-05-27  Jason Diamond  <jason@injektilo.org>
5622
5623         * XmlDocumentNavigator.cs: Added file to directory.
5624
5625         * XmlNode.cs (CreateNavigator): Implemented.
5626         (InnerText): Implemented.
5627
5628         * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
5629         throwing exception.
5630         (Load(XmlReader)): Allow for namespace qualified attributes.
5631
5632         * XmlElement.cs: Implemented GetAttribute(string, string) and both 
5633         GetAttributeNode overloads.
5634         (SetAttributeNode(XmlAttribute)): Implemented.
5635
5636         * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
5637         and RemoveNamedItem(string, string).
5638
5639         * XmlLinkedNode.cs (PreviousSibling): Implemented.
5640
5641         * XmlTextReader.cs: Added code to maintain the order of attributes as 
5642         they're parsed. XML doesn't require this but Microsoft's parser does it and
5643         matching them makes testing easier so now we have it, too.
5644
5645 2002-05-26  Miguel de Icaza  <miguel@ximian.com>
5646
5647         * XmlDocument.cs: Implement the Save methods.
5648
5649 2002-05-08  Mike Kestner  <mkestner@speakeasy.net>
5650
5651         * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
5652
5653 2002-04-28  Duncan Mak  <duncan@ximian.com>
5654
5655         * XmlSignificantWhitespace.cs (Value):
5656         * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
5657         block. Added new private method, IsValidWhitespaceChar, for
5658         checking.
5659
5660 2002-04-16  Duncan Mak  <duncan@ximian.com>
5661
5662         * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
5663
5664 2002-04-12  Duncan Mak  <duncan@ximian.com>
5665
5666         * XmlAttribute.cs (Prefix): Added preliminary code for set block,
5667         added comment on work that needs to be done here. A new MonoTODO item. 
5668
5669         * XmlDocument.cs (ctor): Corrected constructor signature, changed
5670         parameter from 'NameTable' to 'XmlNameTable'.
5671
5672         * XmlDocumentFragment.cs (InnerXml): Added missing set block.
5673
5674         * XmlCaseOrder.cs: Moved to System.Xml.XPath.
5675
5676 2002-04-10  Duncan Mak  <duncan@ximian.com>
5677
5678         * XmlNodeReader.cs: Initial stubs for the class.
5679
5680 2002-04-08  Kral Ferch  <kral_ferch@hotmail.com>
5681
5682         * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
5683         implementations.
5684         
5685         * XmlDeclaration.cs: WriteTo implementation.
5686         
5687         * XmlDocument.cs: InnerXml getter implementation.
5688         
5689         * XmlElement.cs: InnerXml getter implementation.
5690
5691         * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
5692         
5693         * XmlSignificantWhitespace.cs: WriteTo implementation.
5694         
5695         * XmlText.cs: WriteContentTo and WriteTo implementation.
5696         
5697         * XmlTextWriter.cs: WriteRaw implementation.
5698         
5699         * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
5700
5701 2002-04-05  Kral Ferch  <kral_ferch@hotmail.com>
5702
5703         * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
5704         if prefix in constructor is one of the default ones.
5705         
5706         * XmlCharacterData.cs: Returns String.Empty for Value and Data
5707         even when constructed with null.
5708         
5709         * XmlDeclaration.cs: Value doesn't put encoding or standalone
5710         in if they are empty.
5711         
5712         * XmlDocument.cs: Implemented CreateNode methods and this caused
5713         the changes in the other files in this checkin.
5714         
5715         * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
5716         even when constructed with null.
5717         
5718         * XmlWhitespace.cs: Changed Value 'get' to return Data.
5719
5720 2002-04-01  Kral Ferch  <kral_ferch@hotmail.com>
5721
5722         * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
5723         
5724 2002-03-31  Kral Ferch  <kral_ferch@hotmail.com>
5725
5726         * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
5727         and WriteCharEntity.
5728         
5729         * XmlWrite.cs:  Fixed bug where attribute namespace decl
5730         was pushing a scope onto the namespace manager when it shouldn't
5731         have been.
5732         
5733 2002-03-31  Kral Ferch  <kral_ferch@hotmail.com>
5734
5735         * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
5736         in different states (no open start element, in WriteState.Content mode).
5737         
5738 2002-03-29  Kral Ferch  <kral_ferch@hotmail.com>
5739
5740         * XmlTextWriter.cs: XmlLang and XmlSpace properties
5741         and WriteWhitespace.
5742         
5743         * XmlTextWriterOpenElement.cs: scope support for XmlLang
5744         and XmlSpace.
5745
5746 2002-03-29  Kral Ferch  <kral_ferch@hotmail.com>
5747
5748         * XmlTextWriter.cs: Working on Attribute methods.
5749         
5750         * XmlWriter.cs: Working on Attribute methods.
5751
5752 2002-03-28  Duncan Mak  <duncan@ximian.com>
5753
5754         * XmlDocument.cs (CreateWhitespace):
5755         (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
5756         method.
5757
5758         * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
5759
5760 2002-03-26  Duncan Mak  <duncan@ximian.com>
5761
5762         * XmlDocument.cs (CreateDocumentType): Implemented.
5763
5764         * XmlNode.cs (Value): Implemented.
5765
5766         * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
5767         like XmlCharacterData.
5768
5769         * XmlDeclaration.cs (CloneNode): 
5770         * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
5771         arguments.
5772
5773         * XmlCharacterData.cs (InnerText): Implemented. Funny that the
5774         docs say it is the "The concatenated values of the node and all
5775         the children of the node.". I wrote some test programs and
5776         couldn't get any of the derived nodes to AppendChild. For now,
5777         InnerText == Data == Value.
5778         (Substring): Fixed typo.
5779
5780         * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
5781
5782         * XmlImplementation.cs (CreateDocument): Implemented.
5783
5784 2002-03-25  Duncan Mak  <duncan@ximian.com>
5785
5786         * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
5787         missing properties (InnerText, Value).
5788         
5789         * XmlDocument.cs (CreateXmlDeclaration): Implemented.
5790
5791 2002-03-23  Kral Ferch <kral_ferch@hotmail.com>
5792
5793         * XmlTextWriter.cs: Impls for BaseStream and
5794         Namespaces and WriteState.
5795         
5796         * XmlWriter.cs: WriteState and WriteStartElementInternal.
5797
5798 2002-03-23  Kral Ferch <kral_ferch@hotmail.com>
5799
5800         * XmlNodeListChildren.cs: made class internal
5801         instead of public.  Shouldn't be visible outside
5802         of System.Xml.
5803         
5804         * XmlTextWriter.cs: Implementations for Formatting,
5805         IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
5806         Suppresses encoding on xml declaration if null stream passed in.
5807         Formats output including suppressing indentation for elements in
5808         mixed content mode.
5809         
5810         * XmlTextWriterOpenElement.cs: Initial checkin.
5811         XmlTextWriter uses stack of these objects to track
5812         state.
5813         
5814 2002-03-22  Mike Kestner  <mkestner@speakeasy.net>
5815
5816         * XmlElement.cs: impl HasAttribute(string name).
5817
5818 2002-03-22  Duncan Mak  <duncan@ximian.com>
5819
5820         * XmlElement.cs: Reformatted.
5821         (CloneNode) Corrected.
5822
5823         * XmlDocument.cs (CreateWhitespace):
5824         (CreateSignificantWhitespace): Implemented.
5825
5826         * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
5827         true, because Attributes have ChildNodes.
5828
5829 2002-03-21  Kral Ferch <kral_ferch@hotmail.com>
5830
5831         * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
5832         xml declaration along with encoding.  WriteEndElement throws
5833         exception if no WriteStartElement exists.
5834
5835 2002-03-20  Duncan Mak  <duncan@ximian.com>
5836
5837         * XmlEntityReference.cs (CloneNode): Implemented.
5838
5839         * XmlException.cs (Message): Implemented. We need to cache the
5840         message string because SystemException doesn't expose 'message'
5841         from Exception.
5842
5843         * XmlText.cs (Value): Added in the missing Value property.
5844
5845 2002-03-20  Duncan Mak  <duncan@ximian.com>     
5846
5847         * XmlAttribute.cs (CloneNode): Implemented.
5848
5849         * XmlDocumentFragment.cs (CloneNode): Implemented.
5850
5851         * XmlElement.cs (CloneNode): Implemented.
5852
5853 2002-03-19  Duncan Mak  <duncan@ximian.com>
5854
5855         * XmlNotation.cs: Added to CVS.
5856
5857         * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
5858
5859         * XmlCDataSection.cs (CloneNode): Implemented.
5860
5861         * XmlDocumentFragment.cs: Reformatted and added the missing properties
5862         (InnerXml, OwnerDocument, ParentNode).
5863         (CloneNode): Implemented.
5864
5865         * XmlSignificantWhitespace.cs (CloneNode): Implemented.
5866         (Value) Implemented the 'get' property.
5867
5868         * XmlWhitespace.cs (Module): implemented.
5869
5870 2002-03-19  Jason Diamond <jason@injektilo.org>
5871
5872         * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
5873         in the prefix.
5874
5875 2002-03-18  Jason Diamond <jason@injektilo.org>
5876
5877         * XmlTextReader.cs: Don't restore properties after reading last
5878         attribute on an element.
5879
5880         * XmlDocument.cs: Move back to element after reading attributes
5881         so that IsEmptyElement test succeeds.
5882
5883 2002-03-18  Kral Ferch <kral_ferch@hotmail.com>
5884
5885         * XmlNamespaceManager.cs: Implemented LookupPrefix.
5886         
5887         * XmlTextWriter.cs: Implemented namespace and prefix support.
5888
5889 2002-03-18  Kral Ferch <kral_ferch@hotmail.com>
5890
5891         * XmlTextReader.cs: Restores properties after
5892         reading last attribute on an element.
5893         
5894         * XmlNode.cs: AppendChild sets the parent
5895         on the child.
5896
5897 2002-03-17  Kral Ferch  <kral_ferch@hotmail.com>
5898
5899         * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
5900
5901         * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
5902         
5903         * XmlElement.cs: Fixed bug in WriteTo.
5904         
5905         * XmlProcessingInstruction.cs: Formatting.
5906         
5907         * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
5908         fixes for WriteEndElement, WriteProcessingInstruction.
5909
5910 2002-03-17  Kral Ferch  <kral_ferch@hotmail.com>
5911
5912         * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
5913         had Load() add PIs to the document, moved onXXX methods to alphabetical
5914         order in the file.
5915         
5916         * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
5917         
5918         * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
5919         
5920         * XmlProcessingInstruction.cs: Implementations for WriteTo() and
5921         WriteContentTo().
5922         
5923         * XmlTextWriter.cs: Implementations for WriteEndElement,
5924         WriteProcessingInstruction, WriteStartElement, and WriteString.
5925         
5926         * XmlWriter.cs: Implemented WriteStartElement() methods.
5927
5928 2002-03-15  Duncan Mak  <duncan@ximian.com>
5929
5930         * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
5931         InnerText once I know what they do.
5932
5933         * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
5934         that we can properly chain constructors.
5935         (CloneNode): implemented.
5936         (WriteContentTo): Removed MonoTODO attribute as this method has no
5937         effect in this class.
5938
5939         * XmlProcessingInstruction.cs (Value): Added the missing Set
5940         block.
5941         (InnerText): Added in, but not implemented.
5942
5943 2002-03-14  Kral Ferch  <kral_ferch@hotmail.com>
5944
5945         * XmlTextWriter.cs: implemented constructors and 
5946         WriteCData and WriteComment.
5947
5948 2002-03-14  Duncan Mak  <duncan@ximian.com>
5949
5950         * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
5951         file, and updated the callbacks to reflect the change.
5952         (XmlDocument): Added the NameTable constructor.
5953         (NameTable): Also the NameTable property.
5954
5955         * XmlNodeChangedEventHandler.cs: Added, replacing the version that
5956         was in XmlDocument.cs. It has two arguments now (object,
5957         EventArgs) , instead of one (object).
5958
5959 2002-03-14  Kral Ferch  <kral_ferch@hotmail.com>
5960
5961         * XmlWriter.cs: Formatting.
5962         
5963         * XmlTextWriter.cs: Initial checkin.
5964         
5965 2002-03-14  Duncan Mak  <duncan@ximian.com>
5966
5967         * Validation.cs: Removed, replaced by ValidationType.cs.
5968
5969         * ValidationType.cs: Added.
5970
5971 2002-03-13  Duncan Mak  <duncan@ximian.com>
5972
5973         * XmlException.cs: Made it [Serializable], implemented good ol'
5974         GetObjectData, and the serialization constructor.
5975
5976         * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
5977         (SetNamedItem): Reverted (added back in) the patch with the
5978         ReadOnly checks. "Don't doubt yourself, my son... you were right!"
5979
5980         * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
5981         (GetNamedItem (string, string)): implemented.
5982         (RemoveNamedItem): implemented.
5983         (SetNamedItem): implemented.
5984
5985 2002-03-12  Kral Ferch  <kral_ferch@hotmail.com>
5986
5987         * XmlAttribute.cs: Moved a method from amongst properties down to
5988         it's alphabetical position in the methods section.
5989         
5990         * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
5991         last linked child.  Set XmlNode base class to return false for IsReadOnly().
5992         Implemented GetEnumerator() and RemoveChild().
5993         
5994         * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
5995         This is to support the behavior that the Enumerator doesn't become invalid
5996         when changes to the children occur.  Flushed out rest of implementation for
5997         MoveNext, Current, and Reset.
5998
5999 2002-03-12  Duncan Mak  <duncan@ximian.com>
6000
6001         * XmlCharacterData.cs: Reformatted the properties for better readability.
6002
6003         * XmlLinkedNode.cs: Removed the awful boxy comments.
6004
6005         * XmlNamedNodeMap.cs (Count):
6006         (Item): Implemented. Tests will be coming.
6007
6008         * XmlEntityReference.cs: 
6009         * XmlSignificantWhitespace.cs: Implemented these classes except for
6010         the Clone, WriteContentTo and WriteTo methods. Will have to
6011         investigate into these later.
6012
6013 2002-03-11  Duncan Mak  <duncan@ximian.com>
6014
6015         * IHasXmlNode.cs: Added to CVS.
6016
6017 2002-03-08  Jason Diamond <jason@injektilo.org>
6018
6019         * XmlParserContext.cs: Added missing constructors and missing Encoding 
6020         property.
6021
6022         * XmlTextReader.cs: Start using the XmlParserContext class.
6023
6024 2002-03-08  Jason Diamond <jason@injektilo.org>
6025
6026         * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
6027
6028 2002-03-08  Mike Kestner  <mkestner@speakeasy.net>
6029
6030         * XmlNode.cs (Item): Implemented both indexers.
6031
6032 2002-03-08  Jason Diamond  <jason@injektilo.org>
6033
6034         * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
6035         XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
6036
6037 2002-03-08  Jason Diamond  <jason@injektilo.org>
6038
6039         * XmlAttribute.cs: Attribute nodes are supposed to store their values
6040         as child nodes so updated to reflect that.
6041
6042         * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
6043         duplicated in XmlDocument and XmlElement into XmlNode so that it
6044         wouldn't have to be duplicated in XmlAttribute, too.
6045
6046 2002-03-08  Kral Ferch <kral_ferch@hotmail.com>
6047
6048         * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
6049         XmlNode.cs: Formatting.
6050         
6051         * XmlNodeListChildren.cs: Implementation of XmlNodeList
6052         for XmlNode.ChildNodes property.
6053         
6054         * XmlNodeListAsArrayList.cs: Removed file.  Using different
6055         data structure (circular list) in XmlNode so this file
6056         is no longer valid.
6057         
6058         * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
6059         bug in setter property of LastLinkedChild so fixed it.
6060         
6061 2002-03-06  Jason Diamond  <jason@injektilo.org>
6062
6063         * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
6064         We already have a parser in XmlTextReader.
6065
6066         * XmlException.cs: Removed constructor accepting XmlInputSource.
6067
6068 2002-03-06  Kral Ferch <kral_ferch@hotmail.com>
6069
6070         * XmlNode.cs: Rewrote this class from scratch with
6071         MonoToDo attribs and NotImplementedExceptions.  Now defines an
6072         internal LastLinkedNode property to aid the new implementation.
6073         XmlNodes only have ref to owner doc and parent nodes now.
6074         
6075         * XmlLinkedNode.cs: Added NextLinkedSibling internal property
6076         and ref to next sibling to support walking our circular child
6077         node list.
6078         
6079         * XmlDocument.cs: Added ref to last child node and overrides
6080         XmlNode's internal LastLinkedChild property to support walking
6081         our circular child node list.
6082         
6083 2002-03-02  Kral Ferch <kral_ferch@hotmail.com>
6084
6085         * XmlProcessingInstructions.cs: Class was empty.  Implemented
6086         constructor, properties, and CloneNode() method.  Put in
6087         MonoToDo attrib for remaining methods.
6088
6089         * XmlComment.cs: Reformatted and put in MonoToDo attribs.
6090         Got rid of helper methods and fields since they were no
6091         longer needed.
6092
6093         * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
6094
6095         * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
6096         XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
6097         Createxxx() methods for those three node types.
6098
6099 2002-03-02  Jason Diamond <jason@injektilo.org>
6100
6101         * XmlDocument.cs: Implemented the remaining CreateElement and
6102         CreateAttribute methods.
6103
6104         * XmlAttribute.cs: Re-implemented.
6105
6106         * XmlElement.cs: Set owner element on attributes. Reformatted.
6107
6108 2002-03-02  Jason Diamond <jason@injektilo.org>
6109
6110         * XmlTextReader.cs: Implemented MoveToNextAttribute().
6111
6112         * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
6113         attributes. Create attribute nodes while loading. Implemented
6114         Load(string) and CreateTextNode().
6115
6116         * XmlCharacterData.cs, XmlText.cs: Re-implemented.
6117
6118         * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in 
6119         XmlCharacterData.
6120
6121         * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
6122
6123 2002-03-02  Mike Kestner <mkestner@speakeasy.net>
6124
6125         * XmlAttribute.cs : Using fix.
6126         * XmlDocument.cs (CreateAttribute(String)): Implement.
6127
6128 2002-03-02  Jason Diamond <jason@injektilo.org>
6129
6130         * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in 
6131         the name table.
6132
6133 2002-02-28  Jason Diamond <jason@injektilo.org>
6134
6135         * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml 
6136         courtesy of Kral Ferch <kral.ferch@hotmail.com>.
6137
6138 2002-02-28  Jason Diamond <jason@injektilo.org>
6139
6140         * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted, 
6141         added missing members and MonoTODO attributes.
6142         
6143         * XmlTextReader.cs: Throw XmlException instead of System.Exception.
6144
6145 2002-02-27  Jason Diamond <jason@injektilo.org>
6146
6147         * XmlElement.cs: Reformatted, added missing members and MonoTODO 
6148         attributes.
6149
6150 2002-02-26  Duncan Mak  <duncan@ximian.com>
6151
6152         * XmlCDataSection.cs: Initial implementation.
6153
6154         * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
6155         it out. This should (hopefully) be correct.
6156
6157 2002-02-26  Jason Diamond <jason@injektilo.org>
6158
6159         * XmlTextReader.cs: Apparently Microsoft's implementation treats
6160         namespace declarations as attributes so we do now, too.
6161
6162         * XmlNamespaceManager.cs: HasNamespace fixed so that it only
6163         checks the current scope.
6164
6165 2002-02-26  Duncan Mak  <duncan@ximian.com>
6166
6167         * XmlDocumentType.cs: Added a few hacks here and there to
6168         temporarily fix the "I broke the build issue".
6169
6170 2002-02-25  Jason Diamond <jason@injektilo.org>
6171
6172         * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
6173         XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
6174         simple test to pass. The existing code is really shitty so I'll
6175         probably start writing tests and refactoring before much else 
6176         can get done.
6177
6178 2002-02-25  Duncan Mak  <duncan@ximian.com>
6179
6180         * NameTable.cs: Implemented.
6181
6182         * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
6183
6184 2002-02-24  Duncan Mak  <duncan@ximian.com>
6185         
6186         * XmlNodeOrder.cs: Added to CVS.
6187
6188         * XmlQualifiedName.cs: Fixed a warning from Equals ().
6189
6190         * XmlTokenizedType.cs: Added to CVS.
6191
6192         * XmlUrlResolver.cs: Added to CVS with one TODO task.
6193
6194 2002-02-23  Duncan Mak  <duncan@ximian.com>
6195
6196         * XmlQualifiedName.cs: Fixed ToString () and added the operators
6197         (== and !=).
6198
6199 2002-02-23  Jason Diamond <jason@injektilo.org>
6200
6201         * XmlTextReader.cs: Added support for qualified attributes.
6202
6203 2002-02-23  Jason Diamond <jason@injektilo.org>
6204
6205         * XmlNamespaceManager.cs: Initial implementation.
6206         
6207         * XmlTextReader.cs: Added support for NamespaceURI property on
6208         elements.
6209
6210 2002-02-23  Nick Drochak <ndrochak@gol.com>
6211
6212         * ChangeLog: Add the change log to this directory
6213
6214         * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
6215         MonoTODO's