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