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