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