ChangeLog 37 KB

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