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