1 2003-05-28 Lluis Sanchez Gual <lluis@ideary.com>
3 * XmlTextReader.cs : MoveToAttribute methods must set the enumerator to the right
4 position, since MoveToNextAttribute may be called after it.
5 SetProperties(): attributes do not "inherit" the namespace.
6 * XmlDocument.cs: ReadNode(), ReadAttributeNode(): must keep the current reader position.
8 2003-05-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
10 * NameTable.cs : Add() sets the given name string interned.
11 * XmlParserContext.cs : added internal PushScope() and PopScope() to
12 hold stacks of xml:base, xml:lang and xml:space.
13 * XmlTextReader.cs : implemented XmlLang and XmlSpace (only as a
14 property for stacked attributes). Renamed Initialize() to Initialize-
15 Context(). Modified to use XmlParserContext.PushScope()/PopScope().
17 2003-05-26 Lluis Sanchez Gual <lluis@ximian.com>
19 * XmlReader.cs: Little fix to WriteAttributeString()
21 2003-05-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
23 * XmlAttribute.cs, XmlCharacterData.cs, XmlComment.cs, XmlDocument.cs,
24 XmlDocumentFragment.cs, XmlElement.cs, XmlEntity.cs, XmlLinkedNode.cs,
25 XmlNode.cs, XmlNotation.cs, XmlProcessingInstruction.cs, XmlReader.cs,
26 XmlSignificantWhitespace.cs, XmlText.cs, XmlWhitespace.cs:
27 Reverted the recent accessibility mistake (5/16).
28 * XmlDocument.cs, XmlNode.cs : moved actual CreateNavigator() logic
29 from XmlNode to XmlDocument.
31 2003-05-18 Lluis Sanchez Gual <lluis@ideary.com>
33 * XmlQualifiedName.cs : Fixed bug in equality operator.
35 2003-05-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
37 * XmlTextWriter.cs : patch by Jonathan Hogg. Flush() does not close
38 any open attributes or elements. WriteWhitespace() checks state and
39 closes start tag. Fixed WriteStringInternal() to replace CR/LF chars
40 when it is called inside attribute value.
41 * XmlException.cs : added .NET 1.1 .ctor.
42 * added XmlSecureResolver.cs (only stubbing).
43 * XmlAttribute.cs : set_InnerXml() should remove children.
46 XmlDocumentFragment.cs,
47 XmlDocument.cs : removed XmlTextReader reuse (It was buggy stuff).
48 * XmlNode.cs : RemoveAll() should also remove all attributes.
49 * XmlTextRader.cs : .ctor() for attribute value reader should add
50 quotations at initialization, since it requires quote chars.
51 * XmlWriter.cs : WriteAttributeString() more correct xmlns check.
53 2003-05-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
55 * changed XPathNodeType modifier to internal *protected* override.
56 * XmlAttribute.cs : .ctor() now checks name validity e.g. xmlns.
57 * XmlAttribute.cs, XmlElement.cs : set_Prefix checks NCName validity.
58 * XmlAttributeCollection.cs : removed some incorrect TODO attributes.
59 * XmlDocument.cs ; CreateAttribute(name) now auto-completes xmlns NSURI
60 when the argument is "xmlns".
61 * XmlElement.cs : more compliant IsEmpty support. See also WriteTo().
62 * XmlNamespaceManager.cs : added initial "xml" and "xmlns" namespaces.
63 * XmlNode.cs : ser_InnerXml() throws InvalidOperationException.
64 * XmlNodeReader.cs : LookupNamespace() refactory. Fixed ReadInnerXml()
65 not to set error state for non-started XmlNodeReader.
66 * XmlTextReader.cs : fixed ReadAttributeValue() not to reset state.
67 BaseURI support. Fixed Initialize() to handle Attribute correctly.
68 SetProperty for attribute auto-completes xmlns NSURI.
69 Attribute and whitespace handling became more correct.
70 Don't parse external DTD if XmlResolver is null.
71 * XmlTextWriter.cs : implemented WriteEntityRef().
72 WriteStartAttribute() checks if ns does not equal to that of xmlns.
73 * XmlWriter.cs : trivial refactoring (WriteNode() xmldecl output).
75 2003-05-05 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
77 * XmlConvert.cs : IsInvalid() Now uses XmlConstructs.IsName(Start).
78 EncodeName() now correctly encodes invalid names.
79 Result string of ToString(DateTime) contains "fffffff".
81 2003-04-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
83 * XmlElement.cs : fixed IsEmpty (removed private field isEmpty).
84 * XmlNodeReader.cs : Fixed AttributeCount, each this[] (indexers),
86 Fixed this[] to work correctly against XmlDeclarations.
87 Fixed ReadInnerXml() and ReadOuterXml() to call Read() correctly.
88 (which may prevent validations etc.)
91 XmlTextReader.cs : Fixed ReadString() to be compliant with each
93 * XmlTextReader.cs : ReadInnerXml() now moves to next node correctly.
95 2003-04-27 Pedro MartÃnez Juliá <yoros@wanadoo.es>
97 * XmlNode.cs: ensure to get a valid Uri in BaseUri when loading the
98 source document from a file.
100 2003-04-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
102 * XmlAttribute.cs : fixed WriteTo() and WriteContentTo() to write
103 content EntityReference correctly.
104 * XmlNodeReader.cs : many fix for EndElement handling (AttributeCount,
105 HasAttributes, indexers, MoveTo*Attribute() and Read() ).
106 Modified Skip() to call Read () explicitly.
108 Fixed ReadInnerXml() which ignored EndElement token in certain cases.
109 Implemented MoveToAttribute (local, ns), and modified GetAttribute()
110 in relation to this change.
111 Attributes for XmlDeclaration are now correctly set.
112 * XmlTextWriter.cs : WriteRaw() is now different from WriteString().
113 Simplified WriteAttributes() for XmlDeclaration.
115 2003-04-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
117 * XmlTextReader.cs : fixed ReadInnerXml(). it was inconsistent with
120 2003-04-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
122 * XmlDocument.cs : fixed Load() to set baseURI correctly.
123 * XmlReader.cs : patch by Gonzalo. Fixed not to skip XmlDeclaration.
125 fixed Depth. When it's on StartElement, Depth was already incremented.
126 fixed private SaveProperty(), which moved away its saved properties
127 when MoveToElement was called repeatedly.
128 * XmlTextWriter.cs : fixed WriteQualifiedName() to close start tag.
130 WriteAttributes() refactory (for XMLDecl).
131 WriteNode() don't Read() when the reader is Initial state, let other
132 invokation to Read(). In case of Element, it should write entire
133 element. In case of Attribute, it shouldn't Read().
134 WriteStartDocument() should omit standalone decl. when there is no
137 2003-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
139 * XmlReader.cs: reverted last patch. It breaks System.Configuration
140 because 1. it considers XmlDeclaration as content and 2. always
141 returns XmlNodeType.None.
144 2003-04-23 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
146 * Added missing ChangeLog of 4/4/2003.
147 * XmlTextWriter.cs : patch by Erik. fixed WriteQualifiedName.
148 (write prefix instead of ns.)
149 * XmlInputStream.cs : file access mode fix (FileAccess.Read was missing)
150 * XmlTextReader.cs : modified to call Read() instead of ReadContent().
151 (It may be required for decorated reader such as XmlValidatingReader.)
152 Changed Read() error message for mismatch end tag.
153 * XmlDocument.cs : (ReadNode) friendly message for mismatch EndElement.
154 * XmlReader.cs : Corrected misinterpreted MoveToContent() method.
156 2003-04-04 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
158 * XmlDocument.cs : Load() now closes the given XmlReader.
159 Don't allow creation of XmlTextReader for Doctype. (workaround.)
160 * XmlInputStream.cs : It now closes its internal stream explicitly.
161 * XmlNode.cs : RemoveChild() bugfix for removing LastLinkedChild.
162 * XmlNodeReader.cs : GetAttribute() bugfix for not-present attribute.
163 * XmlParserInput.cs : added Close() method.
164 * XmlReader.cs : MoveToContent() should (1) not Read in case of empty
165 element, and (2) MoveToElement() in case of attribute.
166 * XmlTextReader.cs : Close() now actually closes source TextReaders.
168 2003-03-26 Duncan Mak <duncan@ximian.com>
170 * XmlTextWriter.cs (Write): A patch from Atsushi to fix
171 prematurely ending the write, or something like that. It was
172 causing us to chop off the end of the document when we're trying
173 to generate XML Schemas.
175 2003-03-23 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
177 * XmlTextReader.cs : implemented ReadString().
178 fixed ctor(string, XmlNodeType, XmlParserContext) - don't raise
179 null reference exception when context is null.
180 * XmlNodeReader.cs : fixed ReadString() - should ignore attributes etc.
181 fixed Read() - when positioned at EndElement, it didn't progress.
182 fixed HasAttribute - it didn't return false in all cases.
183 fixed Name and LocalName - only limited type of nodes return names.
184 fixed AttributeCount - in some cases it threw null ref exception.
186 2003-03-22 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
188 * XmlTextWriter.cs : WriteStartDocument doesn't set hasRoot=true, then
189 WriteEndDocument without root element now raises an error correctly.
190 * XmlDocumentNavigator.cs : (MoveToFirstChild) fixed bugzilla #36672.
191 implemented BaseURI, NameTable, XmlLang, GetAttributes, GetNamespace,
194 2003-03-22 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
196 * XmlElement.cs : RemoveAttribute now don't throws when specified
197 attribute does not exist.
199 2003-03-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
201 * XmlNode.cs : add descriptions for some node type error.
203 2003-03-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
205 * XmlNodeArrayList.cs, XmlNodeListChildren.cs : bugzilla #39920 fix.
207 2003-03-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
209 * XmlDeclaration.cs : quick fix, not to use regex for set_Value.
211 2003-03-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
213 * XmlTextReader.cs : Fixed wrong notationdecl SYSTEM id read.
214 * XmlInputStream.cs : Should allow versionless input stream entity.
216 2003-03-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
218 * added XmlParserInput.cs for multi xml document sources.
219 * added DTDObjectModel.cs (maybe temporary).
221 + fixed ctor to use XmlStreamReader. Allowed null XmlParserContext.
222 + Some members such as LineNumber, ReadChar now uses XmlParserInput.
223 + added support for Namespaces (namespace-ignorant parse available).
224 + added support for XmlResolver.
225 + replace SetReaderContext()/SetReaderFragment() with Initialize().
226 + use NameTable in CreateNameString.
227 + fixed ReadCData(). Now reads "]]]>" correctly.
228 + support for DTD parse.
229 + Read() now throws an error when it reached EOF while Depth > 0.
231 XmlDocumentFragment.cs,
232 XmlElement.cs : fix related to the changes of XmlTextReader.Initialize
233 * XmlDocument.cs : ReadNode() now reads DocumentType.
234 * XmlDocumentType.cs : implemented Entities, Notations, WriteTo().
236 XmlNotation.cs : added override LastLinkedChild (for doctype node).
237 * XmlNamedNodeMap.cs : Remove() raises an error if target is read only.
238 * XmlElement.cs : bugfix for node removal of set_InnerXml.
239 * XmlNode.cs : added insertBeforeIntern() derived from InsertBefore().
240 (to append child XmlEntity into XmlDocumentType correctly.)
241 * XmlInputStream.cs : fixed to access file with FileAccess.Read.
243 2003-03-15 Duncan Mak <duncan@ximian.com>
245 * XmlElement.cs (Name): Only append prefix + ':' when prefix is
246 neither String.Empty nor null. Thanks to Simon Guindon for
247 reporting the bug and Jackson for fixing this bug with me.
249 2003-03-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
251 * XmlConstructs.cs : fix "int IsXXX()" to reject negative value.
252 * XmlDocument.cs : simplify Load(string url) to use XmlTextReader.
253 fixed ReadNode(), it should call reader.Read() only on Initial state.
254 * XmlInputStream.cs : Changed namespace. Added XmlStreamReader(stream)
255 and XmlStreamReader (string). Fixed XmlInputStream(url) not to use
256 System.Net.WebClient directly.
257 * XmlParserContext.cs : baseURI never be null.
258 * XmlTextWriter.cs : use WebName for Encoding instead of HeaderName.
259 * XmlUrlResolver.cs : namespace change for XmlInputStream.
261 2003-03-12 Elan Feingold <efeingold@mn.rr.com>
263 * XmlTextReader.cs: When throwing a ReaderException, show what
264 character was the culprit
266 2003-03-05 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
268 * XmlDocumentFragment.cs, XmlElement.cs :
269 modified InnerXml (fragment type from Element to DocumentFragment).
271 * XmlElement.cs : fixed WriteTo() ns check.
272 * XmlNamespaceManager.cs : MS.NET allows Add() used two or more times.
273 * XmlNode.cs : fixed ConstructNamespaceManager().
275 * XmlConstructs.cs : added IsSpace, IsName, IsNameStart, IsNCName,
276 IsPubid with an int arg.
277 * XmlReader.cs : changed to use XmlChar.cs (its role is as same as
280 improved error messages with line info.
281 / checking matching start and end tags.
282 / prevents the apperance of multiple root elements. (patch by Erik)
283 fixed and refactored ReadInnerXml() and ReadOuterXml()
284 changed to use XmlChar.cs.
286 * XmlTextWriter.cs : changed to put element's xmlns at CloseStartTag ()
287 (It will help c14n implementation.)
288 / blocks multiple attribute output with element node.
290 2003-02-28 Alan Tam <Tam@SiuLung.com>
292 * XmlConvert.cs: fixed the most ToXXX(string) and ToString(XXX)
293 methods to make them compatible with the XML Schema Spec from W3C
294 ToString(TimeSpan) is still outstanding
296 2003-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
299 (Load (string)): hack to workaround some issues with Uri.Parse. Once
300 Parse is fixed, remove the hack.
302 2003-02-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
304 * XmlQualifiedName.cs : fixed GetHashCode() to avoid null reference
305 * XmlTextReader.cs : fixed ReadAttributeValue() to handle
306 entity reference, and some refactory.
308 2003-02-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
310 * XmlUrlResolver.cs : WebClient.Credentials was not implemented yet.
312 2003-02-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
314 * XmlInputStream.cs : added (also contains internal XmlStreamReader).
315 * XmlDocument.cs : Load () now can specify URL using XmlUrlResolver,
316 and can read non-UTF-8 stream.
317 * XmlTextReader.cs : related to above stream fix.
318 * XmlUrlResolver.cs : implemented GetEntity ().
320 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
322 * XmlTextWriter.cs: implemented WriteRaw (char[], int, int).
324 2003-02-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
326 * XmlTextReader.cs : implemented QuoteChar.
328 2003-01-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
330 * XmlNode.cs : implemented ReplaceChild.
331 removed DocElem checking at InsertBefore.
332 * XmlNodeReader.cs : fixed ReadString and Read for correct node info.
333 * XmlText.cs : implemented CloneNode and SplitText.
335 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
337 * XmlCharacterData.cs: added XPathNodeType property.
339 2003-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
341 * XmlTextWriter.cs: throw an exception if WriteEndDocument is
342 called without a prior call to WriteStartDocument.
344 2003-01-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
346 * XmlNodeReader.cs : several fix to get more compatible with MS.NET.
348 2003-01-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
350 * XmlNamespaceManager.cs : fundamental change of LookupPrefix to return
351 null when no matching uri.
352 * XmlElement.cs : removed unnecessary xmlns output.
353 * XmlNode.cs : GetPrefixOfNamespace fix along with the change above.
354 * XmlTextWriter.cs : LookupPrefix and WriteStartElementInternal fix
355 along with the change above, and moved timing of 'xmlns' output
356 to CloseStartElement.
357 * XmlWriter.cs: modified WriteStartAttribute, same as yesterday.
359 2003-01-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
361 * XmlWriter.cs: modified WriteStartElement (see test for detail).
364 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
366 * XmlDocument.cs: Added CheckName () method to check names validity.
368 2003-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
371 (ReadOuterXml): use Depth property which return elementDepth, not depth.
373 2003-01-11 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
375 * XmlElement.cs : (by ville) XmlElement.set_InnerText event bugfix.
376 * XmlTextReader.cs : some fix for ReadOuterXml().
378 2003-01-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
380 * XmlTextReader.cs : bugfix for attributes related to creation of
383 2003-01-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
385 * XmlTextReader.cs : bugfix for attribute values which have entity
388 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
390 * XmlDocument.cs: XmlTextWriter.Formatting == Indented when
391 calling Save () -methods.
393 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
395 * XmlNodeReader.cs : primitive reading implementation.
397 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
399 * XmlElement.cs : quick fix for the incomplete patch of #35308 below.
401 2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
403 * XmlDocument.cs : removed inconsistent line-feed output.
404 * XmlElement.cs, XmlTextWriter.cs :
405 fixed for bugzilla 35308 (default ns output)
406 * XmlWhitespace.cs : limited output only when preserving whitespace.
408 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
410 * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
411 Implemented XmlTextReader.ReadAttributeValue().
412 Added internal ReadAttributeNodeValue().
413 Fixed XmlAttribute.InnerXml to use these methods.
415 * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
416 Implemented XmlDocument.ReadNode() and removed ConstructDOM().
417 Other changes are replacing them.
419 2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
421 * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
423 2002-12-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
425 * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
426 patch by JD Conley <jconley@winfessor.com>.
427 (Fix for xmlns attribute output.)
429 2002-12-05 Ville Palo <vi64p@koti.soon.fi>
431 * XmlQualifiedName.cs: Little fix to ToString () -method
433 2002-12-04 Tim Haynes <thaynes@openlinksw.com>
435 * class/System.XML/System.Xml/XmlElement.cs: Made more refined
436 checks on attributeNode to fix 32262.
438 2002-12-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
440 * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
441 * XmlTextWriter.cs (WriteStartElementInternal):
442 fixed when default namespace was specified, all descendants
443 fail to omit the default namespace declarations.
446 XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
448 XmlDocumentFragment.cs,
449 XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
450 * XmlElement.cs (set_IsEmpty) : implemented
451 (WriteTo) : removed my improper indenting (Writer already done)
452 * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
453 (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
454 ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
456 2002-12-01 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
458 * XmlNode.cs (RemoveChild):
459 bugfixed when XmlNode is Document OwnerDocument is null
460 * XmlDeclaration.cs (Value):
461 bugfixed regular expression pattern.
462 * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
464 2002-11-24 Duncan Mak <duncan@ximian.com>
466 * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
467 Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
468 first patch to Mono! ;-)
470 2002-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
473 (AppendChild): readded refChild != null condition before throwing
474 "cannot insert this node in this position" exception. There's probably
475 a better solution. Fixes #34191.
476 (RemoveAll): changed following Atsushi instructions.
479 2002-11-13 Duncan Mak <duncan@ximian.com>
481 * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
484 2002-11-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
486 * XmlDocument.cs : unified all constructors, added ConventionalParser,
487 implemented CloneNode() and CreateEntityReference(),
488 * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
489 set BaseURI to MonoTODO
490 * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
491 bugfix InsertAfter (incorrect prepending) and InsertBefore
492 (more than one DocumentElements hadn't caused errors)
493 * XmlTextReader.cs : unified all constructors,
494 added internal SetReaderContext(), SetReaderFragment()
495 bugfix (syntax check of PUBLIC / getting internal subset)
497 2002-11-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
499 XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
500 XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
501 XmlCharacterData.cs : exchanged Data and Value
502 (for processing events and inheritance)
503 XmlDocumentFragment.cs : set_InnerXml
504 XmlSignificantWhitespace.cs : set_Value
505 XmlTextReader.cs : ReadAttributeValue
507 2002-11-04 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
509 XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
511 2002-11-03 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
513 * XmlAttributeCollection.cs : checks owner element.
514 implemented CopyTo, InsertAfter, InsertBefore, Prepend,
515 Remove, RemoveAt, SetNamedItem.
516 removed some logics that sets 'Parent' (that should be null)
517 * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
518 * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
519 * XmlElement.cs : implemented WriteTo, set_InnerText.
520 Fixed WriteTo() to add xmlns:* attributes when
521 writer.LookupPrefix() returned mismatching.
522 * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
523 Removing different prefixes for the same uri now runs correct.
524 added SetNamedItem(XmlNode node, int position_to_insert).
525 * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
526 XmlWhitespace, and XmlSignificantWhitespace
528 2002-10-31 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
530 * XmlDocument.cs : implemented CreateDocumentFragment()
531 * XmlElement.cs, XmlLinkedNode.cs :
532 moved LastLinkedChild from XmlElement to XmlLinkedNode.
533 * XmlEntityReference.cs : must throw NotImplementedException.
535 + implemented InsertBefore() and then implemented InsertAfter()
536 and modified AppendChild() to call it.
537 + added logic to check ReadOnly, parent document equivalence,
538 and inserting any 'content' before/after DocumentElement.
539 + implemented Clone() [it is equals to CloneNode() by MS doc.]
540 + added logic in RemoveChild() to check parent of oldChild.
541 + fixed ConstructNamespaceManager() to internal only.
543 2002-10-29 Atsushi Enomoto <gigna@kit.hi-ho.ne.jp>
545 * XmlAttribute.cs : add internal 'IsDefault' property
546 (equals to !Specified)
547 * XmlImplementation.cs : added 'internalNameTable' property.
549 + now allows "" for 'standalone' in CreateXmlDeclaration.
550 + implemented 'Implementation' property and constructor with it.
551 + added logic for appending name table (but still no use)
552 + implemented property 'DocumentType'
553 (but without internalSubset parsing. wait for next update.)
555 + modified AppendChild() and RemoveChild() to support fragment.
556 + modified AppendChild() to remove newChild from its parent
557 when newChild is already in the other place.
558 + modified RemoveChild() to set parentNode null.
559 + modified ConstructDOM() to create DocumentType,
560 and fixed access modifier ('internal protected' to 'internal')
561 * XmlLinkedNode.cs : fixed 'NextSibling' to return null
562 when its parent is null.
563 * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
564 property to enable AppendChild() for this class.
565 * XmlTextReader.cs : appended private publicId and systemId fields.
567 2002-10-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
569 * XmlTextReader.cs: make it work when the underlying Stream is not
572 2002-10-26 Piers Haken <piersh@friskit.com>
574 * XmlNode.cs: add virtual property XPathNodeType
579 * XmlProcessingInstruction.cs:
580 * XmlSignificantWhitespace.cs:
582 * XmlWhitespace.cs: implement XPathNodeType property
583 * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
585 2002-10-26 Piers Haken <piersh@friskit.com>
587 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
589 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
591 * XmlTextReader.cs: don't increment depth for entity references.
593 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
595 * - Fixed the duplication of xmlns:xx = yy when serializing the
596 XML for serialization
598 Fixed the unnecessary parsing/serializing when adding assemblies
601 Avoided setting the XmlNode.InnerXml property
602 (as it's not implemented)
604 Fixed the usage/implementation of
605 XmlElement.GetElementsByTagName()
607 2002-10-21 Duncan Mak <duncan@ximian.com>
612 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
613 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
615 2002-10-18 Duncan Mak <duncan@ximian.com>
617 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
618 <ginga@kit.hi-ho.ne.jp>.
620 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
622 * XmlDocument.cs (ImportNode): Implemented
624 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
626 * XmlDocument.cs: one more Load method implemented.
627 * XmlTextReader.cs: Depth now works.
629 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
631 * XmlConvert.cs: IsInvalid is now internal.
632 * XmlNamespaceManager.cs: implemented RemoveNamespace
633 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
634 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
636 2002-09-19 Matt Hunter <mahunter@tconl.com>
638 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
639 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
641 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
643 * XmlConvert.cs: finished implementation.
644 * XmlTextReader.cs: fixed #30239.
645 * XmlTextWriter.cs: fixed #30240.
647 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
649 * XmlTextReader.cs: line and position begin with 1.
651 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
653 * XmlException.cs: added a new internal constructor for IXmlLineInfo
654 and output line and position info in Message.
656 * XmlReader.cs: implemented missing bits.
658 2002-09-12 Piers Haken <piersh@friksit.com>
660 * XmlDocumentNavigator.cs: implement MoveToId()
662 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
664 * XmlTextWriter.cs: fixed bug #29886.
666 2002-08-26 Ravi Pratap <ravi@ximian.com>
669 * XmlAttribute.cs (InnerText): Implement getting this property.
671 * XmlNode.cs (InnerText): Ensure that we append only values of
674 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
676 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
677 that allowed compiling this.
678 [ FIXME: filed bug #29435. mcs should have failed on this ]
680 2002-08-25 Tim Coleman <tim@timcoleman.com>
682 Change CreateNavigator to not be virtual.
684 Add set_Prefix and InnerText accessors.
685 * XmlEntityReference.cs:
686 Add set_Value accessor.
688 Make objects which should be private private.
690 Remove WriteStartElementInternal abstract definition.
691 * XmlValidatingReader.cs:
694 2002-08-22 Jason Diamond <jason@injektilo.org>
696 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
697 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
699 2002-08-22 Jason Diamond <jason@injektilo.org>
701 * XmlElement.cs: Correction to previous GetElementsByTagName patch
702 courtesy of Matt Hunter <xrkune@tconl.com>.
704 2002-08-22 Jason Diamond <jason@injektilo.org>
706 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
707 qualified GetElementsByTagName courtesy of Matt Hunter
710 2002-08-19 Jason Diamond <jason@injektilo.org>
712 * XmlDocument.cs, XmlElement.cs: Added implementation of
713 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
715 2002-08-16 Jason Diamond <jason@injektilo.org>
717 * XmlElement.cs: Fixed writing out qualified elements courtesy of
718 Marcus Bürgel <marcus.buergel@gmx.de>.
720 2002-08-13 Tim Coleman <tim@timcoleman.com>
722 Partial implementation of WriteQualifiedName ().
724 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
725 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
726 InsertData(), and ReplaceData(). These methods fire the
727 NodeChanging and NodeChanged events.
729 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
731 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
732 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
734 2002-08-03 Tim Coleman <tim@timcoleman.com>
735 * XmlNamespaceManager.cs:
736 .Net allows the empty namespace to be redefined
737 at a later point, but the current implementation
738 did not. This fixes a hashtable conflict.
740 2002-07-26 Tim Coleman <tim@timcoleman.com>
742 When given a textwriter, check to see if it has a
743 null encoding. This was being done for other inputs
746 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
748 * XmlTextReader.cs: rough line/column support.
750 2002-07-23 Duncan Mak <duncan@ximian.com>
752 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
753 (string, string []) is particularly strange.
755 * XmlException.cs: Remember to call the base serialization
758 * XmlNodeReader.cs: Keep a new variable to store the Depth.
760 2002-07-14 Jason Diamond <jason@injektilo.org>
762 * XmlAttribute.cs: Removed ownerElement field since we can reuse
765 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
766 if the current node is an attribute.
768 * XmlElement.cs: SetAttributeNode now sets the new attribute's
771 2002-07-12 Jason Diamond <jason@injektilo.org>
773 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
774 creating an element, use String.Empty instead.
776 2002-07-12 Piers Haken <piersh@friksit.com>
778 * XmlAttributeCollection.cs: implement some ItemOf indexers
779 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
780 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
782 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
785 2002-10-26 Piers Haken <piersh@friskit.com>
787 * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
789 2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
791 * XmlTextReader.cs: don't increment depth for entity references.
793 2002-10-22 Tim Haynes <thaynes@openlinksw.com>
795 * - Fixed the duplication of xmlns:xx = yy when serializing the
796 XML for serialization
798 Fixed the unnecessary parsing/serializing when adding assemblies
801 Avoided setting the XmlNode.InnerXml property
802 (as it's not implemented)
804 Fixed the usage/implementation of
805 XmlElement.GetElementsByTagName()
807 2002-10-21 Duncan Mak <duncan@ximian.com>
812 * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
813 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.
815 2002-10-18 Duncan Mak <duncan@ximian.com>
817 * XmlDocument.cs: Applied a patch by Atsushi Enomoto
818 <ginga@kit.hi-ho.ne.jp>.
820 2002-10-12 A.Enomoto <ginga@kit.hi-ho.ne.jp>
822 * XmlDocument.cs (ImportNode): Implemented
824 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
826 * XmlDocument.cs: one more Load method implemented.
827 * XmlTextReader.cs: Depth now works.
829 2002-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
831 * XmlConvert.cs: IsInvalid is now internal.
832 * XmlNamespaceManager.cs: implemented RemoveNamespace
833 * XmlTextReader.cs: return BaseURI and Encoding from the parser.
834 * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
836 2002-09-19 Matt Hunter <mahunter@tconl.com>
838 * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
839 * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
841 2002-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
843 * XmlConvert.cs: finished implementation.
844 * XmlTextReader.cs: fixed #30239.
845 * XmlTextWriter.cs: fixed #30240.
847 2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
849 * XmlTextReader.cs: line and position begin with 1.
851 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
853 * XmlException.cs: added a new internal constructor for IXmlLineInfo
854 and output line and position info in Message.
856 * XmlReader.cs: implemented missing bits.
858 2002-09-12 Piers Haken <piersh@friksit.com>
860 * XmlDocumentNavigator.cs: implement MoveToId()
862 2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
864 * XmlTextWriter.cs: fixed bug #29886.
866 2002-08-26 Ravi Pratap <ravi@ximian.com>
869 * XmlAttribute.cs (InnerText): Implement getting this property.
871 * XmlNode.cs (InnerText): Ensure that we append only values of
874 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
876 * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
877 that allowed compiling this.
878 [ FIXME: filed bug #29435. mcs should have failed on this ]
880 2002-08-25 Tim Coleman <tim@timcoleman.com>
882 Change CreateNavigator to not be virtual.
884 Add set_Prefix and InnerText accessors.
885 * XmlEntityReference.cs:
886 Add set_Value accessor.
888 Make objects which should be private private.
890 Remove WriteStartElementInternal abstract definition.
891 * XmlValidatingReader.cs:
894 2002-08-22 Jason Diamond <jason@injektilo.org>
896 * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
897 and RemoveAllAttributes courtesy of Matt Hunter <xrkune@tconl.com>.
899 2002-08-22 Jason Diamond <jason@injektilo.org>
901 * XmlElement.cs: Correction to previous GetElementsByTagName patch
902 courtesy of Matt Hunter <xrkune@tconl.com>.
904 2002-08-22 Jason Diamond <jason@injektilo.org>
906 * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
907 qualified GetElementsByTagName courtesy of Matt Hunter
910 2002-08-19 Jason Diamond <jason@injektilo.org>
912 * XmlDocument.cs, XmlElement.cs: Added implementation of
913 GetElementsByTagName courtesy of Matt Hunter <xrkune@tconl.com>.
915 2002-08-16 Jason Diamond <jason@injektilo.org>
917 * XmlElement.cs: Fixed writing out qualified elements courtesy of
918 Marcus Bürgel <marcus.buergel@gmx.de>.
920 2002-08-13 Tim Coleman <tim@timcoleman.com>
922 Partial implementation of WriteQualifiedName ().
924 2002-08-07 Kral Ferch <kral_ferch@hotmail.com>
925 * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
926 InsertData(), and ReplaceData(). These methods fire the
927 NodeChanging and NodeChanged events.
929 * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
931 * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
932 RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
934 2002-08-03 Tim Coleman <tim@timcoleman.com>
935 * XmlNamespaceManager.cs:
936 .Net allows the empty namespace to be redefined
937 at a later point, but the current implementation
938 did not. This fixes a hashtable conflict.
940 2002-07-26 Tim Coleman <tim@timcoleman.com>
942 When given a textwriter, check to see if it has a
943 null encoding. This was being done for other inputs
946 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
948 * XmlTextReader.cs: rough line/column support.
950 2002-07-23 Duncan Mak <duncan@ximian.com>
952 * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
953 (string, string []) is particularly strange.
955 * XmlException.cs: Remember to call the base serialization
958 * XmlNodeReader.cs: Keep a new variable to store the Depth.
960 2002-07-14 Jason Diamond <jason@injektilo.org>
962 * XmlAttribute.cs: Removed ownerElement field since we can reuse
965 * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
966 if the current node is an attribute.
968 * XmlElement.cs: SetAttributeNode now sets the new attribute's
971 2002-07-12 Jason Diamond <jason@injektilo.org>
973 * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
974 creating an element, use String.Empty instead.
976 2002-07-12 Piers Haken <piersh@friksit.com>
978 * XmlAttributeCollection.cs: implement some ItemOf indexers
979 * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
980 * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
982 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
984 * XmlTextWriter: Fixed Indentation. IndentationOverridden should
985 not be set when inside a attribute.
987 2002-07-06 Ajay kumar Dwivedi <adwiv@yahoo.com>
989 * XmlTextWriter: In WriteStartElement, if namespace is null and
990 prefix is null|empty do not write out xmlns=""
992 * XmlWriter: WriteStartElement calls the virtual method with null
993 argument instead of empty string.
995 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
997 * XmlTextReader.cs: implemented .ctor (Stream).
999 2002-06-26 Duncan Mak <duncan@ximian.com>
1001 * XmlNodeReader.cs: Implementation of most of the properties, and
1002 some of the related methods.
1004 2002-06-23 Piers Haken <piersh@friskit.com>
1006 * XmlDocumentNavigator.cs: implement Clone()
1007 * XmlElement.cs: remove bogus unimplemented override of InnerText
1008 * XmlNode.cs: implment SelectNodes/SelectSingleNode
1009 * XmlNodeArrayList.cs: new support class for SelectNodes
1011 2002-06-21 Ajay kumar Dwivedi <adwiv@yahoo.com>
1013 * XmlQualifiedName: Name and Namespaces are never null. If null is passed
1014 to the constructor, set them to empty strings.
1015 Fixed the Operators.
1017 2002-06-18 Ajay kumar Dwivedi <adwiv@yahoo.com>
1019 * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
1022 2002-06-14 Duncan Mak <duncan@ximian.com>
1024 * XmlConvert.cs: Added CLSCompliant attributes to methods.
1026 2002-06-12 Duncan Mak <duncan@ximian.com>
1028 * XmlCharacterData.cs (Value): Throw an ArgumentException in the
1029 set block if the node is read-only.
1031 2002-06-10 Ajay kumar Dwivedi <adwiv@yahoo.com>
1032 * XmlConstruct.cs : New Internal class with Helper methods for
1033 Checking XmlConstructs
1034 * XmlConvert.cs: Implemented most of the methods
1036 2002-06-08 Duncan Mak <duncan@ximian.com>
1038 * XmlDocument.cs (Load):
1039 Added bits to Load (string) for BaseURI support.
1041 * XmlAttribute.cs (BaseURI):
1042 * XmlDocument.cs (BaseURI):
1043 * XmlEntity.cs (BaseURI): Implemented.
1045 2002-05-27 Jason Diamond <jason@injektilo.org>
1047 * XmlDocumentNavigator.cs: Added file to directory.
1049 * XmlNode.cs (CreateNavigator): Implemented.
1050 (InnerText): Implemented.
1052 * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
1054 (Load(XmlReader)): Allow for namespace qualified attributes.
1056 * XmlElement.cs: Implemented GetAttribute(string, string) and both
1057 GetAttributeNode overloads.
1058 (SetAttributeNode(XmlAttribute)): Implemented.
1060 * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
1061 and RemoveNamedItem(string, string).
1063 * XmlLinkedNode.cs (PreviousSibling): Implemented.
1065 * XmlTextReader.cs: Added code to maintain the order of attributes as
1066 they're parsed. XML doesn't require this but Microsoft's parser does it and
1067 matching them makes testing easier so now we have it, too.
1069 2002-05-26 Miguel de Icaza <miguel@ximian.com>
1071 * XmlDocument.cs: Implement the Save methods.
1073 2002-05-08 Mike Kestner <mkestner@speakeasy.net>
1075 * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
1077 2002-04-28 Duncan Mak <duncan@ximian.com>
1079 * XmlSignificantWhitespace.cs (Value):
1080 * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
1081 block. Added new private method, IsValidWhitespaceChar, for
1084 2002-04-16 Duncan Mak <duncan@ximian.com>
1086 * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
1088 2002-04-12 Duncan Mak <duncan@ximian.com>
1090 * XmlAttribute.cs (Prefix): Added preliminary code for set block,
1091 added comment on work that needs to be done here. A new MonoTODO item.
1093 * XmlDocument.cs (ctor): Corrected constructor signature, changed
1094 parameter from 'NameTable' to 'XmlNameTable'.
1096 * XmlDocumentFragment.cs (InnerXml): Added missing set block.
1098 * XmlCaseOrder.cs: Moved to System.Xml.XPath.
1100 2002-04-10 Duncan Mak <duncan@ximian.com>
1102 * XmlNodeReader.cs: Initial stubs for the class.
1104 2002-04-08 Kral Ferch <kral_ferch@hotmail.com>
1106 * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
1109 * XmlDeclaration.cs: WriteTo implementation.
1111 * XmlDocument.cs: InnerXml getter implementation.
1113 * XmlElement.cs: InnerXml getter implementation.
1115 * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
1117 * XmlSignificantWhitespace.cs: WriteTo implementation.
1119 * XmlText.cs: WriteContentTo and WriteTo implementation.
1121 * XmlTextWriter.cs: WriteRaw implementation.
1123 * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
1125 2002-04-05 Kral Ferch <kral_ferch@hotmail.com>
1127 * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
1128 if prefix in constructor is one of the default ones.
1130 * XmlCharacterData.cs: Returns String.Empty for Value and Data
1131 even when constructed with null.
1133 * XmlDeclaration.cs: Value doesn't put encoding or standalone
1134 in if they are empty.
1136 * XmlDocument.cs: Implemented CreateNode methods and this caused
1137 the changes in the other files in this checkin.
1139 * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
1140 even when constructed with null.
1142 * XmlWhitespace.cs: Changed Value 'get' to return Data.
1144 2002-04-01 Kral Ferch <kral_ferch@hotmail.com>
1146 * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
1148 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
1150 * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
1151 and WriteCharEntity.
1153 * XmlWrite.cs: Fixed bug where attribute namespace decl
1154 was pushing a scope onto the namespace manager when it shouldn't
1157 2002-03-31 Kral Ferch <kral_ferch@hotmail.com>
1159 * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
1160 in different states (no open start element, in WriteState.Content mode).
1162 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
1164 * XmlTextWriter.cs: XmlLang and XmlSpace properties
1165 and WriteWhitespace.
1167 * XmlTextWriterOpenElement.cs: scope support for XmlLang
1170 2002-03-29 Kral Ferch <kral_ferch@hotmail.com>
1172 * XmlTextWriter.cs: Working on Attribute methods.
1174 * XmlWriter.cs: Working on Attribute methods.
1176 2002-03-28 Duncan Mak <duncan@ximian.com>
1178 * XmlDocument.cs (CreateWhitespace):
1179 (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
1182 * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
1184 2002-03-26 Duncan Mak <duncan@ximian.com>
1186 * XmlDocument.cs (CreateDocumentType): Implemented.
1188 * XmlNode.cs (Value): Implemented.
1190 * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
1191 like XmlCharacterData.
1193 * XmlDeclaration.cs (CloneNode):
1194 * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
1197 * XmlCharacterData.cs (InnerText): Implemented. Funny that the
1198 docs say it is the "The concatenated values of the node and all
1199 the children of the node.". I wrote some test programs and
1200 couldn't get any of the derived nodes to AppendChild. For now,
1201 InnerText == Data == Value.
1202 (Substring): Fixed typo.
1204 * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
1206 * XmlImplementation.cs (CreateDocument): Implemented.
1208 2002-03-25 Duncan Mak <duncan@ximian.com>
1210 * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
1211 missing properties (InnerText, Value).
1213 * XmlDocument.cs (CreateXmlDeclaration): Implemented.
1215 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
1217 * XmlTextWriter.cs: Impls for BaseStream and
1218 Namespaces and WriteState.
1220 * XmlWriter.cs: WriteState and WriteStartElementInternal.
1222 2002-03-23 Kral Ferch <kral_ferch@hotmail.com>
1224 * XmlNodeListChildren.cs: made class internal
1225 instead of public. Shouldn't be visible outside
1228 * XmlTextWriter.cs: Implementations for Formatting,
1229 IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
1230 Suppresses encoding on xml declaration if null stream passed in.
1231 Formats output including suppressing indentation for elements in
1234 * XmlTextWriterOpenElement.cs: Initial checkin.
1235 XmlTextWriter uses stack of these objects to track
1238 2002-03-22 Mike Kestner <mkestner@speakeasy.net>
1240 * XmlElement.cs: impl HasAttribute(string name).
1242 2002-03-22 Duncan Mak <duncan@ximian.com>
1244 * XmlElement.cs: Reformatted.
1245 (CloneNode) Corrected.
1247 * XmlDocument.cs (CreateWhitespace):
1248 (CreateSignificantWhitespace): Implemented.
1250 * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
1251 true, because Attributes have ChildNodes.
1253 2002-03-21 Kral Ferch <kral_ferch@hotmail.com>
1255 * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
1256 xml declaration along with encoding. WriteEndElement throws
1257 exception if no WriteStartElement exists.
1259 2002-03-20 Duncan Mak <duncan@ximian.com>
1261 * XmlEntityReference.cs (CloneNode): Implemented.
1263 * XmlException.cs (Message): Implemented. We need to cache the
1264 message string because SystemException doesn't expose 'message'
1267 * XmlText.cs (Value): Added in the missing Value property.
1269 2002-03-20 Duncan Mak <duncan@ximian.com>
1271 * XmlAttribute.cs (CloneNode): Implemented.
1273 * XmlDocumentFragment.cs (CloneNode): Implemented.
1275 * XmlElement.cs (CloneNode): Implemented.
1277 2002-03-19 Duncan Mak <duncan@ximian.com>
1279 * XmlNotation.cs: Added to CVS.
1281 * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
1283 * XmlCDataSection.cs (CloneNode): Implemented.
1285 * XmlDocumentFragment.cs: Reformatted and added the missing properties
1286 (InnerXml, OwnerDocument, ParentNode).
1287 (CloneNode): Implemented.
1289 * XmlSignificantWhitespace.cs (CloneNode): Implemented.
1290 (Value) Implemented the 'get' property.
1292 * XmlWhitespace.cs (Module): implemented.
1294 2002-03-19 Jason Diamond <jason@injektilo.org>
1296 * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
1299 2002-03-18 Jason Diamond <jason@injektilo.org>
1301 * XmlTextReader.cs: Don't restore properties after reading last
1302 attribute on an element.
1304 * XmlDocument.cs: Move back to element after reading attributes
1305 so that IsEmptyElement test succeeds.
1307 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
1309 * XmlNamespaceManager.cs: Implemented LookupPrefix.
1311 * XmlTextWriter.cs: Implemented namespace and prefix support.
1313 2002-03-18 Kral Ferch <kral_ferch@hotmail.com>
1315 * XmlTextReader.cs: Restores properties after
1316 reading last attribute on an element.
1318 * XmlNode.cs: AppendChild sets the parent
1321 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
1323 * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
1325 * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
1327 * XmlElement.cs: Fixed bug in WriteTo.
1329 * XmlProcessingInstruction.cs: Formatting.
1331 * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
1332 fixes for WriteEndElement, WriteProcessingInstruction.
1334 2002-03-17 Kral Ferch <kral_ferch@hotmail.com>
1336 * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
1337 had Load() add PIs to the document, moved onXXX methods to alphabetical
1340 * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
1342 * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
1344 * XmlProcessingInstruction.cs: Implementations for WriteTo() and
1347 * XmlTextWriter.cs: Implementations for WriteEndElement,
1348 WriteProcessingInstruction, WriteStartElement, and WriteString.
1350 * XmlWriter.cs: Implemented WriteStartElement() methods.
1352 2002-03-15 Duncan Mak <duncan@ximian.com>
1354 * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
1355 InnerText once I know what they do.
1357 * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
1358 that we can properly chain constructors.
1359 (CloneNode): implemented.
1360 (WriteContentTo): Removed MonoTODO attribute as this method has no
1361 effect in this class.
1363 * XmlProcessingInstruction.cs (Value): Added the missing Set
1365 (InnerText): Added in, but not implemented.
1367 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
1369 * XmlTextWriter.cs: implemented constructors and
1370 WriteCData and WriteComment.
1372 2002-03-14 Duncan Mak <duncan@ximian.com>
1374 * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
1375 file, and updated the callbacks to reflect the change.
1376 (XmlDocument): Added the NameTable constructor.
1377 (NameTable): Also the NameTable property.
1379 * XmlNodeChangedEventHandler.cs: Added, replacing the version that
1380 was in XmlDocument.cs. It has two arguments now (object,
1381 EventArgs) , instead of one (object).
1383 2002-03-14 Kral Ferch <kral_ferch@hotmail.com>
1385 * XmlWriter.cs: Formatting.
1387 * XmlTextWriter.cs: Initial checkin.
1389 2002-03-14 Duncan Mak <duncan@ximian.com>
1391 * Validation.cs: Removed, replaced by ValidationType.cs.
1393 * ValidationType.cs: Added.
1395 2002-03-13 Duncan Mak <duncan@ximian.com>
1397 * XmlException.cs: Made it [Serializable], implemented good ol'
1398 GetObjectData, and the serialization constructor.
1400 * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
1401 (SetNamedItem): Reverted (added back in) the patch with the
1402 ReadOnly checks. "Don't doubt yourself, my son... you were right!"
1404 * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
1405 (GetNamedItem (string, string)): implemented.
1406 (RemoveNamedItem): implemented.
1407 (SetNamedItem): implemented.
1409 2002-03-12 Kral Ferch <kral_ferch@hotmail.com>
1411 * XmlAttribute.cs: Moved a method from amongst properties down to
1412 it's alphabetical position in the methods section.
1414 * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
1415 last linked child. Set XmlNode base class to return false for IsReadOnly().
1416 Implemented GetEnumerator() and RemoveChild().
1418 * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
1419 This is to support the behavior that the Enumerator doesn't become invalid
1420 when changes to the children occur. Flushed out rest of implementation for
1421 MoveNext, Current, and Reset.
1423 2002-03-12 Duncan Mak <duncan@ximian.com>
1425 * XmlCharacterData.cs: Reformatted the properties for better readability.
1427 * XmlLinkedNode.cs: Removed the awful boxy comments.
1429 * XmlNamedNodeMap.cs (Count):
1430 (Item): Implemented. Tests will be coming.
1432 * XmlEntityReference.cs:
1433 * XmlSignificantWhitespace.cs: Implemented these classes except for
1434 the Clone, WriteContentTo and WriteTo methods. Will have to
1435 investigate into these later.
1437 2002-03-11 Duncan Mak <duncan@ximian.com>
1439 * IHasXmlNode.cs: Added to CVS.
1441 2002-03-08 Jason Diamond <jason@injektilo.org>
1443 * XmlParserContext.cs: Added missing constructors and missing Encoding
1446 * XmlTextReader.cs: Start using the XmlParserContext class.
1448 2002-03-08 Jason Diamond <jason@injektilo.org>
1450 * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
1452 2002-03-08 Mike Kestner <mkestner@speakeasy.net>
1454 * XmlNode.cs (Item): Implemented both indexers.
1456 2002-03-08 Jason Diamond <jason@injektilo.org>
1458 * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
1459 XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
1461 2002-03-08 Jason Diamond <jason@injektilo.org>
1463 * XmlAttribute.cs: Attribute nodes are supposed to store their values
1464 as child nodes so updated to reflect that.
1466 * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
1467 duplicated in XmlDocument and XmlElement into XmlNode so that it
1468 wouldn't have to be duplicated in XmlAttribute, too.
1470 2002-03-08 Kral Ferch <kral_ferch@hotmail.com>
1472 * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
1473 XmlNode.cs: Formatting.
1475 * XmlNodeListChildren.cs: Implementation of XmlNodeList
1476 for XmlNode.ChildNodes property.
1478 * XmlNodeListAsArrayList.cs: Removed file. Using different
1479 data structure (circular list) in XmlNode so this file
1482 * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
1483 bug in setter property of LastLinkedChild so fixed it.
1485 2002-03-06 Jason Diamond <jason@injektilo.org>
1487 * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
1488 We already have a parser in XmlTextReader.
1490 * XmlException.cs: Removed constructor accepting XmlInputSource.
1492 2002-03-06 Kral Ferch <kral_ferch@hotmail.com>
1494 * XmlNode.cs: Rewrote this class from scratch with
1495 MonoToDo attribs and NotImplementedExceptions. Now defines an
1496 internal LastLinkedNode property to aid the new implementation.
1497 XmlNodes only have ref to owner doc and parent nodes now.
1499 * XmlLinkedNode.cs: Added NextLinkedSibling internal property
1500 and ref to next sibling to support walking our circular child
1503 * XmlDocument.cs: Added ref to last child node and overrides
1504 XmlNode's internal LastLinkedChild property to support walking
1505 our circular child node list.
1507 2002-03-02 Kral Ferch <kral_ferch@hotmail.com>
1509 * XmlProcessingInstructions.cs: Class was empty. Implemented
1510 constructor, properties, and CloneNode() method. Put in
1511 MonoToDo attrib for remaining methods.
1513 * XmlComment.cs: Reformatted and put in MonoToDo attribs.
1514 Got rid of helper methods and fields since they were no
1517 * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
1519 * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
1520 XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
1521 Createxxx() methods for those three node types.
1523 2002-03-02 Jason Diamond <jason@injektilo.org>
1525 * XmlDocument.cs: Implemented the remaining CreateElement and
1526 CreateAttribute methods.
1528 * XmlAttribute.cs: Re-implemented.
1530 * XmlElement.cs: Set owner element on attributes. Reformatted.
1532 2002-03-02 Jason Diamond <jason@injektilo.org>
1534 * XmlTextReader.cs: Implemented MoveToNextAttribute().
1536 * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
1537 attributes. Create attribute nodes while loading. Implemented
1538 Load(string) and CreateTextNode().
1540 * XmlCharacterData.cs, XmlText.cs: Re-implemented.
1542 * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
1545 * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
1547 2002-03-02 Mike Kestner <mkestner@speakeasy.net>
1549 * XmlAttribute.cs : Using fix.
1550 * XmlDocument.cs (CreateAttribute(String)): Implement.
1552 2002-03-02 Jason Diamond <jason@injektilo.org>
1554 * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
1557 2002-02-28 Jason Diamond <jason@injektilo.org>
1559 * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
1560 courtesy of Kral Ferch <kral.ferch@hotmail.com>.
1562 2002-02-28 Jason Diamond <jason@injektilo.org>
1564 * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
1565 added missing members and MonoTODO attributes.
1567 * XmlTextReader.cs: Throw XmlException instead of System.Exception.
1569 2002-02-27 Jason Diamond <jason@injektilo.org>
1571 * XmlElement.cs: Reformatted, added missing members and MonoTODO
1574 2002-02-26 Duncan Mak <duncan@ximian.com>
1576 * XmlCDataSection.cs: Initial implementation.
1578 * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
1579 it out. This should (hopefully) be correct.
1581 2002-02-26 Jason Diamond <jason@injektilo.org>
1583 * XmlTextReader.cs: Apparently Microsoft's implementation treats
1584 namespace declarations as attributes so we do now, too.
1586 * XmlNamespaceManager.cs: HasNamespace fixed so that it only
1587 checks the current scope.
1589 2002-02-26 Duncan Mak <duncan@ximian.com>
1591 * XmlDocumentType.cs: Added a few hacks here and there to
1592 temporarily fix the "I broke the build issue".
1594 2002-02-25 Jason Diamond <jason@injektilo.org>
1596 * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
1597 XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
1598 simple test to pass. The existing code is really shitty so I'll
1599 probably start writing tests and refactoring before much else
1602 2002-02-25 Duncan Mak <duncan@ximian.com>
1604 * NameTable.cs: Implemented.
1606 * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
1608 2002-02-24 Duncan Mak <duncan@ximian.com>
1610 * XmlNodeOrder.cs: Added to CVS.
1612 * XmlQualifiedName.cs: Fixed a warning from Equals ().
1614 * XmlTokenizedType.cs: Added to CVS.
1616 * XmlUrlResolver.cs: Added to CVS with one TODO task.
1618 2002-02-23 Duncan Mak <duncan@ximian.com>
1620 * XmlQualifiedName.cs: Fixed ToString () and added the operators
1623 2002-02-23 Jason Diamond <jason@injektilo.org>
1625 * XmlTextReader.cs: Added support for qualified attributes.
1627 2002-02-23 Jason Diamond <jason@injektilo.org>
1629 * XmlNamespaceManager.cs: Initial implementation.
1631 * XmlTextReader.cs: Added support for NamespaceURI property on
1634 2002-02-23 Nick Drochak <ndrochak@gol.com>
1636 * ChangeLog: Add the change log to this directory
1638 * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has