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