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