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