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