1 2003-06-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3 * XmlDocumentNavigator.cs : Implemented MoveTo*Namespace() and
4 essentially changed most of the property handling (e.g. removed attribute
5 enumerator and it now became really cloneable).
6 * XmlNodeReader.cs : ReadInnerXml() changes its state as error
7 when the method is called at Initial state.
9 2003-06-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
11 * XmlDocumentNavigator.cs : Fixed IsEmptyElement. It treats <foo></foo>
12 as non-empty, and XmlElement's IsEmpty is designed as such.
13 Fixed MoveToFirst() and MoveToNext() not to move to xmldecl nor
15 * XmlNode.cs : Fixed XPathNodeType. It should throw an exception
16 instead of returning undefined enum value.
17 Modified some code comments.
18 * XmlWriter.cs : Fixed WriteNode () to use WriteFullEndElement()
19 when XmlReader's node is not at empty element or at EndElement.
20 Fixed XmlDeclaration's standalone check.
22 2003-06-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
24 * XmlTextReader.cs : removed CRLFs. Fixed private InitializeContext()
25 to use known Uri way (used in XmlUrlResolver) instead of UriBuilder.
27 2003-06-20 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
29 * XmlInputStream.cs : quick fix for public ctor() BaseURI bug.
31 2003-06-20 Ben Maurer <bmaurer@users.sourceforge.net>
33 * XmlTextReader.cs: Reduces memory allocation when the reader is
34 not queried for some values.
35 * NameTable.cs: Now uses a custom hashtable to implement. As a
36 result, when Get (char[], int, int) is called, a string is only
37 allocated if it is actually a new entry.
38 (StrEqArray) Compares a string and a char[]
39 (AddEntry) Adds a new entry to the hashtable
40 (Entry) Represents a hashtable entry.
42 2003-06-20 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
44 * XmlUrlResolver.cs : several ResolveUri() fix. e.g. for external URIs.
46 2003-06-16 Ben Maurer <bmaurer@users.sourceforge.net>
47 * XmlUrlResolver.cs: really fixed #44231
49 2003-06-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
51 * XmlNodeReader.cs : fixed MoveToNextAttribute(). In some cases
52 this method set current node null.
53 * XmlTextReader.cs : fixed GetAttribute (name, ns), which returned
54 String.Empty instead of null (expected value).
57 XmlInputStream.cs : fixed BaseURI problem (bug #44231).
59 2003-06-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
61 * XmlNodeReader.cs : this [name] and this [name, ns] (and
62 GetAttribute() methods in turn) returns null instead of String.Empty.
63 * XmlTextWriter.cs : WriteStartAttribute() should try to use specified
64 prefix before auto-generating prefixes.
65 Implemented WriteBase64().
67 2003-06-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
69 * XmlNodeReader.cs : LookupNamespace () has refered invalid current
70 node for attributes. Modified to use private "document" property.
72 2003-06-10 Lluis Sanchez Gual <lluis@ximian.com>
74 * XmlTextWriter.cs: when adding an attribute with a namespace, a prefix must be automaticaly
75 generated, and a namespace declaration must be added.
76 * XmlWriter.cs: the namespace for the prefix xmlns must be http://www.w3.org/2000/xmlns/
78 2003-06-10 Zoltan Varga <vargaz@freemail.hu>
80 * XmlAttribute.cs: Accept a null prefix or namespaceURI.
82 2003-06-10 Duncan Mak <duncan@ximian.com>
84 * XmlDocumentNavigator.cs (GetNode): Make it implement
87 2003-06-05 Lluis Sanchez Gual <lluis@ideary.com>
89 * XmlTextWriter.cs : Fixed bug. After calling for example WriteStartElement ("pref","ln","ns");
90 a call to LookupPrefix ("pref") when still writting attributes should
91 return "ns", and it didn't.
93 2003-06-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
95 * XmlDocumentNavigator.cs : quick fix for MoveToFirstChild().
96 * XmlConvert.cs : fixed VerifyNCName() to check correctly.
98 2003-06-01 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
100 * XmlDocumentNavigator.cs : Compute document node one time.
101 MoveToFirstChild() should move to PIs and comments.
103 2003-05-30 Miguel de Icaza <miguel@ximian.com>
105 * XmlReader.cs (ReadStartElement): Improve error message.
107 2003-05-28 Lluis Sanchez Gual <lluis@ideary.com>
109 * XmlTextReader.cs : MoveToAttribute methods must set the enumerator to the right
110 position, since MoveToNextAttribute may be called after it.
111 SetProperties(): attributes do not "inherit" the namespace.
112 * XmlDocument.cs: ReadNode(), ReadAttributeNode(): must keep the current reader position.
114 2003-05-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
116 * NameTable.cs : Add() sets the given name string interned.
117 * XmlParserContext.cs : added internal PushScope() and PopScope() to
118 hold stacks of xml:base, xml:lang and xml:space.
119 * XmlTextReader.cs : implemented XmlLang and XmlSpace (only as a
120 property for stacked attributes). Renamed Initialize() to Initialize-
121 Context(). Modified to use XmlParserContext.PushScope()/PopScope().
123 2003-05-26 Lluis Sanchez Gual <lluis@ximian.com>
125 * XmlReader.cs: Little fix to WriteAttributeString()
127 2003-05-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
129 * XmlAttribute.cs, XmlCharacterData.cs, XmlComment.cs, XmlDocument.cs,
130 XmlDocumentFragment.cs, XmlElement.cs, XmlEntity.cs, XmlLinkedNode.cs,
131 XmlNode.cs, XmlNotation.cs, XmlProcessingInstruction.cs, XmlReader.cs,
132 XmlSignificantWhitespace.cs, XmlText.cs, XmlWhitespace.cs:
133 Reverted the recent accessibility mistake (5/16).
134 * XmlDocument.cs, XmlNode.cs : moved actual CreateNavigator() logic
135 from XmlNode to XmlDocument.
137 2003-05-18 Lluis Sanchez Gual <lluis@ideary.com>
139 * XmlQualifiedName.cs : Fixed bug in equality operator.
141 2003-05-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
143 * XmlTextWriter.cs : patch by Jonathan Hogg. Flush() does not close
144 any open attributes or elements. WriteWhitespace() checks state and
145 closes start tag. Fixed WriteStringInternal() to replace CR/LF chars
146 when it is called inside attribute value.
147 * XmlException.cs : added .NET 1.1 .ctor.
148 * added XmlSecureResolver.cs (only stubbing).
149 * XmlAttribute.cs : set_InnerXml() should remove children.
152 XmlDocumentFragment.cs,
153 XmlDocument.cs : removed XmlTextReader reuse (It was buggy stuff).
154 * XmlNode.cs : RemoveAll() should also remove all attributes.
155 * XmlTextRader.cs : .ctor() for attribute value reader should add
156 quotations at initialization, since it requires quote chars.
157 * XmlWriter.cs : WriteAttributeString() more correct xmlns check.
159 2003-05-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
161 * changed XPathNodeType modifier to internal *protected* override.
162 * XmlAttribute.cs : .ctor() now checks name validity e.g. xmlns.
163 * XmlAttribute.cs, XmlElement.cs : set_Prefix checks NCName validity.
164 * XmlAttributeCollection.cs : removed some incorrect TODO attributes.
165 * XmlDocument.cs ; CreateAttribute(name) now auto-completes xmlns NSURI
166 when the argument is "xmlns".
167 * XmlElement.cs : more compliant IsEmpty support. See also WriteTo().
168 * XmlNamespaceManager.cs : added initial "xml" and "xmlns" namespaces.
169 * XmlNode.cs : ser_InnerXml() throws InvalidOperationException.
170 * XmlNodeReader.cs : LookupNamespace() refactory. Fixed ReadInnerXml()
171 not to set error state for non-started XmlNodeReader.
172 * XmlTextReader.cs : fixed ReadAttributeValue() not to reset state.
173 BaseURI support. Fixed Initialize() to handle Attribute correctly.
174 SetProperty for attribute auto-completes xmlns NSURI.
175 Attribute and whitespace handling became more correct.
176 Don't parse external DTD if XmlResolver is null.
177 * XmlTextWriter.cs : implemented WriteEntityRef().
178 WriteStartAttribute() checks if ns does not equal to that of xmlns.
179 * XmlWriter.cs : trivial refactoring (WriteNode() xmldecl output).
181 2003-05-05 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
183 * XmlConvert.cs : IsInvalid() Now uses XmlConstructs.IsName(Start).
184 EncodeName() now correctly encodes invalid names.
185 Result string of ToString(DateTime) contains "fffffff".
187 2003-04-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
189 * XmlElement.cs : fixed IsEmpty (removed private field isEmpty).
190 * XmlNodeReader.cs : Fixed AttributeCount, each this[] (indexers),
192 Fixed this[] to work correctly against XmlDeclarations.
193 Fixed ReadInnerXml() and ReadOuterXml() to call Read() correctly.
194 (which may prevent validations etc.)
197 XmlTextReader.cs : Fixed ReadString() to be compliant with each
199 * XmlTextReader.cs : ReadInnerXml() now moves to next node correctly.
201 2003-04-27 Pedro MartÃnez Juliá <yoros@wanadoo.es>
203 * XmlNode.cs: ensure to get a valid Uri in BaseUri when loading the
204 source document from a file.
206 2003-04-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
208 * XmlAttribute.cs : fixed WriteTo() and WriteContentTo() to write
209 content EntityReference correctly.
210 * XmlNodeReader.cs : many fix for EndElement handling (AttributeCount,
211 HasAttributes, indexers, MoveTo*Attribute() and Read() ).
212 Modified Skip() to call Read () explicitly.
214 Fixed ReadInnerXml() which ignored EndElement token in certain cases.
215 Implemented MoveToAttribute (local, ns), and modified GetAttribute()
216 in relation to this change.
217 Attributes for XmlDeclaration are now correctly set.
218 * XmlTextWriter.cs : WriteRaw() is now different from WriteString().
219 Simplified WriteAttributes() for XmlDeclaration.
221 2003-04-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
223 * XmlTextReader.cs : fixed ReadInnerXml(). it was inconsistent with
226 2003-04-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
228 * XmlDocument.cs : fixed Load() to set baseURI correctly.
229 * XmlReader.cs : patch by Gonzalo. Fixed not to skip XmlDeclaration.
231 fixed Depth. When it's on StartElement, Depth was already incremented.
232 fixed private SaveProperty(), which moved away its saved properties
233 when MoveToElement was called repeatedly.
234 * XmlTextWriter.cs : fixed WriteQualifiedName() to close start tag.
236 WriteAttributes() refactory (for XMLDecl).
237 WriteNode() don't Read() when the reader is Initial state, let other
238 invokation to Read(). In case of Element, it should write entire
239 element. In case of Attribute, it shouldn't Read().
240 WriteStartDocument() should omit standalone decl. when there is no
243 2003-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
245 * XmlReader.cs: reverted last patch. It breaks System.Configuration
246 because 1. it considers XmlDeclaration as content and 2. always
247 returns XmlNodeType.None.
250 2003-04-23 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
252 * Added missing ChangeLog of 4/4/2003.
253 * XmlTextWriter.cs : patch by Erik. fixed WriteQualifiedName.
254 (write prefix instead of ns.)
255 * XmlInputStream.cs : file access mode fix (FileAccess.Read was missing)
256 * XmlTextReader.cs : modified to call Read() instead of ReadContent().
257 (It may be required for decorated reader such as XmlValidatingReader.)
258 Changed Read() error message for mismatch end tag.
259 * XmlDocument.cs : (ReadNode) friendly message for mismatch EndElement.
260 * XmlReader.cs : Corrected misinterpreted MoveToContent() method.
262 2003-04-04 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
264 * XmlDocument.cs : Load() now closes the given XmlReader.
265 Don't allow creation of XmlTextReader for Doctype. (workaround.)
266 * XmlInputStream.cs : It now closes its internal stream explicitly.
267 * XmlNode.cs : RemoveChild() bugfix for removing LastLinkedChild.
268 * XmlNodeReader.cs : GetAttribute() bugfix for not-present attribute.
269 * XmlParserInput.cs : added Close() method.
270 * XmlReader.cs : MoveToContent() should (1) not Read in case of empty
271 element, and (2) MoveToElement() in case of attribute.
272 * XmlTextReader.cs : Close() now actually closes source TextReaders.
274 2003-03-26 Duncan Mak <duncan@ximian.com>
276 * XmlTextWriter.cs (Write): A patch from Atsushi to fix
277 prematurely ending the write, or something like that. It was
278 causing us to chop off the end of the document when we're trying
279 to generate XML Schemas.
281 2003-03-23 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
283 * XmlTextReader.cs : implemented ReadString().
284 fixed ctor(string, XmlNodeType, XmlParserContext) - don't raise
285 null reference exception when context is null.
286 * XmlNodeReader.cs : fixed ReadString() - should ignore attributes etc.
287 fixed Read() - when positioned at EndElement, it didn't progress.
288 fixed HasAttribute - it didn't return false in all cases.
289 fixed Name and LocalName - only limited type of nodes return names.
290 fixed AttributeCount - in some cases it threw null ref exception.
292 2003-03-22 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
294 * XmlTextWriter.cs : WriteStartDocument doesn't set hasRoot=true, then
295 WriteEndDocument without root element now raises an error correctly.
296 * XmlDocumentNavigator.cs : (MoveToFirstChild) fixed bugzilla #36672.
297 implemented BaseURI, NameTable, XmlLang, GetAttributes, GetNamespace,
300 2003-03-22 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
302 * XmlElement.cs : RemoveAttribute now don't throws when specified
303 attribute does not exist.
305 2003-03-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
307 * XmlNode.cs : add descriptions for some node type error.
309 2003-03-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
311 * XmlNodeArrayList.cs, XmlNodeListChildren.cs : bugzilla #39920 fix.
313 2003-03-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
315 * XmlDeclaration.cs : quick fix, not to use regex for set_Value.
317 2003-03-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
319 * XmlTextReader.cs : Fixed wrong notationdecl SYSTEM id read.
320 * XmlInputStream.cs : Should allow versionless input stream entity.
322 2003-03-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
324 * added XmlParserInput.cs for multi xml document sources.
325 * added DTDObjectModel.cs (maybe temporary).
327 + fixed ctor to use XmlStreamReader. Allowed null XmlParserContext.
328 + Some members such as LineNumber, ReadChar now uses XmlParserInput.
329 + added support for Namespaces (namespace-ignorant parse available).
330 + added support for XmlResolver.
331 + replace SetReaderContext()/SetReaderFragment() with Initialize().
332 + use NameTable in CreateNameString.
333 + fixed ReadCData(). Now reads "]]]>" correctly.
334 + support for DTD parse.
335 + Read() now throws an error when it reached EOF while Depth > 0.
337 XmlDocumentFragment.cs,
338 XmlElement.cs : fix related to the changes of XmlTextReader.Initialize
339 * XmlDocument.cs : ReadNode() now reads DocumentType.
340 * XmlDocumentType.cs : implemented Entities, Notations, WriteTo().
342 XmlNotation.cs : added override LastLinkedChild (for doctype node).
343 * XmlNamedNodeMap.cs : Remove() raises an error if target is read only.
344 * XmlElement.cs : bugfix for node removal of set_InnerXml.
345 * XmlNode.cs : added insertBeforeIntern() derived from InsertBefore().
346 (to append child XmlEntity into XmlDocumentType correctly.)
347 * XmlInputStream.cs : fixed to access file with FileAccess.Read.
349 2003-03-15 Duncan Mak <duncan@ximian.com>
351 * XmlElement.cs (Name): Only append prefix + ':' when prefix is
352 neither String.Empty nor null. Thanks to Simon Guindon for
353 reporting the bug and Jackson for fixing this bug with me.
355 2003-03-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
357 * XmlConstructs.cs : fix "int IsXXX()" to reject negative value.
358 * XmlDocument.cs : simplify Load(string url) to use XmlTextReader.
359 fixed ReadNode(), it should call reader.Read() only on Initial state.
360 * XmlInputStream.cs : Changed namespace. Added XmlStreamReader(stream)
361 and XmlStreamReader (string). Fixed XmlInputStream(url) not to use
362 System.Net.WebClient directly.
363 * XmlParserContext.cs : baseURI never be null.
364 * XmlTextWriter.cs : use WebName for Encoding instead of HeaderName.
365 * XmlUrlResolver.cs : namespace change for XmlInputStream.
367 2003-03-12 Elan Feingold <efeingold@mn.rr.com>
369 * XmlTextReader.cs: When throwing a ReaderException, show what
370 character was the culprit
372 2003-03-05 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
374 * XmlDocumentFragment.cs, XmlElement.cs :
375 modified InnerXml (fragment type from Element to DocumentFragment).
377 * XmlElement.cs : fixed WriteTo() ns check.
378 * XmlNamespaceManager.cs : MS.NET allows Add() used two or more times.
379 * XmlNode.cs : fixed ConstructNamespaceManager().
381 * XmlConstructs.cs : added IsSpace, IsName, IsNameStart, IsNCName,
382 IsPubid with an int arg.
383 * XmlReader.cs : changed to use XmlChar.cs (its role is as same as
386 improved error messages with line info.
387 / checking matching start and end tags.
388 / prevents the apperance of multiple root elements. (patch by Erik)
389 fixed and refactored ReadInnerXml() and ReadOuterXml()
390 changed to use XmlChar.cs.
392 * XmlTextWriter.cs : changed to put element's xmlns at CloseStartTag ()
393 (It will help c14n implementation.)
394 / blocks multiple attribute output with element node.
396 2003-02-28 Alan Tam <Tam@SiuLung.com>
398 * XmlConvert.cs: fixed the most ToXXX(string) and ToString(XXX)
399 methods to make them compatible with the XML Schema Spec from W3C
400 ToString(TimeSpan) is still outstanding
402 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
405 (Load (string)): hack to workaround some issues with Uri.Parse. Once
406 Parse is fixed, remove the hack.
408 2003-02-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
410 * XmlQualifiedName.cs : fixed GetHashCode() to avoid null reference
411 * XmlTextReader.cs : fixed ReadAttributeValue() to handle
412 entity reference, and some refactory.
414 2003-02-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
416 * XmlUrlResolver.cs : WebClient.Credentials was not implemented yet.
418 2003-02-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
420 * XmlInputStream.cs : added (also contains internal XmlStreamReader).
421 * XmlDocument.cs : Load () now can specify URL using XmlUrlResolver,
422 and can read non-UTF-8 stream.
423 * XmlTextReader.cs : related to above stream fix.
424 * XmlUrlResolver.cs : implemented GetEntity ().
426 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
428 * XmlTextWriter.cs: implemented WriteRaw (char[], int, int).
430 2003-02-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
432 * XmlTextReader.cs : implemented QuoteChar.
434 2003-01-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
436 * XmlNode.cs : implemented ReplaceChild.
437 removed DocElem checking at InsertBefore.
438 * XmlNodeReader.cs : fixed ReadString and Read for correct node info.
439 * XmlText.cs : implemented CloneNode and SplitText.
441 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
443 * XmlCharacterData.cs: added XPathNodeType property.
445 2003-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
447 * XmlTextWriter.cs: throw an exception if WriteEndDocument is
448 called without a prior call to WriteStartDocument.
450 2003-01-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
452 * XmlNodeReader.cs : several fix to get more compatible with MS.NET.
454 2003-01-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
456 * XmlNamespaceManager.cs : fundamental change of LookupPrefix to return
457 null when no matching uri.
458 * XmlElement.cs : removed unnecessary xmlns output.
459 * XmlNode.cs : GetPrefixOfNamespace fix along with the change above.
460 * XmlTextWriter.cs : LookupPrefix and WriteStartElementInternal fix
461 along with the change above, and moved timing of 'xmlns' output
462 to CloseStartElement.
463 * XmlWriter.cs: modified WriteStartAttribute, same as yesterday.
465 2003-01-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
467 * XmlWriter.cs: modified WriteStartElement (see test for detail).
470 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
472 * XmlDocument.cs: Added CheckName () method to check names validity.
474 2003-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
477 (ReadOuterXml): use Depth property which return elementDepth, not depth.
479 2003-01-11 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
481 * XmlElement.cs : (by ville) XmlElement.set_InnerText event bugfix.
482 * XmlTextReader.cs : some fix for ReadOuterXml().
484 2003-01-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
486 * XmlTextReader.cs : bugfix for attributes related to creation of
489 2003-01-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
491 * XmlTextReader.cs : bugfix for attribute values which have entity
494 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
496 * XmlDocument.cs: XmlTextWriter.Formatting == Indented when
497 calling Save () -methods.
499 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
501 * XmlNodeReader.cs : primitive reading implementation.
503 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
505 * XmlElement.cs : quick fix for the incomplete patch of #35308 below.
507 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
509 * XmlDocument.cs : removed inconsistent line-feed output.
510 * XmlElement.cs, XmlTextWriter.cs :
511 fixed for bugzilla 35308 (default ns output)
512 * XmlWhitespace.cs : limited output only when preserving whitespace.
514 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
516 * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
517 Implemented XmlTextReader.ReadAttributeValue().
518 Added internal ReadAttributeNodeValue().
519 Fixed XmlAttribute.InnerXml to use these methods.
521 * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
522 Implemented XmlDocument.ReadNode() and removed ConstructDOM().
523 Other changes are replacing them.
525 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
527 * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
529 2002-12-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
531 * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
532 patch by JD Conley <jconley@winfessor.com>.
533 (Fix for xmlns attribute output.)
535 2002-12-05 Ville Palo <vi64p@koti.soon.fi>
537 * XmlQualifiedName.cs: Little fix to ToString () -method
539 2002-12-04 Tim Haynes <thaynes@openlinksw.com>
541 * class/System.XML/System.Xml/XmlElement.cs: Made more refined
542 checks on attributeNode to fix 32262.
544 2002-12-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
546 * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
547 * XmlTextWriter.cs (WriteStartElementInternal):
548 fixed when default namespace was specified, all descendants
549 fail to omit the default namespace declarations.
552 XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
554 XmlDocumentFragment.cs,
555 XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
556 * XmlElement.cs (set_IsEmpty) : implemented
557 (WriteTo) : removed my improper indenting (Writer already done)
558 * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
559 (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
560 ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
562 2002-12-01 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
564 * XmlNode.cs (RemoveChild):
565 bugfixed when XmlNode is Document OwnerDocument is null
566 * XmlDeclaration.cs (Value):
567 bugfixed regular expression pattern.
568 * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
570 2002-11-24 Duncan Mak <duncan@ximian.com>
572 * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
573 Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
574 first patch to Mono! ;-)
576 2002-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
579 (AppendChild): readded refChild != null condition before throwing
580 "cannot insert this node in this position" exception. There's probably
581 a better solution. Fixes #34191.
582 (RemoveAll): changed following Atsushi instructions.
585 2002-11-13 Duncan Mak <duncan@ximian.com>
587 * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
590 2002-11-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
592 * XmlDocument.cs : unified all constructors, added ConventionalParser,
593 implemented CloneNode() and CreateEntityReference(),
594 * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
595 set BaseURI to MonoTODO
596 * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
597 bugfix InsertAfter (incorrect prepending) and InsertBefore
598 (more than one DocumentElements hadn't caused errors)
599 * XmlTextReader.cs : unified all constructors,
600 added internal SetReaderContext(), SetReaderFragment()
601 bugfix (syntax check of PUBLIC / getting internal subset)
603 2002-11-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
605 XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
606 XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
607 XmlCharacterData.cs : exchanged Data and Value
608 (for processing events and inheritance)
609 XmlDocumentFragment.cs : set_InnerXml
610 XmlSignificantWhitespace.cs : set_Value
611 XmlTextReader.cs : ReadAttributeValue
613 2002-11-04 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
615 XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
617 2002-11-03 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
619 * XmlAttributeCollection.cs : checks owner element.
620 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
621 Remove, RemoveAt, SetNamedItem.
622 removed some logics that sets 'Parent' (that should be null)
623 * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
624 * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
625 * XmlElement.cs : implemented WriteTo, set_InnerText.
626 Fixed WriteTo() to add xmlns:* attributes when
627 writer.LookupPrefix() returned mismatching.
628 * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
629 Removing different prefixes for the same uri now runs correct.
630 added SetNamedItem(XmlNode node, int position_to_insert).
631 * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
632 XmlWhitespace, and XmlSignificantWhitespace
634 2002-10-31 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
636 * XmlDocument.cs : implemented CreateDocumentFragment()
637 * XmlElement.cs, XmlLinkedNode.cs :
638 moved LastLinkedChild from XmlElement to XmlLinkedNode.
639 * XmlEntityReference.cs : must throw NotImplementedException.
641 + implemented InsertBefore() and then implemented InsertAfter()
642 and modified AppendChild() to call it.
643 + added logic to check ReadOnly, parent document equivalence,
644 and inserting any 'content' before/after DocumentElement.
645 + implemented Clone() [it is equals to CloneNode() by MS doc.]
646 + added logic in RemoveChild() to check parent of oldChild.
647 + fixed ConstructNamespaceManager() to internal only.
649 2002-10-29 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
651 * XmlAttribute.cs : add internal 'IsDefault' property
652 (equals to !Specified)
653 * XmlImplementation.cs : added 'internalNameTable' property.
655 + now allows "" for 'standalone' in CreateXmlDeclaration.
656 + implemented 'Implementation' property and constructor with it.
657 + added logic for appending name table (but still no use)
658 + implemented property 'DocumentType'
659 (but without internalSubset parsing. wait for next update.)
661 + modified AppendChild() and RemoveChild() to support fragment.
662 + modified AppendChild() to remove newChild from its parent
663 when newChild is already in the other place.
664 + modified RemoveChild() to set parentNode null.
665 + modified ConstructDOM() to create DocumentType,
666 and fixed access modifier ('internal protected' to 'internal')
667 * XmlLinkedNode.cs : fixed 'NextSibling' to return null
668 when its parent is null.
669 * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
670 property to enable AppendChild() for this class.
671 * XmlTextReader.cs : appended private publicId and systemId fields.
673 2002-10-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
675 * XmlTextReader.cs: make it work when the underlying Stream is not
678 2002-10-26 Piers Haken <piersh@friskit.com>
680 * XmlNode.cs: add virtual property XPathNodeType
685 * XmlProcessingInstruction.cs:
686 * XmlSignificantWhitespace.cs:
688 * XmlWhitespace.cs: implement XPathNodeType property
689 * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
691 2002-10-26 Piers Haken <piersh@friskit.com>
693 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
695 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
697 * XmlTextReader.cs: don't increment depth for entity references.
699 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
701 * - Fixed the duplication of xmlns:xx = yy when serializing the
702 XML for serialization
704 Fixed the unnecessary parsing/serializing when adding assemblies
707 Avoided setting the XmlNode.InnerXml property
708 (as it's not implemented)
710 Fixed the usage/implementation of
711 XmlElement.GetElementsByTagName()
713 2002-10-21 Duncan Mak <duncan@ximian.com>
718 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
719 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
721 2002-10-18 Duncan Mak <duncan@ximian.com>
723 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
724 <ginga@kit.hi-ho.ne.jp>.
726 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
728 * XmlDocument.cs (ImportNode): Implemented
730 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
732 * XmlDocument.cs: one more Load method implemented.
733 * XmlTextReader.cs: Depth now works.
735 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
737 * XmlConvert.cs: IsInvalid is now internal.
738 * XmlNamespaceManager.cs: implemented RemoveNamespace
739 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
740 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
742 2002-09-19 Matt Hunter <mahunter@tconl.com>
744 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
745 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
747 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
749 * XmlConvert.cs: finished implementation.
750 * XmlTextReader.cs: fixed #30239.
751 * XmlTextWriter.cs: fixed #30240.
753 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
755 * XmlTextReader.cs: line and position begin with 1.
757 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
759 * XmlException.cs: added a new internal constructor for IXmlLineInfo
760 and output line and position info in Message.
762 * XmlReader.cs: implemented missing bits.
764 2002-09-12 Piers Haken <piersh@friksit.com>
766 * XmlDocumentNavigator.cs: implement MoveToId()
768 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
770 * XmlTextWriter.cs: fixed bug #29886.
772 2002-08-26 Ravi Pratap <ravi@ximian.com>
775 * XmlAttribute.cs (InnerText): Implement getting this property.
777 * XmlNode.cs (InnerText): Ensure that we append only values of
780 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
782 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
783 that allowed compiling this.
784 [ FIXME: filed bug #29435. mcs should have failed on this ]
786 2002-08-25 Tim Coleman <tim@timcoleman.com>
788 Change CreateNavigator to not be virtual.
790 Add set_Prefix and InnerText accessors.
791 * XmlEntityReference.cs:
792 Add set_Value accessor.
794 Make objects which should be private private.
796 Remove WriteStartElementInternal abstract definition.
797 * XmlValidatingReader.cs:
800 2002-08-22 Jason Diamond <jason@injektilo.org>
802 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
803 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
805 2002-08-22 Jason Diamond <jason@injektilo.org>
807 * XmlElement.cs: Correction to previous GetElementsByTagName patch
808 courtesy of Matt Hunter <xrkune@tconl.com>.
810 2002-08-22 Jason Diamond <jason@injektilo.org>
812 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
813 qualified GetElementsByTagName courtesy of Matt Hunter
816 2002-08-19 Jason Diamond <jason@injektilo.org>
818 * XmlDocument.cs, XmlElement.cs: Added implementation of
819 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
821 2002-08-16 Jason Diamond <jason@injektilo.org>
823 * XmlElement.cs: Fixed writing out qualified elements courtesy of
824 Marcus Bürgel <marcus.buergel@gmx.de>.
826 2002-08-13 Tim Coleman <tim@timcoleman.com>
828 Partial implementation of WriteQualifiedName ().
830 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
831 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
832 InsertData(), and ReplaceData(). These methods fire the
833 NodeChanging and NodeChanged events.
835 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
837 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
838 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
840 2002-08-03 Tim Coleman <tim@timcoleman.com>
841 * XmlNamespaceManager.cs:
842 .Net allows the empty namespace to be redefined
843 at a later point, but the current implementation
844 did not. This fixes a hashtable conflict.
846 2002-07-26 Tim Coleman <tim@timcoleman.com>
848 When given a textwriter, check to see if it has a
849 null encoding. This was being done for other inputs
852 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
854 * XmlTextReader.cs: rough line/column support.
856 2002-07-23 Duncan Mak <duncan@ximian.com>
858 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
859 (string, string []) is particularly strange.
861 * XmlException.cs: Remember to call the base serialization
864 * XmlNodeReader.cs: Keep a new variable to store the Depth.
866 2002-07-14 Jason Diamond <jason@injektilo.org>
868 * XmlAttribute.cs: Removed ownerElement field since we can reuse
871 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
872 if the current node is an attribute.
874 * XmlElement.cs: SetAttributeNode now sets the new attribute's
877 2002-07-12 Jason Diamond <jason@injektilo.org>
879 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
880 creating an element, use String.Empty instead.
882 2002-07-12 Piers Haken <piersh@friksit.com>
884 * XmlAttributeCollection.cs: implement some ItemOf indexers
885 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
886 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
888 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
891 2002-10-26 Piers Haken <piersh@friskit.com>
893 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
895 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
897 * XmlTextReader.cs: don't increment depth for entity references.
899 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
901 * - Fixed the duplication of xmlns:xx = yy when serializing the
902 XML for serialization
904 Fixed the unnecessary parsing/serializing when adding assemblies
907 Avoided setting the XmlNode.InnerXml property
908 (as it's not implemented)
910 Fixed the usage/implementation of
911 XmlElement.GetElementsByTagName()
913 2002-10-21 Duncan Mak <duncan@ximian.com>
918 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
919 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
921 2002-10-18 Duncan Mak <duncan@ximian.com>
923 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
924 <ginga@kit.hi-ho.ne.jp>.
926 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
928 * XmlDocument.cs (ImportNode): Implemented
930 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
932 * XmlDocument.cs: one more Load method implemented.
933 * XmlTextReader.cs: Depth now works.
935 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
937 * XmlConvert.cs: IsInvalid is now internal.
938 * XmlNamespaceManager.cs: implemented RemoveNamespace
939 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
940 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
942 2002-09-19 Matt Hunter <mahunter@tconl.com>
944 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
945 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
947 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
949 * XmlConvert.cs: finished implementation.
950 * XmlTextReader.cs: fixed #30239.
951 * XmlTextWriter.cs: fixed #30240.
953 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
955 * XmlTextReader.cs: line and position begin with 1.
957 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
959 * XmlException.cs: added a new internal constructor for IXmlLineInfo
960 and output line and position info in Message.
962 * XmlReader.cs: implemented missing bits.
964 2002-09-12 Piers Haken <piersh@friksit.com>
966 * XmlDocumentNavigator.cs: implement MoveToId()
968 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
970 * XmlTextWriter.cs: fixed bug #29886.
972 2002-08-26 Ravi Pratap <ravi@ximian.com>
975 * XmlAttribute.cs (InnerText): Implement getting this property.
977 * XmlNode.cs (InnerText): Ensure that we append only values of
980 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
982 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
983 that allowed compiling this.
984 [ FIXME: filed bug #29435. mcs should have failed on this ]
986 2002-08-25 Tim Coleman <tim@timcoleman.com>
988 Change CreateNavigator to not be virtual.
990 Add set_Prefix and InnerText accessors.
991 * XmlEntityReference.cs:
992 Add set_Value accessor.
994 Make objects which should be private private.
996 Remove WriteStartElementInternal abstract definition.
997 * XmlValidatingReader.cs:
1000 2002-08-22 Jason Diamond <jason@injektilo.org>
1002 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
1003 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
1005 2002-08-22 Jason Diamond <jason@injektilo.org>
1007 * XmlElement.cs: Correction to previous GetElementsByTagName patch
1008 courtesy of Matt Hunter <xrkune@tconl.com>.
1010 2002-08-22 Jason Diamond <jason@injektilo.org>
1012 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
1013 qualified GetElementsByTagName courtesy of Matt Hunter
1016 2002-08-19 Jason Diamond <jason@injektilo.org>
1018 * XmlDocument.cs, XmlElement.cs: Added implementation of
1019 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
1021 2002-08-16 Jason Diamond <jason@injektilo.org>
1023 * XmlElement.cs: Fixed writing out qualified elements courtesy of
1024 Marcus Bürgel <marcus.buergel@gmx.de>.
1026 2002-08-13 Tim Coleman <tim@timcoleman.com>
1028 Partial implementation of WriteQualifiedName ().
1030 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
1031 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
1032 InsertData(), and ReplaceData(). These methods fire the
1033 NodeChanging and NodeChanged events.
1035 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
1037 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
1038 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
1040 2002-08-03 Tim Coleman <tim@timcoleman.com>
1041 * XmlNamespaceManager.cs:
1042 .Net allows the empty namespace to be redefined
1043 at a later point, but the current implementation
1044 did not. This fixes a hashtable conflict.
1046 2002-07-26 Tim Coleman <tim@timcoleman.com>
1048 When given a textwriter, check to see if it has a
1049 null encoding. This was being done for other inputs
1052 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
1054 * XmlTextReader.cs: rough line/column support.
1056 2002-07-23 Duncan Mak <duncan@ximian.com>
1058 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
1059 (string, string []) is particularly strange.
1061 * XmlException.cs: Remember to call the base serialization
1064 * XmlNodeReader.cs: Keep a new variable to store the Depth.
1066 2002-07-14 Jason Diamond <jason@injektilo.org>
1068 * XmlAttribute.cs: Removed ownerElement field since we can reuse
1071 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
1072 if the current node is an attribute.
1074 * XmlElement.cs: SetAttributeNode now sets the new attribute's
1077 2002-07-12 Jason Diamond <jason@injektilo.org>
1079 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
1080 creating an element, use String.Empty instead.
1082 2002-07-12 Piers Haken <piersh@friksit.com>
1084 * XmlAttributeCollection.cs: implement some ItemOf indexers
1085 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
1086 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
1088 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
1090 * XmlTextWriter: Fixed Indentation. IndentationOverridden should
1091 not be set when inside a attribute.
1093 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
1095 * XmlTextWriter: In WriteStartElement, if namespace is null and
1096 prefix is null|empty do not write out xmlns=""
1098 * XmlWriter: WriteStartElement calls the virtual method with null
1099 argument instead of empty string.
1101 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1103 * XmlTextReader.cs: implemented .ctor (Stream).
1105 2002-06-26 Duncan Mak <duncan@ximian.com>
1107 * XmlNodeReader.cs: Implementation of most of the properties, and
1108 some of the related methods.
1110 2002-06-23 Piers Haken <piersh@friskit.com>
1112 * XmlDocumentNavigator.cs: implement Clone()
1113 * XmlElement.cs: remove bogus unimplemented override of InnerText
1114 * XmlNode.cs: implment SelectNodes/SelectSingleNode
1115 * XmlNodeArrayList.cs: new support class for SelectNodes
1117 2002-06-21 Ajay kumar Dwivedi <adwiv@yahoo.com>
1119 * XmlQualifiedName: Name and Namespaces are never null. If null is passed
1120 to the constructor, set them to empty strings.
1121 Fixed the Operators.
1123 2002-06-18 Ajay kumar Dwivedi <adwiv@yahoo.com>
1125 * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
1128 2002-06-14 Duncan Mak <duncan@ximian.com>
1130 * XmlConvert.cs: Added CLSCompliant attributes to methods.
1132 2002-06-12 Duncan Mak <duncan@ximian.com>
1134 * XmlCharacterData.cs (Value): Throw an ArgumentException in the
1135 set block if the node is read-only.
1137 2002-06-10 Ajay kumar Dwivedi <adwiv@yahoo.com>
1138 * XmlConstruct.cs : New Internal class with Helper methods for
1139 Checking XmlConstructs
1140 * XmlConvert.cs: Implemented most of the methods
1142 2002-06-08 Duncan Mak <duncan@ximian.com>
1144 * XmlDocument.cs (Load):
1145 Added bits to Load (string) for BaseURI support.
1147 * XmlAttribute.cs (BaseURI):
1148 * XmlDocument.cs (BaseURI):
1149 * XmlEntity.cs (BaseURI): Implemented.
1151 2002-05-27 Jason Diamond <jason@injektilo.org>
1153 * XmlDocumentNavigator.cs: Added file to directory.
1155 * XmlNode.cs (CreateNavigator): Implemented.
1156 (InnerText): Implemented.
1158 * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
1160 (Load(XmlReader)): Allow for namespace qualified attributes.
1162 * XmlElement.cs: Implemented GetAttribute(string, string) and both
1163 GetAttributeNode overloads.
1164 (SetAttributeNode(XmlAttribute)): Implemented.
1166 * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
1167 and RemoveNamedItem(string, string).
1169 * XmlLinkedNode.cs (PreviousSibling): Implemented.
1171 * XmlTextReader.cs: Added code to maintain the order of attributes as
1172 they're parsed. XML doesn't require this but Microsoft's parser does it and
1173 matching them makes testing easier so now we have it, too.
1175 2002-05-26 Miguel de Icaza <miguel@ximian.com>
1177 * XmlDocument.cs: Implement the Save methods.
1179 2002-05-08 Mike Kestner <mkestner@speakeasy.net>
1181 * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
1183 2002-04-28 Duncan Mak <duncan@ximian.com>
1185 * XmlSignificantWhitespace.cs (Value):
1186 * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
1187 block. Added new private method, IsValidWhitespaceChar, for
1190 2002-04-16 Duncan Mak <duncan@ximian.com>
1192 * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
1194 2002-04-12 Duncan Mak <duncan@ximian.com>
1196 * XmlAttribute.cs (Prefix): Added preliminary code for set block,
1197 added comment on work that needs to be done here. A new MonoTODO item.
1199 * XmlDocument.cs (ctor): Corrected constructor signature, changed
1200 parameter from 'NameTable' to 'XmlNameTable'.
1202 * XmlDocumentFragment.cs (InnerXml): Added missing set block.
1204 * XmlCaseOrder.cs: Moved to System.Xml.XPath.
1206 2002-04-10 Duncan Mak <duncan@ximian.com>
1208 * XmlNodeReader.cs: Initial stubs for the class.
1210 2002-04-08 Kral Ferch <kral_ferch@hotmail.com>
1212 * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
1215 * XmlDeclaration.cs: WriteTo implementation.
1217 * XmlDocument.cs: InnerXml getter implementation.
1219 * XmlElement.cs: InnerXml getter implementation.
1221 * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
1223 * XmlSignificantWhitespace.cs: WriteTo implementation.
1225 * XmlText.cs: WriteContentTo and WriteTo implementation.
1227 * XmlTextWriter.cs: WriteRaw implementation.
1229 * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
1231 2002-04-05 Kral Ferch <kral_ferch@hotmail.com>
1233 * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
1234 if prefix in constructor is one of the default ones.
1236 * XmlCharacterData.cs: Returns String.Empty for Value and Data
1237 even when constructed with null.
1239 * XmlDeclaration.cs: Value doesn't put encoding or standalone
1240 in if they are empty.
1242 * XmlDocument.cs: Implemented CreateNode methods and this caused
1243 the changes in the other files in this checkin.
1245 * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
1246 even when constructed with null.
1248 * XmlWhitespace.cs: Changed Value 'get' to return Data.
1250 2002-04-01 Kral Ferch <kral_ferch@hotmail.com>
1252 * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
1254 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
1256 * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
1257 and WriteCharEntity.
1259 * XmlWrite.cs: Fixed bug where attribute namespace decl
1260 was pushing a scope onto the namespace manager when it shouldn't
1263 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
1265 * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
1266 in different states (no open start element, in WriteState.Content mode).
1268 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
1270 * XmlTextWriter.cs: XmlLang and XmlSpace properties
1271 and WriteWhitespace.
1273 * XmlTextWriterOpenElement.cs: scope support for XmlLang
1276 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
1278 * XmlTextWriter.cs: Working on Attribute methods.
1280 * XmlWriter.cs: Working on Attribute methods.
1282 2002-03-28 Duncan Mak <duncan@ximian.com>
1284 * XmlDocument.cs (CreateWhitespace):
1285 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
1288 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
1290 2002-03-26 Duncan Mak <duncan@ximian.com>
1292 * XmlDocument.cs (CreateDocumentType): Implemented.
1294 * XmlNode.cs (Value): Implemented.
1296 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
1297 like XmlCharacterData.
1299 * XmlDeclaration.cs (CloneNode):
1300 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
1303 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
1304 docs say it is the "The concatenated values of the node and all
1305 the children of the node.". I wrote some test programs and
1306 couldn't get any of the derived nodes to AppendChild. For now,
1307 InnerText == Data == Value.
1308 (Substring): Fixed typo.
1310 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
1312 * XmlImplementation.cs (CreateDocument): Implemented.
1314 2002-03-25 Duncan Mak <duncan@ximian.com>
1316 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
1317 missing properties (InnerText, Value).
1319 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
1321 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
1323 * XmlTextWriter.cs: Impls for BaseStream and
1324 Namespaces and WriteState.
1326 * XmlWriter.cs: WriteState and WriteStartElementInternal.
1328 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
1330 * XmlNodeListChildren.cs: made class internal
1331 instead of public. Shouldn't be visible outside
1334 * XmlTextWriter.cs: Implementations for Formatting,
1335 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
1336 Suppresses encoding on xml declaration if null stream passed in.
1337 Formats output including suppressing indentation for elements in
1340 * XmlTextWriterOpenElement.cs: Initial checkin.
1341 XmlTextWriter uses stack of these objects to track
1344 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
1346 * XmlElement.cs: impl HasAttribute(string name).
1348 2002-03-22 Duncan Mak <duncan@ximian.com>
1350 * XmlElement.cs: Reformatted.
1351 (CloneNode) Corrected.
1353 * XmlDocument.cs (CreateWhitespace):
1354 (CreateSignificantWhitespace): Implemented.
1356 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
1357 true, because Attributes have ChildNodes.
1359 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
1361 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
1362 xml declaration along with encoding. WriteEndElement throws
1363 exception if no WriteStartElement exists.
1365 2002-03-20 Duncan Mak <duncan@ximian.com>
1367 * XmlEntityReference.cs (CloneNode): Implemented.
1369 * XmlException.cs (Message): Implemented. We need to cache the
1370 message string because SystemException doesn't expose 'message'
1373 * XmlText.cs (Value): Added in the missing Value property.
1375 2002-03-20 Duncan Mak <duncan@ximian.com>
1377 * XmlAttribute.cs (CloneNode): Implemented.
1379 * XmlDocumentFragment.cs (CloneNode): Implemented.
1381 * XmlElement.cs (CloneNode): Implemented.
1383 2002-03-19 Duncan Mak <duncan@ximian.com>
1385 * XmlNotation.cs: Added to CVS.
1387 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
1389 * XmlCDataSection.cs (CloneNode): Implemented.
1391 * XmlDocumentFragment.cs: Reformatted and added the missing properties
1392 (InnerXml, OwnerDocument, ParentNode).
1393 (CloneNode): Implemented.
1395 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
1396 (Value) Implemented the 'get' property.
1398 * XmlWhitespace.cs (Module): implemented.
1400 2002-03-19 Jason Diamond <jason@injektilo.org>
1402 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
1405 2002-03-18 Jason Diamond <jason@injektilo.org>
1407 * XmlTextReader.cs: Don't restore properties after reading last
1408 attribute on an element.
1410 * XmlDocument.cs: Move back to element after reading attributes
1411 so that IsEmptyElement test succeeds.
1413 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
1415 * XmlNamespaceManager.cs: Implemented LookupPrefix.
1417 * XmlTextWriter.cs: Implemented namespace and prefix support.
1419 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
1421 * XmlTextReader.cs: Restores properties after
1422 reading last attribute on an element.
1424 * XmlNode.cs: AppendChild sets the parent
1427 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
1429 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
1431 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
1433 * XmlElement.cs: Fixed bug in WriteTo.
1435 * XmlProcessingInstruction.cs: Formatting.
1437 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
1438 fixes for WriteEndElement, WriteProcessingInstruction.
1440 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
1442 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
1443 had Load() add PIs to the document, moved onXXX methods to alphabetical
1446 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
1448 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
1450 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
1453 * XmlTextWriter.cs: Implementations for WriteEndElement,
1454 WriteProcessingInstruction, WriteStartElement, and WriteString.
1456 * XmlWriter.cs: Implemented WriteStartElement() methods.
1458 2002-03-15 Duncan Mak <duncan@ximian.com>
1460 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
1461 InnerText once I know what they do.
1463 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
1464 that we can properly chain constructors.
1465 (CloneNode): implemented.
1466 (WriteContentTo): Removed MonoTODO attribute as this method has no
1467 effect in this class.
1469 * XmlProcessingInstruction.cs (Value): Added the missing Set
1471 (InnerText): Added in, but not implemented.
1473 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
1475 * XmlTextWriter.cs: implemented constructors and
1476 WriteCData and WriteComment.
1478 2002-03-14 Duncan Mak <duncan@ximian.com>
1480 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
1481 file, and updated the callbacks to reflect the change.
1482 (XmlDocument): Added the NameTable constructor.
1483 (NameTable): Also the NameTable property.
1485 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
1486 was in XmlDocument.cs. It has two arguments now (object,
1487 EventArgs) , instead of one (object).
1489 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
1491 * XmlWriter.cs: Formatting.
1493 * XmlTextWriter.cs: Initial checkin.
1495 2002-03-14 Duncan Mak <duncan@ximian.com>
1497 * Validation.cs: Removed, replaced by ValidationType.cs.
1499 * ValidationType.cs: Added.
1501 2002-03-13 Duncan Mak <duncan@ximian.com>
1503 * XmlException.cs: Made it [Serializable], implemented good ol'
1504 GetObjectData, and the serialization constructor.
1506 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
1507 (SetNamedItem): Reverted (added back in) the patch with the
1508 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
1510 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
1511 (GetNamedItem (string, string)): implemented.
1512 (RemoveNamedItem): implemented.
1513 (SetNamedItem): implemented.
1515 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
1517 * XmlAttribute.cs: Moved a method from amongst properties down to
1518 it's alphabetical position in the methods section.
1520 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
1521 last linked child. Set XmlNode base class to return false for IsReadOnly().
1522 Implemented GetEnumerator() and RemoveChild().
1524 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
1525 This is to support the behavior that the Enumerator doesn't become invalid
1526 when changes to the children occur. Flushed out rest of implementation for
1527 MoveNext, Current, and Reset.
1529 2002-03-12 Duncan Mak <duncan@ximian.com>
1531 * XmlCharacterData.cs: Reformatted the properties for better readability.
1533 * XmlLinkedNode.cs: Removed the awful boxy comments.
1535 * XmlNamedNodeMap.cs (Count):
1536 (Item): Implemented. Tests will be coming.
1538 * XmlEntityReference.cs:
1539 * XmlSignificantWhitespace.cs: Implemented these classes except for
1540 the Clone, WriteContentTo and WriteTo methods. Will have to
1541 investigate into these later.
1543 2002-03-11 Duncan Mak <duncan@ximian.com>
1545 * IHasXmlNode.cs: Added to CVS.
1547 2002-03-08 Jason Diamond <jason@injektilo.org>
1549 * XmlParserContext.cs: Added missing constructors and missing Encoding
1552 * XmlTextReader.cs: Start using the XmlParserContext class.
1554 2002-03-08 Jason Diamond <jason@injektilo.org>
1556 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
1558 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
1560 * XmlNode.cs (Item): Implemented both indexers.
1562 2002-03-08 Jason Diamond <jason@injektilo.org>
1564 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
1565 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
1567 2002-03-08 Jason Diamond <jason@injektilo.org>
1569 * XmlAttribute.cs: Attribute nodes are supposed to store their values
1570 as child nodes so updated to reflect that.
1572 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
1573 duplicated in XmlDocument and XmlElement into XmlNode so that it
1574 wouldn't have to be duplicated in XmlAttribute, too.
1576 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
1578 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
1579 XmlNode.cs: Formatting.
1581 * XmlNodeListChildren.cs: Implementation of XmlNodeList
1582 for XmlNode.ChildNodes property.
1584 * XmlNodeListAsArrayList.cs: Removed file. Using different
1585 data structure (circular list) in XmlNode so this file
1588 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
1589 bug in setter property of LastLinkedChild so fixed it.
1591 2002-03-06 Jason Diamond <jason@injektilo.org>
1593 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
1594 We already have a parser in XmlTextReader.
1596 * XmlException.cs: Removed constructor accepting XmlInputSource.
1598 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
1600 * XmlNode.cs: Rewrote this class from scratch with
1601 MonoToDo attribs and NotImplementedExceptions. Now defines an
1602 internal LastLinkedNode property to aid the new implementation.
1603 XmlNodes only have ref to owner doc and parent nodes now.
1605 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
1606 and ref to next sibling to support walking our circular child
1609 * XmlDocument.cs: Added ref to last child node and overrides
1610 XmlNode's internal LastLinkedChild property to support walking
1611 our circular child node list.
1613 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
1615 * XmlProcessingInstructions.cs: Class was empty. Implemented
1616 constructor, properties, and CloneNode() method. Put in
1617 MonoToDo attrib for remaining methods.
1619 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
1620 Got rid of helper methods and fields since they were no
1623 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
1625 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
1626 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
1627 Createxxx() methods for those three node types.
1629 2002-03-02 Jason Diamond <jason@injektilo.org>
1631 * XmlDocument.cs: Implemented the remaining CreateElement and
1632 CreateAttribute methods.
1634 * XmlAttribute.cs: Re-implemented.
1636 * XmlElement.cs: Set owner element on attributes. Reformatted.
1638 2002-03-02 Jason Diamond <jason@injektilo.org>
1640 * XmlTextReader.cs: Implemented MoveToNextAttribute().
1642 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
1643 attributes. Create attribute nodes while loading. Implemented
1644 Load(string) and CreateTextNode().
1646 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
1648 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
1651 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
1653 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
1655 * XmlAttribute.cs : Using fix.
1656 * XmlDocument.cs (CreateAttribute(String)): Implement.
1658 2002-03-02 Jason Diamond <jason@injektilo.org>
1660 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
1663 2002-02-28 Jason Diamond <jason@injektilo.org>
1665 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
1666 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
1668 2002-02-28 Jason Diamond <jason@injektilo.org>
1670 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
1671 added missing members and MonoTODO attributes.
1673 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
1675 2002-02-27 Jason Diamond <jason@injektilo.org>
1677 * XmlElement.cs: Reformatted, added missing members and MonoTODO
1680 2002-02-26 Duncan Mak <duncan@ximian.com>
1682 * XmlCDataSection.cs: Initial implementation.
1684 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
1685 it out. This should (hopefully) be correct.
1687 2002-02-26 Jason Diamond <jason@injektilo.org>
1689 * XmlTextReader.cs: Apparently Microsoft's implementation treats
1690 namespace declarations as attributes so we do now, too.
1692 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
1693 checks the current scope.
1695 2002-02-26 Duncan Mak <duncan@ximian.com>
1697 * XmlDocumentType.cs: Added a few hacks here and there to
1698 temporarily fix the "I broke the build issue".
1700 2002-02-25 Jason Diamond <jason@injektilo.org>
1702 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
1703 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
1704 simple test to pass. The existing code is really shitty so I'll
1705 probably start writing tests and refactoring before much else
1708 2002-02-25 Duncan Mak <duncan@ximian.com>
1710 * NameTable.cs: Implemented.
1712 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
1714 2002-02-24 Duncan Mak <duncan@ximian.com>
1716 * XmlNodeOrder.cs: Added to CVS.
1718 * XmlQualifiedName.cs: Fixed a warning from Equals ().
1720 * XmlTokenizedType.cs: Added to CVS.
1722 * XmlUrlResolver.cs: Added to CVS with one TODO task.
1724 2002-02-23 Duncan Mak <duncan@ximian.com>
1726 * XmlQualifiedName.cs: Fixed ToString () and added the operators
1729 2002-02-23 Jason Diamond <jason@injektilo.org>
1731 * XmlTextReader.cs: Added support for qualified attributes.
1733 2002-02-23 Jason Diamond <jason@injektilo.org>
1735 * XmlNamespaceManager.cs: Initial implementation.
1737 * XmlTextReader.cs: Added support for NamespaceURI property on
1740 2002-02-23 Nick Drochak <ndrochak@gol.com>
1742 * ChangeLog: Add the change log to this directory
1744 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has