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