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