ChangeLog 67 KB

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