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