ChangeLog 36 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144
  1. 2002-11-13 Atsushi Enomoto <[email protected]>
  2. XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
  3. XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
  4. XmlCharacterData.cs : exchanged Data and Value
  5. (for processing events and inheritance)
  6. XmlDocumentFragment.cs : set_InnerXml
  7. XmlSignificantWhitespace.cs : set_Value
  8. XmlTextReader.cs : ReadAttributeValue
  9. 2002-11-04 Atsushi Enomoto <[email protected]>
  10. XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
  11. 2002-11-03 Atsushi Enomoto <[email protected]>
  12. * XmlAttributeCollection.cs : checks owner element.
  13. implemented CopyTo, InsertAfter, InsertBefore, Prepend,
  14. Remove, RemoveAt, SetNamedItem.
  15. removed some logics that sets 'Parent' (that should be null)
  16. * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
  17. * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
  18. * XmlElement.cs : implemented WriteTo, set_InnerText.
  19. Fixed WriteTo() to add xmlns:* attributes when
  20. writer.LookupPrefix() returned mismatching.
  21. * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
  22. Removing different prefixes for the same uri now runs correct.
  23. added SetNamedItem(XmlNode node, int position_to_insert).
  24. * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
  25. XmlWhitespace, and XmlSignificantWhitespace
  26. 2002-10-31 Atsushi Enomoto <[email protected]>
  27. * XmlDocument.cs : implemented CreateDocumentFragment()
  28. * XmlElement.cs, XmlLinkedNode.cs :
  29. moved LastLinkedChild from XmlElement to XmlLinkedNode.
  30. * XmlEntityReference.cs : must throw NotImplementedException.
  31. * XmlNode.cs :
  32. + implemented InsertBefore() and then implemented InsertAfter()
  33. and modified AppendChild() to call it.
  34. + added logic to check ReadOnly, parent document equivalence,
  35. and inserting any 'content' before/after DocumentElement.
  36. + implemented Clone() [it is equals to CloneNode() by MS doc.]
  37. + added logic in RemoveChild() to check parent of oldChild.
  38. + fixed ConstructNamespaceManager() to internal only.
  39. 2002-10-29 Atsushi Enomoto <[email protected]>
  40. * XmlAttribute.cs : add internal 'IsDefault' property
  41. (equals to !Specified)
  42. * XmlImplementation.cs : added 'internalNameTable' property.
  43. * XmlDocument.cs :
  44. + now allows "" for 'standalone' in CreateXmlDeclaration.
  45. + implemented 'Implementation' property and constructor with it.
  46. + added logic for appending name table (but still no use)
  47. + implemented property 'DocumentType'
  48. (but without internalSubset parsing. wait for next update.)
  49. * XmlNode.cs :
  50. + modified AppendChild() and RemoveChild() to support fragment.
  51. + modified AppendChild() to remove newChild from its parent
  52. when newChild is already in the other place.
  53. + modified RemoveChild() to set parentNode null.
  54. + modified ConstructDOM() to create DocumentType,
  55. and fixed access modifier ('internal protected' to 'internal')
  56. * XmlLinkedNode.cs : fixed 'NextSibling' to return null
  57. when its parent is null.
  58. * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
  59. property to enable AppendChild() for this class.
  60. * XmlTextReader.cs : appended private publicId and systemId fields.
  61. 2002-10-28 Gonzalo Paniagua Javier <[email protected]>
  62. * XmlTextReader.cs: make it work when the underlying Stream is not
  63. 'seekable'.
  64. 2002-10-26 Piers Haken <[email protected]>
  65. * XmlNode.cs: add virtual property XPathNodeType
  66. * XmlAttribute.cs:
  67. * XmlComment.cs:
  68. * XmlDocument.cs:
  69. * XmlElement.cs::
  70. * XmlProcessingInstruction.cs:
  71. * XmlSignificantWhitespace.cs:
  72. * XmlText.cs:
  73. * XmlWhitespace.cs: implement XPathNodeType property
  74. * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
  75. 2002-10-26 Piers Haken <[email protected]>
  76. * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
  77. 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
  78. * XmlTextReader.cs: don't increment depth for entity references.
  79. 2002-10-22 Tim Haynes <[email protected]>
  80. * - Fixed the duplication of xmlns:xx = yy when serializing the
  81. XML for serialization
  82. Fixed the unnecessary parsing/serializing when adding assemblies
  83. for serialization
  84. Avoided setting the XmlNode.InnerXml property
  85. (as it's not implemented)
  86. Fixed the usage/implementation of
  87. XmlElement.GetElementsByTagName()
  88. 2002-10-21 Duncan Mak <[email protected]>
  89. * XmlDocument.cs:
  90. * XmlElement.cs:
  91. * XmlNode.cs:
  92. * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
  93. Atsushi Enomoto <[email protected]>.
  94. 2002-10-18 Duncan Mak <[email protected]>
  95. * XmlDocument.cs: Applied a patch by Atsushi Enomoto
  96. <[email protected]>.
  97. 2002-10-12 A.Enomoto <[email protected]>
  98. * XmlDocument.cs (ImportNode): Implemented
  99. 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
  100. * XmlDocument.cs: one more Load method implemented.
  101. * XmlTextReader.cs: Depth now works.
  102. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  103. * XmlConvert.cs: IsInvalid is now internal.
  104. * XmlNamespaceManager.cs: implemented RemoveNamespace
  105. * XmlTextReader.cs: return BaseURI and Encoding from the parser.
  106. * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
  107. 2002-09-19 Matt Hunter <[email protected]>
  108. * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
  109. * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
  110. 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
  111. * XmlConvert.cs: finished implementation.
  112. * XmlTextReader.cs: fixed #30239.
  113. * XmlTextWriter.cs: fixed #30240.
  114. 2002-09-15 Gonzalo Paniagua Javier <[email protected]>
  115. * XmlTextReader.cs: line and position begin with 1.
  116. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  117. * XmlException.cs: added a new internal constructor for IXmlLineInfo
  118. and output line and position info in Message.
  119. * XmlReader.cs: implemented missing bits.
  120. 2002-09-12 Piers Haken <[email protected]>
  121. * XmlDocumentNavigator.cs: implement MoveToId()
  122. 2002-09-05 Gonzalo Paniagua Javier <[email protected]>
  123. * XmlTextWriter.cs: fixed bug #29886.
  124. 2002-08-26 Ravi Pratap <[email protected]>
  125. * XmlAttribute.cs (InnerText): Implement getting this property.
  126. * XmlNode.cs (InnerText): Ensure that we append only values of
  127. text nodes.
  128. 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
  129. * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
  130. that allowed compiling this.
  131. [ FIXME: filed bug #29435. mcs should have failed on this ]
  132. 2002-08-25 Tim Coleman <[email protected]>
  133. * XmlNode.cs:
  134. Change CreateNavigator to not be virtual.
  135. * XmlElement.cs:
  136. Add set_Prefix and InnerText accessors.
  137. * XmlEntityReference.cs:
  138. Add set_Value accessor.
  139. * XmlTextWriter.cs:
  140. Make objects which should be private private.
  141. * XmlWriter.cs:
  142. Remove WriteStartElementInternal abstract definition.
  143. * XmlValidatingReader.cs:
  144. New stubs added.
  145. 2002-08-22 Jason Diamond <[email protected]>
  146. * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
  147. and RemoveAllAttributes courtesy of Matt Hunter <[email protected]>.
  148. 2002-08-22 Jason Diamond <[email protected]>
  149. * XmlElement.cs: Correction to previous GetElementsByTagName patch
  150. courtesy of Matt Hunter <[email protected]>.
  151. 2002-08-22 Jason Diamond <[email protected]>
  152. * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
  153. qualified GetElementsByTagName courtesy of Matt Hunter
  154. <[email protected]>.
  155. 2002-08-19 Jason Diamond <[email protected]>
  156. * XmlDocument.cs, XmlElement.cs: Added implementation of
  157. GetElementsByTagName courtesy of Matt Hunter <[email protected]>.
  158. 2002-08-16 Jason Diamond <[email protected]>
  159. * XmlElement.cs: Fixed writing out qualified elements courtesy of
  160. Marcus Bürgel <[email protected]>.
  161. 2002-08-13 Tim Coleman <[email protected]>
  162. * XmlTextWriter.cs:
  163. Partial implementation of WriteQualifiedName ().
  164. 2002-08-07 Kral Ferch <[email protected]>
  165. * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
  166. InsertData(), and ReplaceData(). These methods fire the
  167. NodeChanging and NodeChanged events.
  168. * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
  169. * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
  170. RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
  171. 2002-08-03 Tim Coleman <[email protected]>
  172. * XmlNamespaceManager.cs:
  173. .Net allows the empty namespace to be redefined
  174. at a later point, but the current implementation
  175. did not. This fixes a hashtable conflict.
  176. 2002-07-26 Tim Coleman <[email protected]>
  177. * XmlTextWriter.cs:
  178. When given a textwriter, check to see if it has a
  179. null encoding. This was being done for other inputs
  180. than a textwriter.
  181. Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <[email protected]>
  182. * XmlTextReader.cs: rough line/column support.
  183. 2002-07-23 Duncan Mak <[email protected]>
  184. * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
  185. (string, string []) is particularly strange.
  186. * XmlException.cs: Remember to call the base serialization
  187. constructor.
  188. * XmlNodeReader.cs: Keep a new variable to store the Depth.
  189. 2002-07-14 Jason Diamond <[email protected]>
  190. * XmlAttribute.cs: Removed ownerElement field since we can reuse
  191. parentNode field.
  192. * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
  193. if the current node is an attribute.
  194. * XmlElement.cs: SetAttributeNode now sets the new attribute's
  195. owner element.
  196. 2002-07-12 Jason Diamond <[email protected]>
  197. * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
  198. creating an element, use String.Empty instead.
  199. 2002-07-12 Piers Haken <[email protected]>
  200. * XmlAttributeCollection.cs: implement some ItemOf indexers
  201. * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
  202. * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
  203. 2002-07-06 Ajay kumar Dwivedi <[email protected]>
  204. 2002-10-26 Piers Haken <[email protected]>
  205. * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
  206. 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
  207. * XmlTextReader.cs: don't increment depth for entity references.
  208. 2002-10-22 Tim Haynes <[email protected]>
  209. * - Fixed the duplication of xmlns:xx = yy when serializing the
  210. XML for serialization
  211. Fixed the unnecessary parsing/serializing when adding assemblies
  212. for serialization
  213. Avoided setting the XmlNode.InnerXml property
  214. (as it's not implemented)
  215. Fixed the usage/implementation of
  216. XmlElement.GetElementsByTagName()
  217. 2002-10-21 Duncan Mak <[email protected]>
  218. * XmlDocument.cs:
  219. * XmlElement.cs:
  220. * XmlNode.cs:
  221. * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
  222. Atsushi Enomoto <[email protected]>.
  223. 2002-10-18 Duncan Mak <[email protected]>
  224. * XmlDocument.cs: Applied a patch by Atsushi Enomoto
  225. <[email protected]>.
  226. 2002-10-12 A.Enomoto <[email protected]>
  227. * XmlDocument.cs (ImportNode): Implemented
  228. 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
  229. * XmlDocument.cs: one more Load method implemented.
  230. * XmlTextReader.cs: Depth now works.
  231. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  232. * XmlConvert.cs: IsInvalid is now internal.
  233. * XmlNamespaceManager.cs: implemented RemoveNamespace
  234. * XmlTextReader.cs: return BaseURI and Encoding from the parser.
  235. * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
  236. 2002-09-19 Matt Hunter <[email protected]>
  237. * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
  238. * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
  239. 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
  240. * XmlConvert.cs: finished implementation.
  241. * XmlTextReader.cs: fixed #30239.
  242. * XmlTextWriter.cs: fixed #30240.
  243. 2002-09-15 Gonzalo Paniagua Javier <[email protected]>
  244. * XmlTextReader.cs: line and position begin with 1.
  245. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  246. * XmlException.cs: added a new internal constructor for IXmlLineInfo
  247. and output line and position info in Message.
  248. * XmlReader.cs: implemented missing bits.
  249. 2002-09-12 Piers Haken <[email protected]>
  250. * XmlDocumentNavigator.cs: implement MoveToId()
  251. 2002-09-05 Gonzalo Paniagua Javier <[email protected]>
  252. * XmlTextWriter.cs: fixed bug #29886.
  253. 2002-08-26 Ravi Pratap <[email protected]>
  254. * XmlAttribute.cs (InnerText): Implement getting this property.
  255. * XmlNode.cs (InnerText): Ensure that we append only values of
  256. text nodes.
  257. 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
  258. * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
  259. that allowed compiling this.
  260. [ FIXME: filed bug #29435. mcs should have failed on this ]
  261. 2002-08-25 Tim Coleman <[email protected]>
  262. * XmlNode.cs:
  263. Change CreateNavigator to not be virtual.
  264. * XmlElement.cs:
  265. Add set_Prefix and InnerText accessors.
  266. * XmlEntityReference.cs:
  267. Add set_Value accessor.
  268. * XmlTextWriter.cs:
  269. Make objects which should be private private.
  270. * XmlWriter.cs:
  271. Remove WriteStartElementInternal abstract definition.
  272. * XmlValidatingReader.cs:
  273. New stubs added.
  274. 2002-08-22 Jason Diamond <[email protected]>
  275. * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
  276. and RemoveAllAttributes courtesy of Matt Hunter <[email protected]>.
  277. 2002-08-22 Jason Diamond <[email protected]>
  278. * XmlElement.cs: Correction to previous GetElementsByTagName patch
  279. courtesy of Matt Hunter <[email protected]>.
  280. 2002-08-22 Jason Diamond <[email protected]>
  281. * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
  282. qualified GetElementsByTagName courtesy of Matt Hunter
  283. <[email protected]>.
  284. 2002-08-19 Jason Diamond <[email protected]>
  285. * XmlDocument.cs, XmlElement.cs: Added implementation of
  286. GetElementsByTagName courtesy of Matt Hunter <[email protected]>.
  287. 2002-08-16 Jason Diamond <[email protected]>
  288. * XmlElement.cs: Fixed writing out qualified elements courtesy of
  289. Marcus Bürgel <[email protected]>.
  290. 2002-08-13 Tim Coleman <[email protected]>
  291. * XmlTextWriter.cs:
  292. Partial implementation of WriteQualifiedName ().
  293. 2002-08-07 Kral Ferch <[email protected]>
  294. * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
  295. InsertData(), and ReplaceData(). These methods fire the
  296. NodeChanging and NodeChanged events.
  297. * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
  298. * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
  299. RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
  300. 2002-08-03 Tim Coleman <[email protected]>
  301. * XmlNamespaceManager.cs:
  302. .Net allows the empty namespace to be redefined
  303. at a later point, but the current implementation
  304. did not. This fixes a hashtable conflict.
  305. 2002-07-26 Tim Coleman <[email protected]>
  306. * XmlTextWriter.cs:
  307. When given a textwriter, check to see if it has a
  308. null encoding. This was being done for other inputs
  309. than a textwriter.
  310. Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <[email protected]>
  311. * XmlTextReader.cs: rough line/column support.
  312. 2002-07-23 Duncan Mak <[email protected]>
  313. * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
  314. (string, string []) is particularly strange.
  315. * XmlException.cs: Remember to call the base serialization
  316. constructor.
  317. * XmlNodeReader.cs: Keep a new variable to store the Depth.
  318. 2002-07-14 Jason Diamond <[email protected]>
  319. * XmlAttribute.cs: Removed ownerElement field since we can reuse
  320. parentNode field.
  321. * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
  322. if the current node is an attribute.
  323. * XmlElement.cs: SetAttributeNode now sets the new attribute's
  324. owner element.
  325. 2002-07-12 Jason Diamond <[email protected]>
  326. * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
  327. creating an element, use String.Empty instead.
  328. 2002-07-12 Piers Haken <[email protected]>
  329. * XmlAttributeCollection.cs: implement some ItemOf indexers
  330. * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
  331. * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
  332. 2002-07-06 Ajay kumar Dwivedi <[email protected]>
  333. * XmlTextWriter: Fixed Indentation. IndentationOverridden should
  334. not be set when inside a attribute.
  335. 2002-07-06 Ajay kumar Dwivedi <[email protected]>
  336. * XmlTextWriter: In WriteStartElement, if namespace is null and
  337. prefix is null|empty do not write out xmlns=""
  338. * XmlWriter: WriteStartElement calls the virtual method with null
  339. argument instead of empty string.
  340. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  341. * XmlTextReader.cs: implemented .ctor (Stream).
  342. 2002-06-26 Duncan Mak <[email protected]>
  343. * XmlNodeReader.cs: Implementation of most of the properties, and
  344. some of the related methods.
  345. 2002-06-23 Piers Haken <[email protected]>
  346. * XmlDocumentNavigator.cs: implement Clone()
  347. * XmlElement.cs: remove bogus unimplemented override of InnerText
  348. * XmlNode.cs: implment SelectNodes/SelectSingleNode
  349. * XmlNodeArrayList.cs: new support class for SelectNodes
  350. 2002-06-21 Ajay kumar Dwivedi <[email protected]>
  351. * XmlQualifiedName: Name and Namespaces are never null. If null is passed
  352. to the constructor, set them to empty strings.
  353. Fixed the Operators.
  354. 2002-06-18 Ajay kumar Dwivedi <[email protected]>
  355. * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
  356. Exception.
  357. 2002-06-14 Duncan Mak <[email protected]>
  358. * XmlConvert.cs: Added CLSCompliant attributes to methods.
  359. 2002-06-12 Duncan Mak <[email protected]>
  360. * XmlCharacterData.cs (Value): Throw an ArgumentException in the
  361. set block if the node is read-only.
  362. 2002-06-10 Ajay kumar Dwivedi <[email protected]>
  363. * XmlConstruct.cs : New Internal class with Helper methods for
  364. Checking XmlConstructs
  365. * XmlConvert.cs: Implemented most of the methods
  366. 2002-06-08 Duncan Mak <[email protected]>
  367. * XmlDocument.cs (Load):
  368. Added bits to Load (string) for BaseURI support.
  369. * XmlAttribute.cs (BaseURI):
  370. * XmlDocument.cs (BaseURI):
  371. * XmlEntity.cs (BaseURI): Implemented.
  372. 2002-05-27 Jason Diamond <[email protected]>
  373. * XmlDocumentNavigator.cs: Added file to directory.
  374. * XmlNode.cs (CreateNavigator): Implemented.
  375. (InnerText): Implemented.
  376. * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
  377. throwing exception.
  378. (Load(XmlReader)): Allow for namespace qualified attributes.
  379. * XmlElement.cs: Implemented GetAttribute(string, string) and both
  380. GetAttributeNode overloads.
  381. (SetAttributeNode(XmlAttribute)): Implemented.
  382. * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
  383. and RemoveNamedItem(string, string).
  384. * XmlLinkedNode.cs (PreviousSibling): Implemented.
  385. * XmlTextReader.cs: Added code to maintain the order of attributes as
  386. they're parsed. XML doesn't require this but Microsoft's parser does it and
  387. matching them makes testing easier so now we have it, too.
  388. 2002-05-26 Miguel de Icaza <[email protected]>
  389. * XmlDocument.cs: Implement the Save methods.
  390. 2002-05-08 Mike Kestner <[email protected]>
  391. * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
  392. 2002-04-28 Duncan Mak <[email protected]>
  393. * XmlSignificantWhitespace.cs (Value):
  394. * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
  395. block. Added new private method, IsValidWhitespaceChar, for
  396. checking.
  397. 2002-04-16 Duncan Mak <[email protected]>
  398. * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
  399. 2002-04-12 Duncan Mak <[email protected]>
  400. * XmlAttribute.cs (Prefix): Added preliminary code for set block,
  401. added comment on work that needs to be done here. A new MonoTODO item.
  402. * XmlDocument.cs (ctor): Corrected constructor signature, changed
  403. parameter from 'NameTable' to 'XmlNameTable'.
  404. * XmlDocumentFragment.cs (InnerXml): Added missing set block.
  405. * XmlCaseOrder.cs: Moved to System.Xml.XPath.
  406. 2002-04-10 Duncan Mak <[email protected]>
  407. * XmlNodeReader.cs: Initial stubs for the class.
  408. 2002-04-08 Kral Ferch <[email protected]>
  409. * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
  410. implementations.
  411. * XmlDeclaration.cs: WriteTo implementation.
  412. * XmlDocument.cs: InnerXml getter implementation.
  413. * XmlElement.cs: InnerXml getter implementation.
  414. * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
  415. * XmlSignificantWhitespace.cs: WriteTo implementation.
  416. * XmlText.cs: WriteContentTo and WriteTo implementation.
  417. * XmlTextWriter.cs: WriteRaw implementation.
  418. * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
  419. 2002-04-05 Kral Ferch <[email protected]>
  420. * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
  421. if prefix in constructor is one of the default ones.
  422. * XmlCharacterData.cs: Returns String.Empty for Value and Data
  423. even when constructed with null.
  424. * XmlDeclaration.cs: Value doesn't put encoding or standalone
  425. in if they are empty.
  426. * XmlDocument.cs: Implemented CreateNode methods and this caused
  427. the changes in the other files in this checkin.
  428. * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
  429. even when constructed with null.
  430. * XmlWhitespace.cs: Changed Value 'get' to return Data.
  431. 2002-04-01 Kral Ferch <[email protected]>
  432. * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
  433. 2002-03-31 Kral Ferch <[email protected]>
  434. * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
  435. and WriteCharEntity.
  436. * XmlWrite.cs: Fixed bug where attribute namespace decl
  437. was pushing a scope onto the namespace manager when it shouldn't
  438. have been.
  439. 2002-03-31 Kral Ferch <[email protected]>
  440. * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
  441. in different states (no open start element, in WriteState.Content mode).
  442. 2002-03-29 Kral Ferch <[email protected]>
  443. * XmlTextWriter.cs: XmlLang and XmlSpace properties
  444. and WriteWhitespace.
  445. * XmlTextWriterOpenElement.cs: scope support for XmlLang
  446. and XmlSpace.
  447. 2002-03-29 Kral Ferch <[email protected]>
  448. * XmlTextWriter.cs: Working on Attribute methods.
  449. * XmlWriter.cs: Working on Attribute methods.
  450. 2002-03-28 Duncan Mak <[email protected]>
  451. * XmlDocument.cs (CreateWhitespace):
  452. (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
  453. method.
  454. * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
  455. 2002-03-26 Duncan Mak <[email protected]>
  456. * XmlDocument.cs (CreateDocumentType): Implemented.
  457. * XmlNode.cs (Value): Implemented.
  458. * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
  459. like XmlCharacterData.
  460. * XmlDeclaration.cs (CloneNode):
  461. * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
  462. arguments.
  463. * XmlCharacterData.cs (InnerText): Implemented. Funny that the
  464. docs say it is the "The concatenated values of the node and all
  465. the children of the node.". I wrote some test programs and
  466. couldn't get any of the derived nodes to AppendChild. For now,
  467. InnerText == Data == Value.
  468. (Substring): Fixed typo.
  469. * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
  470. * XmlImplementation.cs (CreateDocument): Implemented.
  471. 2002-03-25 Duncan Mak <[email protected]>
  472. * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
  473. missing properties (InnerText, Value).
  474. * XmlDocument.cs (CreateXmlDeclaration): Implemented.
  475. 2002-03-23 Kral Ferch <[email protected]>
  476. * XmlTextWriter.cs: Impls for BaseStream and
  477. Namespaces and WriteState.
  478. * XmlWriter.cs: WriteState and WriteStartElementInternal.
  479. 2002-03-23 Kral Ferch <[email protected]>
  480. * XmlNodeListChildren.cs: made class internal
  481. instead of public. Shouldn't be visible outside
  482. of System.Xml.
  483. * XmlTextWriter.cs: Implementations for Formatting,
  484. IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
  485. Suppresses encoding on xml declaration if null stream passed in.
  486. Formats output including suppressing indentation for elements in
  487. mixed content mode.
  488. * XmlTextWriterOpenElement.cs: Initial checkin.
  489. XmlTextWriter uses stack of these objects to track
  490. state.
  491. 2002-03-22 Mike Kestner <[email protected]>
  492. * XmlElement.cs: impl HasAttribute(string name).
  493. 2002-03-22 Duncan Mak <[email protected]>
  494. * XmlElement.cs: Reformatted.
  495. (CloneNode) Corrected.
  496. * XmlDocument.cs (CreateWhitespace):
  497. (CreateSignificantWhitespace): Implemented.
  498. * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
  499. true, because Attributes have ChildNodes.
  500. 2002-03-21 Kral Ferch <[email protected]>
  501. * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
  502. xml declaration along with encoding. WriteEndElement throws
  503. exception if no WriteStartElement exists.
  504. 2002-03-20 Duncan Mak <[email protected]>
  505. * XmlEntityReference.cs (CloneNode): Implemented.
  506. * XmlException.cs (Message): Implemented. We need to cache the
  507. message string because SystemException doesn't expose 'message'
  508. from Exception.
  509. * XmlText.cs (Value): Added in the missing Value property.
  510. 2002-03-20 Duncan Mak <[email protected]>
  511. * XmlAttribute.cs (CloneNode): Implemented.
  512. * XmlDocumentFragment.cs (CloneNode): Implemented.
  513. * XmlElement.cs (CloneNode): Implemented.
  514. 2002-03-19 Duncan Mak <[email protected]>
  515. * XmlNotation.cs: Added to CVS.
  516. * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
  517. * XmlCDataSection.cs (CloneNode): Implemented.
  518. * XmlDocumentFragment.cs: Reformatted and added the missing properties
  519. (InnerXml, OwnerDocument, ParentNode).
  520. (CloneNode): Implemented.
  521. * XmlSignificantWhitespace.cs (CloneNode): Implemented.
  522. (Value) Implemented the 'get' property.
  523. * XmlWhitespace.cs (Module): implemented.
  524. 2002-03-19 Jason Diamond <[email protected]>
  525. * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
  526. in the prefix.
  527. 2002-03-18 Jason Diamond <[email protected]>
  528. * XmlTextReader.cs: Don't restore properties after reading last
  529. attribute on an element.
  530. * XmlDocument.cs: Move back to element after reading attributes
  531. so that IsEmptyElement test succeeds.
  532. 2002-03-18 Kral Ferch <[email protected]>
  533. * XmlNamespaceManager.cs: Implemented LookupPrefix.
  534. * XmlTextWriter.cs: Implemented namespace and prefix support.
  535. 2002-03-18 Kral Ferch <[email protected]>
  536. * XmlTextReader.cs: Restores properties after
  537. reading last attribute on an element.
  538. * XmlNode.cs: AppendChild sets the parent
  539. on the child.
  540. 2002-03-17 Kral Ferch <[email protected]>
  541. * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
  542. * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
  543. * XmlElement.cs: Fixed bug in WriteTo.
  544. * XmlProcessingInstruction.cs: Formatting.
  545. * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
  546. fixes for WriteEndElement, WriteProcessingInstruction.
  547. 2002-03-17 Kral Ferch <[email protected]>
  548. * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
  549. had Load() add PIs to the document, moved onXXX methods to alphabetical
  550. order in the file.
  551. * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
  552. * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
  553. * XmlProcessingInstruction.cs: Implementations for WriteTo() and
  554. WriteContentTo().
  555. * XmlTextWriter.cs: Implementations for WriteEndElement,
  556. WriteProcessingInstruction, WriteStartElement, and WriteString.
  557. * XmlWriter.cs: Implemented WriteStartElement() methods.
  558. 2002-03-15 Duncan Mak <[email protected]>
  559. * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
  560. InnerText once I know what they do.
  561. * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
  562. that we can properly chain constructors.
  563. (CloneNode): implemented.
  564. (WriteContentTo): Removed MonoTODO attribute as this method has no
  565. effect in this class.
  566. * XmlProcessingInstruction.cs (Value): Added the missing Set
  567. block.
  568. (InnerText): Added in, but not implemented.
  569. 2002-03-14 Kral Ferch <[email protected]>
  570. * XmlTextWriter.cs: implemented constructors and
  571. WriteCData and WriteComment.
  572. 2002-03-14 Duncan Mak <[email protected]>
  573. * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
  574. file, and updated the callbacks to reflect the change.
  575. (XmlDocument): Added the NameTable constructor.
  576. (NameTable): Also the NameTable property.
  577. * XmlNodeChangedEventHandler.cs: Added, replacing the version that
  578. was in XmlDocument.cs. It has two arguments now (object,
  579. EventArgs) , instead of one (object).
  580. 2002-03-14 Kral Ferch <[email protected]>
  581. * XmlWriter.cs: Formatting.
  582. * XmlTextWriter.cs: Initial checkin.
  583. 2002-03-14 Duncan Mak <[email protected]>
  584. * Validation.cs: Removed, replaced by ValidationType.cs.
  585. * ValidationType.cs: Added.
  586. 2002-03-13 Duncan Mak <[email protected]>
  587. * XmlException.cs: Made it [Serializable], implemented good ol'
  588. GetObjectData, and the serialization constructor.
  589. * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
  590. (SetNamedItem): Reverted (added back in) the patch with the
  591. ReadOnly checks. "Don't doubt yourself, my son... you were right!"
  592. * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
  593. (GetNamedItem (string, string)): implemented.
  594. (RemoveNamedItem): implemented.
  595. (SetNamedItem): implemented.
  596. 2002-03-12 Kral Ferch <[email protected]>
  597. * XmlAttribute.cs: Moved a method from amongst properties down to
  598. it's alphabetical position in the methods section.
  599. * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
  600. last linked child. Set XmlNode base class to return false for IsReadOnly().
  601. Implemented GetEnumerator() and RemoveChild().
  602. * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
  603. This is to support the behavior that the Enumerator doesn't become invalid
  604. when changes to the children occur. Flushed out rest of implementation for
  605. MoveNext, Current, and Reset.
  606. 2002-03-12 Duncan Mak <[email protected]>
  607. * XmlCharacterData.cs: Reformatted the properties for better readability.
  608. * XmlLinkedNode.cs: Removed the awful boxy comments.
  609. * XmlNamedNodeMap.cs (Count):
  610. (Item): Implemented. Tests will be coming.
  611. * XmlEntityReference.cs:
  612. * XmlSignificantWhitespace.cs: Implemented these classes except for
  613. the Clone, WriteContentTo and WriteTo methods. Will have to
  614. investigate into these later.
  615. 2002-03-11 Duncan Mak <[email protected]>
  616. * IHasXmlNode.cs: Added to CVS.
  617. 2002-03-08 Jason Diamond <[email protected]>
  618. * XmlParserContext.cs: Added missing constructors and missing Encoding
  619. property.
  620. * XmlTextReader.cs: Start using the XmlParserContext class.
  621. 2002-03-08 Jason Diamond <[email protected]>
  622. * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
  623. 2002-03-08 Mike Kestner <[email protected]>
  624. * XmlNode.cs (Item): Implemented both indexers.
  625. 2002-03-08 Jason Diamond <[email protected]>
  626. * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
  627. XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
  628. 2002-03-08 Jason Diamond <[email protected]>
  629. * XmlAttribute.cs: Attribute nodes are supposed to store their values
  630. as child nodes so updated to reflect that.
  631. * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
  632. duplicated in XmlDocument and XmlElement into XmlNode so that it
  633. wouldn't have to be duplicated in XmlAttribute, too.
  634. 2002-03-08 Kral Ferch <[email protected]>
  635. * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
  636. XmlNode.cs: Formatting.
  637. * XmlNodeListChildren.cs: Implementation of XmlNodeList
  638. for XmlNode.ChildNodes property.
  639. * XmlNodeListAsArrayList.cs: Removed file. Using different
  640. data structure (circular list) in XmlNode so this file
  641. is no longer valid.
  642. * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
  643. bug in setter property of LastLinkedChild so fixed it.
  644. 2002-03-06 Jason Diamond <[email protected]>
  645. * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
  646. We already have a parser in XmlTextReader.
  647. * XmlException.cs: Removed constructor accepting XmlInputSource.
  648. 2002-03-06 Kral Ferch <[email protected]>
  649. * XmlNode.cs: Rewrote this class from scratch with
  650. MonoToDo attribs and NotImplementedExceptions. Now defines an
  651. internal LastLinkedNode property to aid the new implementation.
  652. XmlNodes only have ref to owner doc and parent nodes now.
  653. * XmlLinkedNode.cs: Added NextLinkedSibling internal property
  654. and ref to next sibling to support walking our circular child
  655. node list.
  656. * XmlDocument.cs: Added ref to last child node and overrides
  657. XmlNode's internal LastLinkedChild property to support walking
  658. our circular child node list.
  659. 2002-03-02 Kral Ferch <[email protected]>
  660. * XmlProcessingInstructions.cs: Class was empty. Implemented
  661. constructor, properties, and CloneNode() method. Put in
  662. MonoToDo attrib for remaining methods.
  663. * XmlComment.cs: Reformatted and put in MonoToDo attribs.
  664. Got rid of helper methods and fields since they were no
  665. longer needed.
  666. * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
  667. * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
  668. XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
  669. Createxxx() methods for those three node types.
  670. 2002-03-02 Jason Diamond <[email protected]>
  671. * XmlDocument.cs: Implemented the remaining CreateElement and
  672. CreateAttribute methods.
  673. * XmlAttribute.cs: Re-implemented.
  674. * XmlElement.cs: Set owner element on attributes. Reformatted.
  675. 2002-03-02 Jason Diamond <[email protected]>
  676. * XmlTextReader.cs: Implemented MoveToNextAttribute().
  677. * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
  678. attributes. Create attribute nodes while loading. Implemented
  679. Load(string) and CreateTextNode().
  680. * XmlCharacterData.cs, XmlText.cs: Re-implemented.
  681. * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
  682. XmlCharacterData.
  683. * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
  684. 2002-03-02 Mike Kestner <[email protected]>
  685. * XmlAttribute.cs : Using fix.
  686. * XmlDocument.cs (CreateAttribute(String)): Implement.
  687. 2002-03-02 Jason Diamond <[email protected]>
  688. * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
  689. the name table.
  690. 2002-02-28 Jason Diamond <[email protected]>
  691. * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
  692. courtesy of Kral Ferch <[email protected]>.
  693. 2002-02-28 Jason Diamond <[email protected]>
  694. * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
  695. added missing members and MonoTODO attributes.
  696. * XmlTextReader.cs: Throw XmlException instead of System.Exception.
  697. 2002-02-27 Jason Diamond <[email protected]>
  698. * XmlElement.cs: Reformatted, added missing members and MonoTODO
  699. attributes.
  700. 2002-02-26 Duncan Mak <[email protected]>
  701. * XmlCDataSection.cs: Initial implementation.
  702. * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
  703. it out. This should (hopefully) be correct.
  704. 2002-02-26 Jason Diamond <[email protected]>
  705. * XmlTextReader.cs: Apparently Microsoft's implementation treats
  706. namespace declarations as attributes so we do now, too.
  707. * XmlNamespaceManager.cs: HasNamespace fixed so that it only
  708. checks the current scope.
  709. 2002-02-26 Duncan Mak <[email protected]>
  710. * XmlDocumentType.cs: Added a few hacks here and there to
  711. temporarily fix the "I broke the build issue".
  712. 2002-02-25 Jason Diamond <[email protected]>
  713. * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
  714. XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
  715. simple test to pass. The existing code is really shitty so I'll
  716. probably start writing tests and refactoring before much else
  717. can get done.
  718. 2002-02-25 Duncan Mak <[email protected]>
  719. * NameTable.cs: Implemented.
  720. * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
  721. 2002-02-24 Duncan Mak <[email protected]>
  722. * XmlNodeOrder.cs: Added to CVS.
  723. * XmlQualifiedName.cs: Fixed a warning from Equals ().
  724. * XmlTokenizedType.cs: Added to CVS.
  725. * XmlUrlResolver.cs: Added to CVS with one TODO task.
  726. 2002-02-23 Duncan Mak <[email protected]>
  727. * XmlQualifiedName.cs: Fixed ToString () and added the operators
  728. (== and !=).
  729. 2002-02-23 Jason Diamond <[email protected]>
  730. * XmlTextReader.cs: Added support for qualified attributes.
  731. 2002-02-23 Jason Diamond <[email protected]>
  732. * XmlNamespaceManager.cs: Initial implementation.
  733. * XmlTextReader.cs: Added support for NamespaceURI property on
  734. elements.
  735. 2002-02-23 Nick Drochak <[email protected]>
  736. * ChangeLog: Add the change log to this directory
  737. * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
  738. MonoTODO's