2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.XML / System.Xml / ChangeLog
1 2004-05-13  Atsushi Enomoto <atsushi@ximian.com>
2
3         * XmlValidatingReader.cs : explicitly mark as MonoTODO for XDR (not
4           supported).
5
6 2004-05-12  Atsushi Enomoto <atsushi@ximian.com>
7
8         * DTDObjectModel.cs,
9           DTDReader.cs,
10           XmlDocument.cs,
11           XmlInputStream.cs,
12           XmlParserInput.cs,
13           XmlTextReader.cs,
14           XmlUrlResolver.cs : removed reference to Mono.Xml.
15           Made Mono.Xml.* classes internal.
16         * XmlDocument.cs : output xml declaration for TextWriter output in Save()
17         * XmlElement.cs : Name character check should be done in .ctor().
18         * XmlNamespaceManager.cs : Removed dangerous internal .ctor()
19
20 2004-05-10  Atsushi Enomoto <atsushi@ximian.com>
21
22         * XmlNodeReader.cs : renamed ownerElement to ownerLinkedNode (text
23           node can be it as well) and added check for Attributes existence
24           in GetAttribute() and MoveTo*Attribute().
25
26 2004-05-10  Atsushi Enomoto <atsushi@ximian.com>
27
28         * XmlTextWriter.cs : comment not in the content state is indented.
29           This fixes bug #58247.
30
31 2004-05-07  Lluis Sanchez Gual  <lluis@ximian.com>
32
33         * XmlTextWriter.cs: In WriteStartAttribute, when the prefix is xmlns and
34           the name is empty, convert it to a xmlns attribute.
35
36 2004-04-27  Atsushi Enomoto <atsushi@ximian.com>
37
38         * XmlTextReader.cs : don't use NET_1_0.
39
40 2004-04-24  Atsushi Enomoto <atsushi@ximian.com>
41
42         * XmlComment.cs. XmlProcessingInstruction.cs : missing commits.
43
44 2004-04-24  Atsushi Enomoto <atsushi@ximian.com>
45
46         W3C DOM compliant read-only check support (buggy part in MS.NET).
47         * XmlAttribute.cs,
48           XmlCDataSection.cs,
49           XmlCharacterData.cs,
50           XmlDocument.cs,
51           XmlElement.cs,
52           XmlNode.cs,
53           XmlSignificantWhitespace.cs,
54           XmlText.cs
55           : CloneNode() - set read-only when copied node is read-only.
56             Check IsReadOnly on attempt to modify value.
57         * XmlEntity.cs,
58           XmlEntityReference.cs : Set descendant nodes read-only.
59         * XmlAttributeCollection.cs,
60           XmlNode.cs
61           : Fixed incompatible exception type.
62         * XmlEntityReference.cs : CloneNode() should not pass an empty string
63           as its name.
64         * XmlEntityReference.cs,
65           XmlProcessingInstruction.cs : Check XML name validity.
66         * XmlText.cs : CloneNode() does not have to check children.
67
68 2004-04-24  Atsushi Enomoto <atsushi@ximian.com>
69
70         * XmlDeclaration.cs : More strict check on InnerText and Value.
71
72 2004-04-24  Atsushi Enomoto <atsushi@ximian.com>
73
74         * DTDReader.cs, XmlConvert.cs, XmlDeclaration.cs, XmlImplementation.cs,
75           XmlNode.cs : Culture independency fix.
76
77 2004-04-22  Atsushi Enomoto <atsushi@ximian.com>
78
79         * XmlEntityReference.cs : Added XPathNodeType (just for workaround).
80           This should really fix bug #57248.
81
82 2004-04-20  Atsushi Enomoto <atsushi@ximian.com>
83
84         * XmlDocumentNavigator.cs : MoveToFirstChild() failed when there is
85           only an EntityReference (not navigatable) child. Bug #57248 fixed.
86         * XmlWriter.cs : Modified WriteNode() to use MoveToAttribute(int)
87           instead of WriteAttributes() only for MS.NET behavior compatibility.
88           This change makes SgmlReader usable (due to SgmlReader bug).
89
90 2004-04-10  Atsushi Enomoto <atsushi@ximian.com>
91
92         * XmlParserContext.cs : Fixed .ctor() not to reference null namespace
93           manager. This fixes bug #56770.
94
95 2004-04-06  Atsushi Enomoto <atsushi@ximian.com>
96
97         * DTDReader.cs : In ProcessDTDSubset(), 1)error message was 
98           generated with incorrect stream character, 2)entity nest check 
99           should not depend on line info which might not be supplied, 3)
100           empty PE should be skipped.
101         * XmlParserInput.cs : use index for StringBuilder instead of calling
102           Remove() many times. This highly optimizes DTD parser.
103
104         * XmlAttribute.cs : removed commented code.
105         * XmlEntity.cs : removed unused field.
106
107 2004-04-05  Atsushi Enomoto <atsushi@ximian.com>
108
109         * DTDObjectModel.cs : (DTDAttributeDefinition) create ArrayList 
110           only when they are required.
111         * DTDReader.cs,
112           XmlParserInput.cs : raw tag string now don't have to be kept, while
113           it cost so much. Removed unused code. 20% to 30% memory got saved.
114         * XmlNotation.cs : removed unused code.
115         * XmlTextReader.cs : Removed unused code. ReadString() now uses 
116           XmlReader's internal method. Fixed BaseURI to be conformant with
117           W3C XML InfoSet and (subsequently) xml:base specification (i.e. 
118           reflect xml:base attribute correctly).
119
120 2004-04-05  Atsushi Enomoto <atsushi@ximian.com>
121
122         * XmlAttribute.cs : get_Value should return all children's value.
123         * XmlCharacterData.cs : DOM's substring does not raise an error when
124           startIndex + count exceeds the length of Data.
125         * XmlNamedNodeMap.cs : SetNamedItem() returns the new child when it
126           does not replace another named item.
127         * XmlElement.cs : with related to the XmlNamedNodeMap change, 
128           SetAttributeNode() is required to fix as to return null when it does
129           not replace existing attribute.
130
131 2004-03-31  Atsushi Enomoto <atsushi@ximian.com>
132
133         * XmlDocumentNavigator.cs : When this instance is created from xmlns 
134           attributes, it should be Namespace node.
135
136 2004-03-27  Atsushi Enomoto <atsushi@ximian.com>
137
138         * XmlReader.cs : ReadInnerXml() should progress reader when it is on
139           an empty element. This fixes bug #56064.
140
141 2004-03-27  Atsushi Enomoto <atsushi@ximian.com>
142
143         * DTDReader.cs : In some places sequential parameter entity was
144           incorrectly skipped (and caused invalid result).
145
146 2004-03-24  Atsushi Enomoto <atsushi@ximian.com>
147
148         * XmlDocumentNavigator.cs : MoveTo*Namespace() should not iterate
149           namespace nodes which has the same name as already-iterated nodes.
150           Also xmlns='' should not be selected, and once it appeared, default 
151           namespace should not be selected anymore.
152
153 2004-03-24  Atsushi Enomoto <atsushi@ximian.com>
154
155         * XmlCharacterData.cs : ReplaceData() should reject negative integer
156           value for count argument.
157         * XmlAttribute.cs, XmlAttributeCollection.cs, XmlNamedNodeMap.cs :
158           On RemoveNamedItem(), default attribute value should be restored.
159
160 2004-03-24  Atsushi Enomoto <atsushi@ximian.com>
161
162         * XmlAttributeCollection.cs : Remove() should throw an exception when
163           target attribute is not included in the collection.
164         * XmlDocument.cs : ImportNode() should reject null node.
165         * XmlNode.cs : Fixed type of exception for invalid insertion.
166           It should throw an exception not only when the owner document of the
167           reference element is different but its parent element is different.
168           Some error message improvement.
169
170 2004-03-21  Atsushi Enomoto <atsushi@ximian.com>
171
172         * XmlReader.cs : ReadInnerXml() incorrectly tried to get output xml.
173           This fixes bug #55856.
174
175 2004-03-20  Atsushi Enomoto <atsushi@ximian.com>
176
177         * XmlTextWriter.cs : Fixed indentation on CDATA. This fixes bug #55828.
178
179 2004-03-19  Atsushi Enomoto <atsushi@ximian.com>
180
181         * XmlImplementation.cs : HasFeature() returns true when strVersion
182           is null.
183
184 2004-03-16  Atsushi Enomoto <atsushi@ximian.com>
185
186         * XmlWhitespace.cs : Fixed WriteTo(). Whitespace nodes should be 
187           written regardless of document's PreserveWhitespace.
188
189 2004-03-16  Atsushi Enomoto <atsushi@ximian.com>
190
191         * XmlDocumentNavigator.cs : Value should return concatenated string for 
192           sequential text nodes. Considered detached nodes, the result of 
193           MoveToParent() should be checked.
194
195 2004-03-15  Atsushi Enomoto <atsushi@ximian.com>
196
197         * XmlReader.cs : ReadInnerXml()/ReadOuterXml() should not bork when
198           the reader is on EndElement. Patch by Jean-Marc Andre.
199
200 2004-03-14  Atsushi Enomoto <atsushi@ximian.com>
201
202         * XmlDocumentNavigator.cs : as for namespace node "xml", MS.NET seems
203           to return attribute node. It affects on IHasXmlNode.GetNode() and
204           SelectNodes()/SelectSingleNode().
205
206 2004-03-04  Atsushi Enomoto <atsushi@ximian.com>
207
208         * XmlImplementation.cs : fixity fix (I need NUnit runnable ;)
209
210 2004-03-04  Atsushi Enomoto <atsushi@ximian.com>
211
212         * XmlImplementation.cs : forgot to commit (renaming internal case)
213
214 2004-03-04  Atsushi Enomoto <atsushi@ximian.com>
215
216         * XmlDocument.cs : Implementation should not return null.
217
218 2004-02-25  Atsushi Enomoto <atsushi@ximian.com>
219
220         * XmlTextWriterOpenElement.cs : Reset() should reset _all_ fields.
221           This fixes indentation bug.
222
223 2004-02-19  Atsushi Enomoto <atsushi@ximian.com>
224
225         * XmlTextWriter.cs : Fixed bugzilla #54554 (incorrent end tag output).
226
227 2004-02-16  Atsushi Enomoto <atsushi@ximian.com>
228
229         * DTDAutomata.cs,
230           DTDObjectModel.cs,
231           DTDReader.cs,
232           DTDValidatingReader.cs : made classes internal.
233         * XmlDocument.cs : removed extra FIXMEs.
234         * XmlNamedNodeMap.cs,
235           XmlResolver.cs,
236           XmlUrlResolver.cs : 
237           Fixed incorrect method signature.
238
239 2004-02-13  Atsushi Enomoto <atsushi@ximian.com>
240
241         * DTDObjectModel.cs, DTDReader.cs, DTDValidatingReader.cs : 
242           say goodbye to sys.collections.specialized.
243           (replaced the classes in that namespace with ArrayList or Hashtable)
244
245 2004-02-12  Atsushi Enomoto <atsushi@ximian.com>
246
247         * XmlReader.cs : For performance reason, XmlTextReader now uses
248           base ReadInnerXml() and don't store currentTag array unnecessarily.
249         * XmlTextReader.cs :
250           - Fixed GetAttribute(int) that might cause index out of range.
251           - Now it consumes the text reader by reading blocks, as MS.NET does.
252             Modified GetRemainder(), PeekChar(), ReadChar() and so on.
253           - Now it doesn't create Value string for linked nodes, unless it 
254             is actually required.
255           - some code refactory.
256
257 2004-02-11  Atsushi Enomoto <atsushi@ximian.com>
258
259         * XmlTextWriter.cs, XmlTextWriterOpenElement.cs :
260           Reduced creation of openlElement. It also saves much memory.
261
262 2004-02-10  Atsushi Enomoto <atsushi@ximian.com>
263
264         * XmlNode.cs : ChildNodes should not create XmlNodeListChildren
265           every time. This fix heavily improved performance.
266
267 2004-02-10  Atsushi Enomoto <atsushi@ximian.com>
268
269         * XmlAttributeCollection.cs : set owner element as parent on removal
270           events (though they are not "parent" in infoset or dom context)
271         * XmlElement.cs : Don't remove attributes twice (raises extraneous
272           removal events).
273         * XmlNamespaceManager.cs, XmlNodeChangedEventArgs :
274           Added NET_2_0 members.
275
276 2004-02-08  Atsushi Enomoto <atsushi@ximian.com>
277
278         * DTDObjectModel.cs : Limit external entity reference from DTD by 256.
279           foreach elimination.  DTDParameterEntityDeclaration should set Root.
280           Compute attribute default value without raising an error.
281           (for non-error reporting reader)
282         * DTDReader.cs : Fixes for the above fixes. foreach elimination.
283         * DTDValidatingReader.cs, NameTable.cs, XmlAttribute.cs,
284           XmlAttributeCollection.cs, XmlChar.cs, XmlConstruct.cs,
285           XmlDocumentFragment.cs, XmlDocumentNavigator.cs, XmlElement.cs,
286           XmlEntityReference.cs, XmlNamedNodeMap.cs, XmlNode.cs,
287           XmlText.cs : foreach elimination.
288         * XmlDocument.cs, XmlSignificantWhitespace.cs, XmlWhitespace.cs :
289           foreach elimination. Removed unnecesary methods.
290         * XmlTextReader.cs : code format refactory. Optimized some methods.
291           foreach elimination. Replaced Stack with string array.
292           Replaced StringBuilder with char array. Removed unnecessary methods.
293
294 2004-02-06  Atsushi Enomoto <atsushi@ximian.com>
295
296         * DTDValidatingReader.cs : Fixed MoveToElement() that causes incorrect
297           IsDefault and Depth.
298         * XmlAttribute.cs : Fixed .ctor(). Omit more namespace check when 
299           checkNamespace = false.
300         * XmlNamedNodeMap.cs : Fixed SetNamedItem() to raise events.
301         * XmlAttributeCollection.cs : Reimplemented InsertAfter to use
302           InsertBefore() (similar to XmlNode).
303         * XmlDocument.cs : Added internal .ctor().  Reimplemented ReadNode()
304           as recursive, to make event order compatible.
305         * XmlDocumentType.cs : Use SetNamedItem() (to raise events).
306         * XmlElement.cs : Some refactory.  Fixed SetAttributeNode() with 
307           string name to block prefixed name.
308         * XmlEntity.cs : Don't raise events on setting contents.
309         * XmlNode.cs : Some refactory. Added raiseEvent argument to internal
310           InsertBefore().
311         * XmlEntityReference.cs : related fix for XmlNode change.
312         * XmlTextReader.cs : When the reader is on "attributes" of xmldecl or
313           doctype, Depth 1 lower than usual attribute. Split large function.
314
315 2004-02-05  Atsushi Enomoto <atsushi@ximian.com>
316
317         * XmlConvert.cs : ToSingle() and ToDouble() should be culture 
318           independent. Patch by Rodolfo Campero.
319
320 2004-02-04  Atsushi Enomoto <atsushi@ximian.com>
321
322         * DTDObjectModel.cs : Never expand entity on ScanEntityValue().
323         * DTDValidatingReader.cs : XmlDeclaration node requires attributes
324           to be movable.
325         * XmlAttribute.cs,
326           XmlDocument.cs,
327           XmlDocumentFragment.cs,
328           XmlElement.cs,
329           XmlEntity.cs,
330           XmlLinkedNode.cs,
331           XmlNode.cs,
332           XmlNotation.cs : 
333           Added namespace checking flag (required for such xml readers
334           that holds Namespaces=false). Now only XmlNode holds LastLinkedNode.
335         * XmlDocumentType.cs,
336           XmlEntity.cs,
337           XmlEntityReference.cs : The children of Entity and EntityReference
338           became correct. They now holds parsed nodes, but it is only when
339           they are appended to the document.
340         * XmlNode.cs : Modified insertBeforeIntern() to InsertBefore() with
341           boolean checkNodeType argument.  This method also tries to create
342           Entity's and EntityReference's child nodes.  Also added internal
343           RemoveChild() with boolean checkNodeType argument.
344         * XmlNodeReader.cs : Quick hack for ResolveEntity() that became 
345           broken with these changes. use InnerXml as input to entityReader.
346         * XmlTextReader.cs : XmlDeclaration's value LocalName should be the
347           same as Name.  The names of DTD's pseudo attributes should be empty.
348           Fixed DTD node's Depth (was regarded as attribute value's depth).
349
350 2004-02-03  Atsushi Enomoto <atsushi@ximian.com>
351
352         * XmlTextReader.cs, DTDReader.cs : fixity fix ;)
353
354 2004-02-03  Atsushi Enomoto <atsushi@ximian.com>
355
356         * ChangeLog : Fixed incorrect description that should be written for
357           DTDValidatingReader.cs but written for DTDReader.cs.
358         * DTDValidatingReader.cs : Fixes described in the last DTDReader fix.
359
360         * XmlChar.cs,
361           XmlConstructs.cs : Made XmlChar and XmlConstructs equivalent and
362           replaced XmlChar with XmlConstruts, renaming "XmlChar" to 
363           "XmlCharCompact" and "XmlConstructs" to "XmlChar". 
364           (XmlChar will be used for compact framework.)
365         * DTDReader.cs, XmlParserInput.cs, XmlTextReader.cs : 
366           XmlChar related changes.  Support for surrogate pair.
367           It cannot use TextReader's peek anymore (for surrogate pair).
368           Character range check for PI value, attribute value, text
369         * XmlTextWriter.cs : Change openElements from Stack to ArrayList.
370           (It calls ToArray() every time.)
371
372 2004-02-03  Alon Gazit <along@mainsoft.com>
373         * XmlNamedNodeMap - now Item(int index) returns null for nodeList.Count
374           instead of throwing ArgumentOutOfRangeException.
375
376 2004-02-03  Atsushi Enomoto <atsushi@ximian.com>
377
378         * XmlChar.cs : now GetPredefinedEntity() returns int and -1 for not
379           predefined entity names.
380         * DTDObjectModel.cs : DTDxxxCollection now derives from 
381           - DTDCollectionBase that derives from DictionaryBase.
382           - "Literal value" and "replacement text" are handled differently.
383           - Throw XmlException when external entity could not be resolved. 
384           - Return ReplacementText for EntityValue.
385         * DTDReader.cs :
386           - Support IXmlLineInfo.
387           - Fixed IGNORE section handling to be more strict.
388           - Compute replacement text on reading entity declarations.
389           - Don't expand char references before getting literal entity value.
390           - Check not allowed parameter entity inside internal subset.
391         * DTDValidatingReader.cs :
392           - Added ValidateWhitespaceNode() to check whitespace's Validity
393             Constraints on external elementdecl and standalone document.
394           - When invalid data against its datatype was found, don't throw
395             parse error.
396           - Other code refactory.
397         * XmlTextReader.cs : 
398           - Check for invalid Text pattern "]]>" should not depend on line 
399             info since it might not be supported.
400           - Check referenced character's validity (WFC).
401
402 2004-01-28  Atsushi Enomoto <atsushi@ximian.com>
403
404         * DTDReader.cs : Added Normalization.  Parameter Entity declaration
405           should block invalid characters. (GEDecl should be fixed as well.)
406         * XmlConstruct.cs : Should allow surrogate chars.
407         * XmlNotation.cs : When prefix is empty (i.e. almost all cases) 
408           Name should not add ':'. Patch by Boris Kirzner.
409         * XmlTextReader.cs : Modified private ReadCharacterReference() to
410           return the character (or -1 when should not return anything).
411           Now Text character reference are checked their character range.
412           Set DTDReader.Normalization as well as the reader itself.
413
414 2004-01-28  Atsushi Enomoto <atsushi@ximian.com>
415
416         * DTDReader.cs : Make sure that parameter entities are not allowed
417           inside internal subset unless it appears as a markupdecl.
418         * DTDValidatingReader.cs : ENTITY or ENTITIES type attributes must have
419           a value that indicates *unparsed* entity (i.e. NDATA required).
420
421 2004-01-26  Atsushi Enomoto <atsushi@ximian.com>
422
423         * XmlTextWriter.cs : quick performance fix.
424           Reduced memoty allocation (e.g. 12% when writing XMLSchema.xsd.)
425
426 2004-01-26  Atsushi Enomoto <atsushi@ximian.com>
427
428         * DTDObjectModel.cs :
429           - DTDNode's BaseURI should not always refer to that of DTD's.
430           - Use absolute URI's .ToString() instead of AbsolutePath.
431         * DTDReader.cs : Throw XmlException for illegal character references.
432         * DTDValidatingReader.cs :
433           - Share XmlResolver when the actual reader is XmlTextReader.
434             (MS's XmlValidatingReader and XmlTextReader do this.)
435           - Added its own EntityHandling property.
436         * XmlValidatingReader.cs : Share XmlResolver with XmlTextReader.
437         * XmlReader.cs,
438           XmlTextReader.cs : Added new NET_2_0 members.
439         * XmlElement.cs : Removed extra lines (caused by XmlTextWriter bugs).
440         * XmlEntityReference.cs : Forgot to add, the real fix by Boris.
441
442 2004-01-23  Atsushi Enomoto <atsushi@ximian.com>
443
444         * XmlWriter.cs, XmlTextWriter.cs :
445           Several namespace related fixes.
446           - Current element's NamespaceURI should be immediately available
447             after the call of WriteStartElement() for LookupPrefix(), so 
448             AddMissingElementXmlns() only affects on output. This is 
449             now identified by shouldCheckElementXmlns field.
450           - Attribute's overraped xmlns should be ignored for LookupPrefix(),
451             Especially, when the owner element is written with the default
452             namespace. HOWEVER, the attribute should be *written*. This is
453             identified by shouldAddSavedNsToManager field.
454           - In AddMissingElementXmlns(), non-empty prefix namespace was not
455             checked user-written attributes.
456           - XmlWriter.WriteAttributeString() never supplies namespace URI for
457             xmlns attributes for other versions than NET_1_0. Instead, added
458             ns check logic in WriteStartAttribute() only with NET_1_0.
459           - WriteEndAttribute() should reject zero-length namespace for 
460             non-default xmlns declarations.
461           - LookupPrefix() should reject argument null and empty.
462
463         (added 2004-01-24 : forgot to mention more)
464           - WriteAttributeString() w/o namespace should supply null, not ""
465           - Added .NET 1.2 members.
466           - Regard any name with "xml" prefix as in "namespace for XML".
467
468 2004-01-22  Atsushi Enomoto <atsushi@ximian.com>
469
470         * XmlElement.cs : Reverted previous fix since it broke monodoc web 
471           service.
472
473 2004-01-20  Atsushi Enomoto <atsushi@ximian.com>
474
475         * XmlNode.cs : When adding a node to child list, it should reject its
476           ancestors. Patch by Boris Kirzner.
477         * XmlNodeReader.cs : Related fix to the fix above. It should not move
478           to children of XmlEntityReference nodes.
479         * XmlTextWriter.cs : FixedWriteStartElement() not to write default
480           namespace when ns is null (while ns is "", it writes default ns).
481         * XmlElement.cs : Fixed WriteTo() to call WriteStartElement(localName)
482           when NamespaceURI is an empty string.
483
484 2004-01-14  Atsushi Enomoto <atsushi@ximian.com>
485
486         * XmlAttribute.cs : when set a value, it is no longer default 
487           (even if the value is the same as default value).
488         * XmlAttributeCollection.cs : Remove() should recover default attribute
489           value to default, not specified value.
490           Patch by Boris Kirzner (modified a bit)
491         * XmlDocument.cs : Reference to undeclared entity is not allowed in
492           Load(), while allowed in ReadNode(). Added such distinguishing logic.
493
494 2004-01-13  Atsushi Enomoto <atsushi@ximian.com>
495
496         * XmlValidatingReader.cs : Throw exception only in case of errors.
497           Added NET_2_0 Evidences property.
498
499 2004-01-12  Atsushi Enomoto  <atsushi@ximian.com>
500
501         * XmlElement.cs : Fixed .ctor(). Default attribute was not treated as
502           Specified = false. Patch by Boris Kirzner.
503
504 2004-01-11  Atsushi Enomoto <atsushi@ximian.com>
505
506         * XmlException.cs : Fixed incorrect .ctor signature.
507         * XmlParserInput.cs : Fixed in sync with the above fix.
508
509 2004-01-08  Atsushi Enomoto  <atsushi@ximian.com>
510
511         * XmlAttribute.cs, XmlElement.cs : 
512           Fixed incorrect protected .ctor modification.
513
514 2004-01-08  Nick Drochak <ndrochak@ieee.org>
515
516         * DTDValidatingReader.cs: Removed unused variable
517         
518 2004-01-07  Atsushi Enomoto  <atsushi@ximian.com>
519
520         * XmlNamespaceManager.cs : Implemented .NET 1.2 methods that take
521           atomizedNames argument.
522         * XmlTextReader.cs : Use new namespace manager methods.
523           Reduced NameTable.Add().
524         * DTDObjectModel.cs : fixed incorrectly commented-out line.
525
526 2004-01-07  Atsushi Enomoto  <atsushi@ximian.com>
527
528         * XmlAttribute.cs, XmlDocument.cs, XmlElement.cs :
529           set_Prefix should atomize to name table.
530           Avoided extraneous atomization attempt a bit.
531
532 2004-01-07  Atsushi Enomoto  <atsushi@ximian.com>
533
534         * DTDObjectModel.cs, DTDReader.cs, XmlSecureResolver.cs :
535           avoiding obvious exception.
536         * DTDReader.cs, XmlTextReader.cs : Some optimization. 
537           Avoided extraneous PeekChar() and reduced name string creation.
538
539 2004-01-05  David Sheldon <dave-mono@earth.li>
540   
541   * XmlTextReader.cs: Fixed constructors taking string url to not
542     loose the absolute part of the path.
543
544 2004-01-04  Atsushi Enomoto  <atsushi@ximian.com>
545
546         * XmlDocument.cs : Fixed Load() to set XmlResolver correctly. Patch
547           by Benjamin Jemlich.
548           Assure closing XmlTextReader which are internally used.
549
550 2004-01-03  Atsushi Enomoto  <atsushi@ximian.com>
551
552         * XmlTextWriter.cs : trivial character-case fix
553         * XmlUrlResolver.cs : It downloads network stream content at 
554           GetEntity() call. You can try like below:
555             for (int i=0;i<100;i++) u.GetEntity(url, null, typeof(Stream));
556
557 2003-12-23  Atsushi Enomoto  <atsushi@ximian.com>
558
559         * XmlNamedNodeMap.cs : Fixed internal SetNamedItem(node, pos) to set
560           replacing node correctly. This fixes bug #52453.
561
562 2003-12-21  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
563
564         * XmlDocument.cs, XmlElement.cs, XmlNode.cs :
565           GetElementsByTagName() - Fixed bugzilla #52419, refactored, 
566           and moved private implementation methods to XmlNode class.
567
568 2003-12-20  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
569
570         * XmlTextWriter.cs :
571           Element's namespace should be escaped as usual attribute.
572
573 2003-12-18  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
574
575         * XmlTextWriter.cs : Indentation between xmldecl and doctype.
576         * DTDValidatingReader.cs : AttList null reference fix.
577
578 2003-12-16  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
579
580         * DTDValidatingReader.cs : Validity check and entity expansion were
581           incorrectly mixed.
582         * DTDObjectModel.cs, DTDReader.cs, XmlInputStream.cs :
583           Going to remove XmlInputStream. XmlStreamReader might be replacable.
584
585 2003-12-15  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
586
587         * XPathDocument2ChangedEventHandler.cs : fixed incorrect argument.
588         * Moved UpdateEventHandler.cs and XmlUpdateEventArgs.cs to sqlxml.
589
590 2003-12-15  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
591
592         * XmlTextReader.cs : BaseURI was broken. This fixes bug #52098.
593
594 2003-12-15  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
595
596         * XmlUrlResolver.cs : GetEntity() does not return direct network stream
597           that may hold up connection. Now it reads up all the content stream.
598
599 2003-12-12  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
600
601         * XmlAttributeCollection.cs,
602           XmlElement.cs : Fixed bug #51415.
603           When adding attribute to an element using Attributes, it failed.
604
605 2003-12-11  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
606
607         * XmlDocument.cs : Fixed ReadNode() to call AppendChild() to document
608           after setting all attribute nodes. Modified ReadNode() to handle
609           Depth comparison and error handling (!= to <). It allows MS's
610           SgmlReader bug that returns incorrect Depth.
611
612 2003-12-11  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
613
614         * XmlDocumentNavigator.cs : Fixed MoveToNextAttribute (and 
615           MoveToNextNamespace) that might result in NullReferenceException.
616           patch by Sanjay Gupta. This fixed bug #51941 (and possibly #51415)
617
618 2003-12-07  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
619
620         * XmlUrlResolver.cs : Update with recent System.Uri change. This fixes
621           bugzilla #51808 (patch by Jeroen Zwartepoorte, a bit modified).
622
623 2003-12-04  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
624
625         * XmlTextWriter.cs : WriteComment() should block "--", not full "-->".
626         * XmlDocumentNavigator.cs : Added null check in MoveToNextAttribute().
627           This may fix bug #51415.
628
629 2003-11-28  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
630
631         * XmlAttribute.cs : set_Prefix checks value when existing is "xmlns".
632
633 2003-11-28  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
634
635         * XmlWriter.cs : patch by Gonzalo (I modified a bit). WriteNode()
636           shouldn't expect non-empty element content. This will fix bug #48287.
637
638 2003-11-28  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
639
640         * XmlTextWriter.cs : When element's namespace should be overwritten by
641           one of its attribute, if exist as such. This fixes bug #51305.
642
643 2003-11-24  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
644
645         * DTDValidatingReader.cs : Fixed ReadContent() which may result in 
646           invalid additional Text node.
647
648 2003-11-24  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
649
650         * XmlTextWriter.cs : 
651           On WriteProcessingInstruction(), ArgumentException() is expected ;-)
652
653 2003-11-24  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
654
655         * XmlTextWriter.cs :
656           WriteProcessingInstruction() should check name validity.
657           AddMissingElementXmlns() should allow namespace emission even if it
658           is identical to existing one.
659
660 2003-11-22  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
661
662         * XmlTextReader.cs : Fixed ReadInnerXml(). This fixes bug #51267.
663
664 2003-11-20 Eran Domb <erand@mainsoft.com>
665
666         * XmlTextWriter.cs (WriteStartAttribute) : Check if the ket already exists in the newAttributeNamespaces table 
667           before trying to add it to the table.
668
669 2003-11-19  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
670
671         * DTDValidatingReader.cs : Replaced entity should not treat whitespaces
672           as significant.
673         * XmlNode.cs : Removed extraneous MonoTODOs.
674
675 2003-11-17  Jackson Harper  <jackson@ximian.com>
676
677         * XPathEditor.cs: .net 1.2 only
678         
679 2003-11-17  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
680
681         * AsyncXmlTextWriter.cs, IXPathChangeNavigator.cs, IXPathEditor.cs,
682           IXPathNavigator.cs, IXmlDataEvidence.cs, IXmlNamespaceResolver.cs,
683           UpdateEventHandler.cs, XPathChangeNavigator.cs, XPathDocument2.cs,
684           XPathDocument2ChangedEventAction.cs, 
685           XPathDocument2ChangedEventHandler.cs, XPathEditor.cs,
686           XPathNavigator2.cs, XmlChangeFilters.cs, XmlInfoItemType.cs,
687           XmlNamespaceScope.cs, XmlNodeChangeType.cs, XmlQualifiedNameTable,cs,
688           XmlQueryDialect.cs, XmlUpdateEventArgs.cs
689           : Added .NET 1.2 classes (for convenience of ObjectSpaces stubbing).
690
691 2003-11-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
692
693         * XmlDocumentNavigator.cs : Fixed MoveToFirstChild() and MoveToNext()
694           to skip XmlEntityReference.
695         * XmlTextWriter.cs : Fixed AddMissingElements() and 
696           WriteStartAttribute() not to emit extraneous xmlns.
697
698 2003-11-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
699
700         * XmlTextWriter.cs : Skip multiple xmlns when element and any of 
701           attributes have the same xmlns values.
702           WriteEndElement() allows open attribute (calles WriteEndAttribute()).
703           Indentation should be inserted between ">" and "</xxx>" .
704
705 2003-11-02  Pedro Martínez Juliá  <yoros@wanadoo.es>
706
707         * XmlConvert.cs: Only parse INF/-INF/NaN. Other Infinty or NAN
708         numbers are parsed with the respective ::Parse method.
709
710 2003-11-01  Pedro Martínez Juliá  <yoros@wanadoo.es>
711
712         * XmlConvert.cs: Revert my last change. INF and -INF must be
713         processed here because Double::Parse and Single::Parse doesn't
714         understand anything of parsing [-]INF.
715
716 2003-11-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
717
718         * XmlDocument.cs : Save(Stream) should not close the stream.
719
720 2003-10-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
721
722         * DTDReader.cs, DTDValidatingReader.cs, XmlInputStream.cs,
723           XmlTextReader.cs : More cleanup.
724         * XmlDocument.cs : Removed CheckName(). Code cleanup.
725         * XmlElement.cs : .ctor() now adds default attributes (if required).
726         * XmlAttribute.cs, XmlElement.cs, XmlEntity.cs, XmlEntityReference.cs,
727           XmlNotation.cs : Now uses OwnerDocument's NameTable.
728
729 2003-10-25  Pedro Martínez Juliá  <yoros@wanadoo.es>
730
731         * XmlConvert.cs: Support for the sign in double and single. The
732         processing of the infinites and nan numbers are more complex than
733         comparing to "INF" so we must let Double::Parse and Single::Parse
734         doing their job.
735
736 2003-10-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
737
738         * DTDValidatingReader.cs : Now it handles whitespace entity as
739           significant.
740         * XmlConvert.cs : As to NIST testcases, exponential support on single
741           and double floating point numbers.
742         * XmlValidatingReader.cs : If it IsDefault, then line number and line
743           position returns 0.
744
745 2003-10-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
746
747         * DTDReader.cs,
748           XmlConstructs.cs,
749           XmlTextReader.cs,
750           XmlWriter.cs : Fixed incorrect access modifier.
751         * XmlTextWriter.cs : Imported state variable from XmlWriter.
752         * DTDValidatingReader.cs : Removed extraneous MonoTODO.
753         * XmlConvert.cs : Implemented ToTimeSpan().
754           Modified ToDateTime() to reuse the same array.
755
756 2003-10-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
757
758         * XmlAttributeCollection.cs : Fixed synchronization stuff.
759         * XmlConvert.cs : Added two FromBinHexString() methods.
760         * XmlTextReader.cs : Modified to use one of the above method.
761         * XmlValidatingReader.cs : XsdValidatingReader.XmlResolver will be 
762           disabled (in the next commit), so resolver won' be set to it.
763           Attempt to validate against XDR now throws NotSupportedException.
764
765 2003-10-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
766
767         * XmlChar.cs : added WhitespaceChars, used in common.
768         * XmlConvert.cs,
769           XmlDeclaration.cs,
770           XmlParserInput.cs,
771           XmlTextReader.cs,
772           XmlTextWriter.cs : String.Trim()
773         * XmlConvert.cs : shifted XmlConstructs to XmlChar.
774         * XmlTextReader.cs : Implemented Normalization.
775
776 2003-10-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
777
778         * XmlNode.cs : GetPrefixOfNamespace() also contained a bug similar to
779           GetNamespaceOfPrefix() fixed at 2003-10-13.
780         * XmlTextReader.cs : ReadBase64() should keep incomplete base64 block
781           which remained by previous call of this method.
782         * XmlUrlResolver.cs : Added assertion for file Uri path's absoluteness.
783         * XmlValidatingReader.cs : Notice about intention of XDR won't be
784           supported (at least in Mono 1.0).
785
786 2003-10-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
787
788         * XmlDocument.cs : CloneNode() does not copy PreserveWhitespace.
789         * XmlWriter.cs : Calling WriteNode() with XmlReader whose state is
790           XmlDeclaration now calls WriteProcessingInstruction(). This fixes
791           testcase XmlWriterTests.WriteNodeFullDocument().
792         * XmlTextWriter.cs : Added LAMESPEC comments related to above.
793
794 2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
795
796         * XmlDocument.cs : Fixed bugzilla #49607. Save() outputs XML 
797           declaration even though there is no XmlDeclaration child.
798         * XmlTextReader.cs : Fixed Init() so that ResetState() should work.
799
800 2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
801
802         * XmlTextWriter.cs : Implemented WriteSurrogateCharEntity().
803           Reverted my recent extraneous check in WriteStartAttribute().
804
805 2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
806
807         * XmlNode.cs : GetNamespaceOfPrefix() should check Attributes existence.
808           And it should throw ArgumentNullException.
809
810 2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
811
812         * XmlAttribute.cs : Fixed InnerText that did not removed its content
813           if there is two or more children.
814         * XmlNode.cs : XmlNode.cs : Fixed bugzilla #49580 (1)to return "",
815           (2)not to compare NodeType for detached nodes, (3)optimization to
816           compare element's prefix.
817         * XmlSecureResolver.cs : Removed extraneous members.
818
819 2003-10-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
820
821         * Added DTDReader.cs. It is almost importation of XmlTextReader.
822         * DTDObjectModel.cs :
823           - More .NET-ism. Properties took place of fields.
824           - Imported PE set from XmlTextReader. Added location info.
825           - Added DTDEntityBase common to PE and GE.
826           - More correct text declaration handling with new XmlTextReader.
827         * DTDValidatingReader.cs :
828           - Now uses entity resolving XmlTextReader to validate attributes
829             correctly. Implemented standalone
830           - Standalone and default related validity constraints check.
831         * XmlImplementation.cs: Implemented HasFeature().
832         * XmlNode.cs : Implemented Supports().
833         * XmlNodeReader.cs : Modified to use XmlTextReader.SkipTextDeclaration()
834         * XmlParserInput.cs : Removed extraneous members.
835         * XmlTextReader.cs :
836           - All DTD related functionality now goes to DTDReader.cs
837           - It became old simple TextReader input style.
838           - Implemented GetRemainder().
839           - Implemented ReadBase64(), ReadBinHex() and ReadChars(), using 
840             additional new private method ReadUntilEndTag().
841           - Removed incomplete MaybeTextDecl and added SkipTextDeclaration().
842             ReadXmlDeclaration() now became simple.
843           - More strict entity reference check at SetEntityReferenceProperty()
844           - Removed extraneous members.
845         * XmlWriter.cs : WriteNode(XmlNodeType.None) does not raise error.
846
847 2003-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
848
849         * XmlTextReader.cs: when we get an unexpected EOF in ReadContent, set
850         the state before throwing the exception if depth > 0.
851
852 2003-10-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
853
854         * XmlAttribute.cs : Removed extraneous MonoTODO.
855         * XmlTextWriter.cs : Implemented WriteBinHex() and WriteChars().
856           WriteStartElement() and WriteStartAttribute() should ignore Prefix
857           if namespace uri is not specified.
858
859 2003-10-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
860
861         * XmlDocumentFragment.cs,
862           XmlElement.cs,
863           XmlEntityReference.cs : Removed extraneous MonoTODO.
864         * XmlNode.cs : Implemented Normalize().
865         * XmlNodeReader.cs :
866           - AttributeCount and HasAttributes should return its owner element's
867             value, to be consistent with XmlTextReader.
868           - Fixed Depth to reflect correct attribute/attribute-value iteration.
869           - simplified ownerElement and HasValue.
870           - Prefix won't return null.
871           - MoveToElement() should also work against attribute value nodes.
872         * XmlTextReader.cs : MoveToElement() should return false if it is
873           positioned at element itself.
874
875 2003-10-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
876
877         * XmlTextReader.cs : Improved SignificantWhitespace handling.
878
879 2003-10-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
880
881         * XmlSecureResolver.cs : Implemented basic feature.
882
883 2003-10-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
884
885         * XmlUrlResolver.cs : Should work with null type argument.
886
887 2003-10-01  Lluis Sanchez Gual <lluis@ximian.com>
888
889         * XmlTextWriter.cs : An attribute can require a prefix for the default
890           namespace, so we need to store the prefix as well as the namespace.
891
892 2003-09-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
893
894         * DTDValidatingReader.cs : Simplified to use 
895           XmlSchemaUtil.GetParserContext().
896         * XmlValidatingReader.cs : ValidationType.Auto should always use
897           XsdValidatingReader because xsi:schemaLocation might be used.
898
899 2003-09-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
900
901         * XmlTextReader.cs : Attribute value token properties were incorrectly
902           set by the linked node.
903
904 2003-09-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
905
906         * XmlDocumentNavigator.cs : Fix for bugzilla #48931. MoveToRoot() now
907           considers such case that target node was not adapted to the document.
908         * XmlNamespaceManager.cs : GetEnumerator() missed the last pair.
909         * XmlTextWriter.cs : use 'as'  instead of 'try..catch'.
910
911 2003-09-25 Ben Maurer  <bmaurer@users.sourceforge.net>
912
913         * XmlNode.cs (XPathNodeType): Give more useful debugging message.
914         * XmlDocumentNavigator.cs (MoveToPrevious): Needs same checks as
915         in MoveToNext.
916
917 2003-09-23  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
918
919         * XmlNamespaceManager.cs: Rewrote PopScope() because its namespace
920           recovery was still not enough. Fixed GrowScopes() (incorrect index).
921
922 2003-09-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
923
924         * XmlTextReader.cs : 
925           - Fix for bugzilla #48337 (containing Ben's advice on that).
926           - Added internal XmlTokenInfo classes. Nodes are now handled as token 
927             objects (linked node, attributes and attribute values). Most of the
928             node state properties and iterating methods are changed to refer to
929             the token classes (except for value builder availability). Removed
930             fields which are never used. CompileDTDSubset() is changed in
931             reflection to nodeType field removal.
932           - Fixed Depth that should vary in moving between attributes and/or
933             reading attribute values.
934           - LineNumber and LinePosition now returns more correct location.
935           - Fixed Value that should still return true if its value is an empty
936             attribute value string.
937           - EntityValue is checked WFC constraints even thoug it is not used.
938           - All .ctor() now initializes ReadState as Initial.
939           - Read() should be available for attribute value constructor.
940         * XmlAttribute.cs : set_InnerXml() now calls reader's Read().
941
942 2003-09-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
943
944         * XmlNamespaceManager.cs: PopScope() must retain those namespaces which
945           are added in the scope before PushScope() was called.
946
947 2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>
948
949         * XmlNamespaceManager.cs: Rewrote. Uses arrays, rather than linked
950         lists and removes uses of Hashtable. Results in huge speed gains.
951
952 2003-09-19 Ben Maurer  <bmaurer@users.sourceforge.net>
953
954         * XmlConvert.cs: NaN.ToString () != INF.
955
956 2003-09-14  Lluis Sanchez Gual  <lluis@ximian.com>
957
958         * XmlTextWriter.cs: Attributes that have a namespace must be always
959           prefixed.
960
961 2003-09-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
962
963         * XmlTextWriterOpenElement.cs : Changed to receive prefix and localName
964           in .ctor().
965         * XmlTextWriter.cs : Changed to use above XmlTextWriterOpenElement.
966           Changed xmlns adding scheme. In detail, 1) WriteStartElement does not
967           add Namespaces immediately, but adds at AddMissingElementXmlns so 
968           that we don't have to have extra check than namespaceManager's
969           LookupPrefix(). 2) Removed writtenAttributes for performance reason
970           since it is no more required.
971
972 2003-09-10  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
973
974         * XmlDocument.cs : patch by Jonathan Hogg. Fixed CreateAttribute()
975           that handled xmlns attributes inproperly.
976
977 2003-09-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
978
979         * XmlNamespaceManager.cs : GetEnumerator() should return all of the
980           available pairs (of prefix and namespace).
981         * XmlQualifiedName.cs : Quick fix for NullReferenceException in case
982           of name (or ns) is null. (The description of the immediate previous 
983           changes will be inserted below.)
984         * XmlTextWriter.cs : Fixed WriteDocType(). Removed CheckValidName().
985         * XmlUrlResolver.cs : Changed not to call WebClient.Dispose() which
986           will release resources it had allocated.
987
988 2003-09-01 Ben Maurer  <bmaurer@users.sourceforge.net>
989
990         * XmlDocument.cs (Save): use the encoding of the document, if
991         available.
992
993 2003-08-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
994
995         * XmlValidatingReader.cs : Implemented SchemaType. Added support for
996           ValidationType.Schema. Added support for XmlResolver. Fixed 
997           ReadTypedValue() not to consume EndElement.
998
999 2003-08-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1000
1001         * XmlDocumentNavigator.cs : Fixed MoveToFirstNamespace() that arose
1002           infinite loop.
1003         * XmlNamespaceManager.cs : Renamed AtomStrEq to AtomicStringEquals.
1004           Commented out Console.Error.WriteLine().
1005         * XmlUrlResolver.cs : Fixed ResolveUri() and GetEntity() to support
1006           escape and unescape for relative URI string.
1007
1008 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
1009
1010         * XmlParserContext.cs: Make each context inherit next.
1011
1012 2003-08-18 Ben Maurer  <bmaurer@users.sourceforge.net>
1013
1014         * XmlChar.cs (IsWhitespace): Spare enumerator allocation.
1015         * XmlTextWriter.cs (WriteWhitespace): Enumerators are very high in
1016         fat, use low-fat loops instead. Even better, call the function
1017         inside XmlChar for code reuse.
1018         * HighWaterStack.cs (added): New class that acts like a Stack, but
1019         helps with memory allocation.
1020         * XmlNamespaceManager.cs, XmlParserContext.cs: Rewrote to use
1021         HighWaterStack.
1022         * XmlTextReader.cs: Remove orderedAttributesEnumerator variable,
1023         use a variable that stores the position in the ArrayList.
1024         
1025 2003-08-18 Ben Maurer  <bmaurer@users.sourceforge.net>
1026
1027         * XmlTextWriter.cs: Begin diet. String.Format has too much
1028         saturated fat, lets replace with the fat-free .Write ()
1029         calls. Effects best seen when Paolo's StreamWriter patch is
1030         applied.
1031
1032 2003-08-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1033
1034         * XmlNodeReader.cs : Fixed ReadAttributeValue() that might result in
1035           vanishing current node.
1036
1037 2003-08-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1038
1039         * DTDValidatingReader.cs : Added SchemaType.
1040           Read() Assures to return to element.
1041         * DTDObjectModel.cs : Removed DTDEntityDeclaration.BaseURI.
1042         * XmlReader.cs : ReadString() should be virtual in NET_1_1.
1043         * XmlTextReader.cs : 1) Depth should consider Attribute and its values.
1044           Introduced insideAttribute field to support them.
1045           2) ReadAttributeValue() should consider empty string.
1046         * XmlValidatingReader.cs :
1047           Fixed several properties which premised as if it was already read.
1048           Encoding and Namespaces now throws NotSupportedException for other
1049           than XmlTextReader.
1050           Implemented ReadTypedValue() based on IHasXmlSchemaInfo.SchemaType.
1051
1052 2003-08-10  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1053
1054         * XmlInputStream.cs : Reverted CanSeek as to return false anyway.
1055
1056 2003-08-10  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1057
1058         * DTDObjectModel.cs : added XmlResolver related members. Added
1059           invalid entity recursion logic. Added encodingdecl check on textdecl.
1060         * DTDValidatingReader.cs : It now implements IHasXmlParserContext.
1061         * XmlChar.cs : IsPubidChar() should not allow TAB(&#9;).
1062         * XmlDocumentType.cs : 1) internal CreateDocumentType() was now changed
1063           to receive DTDObjectModel to support other than XmlTextReader. 
1064           2) Most of its public member is now based on DTDObjectModel.
1065         * XmlDocument.cs : 1) Synchronous change with XmlDocumentType.
1066           2) ReadNode() now considers XmlParserContext's DTDObjectModel for
1067           other than XmlTextReader (such as XmlValidatingReader).
1068         * XmlNode.cs : code cleanup only.
1069         * XmlParserInput.cs : added HasPEBuffer, used to check illegal nesting.
1070         * XmlTextReader.cs : 1) Illegal entity reference check logic was moved 
1071           from ReadContent() to SetEntityReferenceProperties(). 2) Indentation
1072           change on ReadEntityReference(). 3) ReadAttribute() now checks
1073           reference to external entity reference. 4) Added textdecl encoding
1074           check. 5) DTDObjectModel fields are now set correctly. 6) added
1075           PERef markup nest check. 7) If PEDecl was not found, it might be WFC
1076           violation, not only be VC violation. 8) ReadEntityDecl() now receives
1077           its declared entity itself, and this method checks IsInternalSubset.
1078         * XmlValidatingReader.cs : 1) Added GetInternalPerserContext().
1079           2) ValidationType.None should be the same as Auto, not DTD (in the
1080           future it should keep xml schema's default values).
1081
1082         Pending Stuff in XmlTextReader which breaks some NUnit tests;
1083           1) SetEntityReferenceProperies() has check for illegal references.
1084           2) ReadAttribute(bool) has similar check for illegal references.
1085
1086 2003-08-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1087
1088         * DTDAutomata.cs : Fixed (modified or added) TryEndElement() of choice,
1089           sequence and oneOrMore. Fixed DTDChoiceAutomata.TryStartElement().
1090
1091 2003-08-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1092
1093         * XmlTextReader.cs : Checked and fixed all TryExpandPERef() invokation 
1094           and supplied SkipWhitespace() as they needed. It broke monodoc.
1095           Fixed ReadEntityValueDecl() to get correct value.
1096
1097 2003-08-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1098
1099         * XmlInputStream.cs :
1100           Fixed Initialize() that might result in incorrect buffer.
1101           CanRead and Position should consider buffer (especially when the
1102           stream was EOF).
1103           CanSeek should use stream's CanSeek.
1104
1105         * XmlChar.cs : added GetPredefinedEntity().
1106         * DTDObjectModel.cs :
1107           - Modified ComputeDefaultValue() to use it.
1108           - Fixed NormalizedDefaultValue not to expect parsed value as string.
1109           - ResolveExternalEntity now detects invalid standalone specification.
1110           - DTDParameterEntityDeclaration.Value is now changed to property and
1111             keep its resolved value of literal value of external value using
1112             new Resolve (XmlResolver) method (called only by XmlTextReader).
1113         * DTDValidatingReader.cs :
1114           - It now handles entity-expanded Whitespace and SignificantWhitespace
1115             correctly. Does not raise unexpected text not allowed error.
1116           - Fixed MoveToAttribute()s to move internal reader correctly, and
1117             should be able to move in other cases than on element node.
1118           - On Read()ing document type and ResolveEntity(), it now sets
1119             XmlResolver on text reader.
1120           - On ID constraints check and type verification, it now uses
1121             normalized attribute or its tokenized value(s).
1122           - Fixed ValidateAttributes() to add default values when 
1123             ValidationType is Auto.
1124         * XmlParserContext.cs : added internal Dtd setter.
1125         * XmlParserInput.cs :
1126           InsertParameterEntityBuffer() should add surrounding whitespaces.
1127           Removed unused code block.
1128         * XmlTextReader.cs :
1129           - Modified ReadReference(), ReadAttribute() and Dereference() to use
1130             XmlChar.GetPredefinedEntity().
1131           - When returning entity reference, it checks extity declaration
1132             existence in certain conditions.
1133           - ReadAttribute() now skips general entity replacement on reading
1134             entity value.
1135           - ReadText() now handles whitespace texts as XmlNodeType.Whitespace.
1136           - ReadXmlDeclaration() holds isStandalone, which might be used in
1137             entity reference's well-formedness check.
1138           - internal 'DTD' now uses XmlParserContext.Dtd.
1139           - isInternalSubset was meaningless. Now uses input stack's Count.
1140           - Added some required SkipWhitespace().
1141           - Several parameter entity handling changes.  Added GetPEValue(name).
1142             TryExpandPERef() now uses ImportAsPERef(). ReadParameterEntityDecl()
1143             now uses its Resolve() when it was external PE.  Now it uses value
1144             buffer instead of currentTag, to efficiently read (included) PE.
1145             CompileDeclaration() now uses ImportAsPERef instead of ExpandPERef().
1146             ImportAsPERef() simply inserts the value to currentInput.
1147             ReadEntityDecl() also uses value buffer.   Removed non-used methods.
1148           - Default attributes are now stored in normalized form.
1149           - Dereference() now considers non-expanding predefined entities.
1150         * XmlValidatingReader.cs : now holds Schemas, and ValidationType.Auto
1151           is more correctly supported.
1152
1153         * XmlAttributeCollection.cs :
1154           When removing default attribute, it immediately inserts the attribute.
1155           RemoveAll() should consider default (not-removable) attributes.
1156         * XmlDocument.cs :
1157           Should have its default XmlResolver. Added Internal Resolver.
1158           Some Load() should use its XmlResolver.
1159           ImportNode() should copy its children in node level, not value level.
1160           It also have to consider not to copy default attribute on importing
1161           XmlElement.
1162         * XmlDocumentType.cs : Now uses document's XmlResolver to read DTD.
1163         * XmlAttribute.cs,
1164           XmlDocumentFragment.cs.
1165           XmlElement.cs : use XmlResolver on InnerXml. Removed some MonoTODO.
1166         * XmlNodeReader.cs : GetInternalParserConext() should provide its DTD.
1167           ResolveEntity() uses XmlResolver on entityReader.
1168
1169 2003-08-07  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1170
1171         * DTDObjectModel.cs :
1172           - Added validation error check (and AddError(), Errors).
1173           - Fixed ComputeDefaultValue() to handle various references correctly.
1174           - DTDEntityDeclaration.EntityValue became property, and added
1175             LiteralEntityValue. The new one holds resolved value.
1176             Added ResolveExternalEntity(). It now required root in .ctor().
1177         * DTDValidatingReader.cs :
1178           - Now it handles namespaced attributes (as input to xsd validator).
1179           - Added XmlResolver property as usual XmlReader.
1180           - Added currentEntityHandling field so that it can stand changing
1181             XmlValidatingReader's EntityHandling dynamically.
1182           - FilterNormalization() now requires name for getting datatypes and
1183             can stand for non-current attribute normalization.
1184           - Splitted ReadContent() from Read() that can be called recursively
1185             when expanding entities.
1186           - Now handles Entity not found error *after* resolution of entities,
1187             as MS.NET does.
1188           - Read()ing DTD checks its Errors and raises validation error events.
1189             In some situations, DTD parsing may detect VC error, not WFC error.
1190             It also strictly checks NData existence.
1191           - Handling of entity-resolved text is a bit changed and Read()ing
1192             element, endElement, cdata now changed to switch collecting text
1193             and collected text.
1194           - content type ANY should allow texts.
1195           - Added enumerated attribute validity check.
1196           - Added Name/Names creation rule check for ID/IDREF/IDREFS.
1197           - Added entity existence check for ENTITY/ENTITIES attributes.
1198           - Added NMTOKEN creation rule check for NMTOKEN/NMTOKENS.
1199           - Fixed to remove extraneous #REQUIRED check.
1200           - Contributing default attribute is now only applied to the case
1201             ValidationType is DTD or None.
1202           - ResolveEntity() now handles external entities.
1203             Added Mono.Xml.IXmlParserContext interface support.
1204         * XmlDocumentType.cs : Fixed to use BaseURI to build DTD model.
1205         * XmlTextReader.cs :
1206           - Fixed ReadAttributeValue() to reset returnEntityReference.
1207           - Added bool MaybeTextDecl only for ResolveEntity().
1208           - Fixed ReadWhitespace(). In fact its value is considered even if it
1209             is in the end of the XML.
1210           - Fixed ReadXmlDeclaration(). Now skips text declaration.
1211           - CompileDTDSubset() now checks IGNORE/INCLUDE section end balances.
1212           - ReadContentSpec() should set OrderType = OR for mixed model.
1213             Fixed to set content element name correctly.
1214           - ImportAsPERef() now skips Text declaration.
1215           - Type of enumerated default attributes shold be string.
1216           - Undeclared PE error is now handled as DTD's VC error, not
1217             XmlTextReader's WFC error.
1218         * XmlValidatingReader.cs : BaseURI should provide that of 
1219           original XmlReader's when read was not started yet.
1220           Fixed XmlResolver to delegate to DTDValidatingReader.
1221
1222         * XmlAttributeCollection.cs : Acquiring attList declaration is
1223           insufficient especially in case of lack of elementdecl.
1224         * XmlChar.cs : (Maybe this is compact than XmlConstructs.)
1225           added IsWhitespace(),IsNCNameChar(),IsName(),IsNCName(),IsNmToken(),
1226           IsPubid(). Copies IsValidIANAEncoding() from XmlConstructs.
1227
1228         * XmlInputStream.cs : Removed "version" declaration check. It should
1229           be done by XmlTextReader.
1230
1231         * XmlNodeReader.cs : added internal GetInternalParserContext() and now
1232           it can be used in XmlValidatingReader.ResolveEntity().
1233           ResolveEntity() sets XmlTextReader.MaybeTextDecl.
1234
1235 2003-08-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1236
1237         * DTDValidatingReader.cs :
1238           Added full ExpandEntities support for text node and entity reference
1239           node (although require many usage tests). Almost all methods and
1240           properties now have currentTextValue != null check, that field means
1241           that there are cached (entity-resolved) text.
1242           Implemented default attribute aware XmlLang and XmlSpace.
1243         * XmlNodeReader.cs : ResolveEntity() should not require DTD.
1244
1245 2003-08-03  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1246
1247         * DTDValidatingReader.cs,
1248           XmlNodeReader.cs,
1249           XmlReader.cs,
1250           XmlTextReader.cs,
1251           XmlValidatingReader.cs : fixed pragma USE_VERSION_1_0 to NET_1_0.
1252
1253 2003-08-03  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1254
1255         * DTDObjectModel.cs : Added BaseURI (but not used yet).
1256           DTDAttListDeclaration.ctro() now requires root dtd object model.
1257         * DTDValidatingReader.cs : Read() now expands EntityReference if
1258           entity handling of validating reader is ExpandEntities.
1259         * XmlReader.cs,
1260           XmlTextReader.cs,
1261           XmlNodeReader.cs,
1262           XmlValidatingReader.cs : Implemented "virtual" ReadInnerXml and
1263             ReadOuterXml which are modified in MS.NET 1.1.
1264         * XmlConstructs.cs : added int version of IsValid, IsInvalid,
1265           IsContent, IsMarkup and IsNCNameStart.
1266           Fixed int version of IsXXX() to check array index range. 
1267           Added IsValidName (string).
1268         * XmlTextReader.cs :
1269           - Read() handles document with non document element as an error.
1270           - ReadText() and ReadCharacterReference() checkes illegal characters.
1271           - ReadEntityReference() checks name validity.
1272           - ReadProcessingInstruction() rejects such name that starts with
1273             "xml" ignoring case, and checks attributes more strictly.
1274           - ReadDeclaration() rejects unrecognized kind of declaration.
1275           - In many places, added "required whitespace" check in DTD markup.
1276           - DTD content model now disallows mixing use of '|' and ','.
1277
1278 2003-08-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1279
1280         * XmlDocumentFragment.cs : I missed to add it in relation to the
1281           previous XmlParserContext patch. Similar to XmlAttribute/XmlElement.
1282         * XmlNodeReader.cs : removed some TODO attributes.
1283         * DTDValidatingReader.cs,
1284           XmlValidatingReader.cs : Implemented ResolveEntity().
1285
1286 2003-07-31  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1287
1288         * XmlParserContext.cs,
1289           XmlAttribute.cs,
1290           XmlElement.cs : Added internal Dtd and new internal XmlParserContext
1291           .ctor() that takes DTDObjectModel. And then rewrote classes which 
1292           uses DTD information. Changed DocTypeName, InternalSubset, PublicId
1293           and SystemId to use DTDObjectModel.
1294         * DTDObjectModel.cs :
1295           Added DTDObjectModel.InternalSubsetHasPEReference.
1296           Added DTDEntityDeclaration.IsInternalSubset.
1297         * XmlTextReader.cs :
1298           Added internal GetInternalParserContext (to build entity reader).
1299           Added private isIntSubset to check if the DTD subset is internal or
1300           external, which might affect well-formedness constraints.
1301           Changed GenerateDTDObjectModel to return the resulting DTD model.
1302
1303         * XmlEntityReference.cs : implemented BaseURI.
1304         * XmlNodeReader.cs :
1305           - Implemented ResolveEntity() and CanResolveEntity(). In fact
1306             it leads too many changes on almost all methods and properties,
1307             since they now must be aware of entityReader.
1308           - fixed ownerElement that might be used to return from attribute 
1309             value to the element through parent attribtues.
1310           - Now changed indexer to call GetAttribute() and moved actual logic
1311             to the matching GetAttribute() methods.
1312
1313 2003-07-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1314
1315         * XmlNode.cs : fixed internal ConstructNamespaceManager() for InnerXml
1316           not to create extraneous xmlns="".
1317
1318 2003-07-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1319
1320         * DTDValidatingReader.cs : (Read,ValidateAttributes,ReadAttributeValue)
1321           attribute declaration should be got independently of elementdecl.
1322         * XmlAttribute.cs :
1323           Added internal SetDefault() to mark as default.
1324           Removed InnerText implementation that is just the same as XmlNode.
1325         * XmlDocument.cs : id shouldn't be removed from table at 'trying' to
1326           get matching elements.  ReadAttributeNode() now sets default mark.
1327         * XmlElement.cs : WriteTo() should ignore default attributes.
1328         * XmlTextWriter.cs : shuold allow valid name char such as digits.
1329
1330 2003-07-27  Piers Haken <piersh@friskit.com>
1331
1332         * XmlQualifiedName.cs : fields should never be null
1333
1334 2003-07-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1335
1336         * XmlDocumentFragment.cs : added XPathNodeType indicating Root.
1337
1338 2003-07-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1339
1340         * XmlDocument.cs (GetIdenticalAttribute): restored OwnerElement.IsRooted
1341
1342 2003-07-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1343
1344         * XmlLinkedNode.cs : added internal IsRooted.
1345
1346 2003-07-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1347
1348         * DTDValidatingReader.cs :
1349           - Added ID support in ValidateAttributes().
1350           - More refined ReadAttributeValue() support for non-expanding entity
1351             situation
1352           - It should handle LocalName, Name, Prefix, NamespaceURI and Value
1353             correctly when the reader is on each of the value nodes of an
1354             attribute. Now XmlDocument.ReadNode() should work well.
1355         * XmlDocument.cs :
1356           - added idTable, AddIdenticalAttribute(), GetIdenticalAttribute() and
1357             RemoveIdenticalAttribute()
1358           - Implemented GetElementById().
1359         * XmlAttributeCollection.cs :
1360           - added private ownerDocument property and replaced
1361             ownerElement.OwnerDocument with it.
1362           - Added AdjustIdenticalAttribute() and it is used in SetNamedItem().
1363             It calls XmlDocument.{Add|Remove}IdenticalAttribute().
1364           - Added RemoveIdenticalAttribute() and it is used in Remove().
1365             (I also added AddIdenticalAttribute() but is not used.)
1366
1367 2003-07-26  Duncan Mak  <duncan@ximian.com>
1368
1369         * XmlDocument.cs (GetIdenticalAttribute): Temporarily remove test
1370         for OwnerElement.IsRooted to fix the build..
1371
1372 2003-07-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1373
1374         * XmlDocumentType.cs :
1375           modified private DTD to dtd and added internal DTD (the same thing).
1376         * XmlElement.cs :
1377           Fixed SetAttributeNode() to check if specified attribute is already
1378           set to the other element. In fact it is W3C DOM's specification but
1379           MS.NET 1.0 failed to catch it.
1380         * XmlTextReader.cs :
1381           ReadAttributeValue() should check if the value of the attribute is
1382           already read when the whole value is entity reference.
1383           Also, Name of text nodes should be "", not "#text"
1384
1385 2003-07-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1386
1387         * XmlAttribute.cs : .ctor() shouldallow localName "xml" (not prefix)
1388           with http://www.w3.org/XML/1998/namespace.
1389         * XmlEntity.cs : patch by Aleksey Sanin. InnerText is now supported.
1390         * XmlNode.cs : InnerText should handle CDATA and whitespaces.
1391         * XmlTextReader.cs : Should allow " (#PCDATA)* " in ReadContentSpec().
1392         * XmlTextWriter.cs : Quick fix for accepting (and writing) same-named
1393           attributes (as MS.NET does). It isn't good way and I may change it.
1394
1395 2003-07-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1396
1397         * DTDObjectModel.cs : Added DTDEntityDeclarationCollection and
1398           DTDNotationDeclarationCollection and replaced Hashtables with them.
1399           Added NormalizedDefaultValue property for DTDAttributeDefinition.
1400         * DTDValidatingReader.cs :
1401           - It now reads attribute values into value collection. 
1402           - Renamed consumedDefaultAttribute to consumedAttribute, and
1403             inContent to insideContent.
1404           - GetAttribute() should allow reader's other node state than element.
1405           - MoveToNextAttribute() should move when reader is placed other than
1406             the first attribute.
1407           - HandleError() now supports ValidationType.None (i.e. does nothing).
1408           - ValidateAttribute() now collects and resolves attribute value 
1409             entity references. (On the other hand, it doesn't support
1410             EntityHandling.ExpandCharEntity.)
1411           - NodeType shouldn't return Attribute after ReadAttributeValue().
1412             Now only Text is supported, but must also support EntityReference.
1413           - Add FilterNormalization() and partially support Normalization.
1414
1415 2003-07-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1416
1417         * XmlTextReader.cs :
1418           Read() now handles parser context stuff (BaseURI, XmlLang and 
1419           XmlSpace) correctly for an empty element.
1420           Normalization property now doesn't throw an error. Will be used soon.
1421         * XmlValidatingReader.cs : added ValidationType.None support (wait for
1422           the next DTDValidatingReader update for "not firing event handler).
1423         * XmlNodeReader.cs : jun. 30th commit seems wrong. It keeps its state.
1424
1425 2003-07-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1426
1427         * DTDValidatingReader.cs :
1428           changed base class to XmlReader and implemented IXmlLineInfo members.
1429           changed .ctor() argument from event handler to validating reader.
1430           Removed some #if ... #else ... #endif blocks.
1431           Added validation event support for Read() using HandleError().
1432         * XmlValidatingReader.cs : added internal OnValidationEvent().
1433         * XmlDocument.cs : ReadNode() now checks reader's state more strictly.
1434
1435 2003-07-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1436
1437         * XmlUrlResolver.cs : applied BenM's patch for file uri problem
1438           (bug #46610).
1439
1440 2003-07-15  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1441
1442         * DTDValidatingReader.cs :
1443           added DTDObjectModel support for non-XmlTextReader XmlReader 
1444           e.g. XmlNodeReader (Read() method).
1445         * XmlDocument.cs :
1446           added internal CreateDocumentType(XmlTextReader) and moved
1447           ReadDoctypeNode() to XmlDocumentType.ImportFromDTD().
1448         * XmlDocumentType.cs :
1449           added internal .ctor(XmlTextReader, document) and ImportFromDTD().
1450         * XmlTextReader.cs :
1451           Renamed useSbForVal (valueBuilderAvailable), valSb (valueBuilder)
1452           and currentSubset (DTD).
1453           Added GenerateDTDObjectModel() (for independent doctype parsing).
1454
1455 2003-07-15  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1456
1457         * XmlAttribute.cs :
1458           .ctor() should reject xml- or xmlns-prefixed node.
1459         * XmlNamespaceManager.cs :
1460           added some xmlns validity check.
1461         * XmlNode.cs :
1462           optimized GetNamespaceOfPrefix() and GetPrefixOfNamespace() by
1463           avoiding XmlNamespaceManager creation.
1464         * XmlNodeReader.cs :
1465           doctype node should return PUBLIC and SYSTEM for its indexer, 
1466           and Value should be internal subset,
1467
1468 2003-07-12  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1469
1470         * DTDObjectModel.cs,
1471           DTDValidatingReader.cs : Completely rewrote attribute handling.
1472
1473 2003-07-12  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1474
1475         * XmlAttribute.cs,
1476           XmlElement.cs : Fixed CloneNode() for bug #46129.
1477         * XmlDocument.cs : Fixed MakeReaderErrorMessage that specified invalid
1478           String.Format arguments, and basically XmlException.ctor(
1479           IXmlLineInfo, message) seems good idea to use.
1480         * XmlTextReader.cs :
1481           - Fixed .ctor(Stream, XmlNodeType, XmlParserContext) which had
1482             required non-null context which don't have to exist.
1483           - Added state check. Introduced 'currentState' and 'maybeTextDecl' 
1484             (for external entity) and removed hasEnteredDocument. Added 
1485             state-check logic to ReadStartTag(), ReadEndTag(), ReadText(),
1486             ReadCData(), ReadDoctypeDecl() and ReadWhitespace().
1487           - Replaced throw ReaderError() with throw new XmlException() and
1488             fixed that some error hadn't thrown, only created.
1489           - ResetState() should re-initialize existing private members other 
1490             than some specified fields.
1491           - Private AddAttribute() should check if the same-named attribute 
1492             already exists.
1493         * DTDObjectModel.cs : Additive declaration for ATTLIST is availabe now.
1494
1495 2003-07-09  Lluis Sanchez Gual <lluis@ximian.com>
1496
1497         * XmlTextReader.cs : Implemented ResetState() method.
1498
1499 2003-07-06  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1500
1501         * XmlElement.cs : IsEmpty has removed attributes since it incorrectly
1502           used RemoveAll().
1503
1504 2003-07-06  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1505
1506         * XmlDocument.cs : Load(string filename) should close its stream.
1507           Small change for the latest DTDObjectModel change.
1508         * XmlTextReader.cs : Changed for the latest DTDObjectModel change (all
1509           changed methods are only related to DTD stuff).
1510           Now uses XmlSchemaDatatype for attribute type definition.
1511         * XmlValidatingReader : initial (limited) support for DTD validation.
1512           It can handle only XmlTextReader.
1513         * DTDObjectModel.cs : changed radically for initial validation support.
1514         * added DTDAutomata.cs and DTDValidatingReader.cs.
1515
1516 2003-07-06  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1517
1518         * XmlElement.cs : Removed extraneous xmlns output support (it should
1519           be done by XmlTextWriter).
1520         * XmlNode.cs : InsertBefore() now checks validity of the newChild (and
1521           most of the changes are in fact indentation changes).
1522         * XmlWriter.cs : WriteAttributes() now can write entity references.
1523           WriteNode() now writes xmldecl attributes correctly.
1524           Removed namespaceManager and xmlns check logic, since it should be 
1525           done by individual XmlTextWriter.
1526         * XmlTextWriter.cs : Patch by Jerome. AddMissingElementXmlns () has
1527           written multiple xmlns declarations.
1528           Moved namespaceManager from abstract XmlWriter.
1529           Write{Start|End}Attribute() and WriteString() now checks xmlns 
1530           attribute value. (MS.NET holds value only with this write method).
1531
1532 2003-07-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1533
1534         * XmlDocument.cs : removed xmlReader.Close() from Load(XmlReader).
1535
1536 2003-06-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1537
1538         * XmlDocumentNavigator.cs : Implemented MoveTo*Namespace() and 
1539           essentially changed most of the property handling (e.g. removed attribute 
1540           enumerator and it now became really cloneable).
1541         * XmlNodeReader.cs : ReadInnerXml() changes its state as error
1542           when the method is called at Initial state.
1543
1544 2003-06-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1545
1546         * XmlDocumentNavigator.cs : Fixed IsEmptyElement. It treats <foo></foo>
1547           as non-empty, and XmlElement's IsEmpty is designed as such.
1548           Fixed MoveToFirst() and MoveToNext() not to move to xmldecl nor 
1549           doctype node. 
1550         * XmlNode.cs : Fixed XPathNodeType. It should throw an exception
1551           instead of returning undefined enum value.
1552           Modified some code comments.
1553         * XmlWriter.cs : Fixed WriteNode () to use WriteFullEndElement() 
1554           when XmlReader's node is not at empty element or at EndElement. 
1555           Fixed XmlDeclaration's standalone check.
1556
1557 2003-06-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1558
1559         * XmlTextReader.cs : removed CRLFs. Fixed private InitializeContext()
1560           to use known Uri way (used in XmlUrlResolver) instead of UriBuilder.
1561
1562 2003-06-20  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1563
1564         * XmlInputStream.cs : quick fix for public ctor() BaseURI bug.
1565
1566 2003-06-20  Ben Maurer <bmaurer@users.sourceforge.net>
1567         
1568         * XmlTextReader.cs: Reduces memory allocation when the reader is
1569         not queried for some values.
1570         * NameTable.cs: Now uses a custom hashtable to implement. As a
1571         result, when Get (char[], int, int) is called, a string is only
1572         allocated if it is actually a new entry.
1573         (StrEqArray) Compares a string and a char[]
1574         (AddEntry) Adds a new entry to the hashtable
1575         (Entry) Represents a hashtable entry.
1576
1577 2003-06-20  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1578
1579         * XmlUrlResolver.cs : several ResolveUri() fix. e.g. for external URIs.
1580
1581 2003-06-16  Ben Maurer <bmaurer@users.sourceforge.net>
1582         * XmlUrlResolver.cs: really fixed #44231
1583
1584 2003-06-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1585
1586         * XmlNodeReader.cs : fixed MoveToNextAttribute(). In some cases 
1587           this method set current node null.
1588         * XmlTextReader.cs : fixed GetAttribute (name, ns), which returned
1589           String.Empty instead of null (expected value).
1590         * XmlTextReader.cs,
1591           XmlUrlResolver.cs,
1592           XmlInputStream.cs : fixed BaseURI problem (bug #44231).
1593
1594 2003-06-15  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1595
1596         * XmlNodeReader.cs : this [name] and this [name, ns] (and
1597           GetAttribute() methods in turn) returns null instead of String.Empty.
1598         * XmlTextWriter.cs : WriteStartAttribute() should try to use specified
1599           prefix before auto-generating prefixes.
1600           Implemented WriteBase64().
1601
1602 2003-06-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1603
1604         * XmlNodeReader.cs : LookupNamespace () has refered invalid current
1605           node for attributes. Modified to use private "document" property.
1606
1607 2003-06-10  Lluis Sanchez Gual <lluis@ximian.com>
1608
1609         * XmlTextWriter.cs: when adding an attribute with a namespace, a prefix must be automaticaly
1610           generated, and a namespace declaration must be added. 
1611         * XmlWriter.cs: the namespace for the prefix xmlns must be http://www.w3.org/2000/xmlns/
1612
1613 2003-06-10  Zoltan Varga  <vargaz@freemail.hu>
1614
1615         * XmlAttribute.cs: Accept a null prefix or namespaceURI.
1616
1617 2003-06-10  Duncan Mak  <duncan@ximian.com>
1618
1619         * XmlDocumentNavigator.cs (GetNode): Make it implement
1620         IHasXmlNode.
1621
1622 2003-06-05  Lluis Sanchez Gual <lluis@ideary.com>
1623
1624         * XmlTextWriter.cs : Fixed bug. After calling for example WriteStartElement ("pref","ln","ns");
1625           a call to LookupPrefix ("pref") when still writting attributes should 
1626           return "ns", and it didn't.
1627
1628 2003-06-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1629
1630         * XmlDocumentNavigator.cs : quick fix for MoveToFirstChild().
1631         * XmlConvert.cs : fixed VerifyNCName() to check correctly.
1632
1633 2003-06-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1634
1635         * XmlDocumentNavigator.cs : Compute document node one time.
1636           MoveToFirstChild() should move to PIs and comments.
1637
1638 2003-05-30  Miguel de Icaza  <miguel@ximian.com>
1639
1640         * XmlReader.cs (ReadStartElement): Improve error message.  
1641
1642 2003-05-28  Lluis Sanchez Gual <lluis@ideary.com>
1643
1644         * XmlTextReader.cs : MoveToAttribute methods must set the enumerator to the right
1645           position, since MoveToNextAttribute may be called after it. 
1646           SetProperties(): attributes do not "inherit" the namespace.
1647         * XmlDocument.cs: ReadNode(), ReadAttributeNode(): must keep the current reader position.
1648
1649 2003-05-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1650
1651         * NameTable.cs : Add() sets the given name string interned.
1652         * XmlParserContext.cs : added internal PushScope() and PopScope() to
1653           hold stacks of xml:base, xml:lang and xml:space.
1654         * XmlTextReader.cs : implemented XmlLang and XmlSpace (only as a
1655           property for stacked attributes). Renamed Initialize() to Initialize-
1656           Context(). Modified to use XmlParserContext.PushScope()/PopScope().
1657
1658 2003-05-26  Lluis Sanchez Gual <lluis@ximian.com>
1659
1660         * XmlReader.cs: Little fix to WriteAttributeString()
1661
1662 2003-05-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1663
1664         * XmlAttribute.cs, XmlCharacterData.cs, XmlComment.cs, XmlDocument.cs,
1665           XmlDocumentFragment.cs, XmlElement.cs, XmlEntity.cs, XmlLinkedNode.cs,
1666           XmlNode.cs, XmlNotation.cs, XmlProcessingInstruction.cs, XmlReader.cs,
1667           XmlSignificantWhitespace.cs, XmlText.cs, XmlWhitespace.cs:
1668           Reverted the recent accessibility mistake (5/16).
1669         * XmlDocument.cs, XmlNode.cs : moved actual CreateNavigator() logic 
1670           from XmlNode to XmlDocument.
1671
1672 2003-05-18  Lluis Sanchez Gual <lluis@ideary.com>
1673
1674         * XmlQualifiedName.cs : Fixed bug in equality operator.
1675
1676 2003-05-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1677
1678         * XmlTextWriter.cs : patch by Jonathan Hogg. Flush() does not close
1679           any open attributes or elements. WriteWhitespace() checks state and
1680           closes start tag.  Fixed WriteStringInternal() to replace CR/LF chars
1681           when it is called inside attribute value.
1682         * XmlException.cs : added .NET 1.1 .ctor.
1683         * added XmlSecureResolver.cs (only stubbing).
1684         * XmlAttribute.cs : set_InnerXml() should remove children.
1685         * XmlAttribute.cs,
1686           XmlElement.cs,
1687           XmlDocumentFragment.cs,
1688           XmlDocument.cs : removed XmlTextReader reuse (It was buggy stuff).
1689         * XmlNode.cs : RemoveAll() should also remove all attributes.
1690         * XmlTextRader.cs : .ctor() for attribute value reader should add
1691           quotations at initialization, since it requires quote chars.
1692         * XmlWriter.cs : WriteAttributeString() more correct xmlns check.
1693
1694 2003-05-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1695
1696         * changed XPathNodeType modifier to internal *protected* override.
1697         * XmlAttribute.cs : .ctor() now checks name validity e.g. xmlns.
1698         * XmlAttribute.cs, XmlElement.cs : set_Prefix checks NCName validity.
1699         * XmlAttributeCollection.cs : removed some incorrect TODO attributes.
1700         * XmlDocument.cs ; CreateAttribute(name) now auto-completes xmlns NSURI
1701           when the argument is "xmlns".
1702         * XmlElement.cs : more compliant IsEmpty support. See also WriteTo().
1703         * XmlNamespaceManager.cs : added initial "xml" and "xmlns" namespaces.
1704         * XmlNode.cs : ser_InnerXml() throws InvalidOperationException.
1705         * XmlNodeReader.cs : LookupNamespace() refactory. Fixed ReadInnerXml()
1706           not to set error state for non-started XmlNodeReader.
1707         * XmlTextReader.cs : fixed ReadAttributeValue() not to reset state.
1708           BaseURI support. Fixed Initialize() to handle Attribute correctly.
1709           SetProperty for attribute auto-completes xmlns NSURI.
1710           Attribute and whitespace handling became more correct.
1711           Don't parse external DTD if XmlResolver is null.
1712         * XmlTextWriter.cs : implemented WriteEntityRef().
1713           WriteStartAttribute() checks if ns does not equal to that of xmlns.
1714         * XmlWriter.cs : trivial refactoring (WriteNode() xmldecl output).
1715
1716 2003-05-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1717
1718         * XmlConvert.cs : IsInvalid() Now uses XmlConstructs.IsName(Start).
1719           EncodeName() now correctly encodes invalid names.
1720           Result string of ToString(DateTime) contains "fffffff".
1721
1722 2003-04-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1723
1724         * XmlElement.cs : fixed IsEmpty (removed private field isEmpty).
1725         * XmlNodeReader.cs : Fixed AttributeCount, each this[] (indexers),
1726           MoveTo*Attribute(),
1727           Fixed this[] to work correctly against XmlDeclarations.
1728           Fixed ReadInnerXml() and ReadOuterXml() to call Read() correctly.
1729           (which may prevent validations etc.)
1730         * XmlReader.cs,
1731           XmlNodeReader.cs,
1732           XmlTextReader.cs : Fixed ReadString() to be compliant with each
1733           other.
1734         * XmlTextReader.cs : ReadInnerXml() now moves to next node correctly.
1735
1736 2003-04-27  Pedro Martínez Juliá  <yoros@wanadoo.es>
1737
1738         * XmlNode.cs: ensure to get a valid Uri in BaseUri when loading the
1739         source document from a file.
1740
1741 2003-04-27  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1742
1743         * XmlAttribute.cs : fixed WriteTo() and WriteContentTo() to write
1744           content EntityReference correctly.
1745         * XmlNodeReader.cs : many fix for EndElement handling (AttributeCount,
1746           HasAttributes, indexers, MoveTo*Attribute() and Read() ).
1747           Modified Skip() to call Read () explicitly.
1748         * XmlTextReader.cs :
1749           Fixed ReadInnerXml() which ignored EndElement token in certain cases.
1750           Implemented MoveToAttribute (local, ns), and modified GetAttribute()
1751           in relation to this change.
1752           Attributes for XmlDeclaration are now correctly set.
1753         * XmlTextWriter.cs : WriteRaw() is now different from WriteString().
1754           Simplified WriteAttributes() for XmlDeclaration.
1755
1756 2003-04-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1757
1758         * XmlTextReader.cs : fixed ReadInnerXml(). it was inconsistent with
1759           Depth property fix.
1760
1761 2003-04-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1762
1763         * XmlDocument.cs : fixed Load() to set baseURI correctly.
1764         * XmlReader.cs : patch by Gonzalo. Fixed not to skip XmlDeclaration.
1765         * XmlTextReader.cs :
1766           fixed Depth. When it's on StartElement, Depth was already incremented.
1767           fixed private SaveProperty(), which moved away its saved properties
1768           when MoveToElement was called repeatedly.
1769         * XmlTextWriter.cs : fixed WriteQualifiedName() to close start tag.
1770         * XmlWriter.cs :
1771           WriteAttributes() refactory (for XMLDecl).
1772           WriteNode() don't Read() when the reader is Initial state, let other
1773           invokation to Read(). In case of Element, it should write entire
1774           element. In case of Attribute, it shouldn't Read().
1775           WriteStartDocument() should omit standalone decl. when there is no
1776           explicit value.
1777
1778 2003-04-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1779
1780         * XmlReader.cs: reverted last patch. It breaks System.Configuration 
1781         because 1. it considers XmlDeclaration as content and 2. always
1782         returns XmlNodeType.None.
1783         
1784
1785 2003-04-23  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1786
1787         * Added missing ChangeLog of 4/4/2003.
1788         * XmlTextWriter.cs : patch by Erik. fixed WriteQualifiedName.
1789           (write prefix instead of ns.)
1790         * XmlInputStream.cs : file access mode fix (FileAccess.Read was missing)
1791         * XmlTextReader.cs : modified to call Read() instead of ReadContent().
1792           (It may be required for decorated reader such as XmlValidatingReader.)
1793           Changed Read() error message for mismatch end tag.
1794         * XmlDocument.cs : (ReadNode) friendly message for mismatch EndElement.
1795         * XmlReader.cs : Corrected misinterpreted MoveToContent() method.
1796
1797 2003-04-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1798
1799         * XmlDocument.cs : Load() now closes the given XmlReader.
1800           Don't allow creation of XmlTextReader for Doctype. (workaround.)
1801         * XmlInputStream.cs : It now closes its internal stream explicitly.
1802         * XmlNode.cs : RemoveChild() bugfix for removing LastLinkedChild.
1803         * XmlNodeReader.cs : GetAttribute() bugfix for not-present attribute.
1804         * XmlParserInput.cs : added Close() method.
1805         * XmlReader.cs : MoveToContent() should (1) not Read in case of empty
1806           element, and (2) MoveToElement() in case of attribute.
1807         * XmlTextReader.cs : Close() now actually closes source TextReaders.
1808
1809 2003-03-26  Duncan Mak  <duncan@ximian.com>
1810
1811         * XmlTextWriter.cs (Write): A patch from Atsushi to fix
1812         prematurely ending the write, or something like that. It was
1813         causing us to chop off the end of the document when we're trying
1814         to generate XML Schemas.
1815
1816 2003-03-23  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1817
1818         * XmlTextReader.cs : implemented ReadString().
1819           fixed ctor(string, XmlNodeType, XmlParserContext) - don't raise
1820           null reference exception when context is null.
1821         * XmlNodeReader.cs : fixed ReadString() - should ignore attributes etc.
1822           fixed Read() - when positioned at EndElement, it didn't progress.
1823           fixed HasAttribute - it didn't return false in all cases.
1824           fixed Name and LocalName - only limited type of nodes return names.
1825           fixed AttributeCount - in some cases it threw null ref exception.
1826
1827 2003-03-22  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1828
1829         * XmlTextWriter.cs : WriteStartDocument doesn't set hasRoot=true, then
1830           WriteEndDocument without root element now raises an error correctly.
1831         * XmlDocumentNavigator.cs : (MoveToFirstChild) fixed bugzilla #36672.
1832           implemented BaseURI, NameTable, XmlLang, GetAttributes, GetNamespace,
1833           MoveToAttribute.
1834
1835 2003-03-22  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1836
1837         * XmlElement.cs : RemoveAttribute now don't throws when specified
1838           attribute does not exist.
1839
1840 2003-03-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1841
1842         * XmlNode.cs : add descriptions for some node type error.
1843
1844 2003-03-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1845
1846         * XmlNodeArrayList.cs, XmlNodeListChildren.cs : bugzilla #39920 fix.
1847
1848 2003-03-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1849
1850         * XmlDeclaration.cs : quick fix, not to use regex for set_Value.
1851
1852 2003-03-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1853
1854         * XmlTextReader.cs : Fixed wrong notationdecl SYSTEM id read.
1855         * XmlInputStream.cs : Should allow versionless input stream entity.
1856
1857 2003-03-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1858
1859         * added XmlParserInput.cs for multi xml document sources.
1860         * added DTDObjectModel.cs (maybe temporary).
1861         * XmlTextReader.cs :
1862           + fixed ctor to use XmlStreamReader. Allowed null XmlParserContext.
1863           + Some members such as LineNumber, ReadChar now uses XmlParserInput.
1864           + added support for Namespaces (namespace-ignorant parse available).
1865           + added support for XmlResolver.
1866           + replace SetReaderContext()/SetReaderFragment() with Initialize().
1867           + use NameTable in CreateNameString.
1868           + fixed ReadCData(). Now reads "]]]>" correctly.
1869           + support for DTD parse.
1870           + Read() now throws an error when it reached EOF while Depth > 0.
1871         * XmlAttribute.cs,
1872           XmlDocumentFragment.cs,
1873           XmlElement.cs : fix related to the changes of XmlTextReader.Initialize
1874         * XmlDocument.cs : ReadNode() now reads DocumentType.
1875         * XmlDocumentType.cs : implemented Entities, Notations, WriteTo().
1876         * XmlEntity.cs,
1877           XmlNotation.cs : added override LastLinkedChild (for doctype node).
1878         * XmlNamedNodeMap.cs : Remove() raises an error if target is read only.
1879         * XmlElement.cs : bugfix for node removal of set_InnerXml.
1880         * XmlNode.cs : added insertBeforeIntern() derived from InsertBefore().
1881           (to append child XmlEntity into XmlDocumentType correctly.)
1882         * XmlInputStream.cs : fixed to access file with FileAccess.Read.
1883
1884 2003-03-15  Duncan Mak  <duncan@ximian.com>
1885
1886         * XmlElement.cs (Name): Only append prefix + ':' when prefix is
1887         neither String.Empty nor null. Thanks to Simon Guindon for
1888         reporting the bug and Jackson for fixing this bug with me.
1889
1890 2003-03-15  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1891
1892         * XmlConstructs.cs : fix "int IsXXX()" to reject negative value.
1893         * XmlDocument.cs : simplify Load(string url) to use XmlTextReader.
1894           fixed ReadNode(), it should call reader.Read() only on Initial state.
1895         * XmlInputStream.cs : Changed namespace. Added XmlStreamReader(stream)
1896           and XmlStreamReader (string). Fixed XmlInputStream(url) not to use
1897           System.Net.WebClient directly.
1898         * XmlParserContext.cs : baseURI never be null.
1899         * XmlTextWriter.cs : use WebName for Encoding instead of HeaderName.
1900         * XmlUrlResolver.cs : namespace change for XmlInputStream.
1901
1902 2003-03-12  Elan Feingold <efeingold@mn.rr.com>
1903
1904         * XmlTextReader.cs: When throwing a ReaderException, show what
1905         character was the culprit
1906
1907 2003-03-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1908
1909         * XmlDocumentFragment.cs, XmlElement.cs :
1910           modified InnerXml (fragment type from Element to DocumentFragment).
1911
1912         * XmlElement.cs : fixed WriteTo() ns check.
1913         * XmlNamespaceManager.cs : MS.NET allows Add() used two or more times.
1914         * XmlNode.cs : fixed ConstructNamespaceManager().
1915
1916         * XmlConstructs.cs : added IsSpace, IsName, IsNameStart, IsNCName,
1917           IsPubid with an int arg.
1918         * XmlReader.cs : changed to use XmlChar.cs (its role is as same as
1919           XmlConstructs.cs).
1920         * XmlTextReader.cs :
1921           improved error messages with line info.
1922           / checking matching start and end tags.
1923           / prevents the apperance of multiple root elements. (patch by Erik)
1924           fixed and refactored ReadInnerXml() and ReadOuterXml()
1925           changed to use XmlChar.cs.
1926
1927         * XmlTextWriter.cs : changed to put element's xmlns at CloseStartTag ()
1928           (It will help c14n implementation.)
1929           / blocks multiple attribute output with element node.
1930
1931 2003-02-28  Alan Tam <Tam@SiuLung.com>
1932
1933         * XmlConvert.cs: fixed the most ToXXX(string) and ToString(XXX)
1934         methods to make them compatible with the XML Schema Spec from W3C
1935         ToString(TimeSpan) is still outstanding
1936
1937 2003-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1938
1939         * XmlDocument.cs:
1940         (Load (string)): hack to workaround some issues with Uri.Parse. Once
1941         Parse is fixed, remove the hack.
1942
1943 2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1944
1945         * XmlQualifiedName.cs : fixed GetHashCode() to avoid null reference
1946         * XmlTextReader.cs : fixed ReadAttributeValue() to handle 
1947                 entity reference, and some refactory.
1948
1949 2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1950
1951         * XmlUrlResolver.cs : WebClient.Credentials was not implemented yet.
1952
1953 2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1954
1955         * XmlInputStream.cs : added (also contains internal XmlStreamReader).
1956         * XmlDocument.cs : Load () now can specify URL using XmlUrlResolver,
1957                 and can read non-UTF-8 stream.
1958         * XmlTextReader.cs : related to above stream fix.
1959         * XmlUrlResolver.cs : implemented GetEntity ().
1960
1961 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1962
1963         * XmlTextWriter.cs: implemented WriteRaw (char[], int, int).
1964
1965 2003-02-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1966
1967         * XmlTextReader.cs : implemented QuoteChar.
1968
1969 2003-01-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1970
1971         * XmlNode.cs : implemented ReplaceChild.
1972           removed DocElem checking at InsertBefore.
1973         * XmlNodeReader.cs : fixed ReadString and Read for correct node info.
1974         * XmlText.cs : implemented CloneNode and SplitText.
1975
1976 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1977
1978         * XmlCharacterData.cs: added XPathNodeType property.
1979
1980 2003-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1981
1982         * XmlTextWriter.cs: throw an exception if WriteEndDocument is
1983         called without a prior call to WriteStartDocument.
1984
1985 2003-01-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1986
1987         * XmlNodeReader.cs : several fix to get more compatible with MS.NET.
1988
1989 2003-01-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
1990
1991         * XmlNamespaceManager.cs : fundamental change of LookupPrefix to return
1992                 null when no matching uri.
1993         * XmlElement.cs : removed unnecessary xmlns output.
1994         * XmlNode.cs : GetPrefixOfNamespace fix along with the change above.
1995         * XmlTextWriter.cs : LookupPrefix and WriteStartElementInternal fix 
1996                 along with the change above, and moved timing of 'xmlns' output 
1997                 to CloseStartElement.
1998         * XmlWriter.cs: modified WriteStartAttribute, same as yesterday.
1999
2000 2003-01-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2001
2002         * XmlWriter.cs: modified WriteStartElement (see test for detail).
2003         Added WriteNode.
2004
2005 2003-01-13  Ville Palo <vi64pa@koti.soon.fi>
2006
2007         * XmlDocument.cs: Added CheckName () method to check names validity.
2008         
2009 2003-01-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2010
2011         * XmlTextReader.cs:
2012         (ReadOuterXml): use Depth property which return elementDepth, not depth.
2013
2014 2003-01-11  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2015
2016         * XmlElement.cs : (by ville) XmlElement.set_InnerText event bugfix.
2017         * XmlTextReader.cs : some fix for ReadOuterXml().
2018
2019 2003-01-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2020
2021         * XmlTextReader.cs : bugfix for attributes related to creation of 
2022           XmlAttribute *node*.
2023
2024 2003-01-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2025
2026         * XmlTextReader.cs : bugfix for attribute values which have entity
2027           references.
2028
2029 2002-12-28  Ville Palo <vi64pa@koti.soon.fi>
2030
2031         * XmlDocument.cs: XmlTextWriter.Formatting == Indented when 
2032         calling Save () -methods.
2033         
2034 2002-12-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2035
2036         * XmlNodeReader.cs : primitive reading implementation.
2037
2038 2002-12-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2039
2040         * XmlElement.cs : quick fix for the incomplete patch of #35308 below.
2041
2042 2002-12-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2043
2044         * XmlDocument.cs : removed inconsistent line-feed output.
2045         * XmlElement.cs, XmlTextWriter.cs :
2046                 fixed for bugzilla 35308 (default ns output)
2047         * XmlWhitespace.cs : limited output only when preserving whitespace.
2048
2049 2002-12-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2050
2051         * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
2052                 Implemented XmlTextReader.ReadAttributeValue().
2053                 Added internal ReadAttributeNodeValue().
2054                 Fixed XmlAttribute.InnerXml to use these methods.
2055         
2056         * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
2057                 Implemented XmlDocument.ReadNode() and removed ConstructDOM().
2058                 Other changes are replacing them.
2059
2060 2002-12-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2061
2062         * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
2063
2064 2002-12-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2065
2066         * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
2067                 patch by JD Conley <jconley@winfessor.com>.
2068                 (Fix for xmlns attribute output.)
2069
2070 2002-12-05  Ville Palo <vi64p@koti.soon.fi>
2071
2072         * XmlQualifiedName.cs: Little fix to ToString () -method
2073
2074 2002-12-04  Tim Haynes  <thaynes@openlinksw.com>
2075
2076         * class/System.XML/System.Xml/XmlElement.cs: Made more refined
2077         checks on attributeNode to fix 32262.
2078
2079 2002-12-03  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
2080
2081         * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
2082         * XmlTextWriter.cs (WriteStartElementInternal):
2083           fixed when default namespace was specified, all descendants
2084           fail to omit the default namespace declarations.
2085         * XmlAttribute.cs,
2086           XmlDocument.cs,
2087           XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
2088         * XmlAttribute.cs,
2089           XmlDocumentFragment.cs,
2090           XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
2091         * XmlElement.cs (set_IsEmpty) : implemented
2092           (WriteTo) : removed my improper indenting (Writer already done)
2093         * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
2094           (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
2095         ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
2096
2097 2002-12-01  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
2098
2099         * XmlNode.cs (RemoveChild):
2100                 bugfixed when XmlNode is Document OwnerDocument is null
2101         * XmlDeclaration.cs (Value):
2102                 bugfixed regular expression pattern.
2103         * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
2104
2105 2002-11-24  Duncan Mak  <duncan@ximian.com>
2106
2107         * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
2108         Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
2109         first patch to Mono! ;-)
2110
2111 2002-11-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2112
2113         * XmlNode.cs:
2114         (AppendChild): readded refChild != null condition before throwing
2115         "cannot insert this node in this position" exception. There's probably
2116         a better solution. Fixes #34191.
2117         (RemoveAll): changed following Atsushi instructions.
2118         
2119
2120 2002-11-13  Duncan Mak  <duncan@ximian.com>
2121
2122         * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
2123         compiling.
2124
2125 2002-11-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2126
2127         * XmlDocument.cs : unified all constructors, added ConventionalParser,
2128                 implemented CloneNode() and CreateEntityReference(),
2129         * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
2130                 set BaseURI to MonoTODO
2131         * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
2132                 bugfix InsertAfter (incorrect prepending) and InsertBefore
2133                 (more than one DocumentElements hadn't caused errors)
2134         * XmlTextReader.cs : unified all constructors,
2135                 added internal SetReaderContext(), SetReaderFragment()
2136                 bugfix (syntax check of PUBLIC / getting internal subset)
2137
2138 2002-11-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2139
2140         XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
2141         XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
2142         XmlCharacterData.cs : exchanged Data and Value
2143                 (for processing events and inheritance)
2144         XmlDocumentFragment.cs : set_InnerXml
2145         XmlSignificantWhitespace.cs : set_Value
2146         XmlTextReader.cs : ReadAttributeValue
2147
2148 2002-11-04  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
2149
2150         XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
2151
2152 2002-11-03  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
2153
2154         * XmlAttributeCollection.cs : checks owner element.
2155                 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
2156                 Remove, RemoveAt, SetNamedItem.
2157                 removed some logics that sets 'Parent' (that should be null)
2158         * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
2159         * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
2160         * XmlElement.cs : implemented WriteTo, set_InnerText.
2161                 Fixed WriteTo() to add xmlns:* attributes when
2162                 writer.LookupPrefix() returned mismatching.
2163         * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
2164                 Removing different prefixes for the same uri now runs correct.
2165                 added SetNamedItem(XmlNode node, int position_to_insert).
2166         * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
2167                 XmlWhitespace, and XmlSignificantWhitespace
2168
2169 2002-10-31  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
2170
2171         * XmlDocument.cs : implemented CreateDocumentFragment()
2172         * XmlElement.cs, XmlLinkedNode.cs :
2173                 moved LastLinkedChild from XmlElement to XmlLinkedNode.
2174         * XmlEntityReference.cs : must throw NotImplementedException.
2175         * XmlNode.cs :
2176               + implemented InsertBefore() and then implemented InsertAfter()
2177                 and modified AppendChild() to call it.
2178               + added logic to check ReadOnly, parent document equivalence,
2179                 and inserting any 'content' before/after DocumentElement.
2180               + implemented Clone() [it is equals to CloneNode() by MS doc.]
2181               + added logic in RemoveChild() to check parent of oldChild.
2182               + fixed ConstructNamespaceManager() to internal only.
2183
2184 2002-10-29  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
2185
2186         * XmlAttribute.cs : add internal 'IsDefault' property
2187                             (equals to !Specified)
2188         * XmlImplementation.cs : added 'internalNameTable' property.
2189         * XmlDocument.cs :
2190             + now allows "" for 'standalone' in CreateXmlDeclaration.
2191             + implemented 'Implementation' property and constructor with it.
2192             + added logic for appending name table (but still no use)
2193             + implemented property 'DocumentType'
2194               (but without internalSubset parsing. wait for next update.)
2195         * XmlNode.cs :
2196             + modified AppendChild() and RemoveChild() to support fragment.
2197             + modified AppendChild() to remove newChild from its parent
2198               when newChild is already in the other place.
2199             + modified RemoveChild() to set parentNode null.
2200             + modified ConstructDOM() to create DocumentType,
2201               and fixed access modifier ('internal protected' to 'internal')
2202         * XmlLinkedNode.cs : fixed 'NextSibling' to return null
2203                 when its parent is null.
2204         * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
2205                 property to enable AppendChild() for this class.
2206         * XmlTextReader.cs : appended private publicId and systemId fields.
2207
2208 2002-10-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2209
2210         * XmlTextReader.cs: make it work when the underlying Stream is not
2211         'seekable'.
2212
2213 2002-10-26  Piers Haken <piersh@friskit.com>
2214
2215         * XmlNode.cs: add virtual property XPathNodeType
2216         * XmlAttribute.cs:
2217         * XmlComment.cs:
2218         * XmlDocument.cs:
2219         * XmlElement.cs::
2220         * XmlProcessingInstruction.cs:
2221         * XmlSignificantWhitespace.cs:
2222         * XmlText.cs:
2223         * XmlWhitespace.cs: implement XPathNodeType property
2224         * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
2225
2226 2002-10-26  Piers Haken <piersh@friskit.com>
2227
2228         * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
2229
2230 2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2231
2232         * XmlTextReader.cs: don't increment depth for entity references.
2233
2234 2002-10-22  Tim Haynes <thaynes@openlinksw.com>
2235
2236         * - Fixed the duplication of xmlns:xx = yy when serializing the
2237         XML for serialization
2238         
2239         Fixed the unnecessary parsing/serializing when adding assemblies
2240         for serialization 
2241
2242         Avoided setting the XmlNode.InnerXml property
2243         (as it's not implemented) 
2244
2245         Fixed the usage/implementation of
2246         XmlElement.GetElementsByTagName()
2247         
2248 2002-10-21  Duncan Mak  <duncan@ximian.com>
2249
2250         * XmlDocument.cs:
2251         * XmlElement.cs:
2252         * XmlNode.cs:
2253         * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
2254         Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
2255
2256 2002-10-18  Duncan Mak  <duncan@ximian.com>
2257
2258         * XmlDocument.cs: Applied a patch by Atsushi Enomoto
2259         <ginga@kit.hi-ho.ne.jp>.
2260
2261 2002-10-12  A.Enomoto <ginga@kit.hi-ho.ne.jp>
2262
2263         * XmlDocument.cs (ImportNode): Implemented
2264
2265 2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2266
2267         * XmlDocument.cs: one more Load method implemented.
2268         * XmlTextReader.cs: Depth now works.
2269
2270 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2271
2272         * XmlConvert.cs: IsInvalid is now internal.
2273         * XmlNamespaceManager.cs: implemented RemoveNamespace
2274         * XmlTextReader.cs: return BaseURI and Encoding from the parser.
2275         * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
2276
2277 2002-09-19  Matt Hunter <mahunter@tconl.com>
2278
2279         * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
2280         * XmlAttributeCollection.cs: Implemented Append (XmlAttribute) 
2281           
2282 2002-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2283
2284         * XmlConvert.cs: finished implementation.
2285         * XmlTextReader.cs: fixed #30239.
2286         * XmlTextWriter.cs: fixed #30240.
2287
2288 2002-09-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2289
2290         * XmlTextReader.cs: line and position begin with 1.
2291
2292 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2293
2294         * XmlException.cs: added a new internal constructor for IXmlLineInfo
2295         and output line and position info in Message.
2296
2297         * XmlReader.cs: implemented missing bits.
2298
2299 2002-09-12      Piers Haken <piersh@friksit.com>
2300
2301         * XmlDocumentNavigator.cs: implement MoveToId()
2302
2303 2002-09-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2304
2305         * XmlTextWriter.cs: fixed bug #29886.
2306
2307 2002-08-26  Ravi Pratap  <ravi@ximian.com>
2308
2309
2310         * XmlAttribute.cs (InnerText): Implement getting this property.
2311
2312         * XmlNode.cs (InnerText): Ensure that we append only values of
2313         text nodes.
2314
2315 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2316
2317         * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
2318         that allowed compiling this.
2319         [ FIXME: filed bug #29435. mcs should have failed on this ]
2320
2321 2002-08-25  Tim Coleman <tim@timcoleman.com>
2322         * XmlNode.cs:
2323                 Change CreateNavigator to not be virtual.
2324         * XmlElement.cs:
2325                 Add set_Prefix and InnerText accessors.
2326         * XmlEntityReference.cs:
2327                 Add set_Value accessor.
2328         * XmlTextWriter.cs:
2329                 Make objects which should be private private.
2330         * XmlWriter.cs:
2331                 Remove WriteStartElementInternal abstract definition.
2332         * XmlValidatingReader.cs:
2333                 New stubs added.
2334
2335 2002-08-22  Jason Diamond <jason@injektilo.org>
2336
2337         * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
2338         and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
2339
2340 2002-08-22  Jason Diamond <jason@injektilo.org>
2341
2342         * XmlElement.cs: Correction to previous GetElementsByTagName patch
2343         courtesy of Matt Hunter <xrkune@tconl.com>.
2344
2345 2002-08-22  Jason Diamond <jason@injektilo.org>
2346
2347         * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
2348         qualified GetElementsByTagName courtesy of Matt Hunter 
2349         <xrkune@tconl.com>.
2350
2351 2002-08-19  Jason Diamond <jason@injektilo.org>
2352
2353         * XmlDocument.cs, XmlElement.cs: Added implementation of 
2354         GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
2355
2356 2002-08-16  Jason Diamond <jason@injektilo.org>
2357
2358         * XmlElement.cs: Fixed writing out qualified elements courtesy of
2359         Marcus Bürgel <marcus.buergel@gmx.de>.
2360
2361 2002-08-13  Tim Coleman <tim@timcoleman.com>
2362         * XmlTextWriter.cs:
2363                 Partial implementation of WriteQualifiedName ().
2364
2365 2002-08-07  Kral Ferch <kral_ferch@hotmail.com>
2366         * XmlCharacterData.cs:  Implemented AppendData(), DeleteData(),
2367                 InsertData(), and ReplaceData().  These methods fire the
2368                 NodeChanging and NodeChanged events.
2369                 
2370         * XmlDocument.cs:  Fixed bugs in onNodeChanged() and onNodeChanging().
2371         
2372         * XmlNode.cs:  AppendChild() fires NodeInserting and NodeInserted events.
2373                 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
2374         
2375 2002-08-03  Tim Coleman <tim@timcoleman.com>
2376         * XmlNamespaceManager.cs:
2377                 .Net allows the empty namespace to be redefined
2378                 at a later point, but the current implementation
2379                 did not.  This fixes a hashtable conflict.
2380
2381 2002-07-26  Tim Coleman <tim@timcoleman.com>
2382         * XmlTextWriter.cs:
2383                 When given a textwriter, check to see if it has a
2384                 null encoding. This was being done for other inputs
2385                 than a textwriter.
2386
2387 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
2388
2389         * XmlTextReader.cs: rough line/column support.
2390
2391 2002-07-23  Duncan Mak  <duncan@ximian.com>
2392
2393         * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
2394         (string, string []) is particularly strange.
2395
2396         * XmlException.cs: Remember to call the base serialization
2397         constructor.
2398
2399         * XmlNodeReader.cs: Keep a new variable to store the Depth. 
2400
2401 2002-07-14  Jason Diamond  <jason@injektilo.org>
2402
2403         * XmlAttribute.cs: Removed ownerElement field since we can reuse 
2404         parentNode field.
2405
2406         * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
2407         if the current node is an attribute.
2408
2409         * XmlElement.cs: SetAttributeNode now sets the new attribute's
2410         owner element.
2411
2412 2002-07-12  Jason Diamond  <jason@injektilo.org>
2413
2414         * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
2415         creating an element, use String.Empty instead.
2416
2417 2002-07-12      Piers Haken <piersh@friksit.com>
2418
2419         * XmlAttributeCollection.cs: implement some ItemOf indexers
2420         * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
2421         * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
2422
2423 2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
2424
2425
2426 2002-10-26  Piers Haken <piersh@friskit.com>
2427
2428         * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
2429
2430 2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2431
2432         * XmlTextReader.cs: don't increment depth for entity references.
2433
2434 2002-10-22  Tim Haynes <thaynes@openlinksw.com>
2435
2436         * - Fixed the duplication of xmlns:xx = yy when serializing the
2437         XML for serialization
2438         
2439         Fixed the unnecessary parsing/serializing when adding assemblies
2440         for serialization 
2441
2442         Avoided setting the XmlNode.InnerXml property
2443         (as it's not implemented) 
2444
2445         Fixed the usage/implementation of
2446         XmlElement.GetElementsByTagName()
2447         
2448 2002-10-21  Duncan Mak  <duncan@ximian.com>
2449
2450         * XmlDocument.cs:
2451         * XmlElement.cs:
2452         * XmlNode.cs:
2453         * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
2454         Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
2455
2456 2002-10-18  Duncan Mak  <duncan@ximian.com>
2457
2458         * XmlDocument.cs: Applied a patch by Atsushi Enomoto
2459         <ginga@kit.hi-ho.ne.jp>.
2460
2461 2002-10-12  A.Enomoto <ginga@kit.hi-ho.ne.jp>
2462
2463         * XmlDocument.cs (ImportNode): Implemented
2464
2465 2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2466
2467         * XmlDocument.cs: one more Load method implemented.
2468         * XmlTextReader.cs: Depth now works.
2469
2470 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2471
2472         * XmlConvert.cs: IsInvalid is now internal.
2473         * XmlNamespaceManager.cs: implemented RemoveNamespace
2474         * XmlTextReader.cs: return BaseURI and Encoding from the parser.
2475         * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
2476
2477 2002-09-19  Matt Hunter <mahunter@tconl.com>
2478
2479         * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
2480         * XmlAttributeCollection.cs: Implemented Append (XmlAttribute) 
2481           
2482 2002-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2483
2484         * XmlConvert.cs: finished implementation.
2485         * XmlTextReader.cs: fixed #30239.
2486         * XmlTextWriter.cs: fixed #30240.
2487
2488 2002-09-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2489
2490         * XmlTextReader.cs: line and position begin with 1.
2491
2492 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2493
2494         * XmlException.cs: added a new internal constructor for IXmlLineInfo
2495         and output line and position info in Message.
2496
2497         * XmlReader.cs: implemented missing bits.
2498
2499 2002-09-12      Piers Haken <piersh@friksit.com>
2500
2501         * XmlDocumentNavigator.cs: implement MoveToId()
2502
2503 2002-09-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2504
2505         * XmlTextWriter.cs: fixed bug #29886.
2506
2507 2002-08-26  Ravi Pratap  <ravi@ximian.com>
2508
2509
2510         * XmlAttribute.cs (InnerText): Implement getting this property.
2511
2512         * XmlNode.cs (InnerText): Ensure that we append only values of
2513         text nodes.
2514
2515 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2516
2517         * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
2518         that allowed compiling this.
2519         [ FIXME: filed bug #29435. mcs should have failed on this ]
2520
2521 2002-08-25  Tim Coleman <tim@timcoleman.com>
2522         * XmlNode.cs:
2523                 Change CreateNavigator to not be virtual.
2524         * XmlElement.cs:
2525                 Add set_Prefix and InnerText accessors.
2526         * XmlEntityReference.cs:
2527                 Add set_Value accessor.
2528         * XmlTextWriter.cs:
2529                 Make objects which should be private private.
2530         * XmlWriter.cs:
2531                 Remove WriteStartElementInternal abstract definition.
2532         * XmlValidatingReader.cs:
2533                 New stubs added.
2534
2535 2002-08-22  Jason Diamond <jason@injektilo.org>
2536
2537         * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
2538         and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
2539
2540 2002-08-22  Jason Diamond <jason@injektilo.org>
2541
2542         * XmlElement.cs: Correction to previous GetElementsByTagName patch
2543         courtesy of Matt Hunter <xrkune@tconl.com>.
2544
2545 2002-08-22  Jason Diamond <jason@injektilo.org>
2546
2547         * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
2548         qualified GetElementsByTagName courtesy of Matt Hunter 
2549         <xrkune@tconl.com>.
2550
2551 2002-08-19  Jason Diamond <jason@injektilo.org>
2552
2553         * XmlDocument.cs, XmlElement.cs: Added implementation of 
2554         GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
2555
2556 2002-08-16  Jason Diamond <jason@injektilo.org>
2557
2558         * XmlElement.cs: Fixed writing out qualified elements courtesy of
2559         Marcus Bürgel <marcus.buergel@gmx.de>.
2560
2561 2002-08-13  Tim Coleman <tim@timcoleman.com>
2562         * XmlTextWriter.cs:
2563                 Partial implementation of WriteQualifiedName ().
2564
2565 2002-08-07  Kral Ferch <kral_ferch@hotmail.com>
2566         * XmlCharacterData.cs:  Implemented AppendData(), DeleteData(),
2567                 InsertData(), and ReplaceData().  These methods fire the
2568                 NodeChanging and NodeChanged events.
2569                 
2570         * XmlDocument.cs:  Fixed bugs in onNodeChanged() and onNodeChanging().
2571         
2572         * XmlNode.cs:  AppendChild() fires NodeInserting and NodeInserted events.
2573                 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
2574         
2575 2002-08-03  Tim Coleman <tim@timcoleman.com>
2576         * XmlNamespaceManager.cs:
2577                 .Net allows the empty namespace to be redefined
2578                 at a later point, but the current implementation
2579                 did not.  This fixes a hashtable conflict.
2580
2581 2002-07-26  Tim Coleman <tim@timcoleman.com>
2582         * XmlTextWriter.cs:
2583                 When given a textwriter, check to see if it has a
2584                 null encoding. This was being done for other inputs
2585                 than a textwriter.
2586
2587 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
2588
2589         * XmlTextReader.cs: rough line/column support.
2590
2591 2002-07-23  Duncan Mak  <duncan@ximian.com>
2592
2593         * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
2594         (string, string []) is particularly strange.
2595
2596         * XmlException.cs: Remember to call the base serialization
2597         constructor.
2598
2599         * XmlNodeReader.cs: Keep a new variable to store the Depth. 
2600
2601 2002-07-14  Jason Diamond  <jason@injektilo.org>
2602
2603         * XmlAttribute.cs: Removed ownerElement field since we can reuse 
2604         parentNode field.
2605
2606         * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
2607         if the current node is an attribute.
2608
2609         * XmlElement.cs: SetAttributeNode now sets the new attribute's
2610         owner element.
2611
2612 2002-07-12  Jason Diamond  <jason@injektilo.org>
2613
2614         * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
2615         creating an element, use String.Empty instead.
2616
2617 2002-07-12      Piers Haken <piersh@friksit.com>
2618
2619         * XmlAttributeCollection.cs: implement some ItemOf indexers
2620         * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
2621         * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
2622
2623 2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
2624
2625         * XmlTextWriter: Fixed Indentation. IndentationOverridden should
2626                 not be set when inside a attribute.
2627
2628 2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
2629
2630         * XmlTextWriter: In WriteStartElement, if namespace is null and 
2631                 prefix is null|empty do not write out xmlns=""
2632         
2633         * XmlWriter: WriteStartElement calls the virtual method with null
2634                 argument instead of empty string.
2635
2636 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2637
2638         * XmlTextReader.cs: implemented .ctor (Stream).
2639
2640 2002-06-26  Duncan Mak  <duncan@ximian.com>
2641
2642         * XmlNodeReader.cs: Implementation of most of the properties, and
2643         some of the related methods. 
2644
2645 2002-06-23  Piers Haken <piersh@friskit.com>
2646         
2647         * XmlDocumentNavigator.cs: implement Clone()
2648         * XmlElement.cs: remove bogus unimplemented override of InnerText
2649         * XmlNode.cs: implment SelectNodes/SelectSingleNode
2650         * XmlNodeArrayList.cs: new support class for SelectNodes
2651
2652 2002-06-21  Ajay kumar Dwivedi <adwiv@yahoo.com>
2653         
2654         * XmlQualifiedName: Name and Namespaces are never null. If null is passed
2655                 to the constructor, set them to empty strings.
2656                 Fixed the Operators.
2657         
2658 2002-06-18  Ajay kumar Dwivedi <adwiv@yahoo.com>
2659         
2660         * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
2661         Exception.
2662
2663 2002-06-14  Duncan Mak  <duncan@ximian.com>
2664
2665         * XmlConvert.cs: Added CLSCompliant attributes to methods.
2666         
2667 2002-06-12  Duncan Mak  <duncan@ximian.com>
2668
2669         * XmlCharacterData.cs (Value): Throw an ArgumentException in the
2670         set block if the node is read-only.
2671
2672 2002-06-10  Ajay kumar Dwivedi <adwiv@yahoo.com>
2673         * XmlConstruct.cs : New Internal class with Helper methods for
2674         Checking XmlConstructs
2675         * XmlConvert.cs: Implemented most of the methods
2676
2677 2002-06-08  Duncan Mak  <duncan@ximian.com>     
2678
2679         * XmlDocument.cs (Load):
2680         Added bits to Load (string) for BaseURI support.
2681
2682         * XmlAttribute.cs (BaseURI): 
2683         * XmlDocument.cs (BaseURI): 
2684         * XmlEntity.cs (BaseURI): Implemented.
2685
2686 2002-05-27  Jason Diamond  <jason@injektilo.org>
2687
2688         * XmlDocumentNavigator.cs: Added file to directory.
2689
2690         * XmlNode.cs (CreateNavigator): Implemented.
2691         (InnerText): Implemented.
2692
2693         * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
2694         throwing exception.
2695         (Load(XmlReader)): Allow for namespace qualified attributes.
2696
2697         * XmlElement.cs: Implemented GetAttribute(string, string) and both 
2698         GetAttributeNode overloads.
2699         (SetAttributeNode(XmlAttribute)): Implemented.
2700
2701         * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
2702         and RemoveNamedItem(string, string).
2703
2704         * XmlLinkedNode.cs (PreviousSibling): Implemented.
2705
2706         * XmlTextReader.cs: Added code to maintain the order of attributes as 
2707         they're parsed. XML doesn't require this but Microsoft's parser does it and
2708         matching them makes testing easier so now we have it, too.
2709
2710 2002-05-26  Miguel de Icaza  <miguel@ximian.com>
2711
2712         * XmlDocument.cs: Implement the Save methods.
2713
2714 2002-05-08  Mike Kestner  <mkestner@speakeasy.net>
2715
2716         * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
2717
2718 2002-04-28  Duncan Mak  <duncan@ximian.com>
2719
2720         * XmlSignificantWhitespace.cs (Value):
2721         * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
2722         block. Added new private method, IsValidWhitespaceChar, for
2723         checking.
2724
2725 2002-04-16  Duncan Mak  <duncan@ximian.com>
2726
2727         * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
2728
2729 2002-04-12  Duncan Mak  <duncan@ximian.com>
2730
2731         * XmlAttribute.cs (Prefix): Added preliminary code for set block,
2732         added comment on work that needs to be done here. A new MonoTODO item. 
2733
2734         * XmlDocument.cs (ctor): Corrected constructor signature, changed
2735         parameter from 'NameTable' to 'XmlNameTable'.
2736
2737         * XmlDocumentFragment.cs (InnerXml): Added missing set block.
2738
2739         * XmlCaseOrder.cs: Moved to System.Xml.XPath.
2740
2741 2002-04-10  Duncan Mak  <duncan@ximian.com>
2742
2743         * XmlNodeReader.cs: Initial stubs for the class.
2744
2745 2002-04-08  Kral Ferch  <kral_ferch@hotmail.com>
2746
2747         * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
2748         implementations.
2749         
2750         * XmlDeclaration.cs: WriteTo implementation.
2751         
2752         * XmlDocument.cs: InnerXml getter implementation.
2753         
2754         * XmlElement.cs: InnerXml getter implementation.
2755
2756         * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
2757         
2758         * XmlSignificantWhitespace.cs: WriteTo implementation.
2759         
2760         * XmlText.cs: WriteContentTo and WriteTo implementation.
2761         
2762         * XmlTextWriter.cs: WriteRaw implementation.
2763         
2764         * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
2765
2766 2002-04-05  Kral Ferch  <kral_ferch@hotmail.com>
2767
2768         * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
2769         if prefix in constructor is one of the default ones.
2770         
2771         * XmlCharacterData.cs: Returns String.Empty for Value and Data
2772         even when constructed with null.
2773         
2774         * XmlDeclaration.cs: Value doesn't put encoding or standalone
2775         in if they are empty.
2776         
2777         * XmlDocument.cs: Implemented CreateNode methods and this caused
2778         the changes in the other files in this checkin.
2779         
2780         * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
2781         even when constructed with null.
2782         
2783         * XmlWhitespace.cs: Changed Value 'get' to return Data.
2784
2785 2002-04-01  Kral Ferch  <kral_ferch@hotmail.com>
2786
2787         * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
2788         
2789 2002-03-31  Kral Ferch  <kral_ferch@hotmail.com>
2790
2791         * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
2792         and WriteCharEntity.
2793         
2794         * XmlWrite.cs:  Fixed bug where attribute namespace decl
2795         was pushing a scope onto the namespace manager when it shouldn't
2796         have been.
2797         
2798 2002-03-31  Kral Ferch  <kral_ferch@hotmail.com>
2799
2800         * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
2801         in different states (no open start element, in WriteState.Content mode).
2802         
2803 2002-03-29  Kral Ferch  <kral_ferch@hotmail.com>
2804
2805         * XmlTextWriter.cs: XmlLang and XmlSpace properties
2806         and WriteWhitespace.
2807         
2808         * XmlTextWriterOpenElement.cs: scope support for XmlLang
2809         and XmlSpace.
2810
2811 2002-03-29  Kral Ferch  <kral_ferch@hotmail.com>
2812
2813         * XmlTextWriter.cs: Working on Attribute methods.
2814         
2815         * XmlWriter.cs: Working on Attribute methods.
2816
2817 2002-03-28  Duncan Mak  <duncan@ximian.com>
2818
2819         * XmlDocument.cs (CreateWhitespace):
2820         (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
2821         method.
2822
2823         * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
2824
2825 2002-03-26  Duncan Mak  <duncan@ximian.com>
2826
2827         * XmlDocument.cs (CreateDocumentType): Implemented.
2828
2829         * XmlNode.cs (Value): Implemented.
2830
2831         * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
2832         like XmlCharacterData.
2833
2834         * XmlDeclaration.cs (CloneNode): 
2835         * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
2836         arguments.
2837
2838         * XmlCharacterData.cs (InnerText): Implemented. Funny that the
2839         docs say it is the "The concatenated values of the node and all
2840         the children of the node.". I wrote some test programs and
2841         couldn't get any of the derived nodes to AppendChild. For now,
2842         InnerText == Data == Value.
2843         (Substring): Fixed typo.
2844
2845         * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
2846
2847         * XmlImplementation.cs (CreateDocument): Implemented.
2848
2849 2002-03-25  Duncan Mak  <duncan@ximian.com>
2850
2851         * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
2852         missing properties (InnerText, Value).
2853         
2854         * XmlDocument.cs (CreateXmlDeclaration): Implemented.
2855
2856 2002-03-23  Kral Ferch <kral_ferch@hotmail.com>
2857
2858         * XmlTextWriter.cs: Impls for BaseStream and
2859         Namespaces and WriteState.
2860         
2861         * XmlWriter.cs: WriteState and WriteStartElementInternal.
2862
2863 2002-03-23  Kral Ferch <kral_ferch@hotmail.com>
2864
2865         * XmlNodeListChildren.cs: made class internal
2866         instead of public.  Shouldn't be visible outside
2867         of System.Xml.
2868         
2869         * XmlTextWriter.cs: Implementations for Formatting,
2870         IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
2871         Suppresses encoding on xml declaration if null stream passed in.
2872         Formats output including suppressing indentation for elements in
2873         mixed content mode.
2874         
2875         * XmlTextWriterOpenElement.cs: Initial checkin.
2876         XmlTextWriter uses stack of these objects to track
2877         state.
2878         
2879 2002-03-22  Mike Kestner  <mkestner@speakeasy.net>
2880
2881         * XmlElement.cs: impl HasAttribute(string name).
2882
2883 2002-03-22  Duncan Mak  <duncan@ximian.com>
2884
2885         * XmlElement.cs: Reformatted.
2886         (CloneNode) Corrected.
2887
2888         * XmlDocument.cs (CreateWhitespace):
2889         (CreateSignificantWhitespace): Implemented.
2890
2891         * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
2892         true, because Attributes have ChildNodes.
2893
2894 2002-03-21  Kral Ferch <kral_ferch@hotmail.com>
2895
2896         * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
2897         xml declaration along with encoding.  WriteEndElement throws
2898         exception if no WriteStartElement exists.
2899
2900 2002-03-20  Duncan Mak  <duncan@ximian.com>
2901
2902         * XmlEntityReference.cs (CloneNode): Implemented.
2903
2904         * XmlException.cs (Message): Implemented. We need to cache the
2905         message string because SystemException doesn't expose 'message'
2906         from Exception.
2907
2908         * XmlText.cs (Value): Added in the missing Value property.
2909
2910 2002-03-20  Duncan Mak  <duncan@ximian.com>     
2911
2912         * XmlAttribute.cs (CloneNode): Implemented.
2913
2914         * XmlDocumentFragment.cs (CloneNode): Implemented.
2915
2916         * XmlElement.cs (CloneNode): Implemented.
2917
2918 2002-03-19  Duncan Mak  <duncan@ximian.com>
2919
2920         * XmlNotation.cs: Added to CVS.
2921
2922         * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
2923
2924         * XmlCDataSection.cs (CloneNode): Implemented.
2925
2926         * XmlDocumentFragment.cs: Reformatted and added the missing properties
2927         (InnerXml, OwnerDocument, ParentNode).
2928         (CloneNode): Implemented.
2929
2930         * XmlSignificantWhitespace.cs (CloneNode): Implemented.
2931         (Value) Implemented the 'get' property.
2932
2933         * XmlWhitespace.cs (Module): implemented.
2934
2935 2002-03-19  Jason Diamond <jason@injektilo.org>
2936
2937         * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
2938         in the prefix.
2939
2940 2002-03-18  Jason Diamond <jason@injektilo.org>
2941
2942         * XmlTextReader.cs: Don't restore properties after reading last
2943         attribute on an element.
2944
2945         * XmlDocument.cs: Move back to element after reading attributes
2946         so that IsEmptyElement test succeeds.
2947
2948 2002-03-18  Kral Ferch <kral_ferch@hotmail.com>
2949
2950         * XmlNamespaceManager.cs: Implemented LookupPrefix.
2951         
2952         * XmlTextWriter.cs: Implemented namespace and prefix support.
2953
2954 2002-03-18  Kral Ferch <kral_ferch@hotmail.com>
2955
2956         * XmlTextReader.cs: Restores properties after
2957         reading last attribute on an element.
2958         
2959         * XmlNode.cs: AppendChild sets the parent
2960         on the child.
2961
2962 2002-03-17  Kral Ferch  <kral_ferch@hotmail.com>
2963
2964         * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
2965
2966         * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
2967         
2968         * XmlElement.cs: Fixed bug in WriteTo.
2969         
2970         * XmlProcessingInstruction.cs: Formatting.
2971         
2972         * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
2973         fixes for WriteEndElement, WriteProcessingInstruction.
2974
2975 2002-03-17  Kral Ferch  <kral_ferch@hotmail.com>
2976
2977         * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
2978         had Load() add PIs to the document, moved onXXX methods to alphabetical
2979         order in the file.
2980         
2981         * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
2982         
2983         * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
2984         
2985         * XmlProcessingInstruction.cs: Implementations for WriteTo() and
2986         WriteContentTo().
2987         
2988         * XmlTextWriter.cs: Implementations for WriteEndElement,
2989         WriteProcessingInstruction, WriteStartElement, and WriteString.
2990         
2991         * XmlWriter.cs: Implemented WriteStartElement() methods.
2992
2993 2002-03-15  Duncan Mak  <duncan@ximian.com>
2994
2995         * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
2996         InnerText once I know what they do.
2997
2998         * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
2999         that we can properly chain constructors.
3000         (CloneNode): implemented.
3001         (WriteContentTo): Removed MonoTODO attribute as this method has no
3002         effect in this class.
3003
3004         * XmlProcessingInstruction.cs (Value): Added the missing Set
3005         block.
3006         (InnerText): Added in, but not implemented.
3007
3008 2002-03-14  Kral Ferch  <kral_ferch@hotmail.com>
3009
3010         * XmlTextWriter.cs: implemented constructors and 
3011         WriteCData and WriteComment.
3012
3013 2002-03-14  Duncan Mak  <duncan@ximian.com>
3014
3015         * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
3016         file, and updated the callbacks to reflect the change.
3017         (XmlDocument): Added the NameTable constructor.
3018         (NameTable): Also the NameTable property.
3019
3020         * XmlNodeChangedEventHandler.cs: Added, replacing the version that
3021         was in XmlDocument.cs. It has two arguments now (object,
3022         EventArgs) , instead of one (object).
3023
3024 2002-03-14  Kral Ferch  <kral_ferch@hotmail.com>
3025
3026         * XmlWriter.cs: Formatting.
3027         
3028         * XmlTextWriter.cs: Initial checkin.
3029         
3030 2002-03-14  Duncan Mak  <duncan@ximian.com>
3031
3032         * Validation.cs: Removed, replaced by ValidationType.cs.
3033
3034         * ValidationType.cs: Added.
3035
3036 2002-03-13  Duncan Mak  <duncan@ximian.com>
3037
3038         * XmlException.cs: Made it [Serializable], implemented good ol'
3039         GetObjectData, and the serialization constructor.
3040
3041         * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
3042         (SetNamedItem): Reverted (added back in) the patch with the
3043         ReadOnly checks. "Don't doubt yourself, my son... you were right!"
3044
3045         * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
3046         (GetNamedItem (string, string)): implemented.
3047         (RemoveNamedItem): implemented.
3048         (SetNamedItem): implemented.
3049
3050 2002-03-12  Kral Ferch  <kral_ferch@hotmail.com>
3051
3052         * XmlAttribute.cs: Moved a method from amongst properties down to
3053         it's alphabetical position in the methods section.
3054         
3055         * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
3056         last linked child.  Set XmlNode base class to return false for IsReadOnly().
3057         Implemented GetEnumerator() and RemoveChild().
3058         
3059         * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
3060         This is to support the behavior that the Enumerator doesn't become invalid
3061         when changes to the children occur.  Flushed out rest of implementation for
3062         MoveNext, Current, and Reset.
3063
3064 2002-03-12  Duncan Mak  <duncan@ximian.com>
3065
3066         * XmlCharacterData.cs: Reformatted the properties for better readability.
3067
3068         * XmlLinkedNode.cs: Removed the awful boxy comments.
3069
3070         * XmlNamedNodeMap.cs (Count):
3071         (Item): Implemented. Tests will be coming.
3072
3073         * XmlEntityReference.cs: 
3074         * XmlSignificantWhitespace.cs: Implemented these classes except for
3075         the Clone, WriteContentTo and WriteTo methods. Will have to
3076         investigate into these later.
3077
3078 2002-03-11  Duncan Mak  <duncan@ximian.com>
3079
3080         * IHasXmlNode.cs: Added to CVS.
3081
3082 2002-03-08  Jason Diamond <jason@injektilo.org>
3083
3084         * XmlParserContext.cs: Added missing constructors and missing Encoding 
3085         property.
3086
3087         * XmlTextReader.cs: Start using the XmlParserContext class.
3088
3089 2002-03-08  Jason Diamond <jason@injektilo.org>
3090
3091         * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
3092
3093 2002-03-08  Mike Kestner  <mkestner@speakeasy.net>
3094
3095         * XmlNode.cs (Item): Implemented both indexers.
3096
3097 2002-03-08  Jason Diamond  <jason@injektilo.org>
3098
3099         * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
3100         XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
3101
3102 2002-03-08  Jason Diamond  <jason@injektilo.org>
3103
3104         * XmlAttribute.cs: Attribute nodes are supposed to store their values
3105         as child nodes so updated to reflect that.
3106
3107         * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
3108         duplicated in XmlDocument and XmlElement into XmlNode so that it
3109         wouldn't have to be duplicated in XmlAttribute, too.
3110
3111 2002-03-08  Kral Ferch <kral_ferch@hotmail.com>
3112
3113         * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
3114         XmlNode.cs: Formatting.
3115         
3116         * XmlNodeListChildren.cs: Implementation of XmlNodeList
3117         for XmlNode.ChildNodes property.
3118         
3119         * XmlNodeListAsArrayList.cs: Removed file.  Using different
3120         data structure (circular list) in XmlNode so this file
3121         is no longer valid.
3122         
3123         * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
3124         bug in setter property of LastLinkedChild so fixed it.
3125         
3126 2002-03-06  Jason Diamond  <jason@injektilo.org>
3127
3128         * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
3129         We already have a parser in XmlTextReader.
3130
3131         * XmlException.cs: Removed constructor accepting XmlInputSource.
3132
3133 2002-03-06  Kral Ferch <kral_ferch@hotmail.com>
3134
3135         * XmlNode.cs: Rewrote this class from scratch with
3136         MonoToDo attribs and NotImplementedExceptions.  Now defines an
3137         internal LastLinkedNode property to aid the new implementation.
3138         XmlNodes only have ref to owner doc and parent nodes now.
3139         
3140         * XmlLinkedNode.cs: Added NextLinkedSibling internal property
3141         and ref to next sibling to support walking our circular child
3142         node list.
3143         
3144         * XmlDocument.cs: Added ref to last child node and overrides
3145         XmlNode's internal LastLinkedChild property to support walking
3146         our circular child node list.
3147         
3148 2002-03-02  Kral Ferch <kral_ferch@hotmail.com>
3149
3150         * XmlProcessingInstructions.cs: Class was empty.  Implemented
3151         constructor, properties, and CloneNode() method.  Put in
3152         MonoToDo attrib for remaining methods.
3153
3154         * XmlComment.cs: Reformatted and put in MonoToDo attribs.
3155         Got rid of helper methods and fields since they were no
3156         longer needed.
3157
3158         * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
3159
3160         * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
3161         XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
3162         Createxxx() methods for those three node types.
3163
3164 2002-03-02  Jason Diamond <jason@injektilo.org>
3165
3166         * XmlDocument.cs: Implemented the remaining CreateElement and
3167         CreateAttribute methods.
3168
3169         * XmlAttribute.cs: Re-implemented.
3170
3171         * XmlElement.cs: Set owner element on attributes. Reformatted.
3172
3173 2002-03-02  Jason Diamond <jason@injektilo.org>
3174
3175         * XmlTextReader.cs: Implemented MoveToNextAttribute().
3176
3177         * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
3178         attributes. Create attribute nodes while loading. Implemented
3179         Load(string) and CreateTextNode().
3180
3181         * XmlCharacterData.cs, XmlText.cs: Re-implemented.
3182
3183         * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in 
3184         XmlCharacterData.
3185
3186         * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
3187
3188 2002-03-02  Mike Kestner <mkestner@speakeasy.net>
3189
3190         * XmlAttribute.cs : Using fix.
3191         * XmlDocument.cs (CreateAttribute(String)): Implement.
3192
3193 2002-03-02  Jason Diamond <jason@injektilo.org>
3194
3195         * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in 
3196         the name table.
3197
3198 2002-02-28  Jason Diamond <jason@injektilo.org>
3199
3200         * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml 
3201         courtesy of Kral Ferch <kral.ferch@hotmail.com>.
3202
3203 2002-02-28  Jason Diamond <jason@injektilo.org>
3204
3205         * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted, 
3206         added missing members and MonoTODO attributes.
3207         
3208         * XmlTextReader.cs: Throw XmlException instead of System.Exception.
3209
3210 2002-02-27  Jason Diamond <jason@injektilo.org>
3211
3212         * XmlElement.cs: Reformatted, added missing members and MonoTODO 
3213         attributes.
3214
3215 2002-02-26  Duncan Mak  <duncan@ximian.com>
3216
3217         * XmlCDataSection.cs: Initial implementation.
3218
3219         * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
3220         it out. This should (hopefully) be correct.
3221
3222 2002-02-26  Jason Diamond <jason@injektilo.org>
3223
3224         * XmlTextReader.cs: Apparently Microsoft's implementation treats
3225         namespace declarations as attributes so we do now, too.
3226
3227         * XmlNamespaceManager.cs: HasNamespace fixed so that it only
3228         checks the current scope.
3229
3230 2002-02-26  Duncan Mak  <duncan@ximian.com>
3231
3232         * XmlDocumentType.cs: Added a few hacks here and there to
3233         temporarily fix the "I broke the build issue".
3234
3235 2002-02-25  Jason Diamond <jason@injektilo.org>
3236
3237         * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
3238         XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
3239         simple test to pass. The existing code is really shitty so I'll
3240         probably start writing tests and refactoring before much else 
3241         can get done.
3242
3243 2002-02-25  Duncan Mak  <duncan@ximian.com>
3244
3245         * NameTable.cs: Implemented.
3246
3247         * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
3248
3249 2002-02-24  Duncan Mak  <duncan@ximian.com>
3250         
3251         * XmlNodeOrder.cs: Added to CVS.
3252
3253         * XmlQualifiedName.cs: Fixed a warning from Equals ().
3254
3255         * XmlTokenizedType.cs: Added to CVS.
3256
3257         * XmlUrlResolver.cs: Added to CVS with one TODO task.
3258
3259 2002-02-23  Duncan Mak  <duncan@ximian.com>
3260
3261         * XmlQualifiedName.cs: Fixed ToString () and added the operators
3262         (== and !=).
3263
3264 2002-02-23  Jason Diamond <jason@injektilo.org>
3265
3266         * XmlTextReader.cs: Added support for qualified attributes.
3267
3268 2002-02-23  Jason Diamond <jason@injektilo.org>
3269
3270         * XmlNamespaceManager.cs: Initial implementation.
3271         
3272         * XmlTextReader.cs: Added support for NamespaceURI property on
3273         elements.
3274
3275 2002-02-23  Nick Drochak <ndrochak@gol.com>
3276
3277         * ChangeLog: Add the change log to this directory
3278
3279         * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
3280         MonoTODO's