2003-03-23 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
[mono.git] / mcs / class / System.XML / System.Xml / ChangeLog
1 2003-03-23  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2
3         * XmlTextReader.cs : implemented ReadString().
4           fixed ctor(string, XmlNodeType, XmlParserContext) - don't raise
5           null reference exception when context is null.
6         * XmlNodeReader.cs : fixed ReadString() - should ignore attributes etc.
7           fixed Read() - when positioned at EndElement, it didn't progress.
8           fixed HasAttribute - it didn't return false in all cases.
9           fixed Name and LocalName - only limited type of nodes return names.
10           fixed AttributeCount - in some cases it threw null ref exception.
11
12 2003-03-22  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
13
14         * XmlTextWriter.cs : WriteStartDocument doesn't set hasRoot=true, then
15           WriteEndDocument without root element now raises an error correctly.
16         * XmlDocumentNavigator.cs : (MoveToFirstChild) fixed bugzilla #36672.
17           implemented BaseURI, NameTable, XmlLang, GetAttributes, GetNamespace,
18           MoveToAttribute.
19
20 2003-03-22  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
21
22         * XmlElement.cs : RemoveAttribute now don't throws when specified
23           attribute does not exist.
24
25 2003-03-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
26
27         * XmlNode.cs : add descriptions for some node type error.
28
29 2003-03-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
30
31         * XmlNodeArrayList.cs, XmlNodeListChildren.cs : bugzilla #39920 fix.
32
33 2003-03-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
34
35         * XmlDeclaration.cs : quick fix, not to use regex for set_Value.
36
37 2003-03-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
38
39         * XmlTextReader.cs : Fixed wrong notationdecl SYSTEM id read.
40         * XmlInputStream.cs : Should allow versionless input stream entity.
41
42 2003-03-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
43
44         * added XmlParserInput.cs for multi xml document sources.
45         * added DTDObjectModel.cs (maybe temporary).
46         * XmlTextReader.cs :
47           + fixed ctor to use XmlStreamReader. Allowed null XmlParserContext.
48           + Some members such as LineNumber, ReadChar now uses XmlParserInput.
49           + added support for Namespaces (namespace-ignorant parse available).
50           + added support for XmlResolver.
51           + replace SetReaderContext()/SetReaderFragment() with Initialize().
52           + use NameTable in CreateNameString.
53           + fixed ReadCData(). Now reads "]]]>" correctly.
54           + support for DTD parse.
55           + Read() now throws an error when it reached EOF while Depth > 0.
56         * XmlAttribute.cs,
57           XmlDocumentFragment.cs,
58           XmlElement.cs : fix related to the changes of XmlTextReader.Initialize
59         * XmlDocument.cs : ReadNode() now reads DocumentType.
60         * XmlDocumentType.cs : implemented Entities, Notations, WriteTo().
61         * XmlEntity.cs,
62           XmlNotation.cs : added override LastLinkedChild (for doctype node).
63         * XmlNamedNodeMap.cs : Remove() raises an error if target is read only.
64         * XmlElement.cs : bugfix for node removal of set_InnerXml.
65         * XmlNode.cs : added insertBeforeIntern() derived from InsertBefore().
66           (to append child XmlEntity into XmlDocumentType correctly.)
67         * XmlInputStream.cs : fixed to access file with FileAccess.Read.
68
69 2003-03-15  Duncan Mak  <duncan@ximian.com>
70
71         * XmlElement.cs (Name): Only append prefix + ':' when prefix is
72         neither String.Empty nor null. Thanks to Simon Guindon for
73         reporting the bug and Jackson for fixing this bug with me.
74
75 2003-03-15  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
76
77         * XmlConstructs.cs : fix "int IsXXX()" to reject negative value.
78         * XmlDocument.cs : simplify Load(string url) to use XmlTextReader.
79           fixed ReadNode(), it should call reader.Read() only on Initial state.
80         * XmlInputStream.cs : Changed namespace. Added XmlStreamReader(stream)
81           and XmlStreamReader (string). Fixed XmlInputStream(url) not to use
82           System.Net.WebClient directly.
83         * XmlParserContext.cs : baseURI don't be null.
84         * XmlTextWriter.cs : use WebName for Encoding instead of HeaderName.
85         * XmlUrlResolver.cs : namespace change for XmlInputStream.
86
87 2003-03-12  Elan Feingold <efeingold@mn.rr.com>
88
89         * XmlTextReader.cs: When throwing a ReaderException, show what
90         character was the culprit
91
92 2003-03-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
93
94         * XmlDocumentFragment.cs, XmlElement.cs :
95           modified InnerXml (fragment type from Element to DocumentFragment).
96
97         * XmlElement.cs : fixed WriteTo() ns check.
98         * XmlNamespaceManager.cs : MS.NET allows Add() used two or more times.
99         * XmlNode.cs : fixed ConstructNamespaceManager().
100
101         * XmlConstructs.cs : added IsSpace, IsName, IsNameStart, IsNCName,
102           IsPubid with an int arg.
103         * XmlReader.cs : changed to use XmlChar.cs (its role is as same as
104           XmlConstructs.cs).
105         * XmlTextReader.cs :
106           improved error messages with line info.
107           / checking matching start and end tags.
108           / prevents the apperance of multiple root elements. (patch by Erik)
109           fixed and refactored ReadInnerXml() and ReadOuterXml()
110           changed to use XmlChar.cs.
111
112         * XmlTextWriter.cs : changed to put element's xmlns at CloseStartTag ()
113           (It will help c14n implementation.)
114           / blocks multiple attribute output with element node.
115
116 2003-02-28  Alan Tam <Tam@SiuLung.com>
117
118         * XmlConvert.cs: fixed the most ToXXX(string) and ToString(XXX)
119         methods to make them compatible with the XML Schema Spec from W3C
120         ToString(TimeSpan) is still outstanding
121
122 2003-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
123
124         * XmlDocument.cs:
125         (Load (string)): hack to workaround some issues with Uri.Parse. Once
126         Parse is fixed, remove the hack.
127
128 2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
129
130         * XmlQualifiedName.cs : fixed GetHashCode() to avoid null reference
131         * XmlTextReader.cs : fixed ReadAttributeValue() to handle 
132                 entity reference, and some refactory.
133
134 2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
135
136         * XmlUrlResolver.cs : WebClient.Credentials was not implemented yet.
137
138 2003-02-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
139
140         * XmlInputStream.cs : added (also contains internal XmlStreamReader).
141         * XmlDocument.cs : Load () now can specify URL using XmlUrlResolver,
142                 and can read non-UTF-8 stream.
143         * XmlTextReader.cs : related to above stream fix.
144         * XmlUrlResolver.cs : implemented GetEntity ().
145
146 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
147
148         * XmlTextWriter.cs: implemented WriteRaw (char[], int, int).
149
150 2003-02-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
151
152         * XmlTextReader.cs : implemented QuoteChar.
153
154 2003-01-26  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
155
156         * XmlNode.cs : implemented ReplaceChild.
157           removed DocElem checking at InsertBefore.
158         * XmlNodeReader.cs : fixed ReadString and Read for correct node info.
159         * XmlText.cs : implemented CloneNode and SplitText.
160
161 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
162
163         * XmlCharacterData.cs: added XPathNodeType property.
164
165 2003-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
166
167         * XmlTextWriter.cs: throw an exception if WriteEndDocument is
168         called without a prior call to WriteStartDocument.
169
170 2003-01-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
171
172         * XmlNodeReader.cs : several fix to get more compatible with MS.NET.
173
174 2003-01-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
175
176         * XmlNamespaceManager.cs : fundamental change of LookupPrefix to return
177                 null when no matching uri.
178         * XmlElement.cs : removed unnecessary xmlns output.
179         * XmlNode.cs : GetPrefixOfNamespace fix along with the change above.
180         * XmlTextWriter.cs : LookupPrefix and WriteStartElementInternal fix 
181                 along with the change above, and moved timing of 'xmlns' output 
182                 to CloseStartElement.
183         * XmlWriter.cs: modified WriteStartAttribute, same as yesterday.
184
185 2003-01-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
186
187         * XmlWriter.cs: modified WriteStartElement (see test for detail).
188         Added WriteNode.
189
190 2003-01-13  Ville Palo <vi64pa@koti.soon.fi>
191
192         * XmlDocument.cs: Added CheckName () method to check names validity.
193         
194 2003-01-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
195
196         * XmlTextReader.cs:
197         (ReadOuterXml): use Depth property which return elementDepth, not depth.
198
199 2003-01-11  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
200
201         * XmlElement.cs : (by ville) XmlElement.set_InnerText event bugfix.
202         * XmlTextReader.cs : some fix for ReadOuterXml().
203
204 2003-01-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
205
206         * XmlTextReader.cs : bugfix for attributes related to creation of 
207           XmlAttribute *node*.
208
209 2003-01-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
210
211         * XmlTextReader.cs : bugfix for attribute values which have entity
212           references.
213
214 2002-12-28  Ville Palo <vi64pa@koti.soon.fi>
215
216         * XmlDocument.cs: XmlTextWriter.Formatting == Indented when 
217         calling Save () -methods.
218         
219 2002-12-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
220
221         * XmlNodeReader.cs : primitive reading implementation.
222
223 2002-12-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
224
225         * XmlElement.cs : quick fix for the incomplete patch of #35308 below.
226
227 2002-12-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
228
229         * XmlDocument.cs : removed inconsistent line-feed output.
230         * XmlElement.cs, XmlTextWriter.cs :
231                 fixed for bugzilla 35308 (default ns output)
232         * XmlWhitespace.cs : limited output only when preserving whitespace.
233
234 2002-12-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
235
236         * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
237                 Implemented XmlTextReader.ReadAttributeValue().
238                 Added internal ReadAttributeNodeValue().
239                 Fixed XmlAttribute.InnerXml to use these methods.
240         
241         * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
242                 Implemented XmlDocument.ReadNode() and removed ConstructDOM().
243                 Other changes are replacing them.
244
245 2002-12-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
246
247         * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
248
249 2002-12-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
250
251         * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
252                 patch by JD Conley <jconley@winfessor.com>.
253                 (Fix for xmlns attribute output.)
254
255 2002-12-05  Ville Palo <vi64p@koti.soon.fi>
256
257         * XmlQualifiedName.cs: Little fix to ToString () -method
258
259 2002-12-04  Tim Haynes  <thaynes@openlinksw.com>
260
261         * class/System.XML/System.Xml/XmlElement.cs: Made more refined
262         checks on attributeNode to fix 32262.
263
264 2002-12-03  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
265
266         * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
267         * XmlTextWriter.cs (WriteStartElementInternal):
268           fixed when default namespace was specified, all descendants
269           fail to omit the default namespace declarations.
270         * XmlAttribute.cs,
271           XmlDocument.cs,
272           XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
273         * XmlAttribute.cs,
274           XmlDocumentFragment.cs,
275           XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
276         * XmlElement.cs (set_IsEmpty) : implemented
277           (WriteTo) : removed my improper indenting (Writer already done)
278         * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
279           (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
280         ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
281
282 2002-12-01  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
283
284         * XmlNode.cs (RemoveChild):
285                 bugfixed when XmlNode is Document OwnerDocument is null
286         * XmlDeclaration.cs (Value):
287                 bugfixed regular expression pattern.
288         * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
289
290 2002-11-24  Duncan Mak  <duncan@ximian.com>
291
292         * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
293         Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
294         first patch to Mono! ;-)
295
296 2002-11-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
297
298         * XmlNode.cs:
299         (AppendChild): readded refChild != null condition before throwing
300         "cannot insert this node in this position" exception. There's probably
301         a better solution. Fixes #34191.
302         (RemoveAll): changed following Atsushi instructions.
303         
304
305 2002-11-13  Duncan Mak  <duncan@ximian.com>
306
307         * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
308         compiling.
309
310 2002-11-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
311
312         * XmlDocument.cs : unified all constructors, added ConventionalParser,
313                 implemented CloneNode() and CreateEntityReference(),
314         * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
315                 set BaseURI to MonoTODO
316         * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
317                 bugfix InsertAfter (incorrect prepending) and InsertBefore
318                 (more than one DocumentElements hadn't caused errors)
319         * XmlTextReader.cs : unified all constructors,
320                 added internal SetReaderContext(), SetReaderFragment()
321                 bugfix (syntax check of PUBLIC / getting internal subset)
322
323 2002-11-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
324
325         XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
326         XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
327         XmlCharacterData.cs : exchanged Data and Value
328                 (for processing events and inheritance)
329         XmlDocumentFragment.cs : set_InnerXml
330         XmlSignificantWhitespace.cs : set_Value
331         XmlTextReader.cs : ReadAttributeValue
332
333 2002-11-04  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
334
335         XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
336
337 2002-11-03  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
338
339         * XmlAttributeCollection.cs : checks owner element.
340                 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
341                 Remove, RemoveAt, SetNamedItem.
342                 removed some logics that sets 'Parent' (that should be null)
343         * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
344         * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
345         * XmlElement.cs : implemented WriteTo, set_InnerText.
346                 Fixed WriteTo() to add xmlns:* attributes when
347                 writer.LookupPrefix() returned mismatching.
348         * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
349                 Removing different prefixes for the same uri now runs correct.
350                 added SetNamedItem(XmlNode node, int position_to_insert).
351         * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
352                 XmlWhitespace, and XmlSignificantWhitespace
353
354 2002-10-31  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
355
356         * XmlDocument.cs : implemented CreateDocumentFragment()
357         * XmlElement.cs, XmlLinkedNode.cs :
358                 moved LastLinkedChild from XmlElement to XmlLinkedNode.
359         * XmlEntityReference.cs : must throw NotImplementedException.
360         * XmlNode.cs :
361               + implemented InsertBefore() and then implemented InsertAfter()
362                 and modified AppendChild() to call it.
363               + added logic to check ReadOnly, parent document equivalence,
364                 and inserting any 'content' before/after DocumentElement.
365               + implemented Clone() [it is equals to CloneNode() by MS doc.]
366               + added logic in RemoveChild() to check parent of oldChild.
367               + fixed ConstructNamespaceManager() to internal only.
368
369 2002-10-29  Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
370
371         * XmlAttribute.cs : add internal 'IsDefault' property
372                             (equals to !Specified)
373         * XmlImplementation.cs : added 'internalNameTable' property.
374         * XmlDocument.cs :
375             + now allows "" for 'standalone' in CreateXmlDeclaration.
376             + implemented 'Implementation' property and constructor with it.
377             + added logic for appending name table (but still no use)
378             + implemented property 'DocumentType'
379               (but without internalSubset parsing. wait for next update.)
380         * XmlNode.cs :
381             + modified AppendChild() and RemoveChild() to support fragment.
382             + modified AppendChild() to remove newChild from its parent
383               when newChild is already in the other place.
384             + modified RemoveChild() to set parentNode null.
385             + modified ConstructDOM() to create DocumentType,
386               and fixed access modifier ('internal protected' to 'internal')
387         * XmlLinkedNode.cs : fixed 'NextSibling' to return null
388                 when its parent is null.
389         * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
390                 property to enable AppendChild() for this class.
391         * XmlTextReader.cs : appended private publicId and systemId fields.
392
393 2002-10-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
394
395         * XmlTextReader.cs: make it work when the underlying Stream is not
396         'seekable'.
397
398 2002-10-26  Piers Haken <piersh@friskit.com>
399
400         * XmlNode.cs: add virtual property XPathNodeType
401         * XmlAttribute.cs:
402         * XmlComment.cs:
403         * XmlDocument.cs:
404         * XmlElement.cs::
405         * XmlProcessingInstruction.cs:
406         * XmlSignificantWhitespace.cs:
407         * XmlText.cs:
408         * XmlWhitespace.cs: implement XPathNodeType property
409         * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
410
411 2002-10-26  Piers Haken <piersh@friskit.com>
412
413         * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
414
415 2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
416
417         * XmlTextReader.cs: don't increment depth for entity references.
418
419 2002-10-22  Tim Haynes <thaynes@openlinksw.com>
420
421         * - Fixed the duplication of xmlns:xx = yy when serializing the
422         XML for serialization
423         
424         Fixed the unnecessary parsing/serializing when adding assemblies
425         for serialization 
426
427         Avoided setting the XmlNode.InnerXml property
428         (as it's not implemented) 
429
430         Fixed the usage/implementation of
431         XmlElement.GetElementsByTagName()
432         
433 2002-10-21  Duncan Mak  <duncan@ximian.com>
434
435         * XmlDocument.cs:
436         * XmlElement.cs:
437         * XmlNode.cs:
438         * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
439         Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
440
441 2002-10-18  Duncan Mak  <duncan@ximian.com>
442
443         * XmlDocument.cs: Applied a patch by Atsushi Enomoto
444         <ginga@kit.hi-ho.ne.jp>.
445
446 2002-10-12  A.Enomoto <ginga@kit.hi-ho.ne.jp>
447
448         * XmlDocument.cs (ImportNode): Implemented
449
450 2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
451
452         * XmlDocument.cs: one more Load method implemented.
453         * XmlTextReader.cs: Depth now works.
454
455 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
456
457         * XmlConvert.cs: IsInvalid is now internal.
458         * XmlNamespaceManager.cs: implemented RemoveNamespace
459         * XmlTextReader.cs: return BaseURI and Encoding from the parser.
460         * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
461
462 2002-09-19  Matt Hunter <mahunter@tconl.com>
463
464         * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
465         * XmlAttributeCollection.cs: Implemented Append (XmlAttribute) 
466           
467 2002-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
468
469         * XmlConvert.cs: finished implementation.
470         * XmlTextReader.cs: fixed #30239.
471         * XmlTextWriter.cs: fixed #30240.
472
473 2002-09-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
474
475         * XmlTextReader.cs: line and position begin with 1.
476
477 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
478
479         * XmlException.cs: added a new internal constructor for IXmlLineInfo
480         and output line and position info in Message.
481
482         * XmlReader.cs: implemented missing bits.
483
484 2002-09-12      Piers Haken <piersh@friksit.com>
485
486         * XmlDocumentNavigator.cs: implement MoveToId()
487
488 2002-09-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
489
490         * XmlTextWriter.cs: fixed bug #29886.
491
492 2002-08-26  Ravi Pratap  <ravi@ximian.com>
493
494
495         * XmlAttribute.cs (InnerText): Implement getting this property.
496
497         * XmlNode.cs (InnerText): Ensure that we append only values of
498         text nodes.
499
500 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
501
502         * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
503         that allowed compiling this.
504         [ FIXME: filed bug #29435. mcs should have failed on this ]
505
506 2002-08-25  Tim Coleman <tim@timcoleman.com>
507         * XmlNode.cs:
508                 Change CreateNavigator to not be virtual.
509         * XmlElement.cs:
510                 Add set_Prefix and InnerText accessors.
511         * XmlEntityReference.cs:
512                 Add set_Value accessor.
513         * XmlTextWriter.cs:
514                 Make objects which should be private private.
515         * XmlWriter.cs:
516                 Remove WriteStartElementInternal abstract definition.
517         * XmlValidatingReader.cs:
518                 New stubs added.
519
520 2002-08-22  Jason Diamond <jason@injektilo.org>
521
522         * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
523         and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
524
525 2002-08-22  Jason Diamond <jason@injektilo.org>
526
527         * XmlElement.cs: Correction to previous GetElementsByTagName patch
528         courtesy of Matt Hunter <xrkune@tconl.com>.
529
530 2002-08-22  Jason Diamond <jason@injektilo.org>
531
532         * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
533         qualified GetElementsByTagName courtesy of Matt Hunter 
534         <xrkune@tconl.com>.
535
536 2002-08-19  Jason Diamond <jason@injektilo.org>
537
538         * XmlDocument.cs, XmlElement.cs: Added implementation of 
539         GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
540
541 2002-08-16  Jason Diamond <jason@injektilo.org>
542
543         * XmlElement.cs: Fixed writing out qualified elements courtesy of
544         Marcus Bürgel <marcus.buergel@gmx.de>.
545
546 2002-08-13  Tim Coleman <tim@timcoleman.com>
547         * XmlTextWriter.cs:
548                 Partial implementation of WriteQualifiedName ().
549
550 2002-08-07  Kral Ferch <kral_ferch@hotmail.com>
551         * XmlCharacterData.cs:  Implemented AppendData(), DeleteData(),
552                 InsertData(), and ReplaceData().  These methods fire the
553                 NodeChanging and NodeChanged events.
554                 
555         * XmlDocument.cs:  Fixed bugs in onNodeChanged() and onNodeChanging().
556         
557         * XmlNode.cs:  AppendChild() fires NodeInserting and NodeInserted events.
558                 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
559         
560 2002-08-03  Tim Coleman <tim@timcoleman.com>
561         * XmlNamespaceManager.cs:
562                 .Net allows the empty namespace to be redefined
563                 at a later point, but the current implementation
564                 did not.  This fixes a hashtable conflict.
565
566 2002-07-26  Tim Coleman <tim@timcoleman.com>
567         * XmlTextWriter.cs:
568                 When given a textwriter, check to see if it has a
569                 null encoding. This was being done for other inputs
570                 than a textwriter.
571
572 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
573
574         * XmlTextReader.cs: rough line/column support.
575
576 2002-07-23  Duncan Mak  <duncan@ximian.com>
577
578         * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
579         (string, string []) is particularly strange.
580
581         * XmlException.cs: Remember to call the base serialization
582         constructor.
583
584         * XmlNodeReader.cs: Keep a new variable to store the Depth. 
585
586 2002-07-14  Jason Diamond  <jason@injektilo.org>
587
588         * XmlAttribute.cs: Removed ownerElement field since we can reuse 
589         parentNode field.
590
591         * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
592         if the current node is an attribute.
593
594         * XmlElement.cs: SetAttributeNode now sets the new attribute's
595         owner element.
596
597 2002-07-12  Jason Diamond  <jason@injektilo.org>
598
599         * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
600         creating an element, use String.Empty instead.
601
602 2002-07-12      Piers Haken <piersh@friksit.com>
603
604         * XmlAttributeCollection.cs: implement some ItemOf indexers
605         * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
606         * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
607
608 2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
609
610
611 2002-10-26  Piers Haken <piersh@friskit.com>
612
613         * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
614
615 2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
616
617         * XmlTextReader.cs: don't increment depth for entity references.
618
619 2002-10-22  Tim Haynes <thaynes@openlinksw.com>
620
621         * - Fixed the duplication of xmlns:xx = yy when serializing the
622         XML for serialization
623         
624         Fixed the unnecessary parsing/serializing when adding assemblies
625         for serialization 
626
627         Avoided setting the XmlNode.InnerXml property
628         (as it's not implemented) 
629
630         Fixed the usage/implementation of
631         XmlElement.GetElementsByTagName()
632         
633 2002-10-21  Duncan Mak  <duncan@ximian.com>
634
635         * XmlDocument.cs:
636         * XmlElement.cs:
637         * XmlNode.cs:
638         * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
639         Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
640
641 2002-10-18  Duncan Mak  <duncan@ximian.com>
642
643         * XmlDocument.cs: Applied a patch by Atsushi Enomoto
644         <ginga@kit.hi-ho.ne.jp>.
645
646 2002-10-12  A.Enomoto <ginga@kit.hi-ho.ne.jp>
647
648         * XmlDocument.cs (ImportNode): Implemented
649
650 2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
651
652         * XmlDocument.cs: one more Load method implemented.
653         * XmlTextReader.cs: Depth now works.
654
655 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
656
657         * XmlConvert.cs: IsInvalid is now internal.
658         * XmlNamespaceManager.cs: implemented RemoveNamespace
659         * XmlTextReader.cs: return BaseURI and Encoding from the parser.
660         * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
661
662 2002-09-19  Matt Hunter <mahunter@tconl.com>
663
664         * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
665         * XmlAttributeCollection.cs: Implemented Append (XmlAttribute) 
666           
667 2002-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
668
669         * XmlConvert.cs: finished implementation.
670         * XmlTextReader.cs: fixed #30239.
671         * XmlTextWriter.cs: fixed #30240.
672
673 2002-09-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
674
675         * XmlTextReader.cs: line and position begin with 1.
676
677 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
678
679         * XmlException.cs: added a new internal constructor for IXmlLineInfo
680         and output line and position info in Message.
681
682         * XmlReader.cs: implemented missing bits.
683
684 2002-09-12      Piers Haken <piersh@friksit.com>
685
686         * XmlDocumentNavigator.cs: implement MoveToId()
687
688 2002-09-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
689
690         * XmlTextWriter.cs: fixed bug #29886.
691
692 2002-08-26  Ravi Pratap  <ravi@ximian.com>
693
694
695         * XmlAttribute.cs (InnerText): Implement getting this property.
696
697         * XmlNode.cs (InnerText): Ensure that we append only values of
698         text nodes.
699
700 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
701
702         * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
703         that allowed compiling this.
704         [ FIXME: filed bug #29435. mcs should have failed on this ]
705
706 2002-08-25  Tim Coleman <tim@timcoleman.com>
707         * XmlNode.cs:
708                 Change CreateNavigator to not be virtual.
709         * XmlElement.cs:
710                 Add set_Prefix and InnerText accessors.
711         * XmlEntityReference.cs:
712                 Add set_Value accessor.
713         * XmlTextWriter.cs:
714                 Make objects which should be private private.
715         * XmlWriter.cs:
716                 Remove WriteStartElementInternal abstract definition.
717         * XmlValidatingReader.cs:
718                 New stubs added.
719
720 2002-08-22  Jason Diamond <jason@injektilo.org>
721
722         * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
723         and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
724
725 2002-08-22  Jason Diamond <jason@injektilo.org>
726
727         * XmlElement.cs: Correction to previous GetElementsByTagName patch
728         courtesy of Matt Hunter <xrkune@tconl.com>.
729
730 2002-08-22  Jason Diamond <jason@injektilo.org>
731
732         * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
733         qualified GetElementsByTagName courtesy of Matt Hunter 
734         <xrkune@tconl.com>.
735
736 2002-08-19  Jason Diamond <jason@injektilo.org>
737
738         * XmlDocument.cs, XmlElement.cs: Added implementation of 
739         GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
740
741 2002-08-16  Jason Diamond <jason@injektilo.org>
742
743         * XmlElement.cs: Fixed writing out qualified elements courtesy of
744         Marcus Bürgel <marcus.buergel@gmx.de>.
745
746 2002-08-13  Tim Coleman <tim@timcoleman.com>
747         * XmlTextWriter.cs:
748                 Partial implementation of WriteQualifiedName ().
749
750 2002-08-07  Kral Ferch <kral_ferch@hotmail.com>
751         * XmlCharacterData.cs:  Implemented AppendData(), DeleteData(),
752                 InsertData(), and ReplaceData().  These methods fire the
753                 NodeChanging and NodeChanged events.
754                 
755         * XmlDocument.cs:  Fixed bugs in onNodeChanged() and onNodeChanging().
756         
757         * XmlNode.cs:  AppendChild() fires NodeInserting and NodeInserted events.
758                 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
759         
760 2002-08-03  Tim Coleman <tim@timcoleman.com>
761         * XmlNamespaceManager.cs:
762                 .Net allows the empty namespace to be redefined
763                 at a later point, but the current implementation
764                 did not.  This fixes a hashtable conflict.
765
766 2002-07-26  Tim Coleman <tim@timcoleman.com>
767         * XmlTextWriter.cs:
768                 When given a textwriter, check to see if it has a
769                 null encoding. This was being done for other inputs
770                 than a textwriter.
771
772 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
773
774         * XmlTextReader.cs: rough line/column support.
775
776 2002-07-23  Duncan Mak  <duncan@ximian.com>
777
778         * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
779         (string, string []) is particularly strange.
780
781         * XmlException.cs: Remember to call the base serialization
782         constructor.
783
784         * XmlNodeReader.cs: Keep a new variable to store the Depth. 
785
786 2002-07-14  Jason Diamond  <jason@injektilo.org>
787
788         * XmlAttribute.cs: Removed ownerElement field since we can reuse 
789         parentNode field.
790
791         * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
792         if the current node is an attribute.
793
794         * XmlElement.cs: SetAttributeNode now sets the new attribute's
795         owner element.
796
797 2002-07-12  Jason Diamond  <jason@injektilo.org>
798
799         * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
800         creating an element, use String.Empty instead.
801
802 2002-07-12      Piers Haken <piersh@friksit.com>
803
804         * XmlAttributeCollection.cs: implement some ItemOf indexers
805         * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
806         * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
807
808 2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
809
810         * XmlTextWriter: Fixed Indentation. IndentationOverridden should
811                 not be set when inside a attribute.
812
813 2002-07-06  Ajay kumar Dwivedi <adwiv@yahoo.com>
814
815         * XmlTextWriter: In WriteStartElement, if namespace is null and 
816                 prefix is null|empty do not write out xmlns=""
817         
818         * XmlWriter: WriteStartElement calls the virtual method with null
819                 argument instead of empty string.
820
821 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
822
823         * XmlTextReader.cs: implemented .ctor (Stream).
824
825 2002-06-26  Duncan Mak  <duncan@ximian.com>
826
827         * XmlNodeReader.cs: Implementation of most of the properties, and
828         some of the related methods. 
829
830 2002-06-23  Piers Haken <piersh@friskit.com>
831         
832         * XmlDocumentNavigator.cs: implement Clone()
833         * XmlElement.cs: remove bogus unimplemented override of InnerText
834         * XmlNode.cs: implment SelectNodes/SelectSingleNode
835         * XmlNodeArrayList.cs: new support class for SelectNodes
836
837 2002-06-21  Ajay kumar Dwivedi <adwiv@yahoo.com>
838         
839         * XmlQualifiedName: Name and Namespaces are never null. If null is passed
840                 to the constructor, set them to empty strings.
841                 Fixed the Operators.
842         
843 2002-06-18  Ajay kumar Dwivedi <adwiv@yahoo.com>
844         
845         * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
846         Exception.
847
848 2002-06-14  Duncan Mak  <duncan@ximian.com>
849
850         * XmlConvert.cs: Added CLSCompliant attributes to methods.
851         
852 2002-06-12  Duncan Mak  <duncan@ximian.com>
853
854         * XmlCharacterData.cs (Value): Throw an ArgumentException in the
855         set block if the node is read-only.
856
857 2002-06-10  Ajay kumar Dwivedi <adwiv@yahoo.com>
858         * XmlConstruct.cs : New Internal class with Helper methods for
859         Checking XmlConstructs
860         * XmlConvert.cs: Implemented most of the methods
861
862 2002-06-08  Duncan Mak  <duncan@ximian.com>     
863
864         * XmlDocument.cs (Load):
865         Added bits to Load (string) for BaseURI support.
866
867         * XmlAttribute.cs (BaseURI): 
868         * XmlDocument.cs (BaseURI): 
869         * XmlEntity.cs (BaseURI): Implemented.
870
871 2002-05-27  Jason Diamond  <jason@injektilo.org>
872
873         * XmlDocumentNavigator.cs: Added file to directory.
874
875         * XmlNode.cs (CreateNavigator): Implemented.
876         (InnerText): Implemented.
877
878         * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
879         throwing exception.
880         (Load(XmlReader)): Allow for namespace qualified attributes.
881
882         * XmlElement.cs: Implemented GetAttribute(string, string) and both 
883         GetAttributeNode overloads.
884         (SetAttributeNode(XmlAttribute)): Implemented.
885
886         * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
887         and RemoveNamedItem(string, string).
888
889         * XmlLinkedNode.cs (PreviousSibling): Implemented.
890
891         * XmlTextReader.cs: Added code to maintain the order of attributes as 
892         they're parsed. XML doesn't require this but Microsoft's parser does it and
893         matching them makes testing easier so now we have it, too.
894
895 2002-05-26  Miguel de Icaza  <miguel@ximian.com>
896
897         * XmlDocument.cs: Implement the Save methods.
898
899 2002-05-08  Mike Kestner  <mkestner@speakeasy.net>
900
901         * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
902
903 2002-04-28  Duncan Mak  <duncan@ximian.com>
904
905         * XmlSignificantWhitespace.cs (Value):
906         * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
907         block. Added new private method, IsValidWhitespaceChar, for
908         checking.
909
910 2002-04-16  Duncan Mak  <duncan@ximian.com>
911
912         * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
913
914 2002-04-12  Duncan Mak  <duncan@ximian.com>
915
916         * XmlAttribute.cs (Prefix): Added preliminary code for set block,
917         added comment on work that needs to be done here. A new MonoTODO item. 
918
919         * XmlDocument.cs (ctor): Corrected constructor signature, changed
920         parameter from 'NameTable' to 'XmlNameTable'.
921
922         * XmlDocumentFragment.cs (InnerXml): Added missing set block.
923
924         * XmlCaseOrder.cs: Moved to System.Xml.XPath.
925
926 2002-04-10  Duncan Mak  <duncan@ximian.com>
927
928         * XmlNodeReader.cs: Initial stubs for the class.
929
930 2002-04-08  Kral Ferch  <kral_ferch@hotmail.com>
931
932         * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
933         implementations.
934         
935         * XmlDeclaration.cs: WriteTo implementation.
936         
937         * XmlDocument.cs: InnerXml getter implementation.
938         
939         * XmlElement.cs: InnerXml getter implementation.
940
941         * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
942         
943         * XmlSignificantWhitespace.cs: WriteTo implementation.
944         
945         * XmlText.cs: WriteContentTo and WriteTo implementation.
946         
947         * XmlTextWriter.cs: WriteRaw implementation.
948         
949         * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
950
951 2002-04-05  Kral Ferch  <kral_ferch@hotmail.com>
952
953         * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
954         if prefix in constructor is one of the default ones.
955         
956         * XmlCharacterData.cs: Returns String.Empty for Value and Data
957         even when constructed with null.
958         
959         * XmlDeclaration.cs: Value doesn't put encoding or standalone
960         in if they are empty.
961         
962         * XmlDocument.cs: Implemented CreateNode methods and this caused
963         the changes in the other files in this checkin.
964         
965         * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
966         even when constructed with null.
967         
968         * XmlWhitespace.cs: Changed Value 'get' to return Data.
969
970 2002-04-01  Kral Ferch  <kral_ferch@hotmail.com>
971
972         * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
973         
974 2002-03-31  Kral Ferch  <kral_ferch@hotmail.com>
975
976         * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
977         and WriteCharEntity.
978         
979         * XmlWrite.cs:  Fixed bug where attribute namespace decl
980         was pushing a scope onto the namespace manager when it shouldn't
981         have been.
982         
983 2002-03-31  Kral Ferch  <kral_ferch@hotmail.com>
984
985         * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
986         in different states (no open start element, in WriteState.Content mode).
987         
988 2002-03-29  Kral Ferch  <kral_ferch@hotmail.com>
989
990         * XmlTextWriter.cs: XmlLang and XmlSpace properties
991         and WriteWhitespace.
992         
993         * XmlTextWriterOpenElement.cs: scope support for XmlLang
994         and XmlSpace.
995
996 2002-03-29  Kral Ferch  <kral_ferch@hotmail.com>
997
998         * XmlTextWriter.cs: Working on Attribute methods.
999         
1000         * XmlWriter.cs: Working on Attribute methods.
1001
1002 2002-03-28  Duncan Mak  <duncan@ximian.com>
1003
1004         * XmlDocument.cs (CreateWhitespace):
1005         (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
1006         method.
1007
1008         * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
1009
1010 2002-03-26  Duncan Mak  <duncan@ximian.com>
1011
1012         * XmlDocument.cs (CreateDocumentType): Implemented.
1013
1014         * XmlNode.cs (Value): Implemented.
1015
1016         * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
1017         like XmlCharacterData.
1018
1019         * XmlDeclaration.cs (CloneNode): 
1020         * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
1021         arguments.
1022
1023         * XmlCharacterData.cs (InnerText): Implemented. Funny that the
1024         docs say it is the "The concatenated values of the node and all
1025         the children of the node.". I wrote some test programs and
1026         couldn't get any of the derived nodes to AppendChild. For now,
1027         InnerText == Data == Value.
1028         (Substring): Fixed typo.
1029
1030         * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
1031
1032         * XmlImplementation.cs (CreateDocument): Implemented.
1033
1034 2002-03-25  Duncan Mak  <duncan@ximian.com>
1035
1036         * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
1037         missing properties (InnerText, Value).
1038         
1039         * XmlDocument.cs (CreateXmlDeclaration): Implemented.
1040
1041 2002-03-23  Kral Ferch <kral_ferch@hotmail.com>
1042
1043         * XmlTextWriter.cs: Impls for BaseStream and
1044         Namespaces and WriteState.
1045         
1046         * XmlWriter.cs: WriteState and WriteStartElementInternal.
1047
1048 2002-03-23  Kral Ferch <kral_ferch@hotmail.com>
1049
1050         * XmlNodeListChildren.cs: made class internal
1051         instead of public.  Shouldn't be visible outside
1052         of System.Xml.
1053         
1054         * XmlTextWriter.cs: Implementations for Formatting,
1055         IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
1056         Suppresses encoding on xml declaration if null stream passed in.
1057         Formats output including suppressing indentation for elements in
1058         mixed content mode.
1059         
1060         * XmlTextWriterOpenElement.cs: Initial checkin.
1061         XmlTextWriter uses stack of these objects to track
1062         state.
1063         
1064 2002-03-22  Mike Kestner  <mkestner@speakeasy.net>
1065
1066         * XmlElement.cs: impl HasAttribute(string name).
1067
1068 2002-03-22  Duncan Mak  <duncan@ximian.com>
1069
1070         * XmlElement.cs: Reformatted.
1071         (CloneNode) Corrected.
1072
1073         * XmlDocument.cs (CreateWhitespace):
1074         (CreateSignificantWhitespace): Implemented.
1075
1076         * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
1077         true, because Attributes have ChildNodes.
1078
1079 2002-03-21  Kral Ferch <kral_ferch@hotmail.com>
1080
1081         * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
1082         xml declaration along with encoding.  WriteEndElement throws
1083         exception if no WriteStartElement exists.
1084
1085 2002-03-20  Duncan Mak  <duncan@ximian.com>
1086
1087         * XmlEntityReference.cs (CloneNode): Implemented.
1088
1089         * XmlException.cs (Message): Implemented. We need to cache the
1090         message string because SystemException doesn't expose 'message'
1091         from Exception.
1092
1093         * XmlText.cs (Value): Added in the missing Value property.
1094
1095 2002-03-20  Duncan Mak  <duncan@ximian.com>     
1096
1097         * XmlAttribute.cs (CloneNode): Implemented.
1098
1099         * XmlDocumentFragment.cs (CloneNode): Implemented.
1100
1101         * XmlElement.cs (CloneNode): Implemented.
1102
1103 2002-03-19  Duncan Mak  <duncan@ximian.com>
1104
1105         * XmlNotation.cs: Added to CVS.
1106
1107         * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
1108
1109         * XmlCDataSection.cs (CloneNode): Implemented.
1110
1111         * XmlDocumentFragment.cs: Reformatted and added the missing properties
1112         (InnerXml, OwnerDocument, ParentNode).
1113         (CloneNode): Implemented.
1114
1115         * XmlSignificantWhitespace.cs (CloneNode): Implemented.
1116         (Value) Implemented the 'get' property.
1117
1118         * XmlWhitespace.cs (Module): implemented.
1119
1120 2002-03-19  Jason Diamond <jason@injektilo.org>
1121
1122         * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
1123         in the prefix.
1124
1125 2002-03-18  Jason Diamond <jason@injektilo.org>
1126
1127         * XmlTextReader.cs: Don't restore properties after reading last
1128         attribute on an element.
1129
1130         * XmlDocument.cs: Move back to element after reading attributes
1131         so that IsEmptyElement test succeeds.
1132
1133 2002-03-18  Kral Ferch <kral_ferch@hotmail.com>
1134
1135         * XmlNamespaceManager.cs: Implemented LookupPrefix.
1136         
1137         * XmlTextWriter.cs: Implemented namespace and prefix support.
1138
1139 2002-03-18  Kral Ferch <kral_ferch@hotmail.com>
1140
1141         * XmlTextReader.cs: Restores properties after
1142         reading last attribute on an element.
1143         
1144         * XmlNode.cs: AppendChild sets the parent
1145         on the child.
1146
1147 2002-03-17  Kral Ferch  <kral_ferch@hotmail.com>
1148
1149         * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
1150
1151         * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
1152         
1153         * XmlElement.cs: Fixed bug in WriteTo.
1154         
1155         * XmlProcessingInstruction.cs: Formatting.
1156         
1157         * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
1158         fixes for WriteEndElement, WriteProcessingInstruction.
1159
1160 2002-03-17  Kral Ferch  <kral_ferch@hotmail.com>
1161
1162         * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
1163         had Load() add PIs to the document, moved onXXX methods to alphabetical
1164         order in the file.
1165         
1166         * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
1167         
1168         * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
1169         
1170         * XmlProcessingInstruction.cs: Implementations for WriteTo() and
1171         WriteContentTo().
1172         
1173         * XmlTextWriter.cs: Implementations for WriteEndElement,
1174         WriteProcessingInstruction, WriteStartElement, and WriteString.
1175         
1176         * XmlWriter.cs: Implemented WriteStartElement() methods.
1177
1178 2002-03-15  Duncan Mak  <duncan@ximian.com>
1179
1180         * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
1181         InnerText once I know what they do.
1182
1183         * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
1184         that we can properly chain constructors.
1185         (CloneNode): implemented.
1186         (WriteContentTo): Removed MonoTODO attribute as this method has no
1187         effect in this class.
1188
1189         * XmlProcessingInstruction.cs (Value): Added the missing Set
1190         block.
1191         (InnerText): Added in, but not implemented.
1192
1193 2002-03-14  Kral Ferch  <kral_ferch@hotmail.com>
1194
1195         * XmlTextWriter.cs: implemented constructors and 
1196         WriteCData and WriteComment.
1197
1198 2002-03-14  Duncan Mak  <duncan@ximian.com>
1199
1200         * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
1201         file, and updated the callbacks to reflect the change.
1202         (XmlDocument): Added the NameTable constructor.
1203         (NameTable): Also the NameTable property.
1204
1205         * XmlNodeChangedEventHandler.cs: Added, replacing the version that
1206         was in XmlDocument.cs. It has two arguments now (object,
1207         EventArgs) , instead of one (object).
1208
1209 2002-03-14  Kral Ferch  <kral_ferch@hotmail.com>
1210
1211         * XmlWriter.cs: Formatting.
1212         
1213         * XmlTextWriter.cs: Initial checkin.
1214         
1215 2002-03-14  Duncan Mak  <duncan@ximian.com>
1216
1217         * Validation.cs: Removed, replaced by ValidationType.cs.
1218
1219         * ValidationType.cs: Added.
1220
1221 2002-03-13  Duncan Mak  <duncan@ximian.com>
1222
1223         * XmlException.cs: Made it [Serializable], implemented good ol'
1224         GetObjectData, and the serialization constructor.
1225
1226         * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
1227         (SetNamedItem): Reverted (added back in) the patch with the
1228         ReadOnly checks. "Don't doubt yourself, my son... you were right!"
1229
1230         * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
1231         (GetNamedItem (string, string)): implemented.
1232         (RemoveNamedItem): implemented.
1233         (SetNamedItem): implemented.
1234
1235 2002-03-12  Kral Ferch  <kral_ferch@hotmail.com>
1236
1237         * XmlAttribute.cs: Moved a method from amongst properties down to
1238         it's alphabetical position in the methods section.
1239         
1240         * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
1241         last linked child.  Set XmlNode base class to return false for IsReadOnly().
1242         Implemented GetEnumerator() and RemoveChild().
1243         
1244         * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
1245         This is to support the behavior that the Enumerator doesn't become invalid
1246         when changes to the children occur.  Flushed out rest of implementation for
1247         MoveNext, Current, and Reset.
1248
1249 2002-03-12  Duncan Mak  <duncan@ximian.com>
1250
1251         * XmlCharacterData.cs: Reformatted the properties for better readability.
1252
1253         * XmlLinkedNode.cs: Removed the awful boxy comments.
1254
1255         * XmlNamedNodeMap.cs (Count):
1256         (Item): Implemented. Tests will be coming.
1257
1258         * XmlEntityReference.cs: 
1259         * XmlSignificantWhitespace.cs: Implemented these classes except for
1260         the Clone, WriteContentTo and WriteTo methods. Will have to
1261         investigate into these later.
1262
1263 2002-03-11  Duncan Mak  <duncan@ximian.com>
1264
1265         * IHasXmlNode.cs: Added to CVS.
1266
1267 2002-03-08  Jason Diamond <jason@injektilo.org>
1268
1269         * XmlParserContext.cs: Added missing constructors and missing Encoding 
1270         property.
1271
1272         * XmlTextReader.cs: Start using the XmlParserContext class.
1273
1274 2002-03-08  Jason Diamond <jason@injektilo.org>
1275
1276         * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
1277
1278 2002-03-08  Mike Kestner  <mkestner@speakeasy.net>
1279
1280         * XmlNode.cs (Item): Implemented both indexers.
1281
1282 2002-03-08  Jason Diamond  <jason@injektilo.org>
1283
1284         * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
1285         XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
1286
1287 2002-03-08  Jason Diamond  <jason@injektilo.org>
1288
1289         * XmlAttribute.cs: Attribute nodes are supposed to store their values
1290         as child nodes so updated to reflect that.
1291
1292         * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
1293         duplicated in XmlDocument and XmlElement into XmlNode so that it
1294         wouldn't have to be duplicated in XmlAttribute, too.
1295
1296 2002-03-08  Kral Ferch <kral_ferch@hotmail.com>
1297
1298         * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
1299         XmlNode.cs: Formatting.
1300         
1301         * XmlNodeListChildren.cs: Implementation of XmlNodeList
1302         for XmlNode.ChildNodes property.
1303         
1304         * XmlNodeListAsArrayList.cs: Removed file.  Using different
1305         data structure (circular list) in XmlNode so this file
1306         is no longer valid.
1307         
1308         * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
1309         bug in setter property of LastLinkedChild so fixed it.
1310         
1311 2002-03-06  Jason Diamond  <jason@injektilo.org>
1312
1313         * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
1314         We already have a parser in XmlTextReader.
1315
1316         * XmlException.cs: Removed constructor accepting XmlInputSource.
1317
1318 2002-03-06  Kral Ferch <kral_ferch@hotmail.com>
1319
1320         * XmlNode.cs: Rewrote this class from scratch with
1321         MonoToDo attribs and NotImplementedExceptions.  Now defines an
1322         internal LastLinkedNode property to aid the new implementation.
1323         XmlNodes only have ref to owner doc and parent nodes now.
1324         
1325         * XmlLinkedNode.cs: Added NextLinkedSibling internal property
1326         and ref to next sibling to support walking our circular child
1327         node list.
1328         
1329         * XmlDocument.cs: Added ref to last child node and overrides
1330         XmlNode's internal LastLinkedChild property to support walking
1331         our circular child node list.
1332         
1333 2002-03-02  Kral Ferch <kral_ferch@hotmail.com>
1334
1335         * XmlProcessingInstructions.cs: Class was empty.  Implemented
1336         constructor, properties, and CloneNode() method.  Put in
1337         MonoToDo attrib for remaining methods.
1338
1339         * XmlComment.cs: Reformatted and put in MonoToDo attribs.
1340         Got rid of helper methods and fields since they were no
1341         longer needed.
1342
1343         * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
1344
1345         * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
1346         XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
1347         Createxxx() methods for those three node types.
1348
1349 2002-03-02  Jason Diamond <jason@injektilo.org>
1350
1351         * XmlDocument.cs: Implemented the remaining CreateElement and
1352         CreateAttribute methods.
1353
1354         * XmlAttribute.cs: Re-implemented.
1355
1356         * XmlElement.cs: Set owner element on attributes. Reformatted.
1357
1358 2002-03-02  Jason Diamond <jason@injektilo.org>
1359
1360         * XmlTextReader.cs: Implemented MoveToNextAttribute().
1361
1362         * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
1363         attributes. Create attribute nodes while loading. Implemented
1364         Load(string) and CreateTextNode().
1365
1366         * XmlCharacterData.cs, XmlText.cs: Re-implemented.
1367
1368         * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in 
1369         XmlCharacterData.
1370
1371         * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
1372
1373 2002-03-02  Mike Kestner <mkestner@speakeasy.net>
1374
1375         * XmlAttribute.cs : Using fix.
1376         * XmlDocument.cs (CreateAttribute(String)): Implement.
1377
1378 2002-03-02  Jason Diamond <jason@injektilo.org>
1379
1380         * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in 
1381         the name table.
1382
1383 2002-02-28  Jason Diamond <jason@injektilo.org>
1384
1385         * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml 
1386         courtesy of Kral Ferch <kral.ferch@hotmail.com>.
1387
1388 2002-02-28  Jason Diamond <jason@injektilo.org>
1389
1390         * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted, 
1391         added missing members and MonoTODO attributes.
1392         
1393         * XmlTextReader.cs: Throw XmlException instead of System.Exception.
1394
1395 2002-02-27  Jason Diamond <jason@injektilo.org>
1396
1397         * XmlElement.cs: Reformatted, added missing members and MonoTODO 
1398         attributes.
1399
1400 2002-02-26  Duncan Mak  <duncan@ximian.com>
1401
1402         * XmlCDataSection.cs: Initial implementation.
1403
1404         * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
1405         it out. This should (hopefully) be correct.
1406
1407 2002-02-26  Jason Diamond <jason@injektilo.org>
1408
1409         * XmlTextReader.cs: Apparently Microsoft's implementation treats
1410         namespace declarations as attributes so we do now, too.
1411
1412         * XmlNamespaceManager.cs: HasNamespace fixed so that it only
1413         checks the current scope.
1414
1415 2002-02-26  Duncan Mak  <duncan@ximian.com>
1416
1417         * XmlDocumentType.cs: Added a few hacks here and there to
1418         temporarily fix the "I broke the build issue".
1419
1420 2002-02-25  Jason Diamond <jason@injektilo.org>
1421
1422         * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
1423         XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
1424         simple test to pass. The existing code is really shitty so I'll
1425         probably start writing tests and refactoring before much else 
1426         can get done.
1427
1428 2002-02-25  Duncan Mak  <duncan@ximian.com>
1429
1430         * NameTable.cs: Implemented.
1431
1432         * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
1433
1434 2002-02-24  Duncan Mak  <duncan@ximian.com>
1435         
1436         * XmlNodeOrder.cs: Added to CVS.
1437
1438         * XmlQualifiedName.cs: Fixed a warning from Equals ().
1439
1440         * XmlTokenizedType.cs: Added to CVS.
1441
1442         * XmlUrlResolver.cs: Added to CVS with one TODO task.
1443
1444 2002-02-23  Duncan Mak  <duncan@ximian.com>
1445
1446         * XmlQualifiedName.cs: Fixed ToString () and added the operators
1447         (== and !=).
1448
1449 2002-02-23  Jason Diamond <jason@injektilo.org>
1450
1451         * XmlTextReader.cs: Added support for qualified attributes.
1452
1453 2002-02-23  Jason Diamond <jason@injektilo.org>
1454
1455         * XmlNamespaceManager.cs: Initial implementation.
1456         
1457         * XmlTextReader.cs: Added support for NamespaceURI property on
1458         elements.
1459
1460 2002-02-23  Nick Drochak <ndrochak@gol.com>
1461
1462         * ChangeLog: Add the change log to this directory
1463
1464         * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
1465         MonoTODO's
1466