ChangeLog 37 KB

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