ChangeLog 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615
  1. 2002-06-12 Duncan Mak <[email protected]>
  2. * XmlCharacterData.cs (Value): Throw an ArgumentException if the
  3. node is read-only.
  4. 2002-06-10 Ajay kumar Dwivedi <[email protected]>
  5. * XmlConstruct.cs : New Internal class with Helper methods for
  6. Checking XmlConstructs
  7. * XmlConvert.cs: Implemented most of the methods
  8. 2002-06-08 Duncan Mak <[email protected]>
  9. * XmlDocument.cs (Load):
  10. Added bits to Load (string) for BaseURI support.
  11. * XmlAttribute.cs (BaseURI):
  12. * XmlDocument.cs (BaseURI):
  13. * XmlEntity.cs (BaseURI): Implemented.
  14. 2002-05-27 Jason Diamond <[email protected]>
  15. * XmlDocumentNavigator.cs: Added file to directory.
  16. * XmlNode.cs (CreateNavigator): Implemented.
  17. (InnerText): Implemented.
  18. * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
  19. throwing exception.
  20. (Load(XmlReader)): Allow for namespace qualified attributes.
  21. * XmlElement.cs: Implemented GetAttribute(string, string) and both
  22. GetAttributeNode overloads.
  23. (SetAttributeNode(XmlAttribute)): Implemented.
  24. * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
  25. and RemoveNamedItem(string, string).
  26. * XmlLinkedNode.cs (PreviousSibling): Implemented.
  27. * XmlTextReader.cs: Added code to maintain the order of attributes as
  28. they're parsed. XML doesn't require this but Microsoft's parser does it and
  29. matching them makes testing easier so now we have it, too.
  30. 2002-05-26 Miguel de Icaza <[email protected]>
  31. * XmlDocument.cs: Implement the Save methods.
  32. 2002-05-08 Mike Kestner <[email protected]>
  33. * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
  34. 2002-04-28 Duncan Mak <[email protected]>
  35. * XmlSignificantWhitespace.cs (Value):
  36. * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
  37. block. Added new private method, IsValidWhitespaceChar, for
  38. checking.
  39. 2002-04-16 Duncan Mak <[email protected]>
  40. * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
  41. 2002-04-12 Duncan Mak <[email protected]>
  42. * XmlAttribute.cs (Prefix): Added preliminary code for set block,
  43. added comment on work that needs to be done here. A new MonoTODO item.
  44. * XmlDocument.cs (ctor): Corrected constructor signature, changed
  45. parameter from 'NameTable' to 'XmlNameTable'.
  46. * XmlDocumentFragment.cs (InnerXml): Added missing set block.
  47. * XmlCaseOrder.cs: Moved to System.Xml.XPath.
  48. 2002-04-10 Duncan Mak <[email protected]>
  49. * XmlNodeReader.cs: Initial stubs for the class.
  50. 2002-04-08 Kral Ferch <[email protected]>
  51. * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
  52. implementations.
  53. * XmlDeclaration.cs: WriteTo implementation.
  54. * XmlDocument.cs: InnerXml getter implementation.
  55. * XmlElement.cs: InnerXml getter implementation.
  56. * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
  57. * XmlSignificantWhitespace.cs: WriteTo implementation.
  58. * XmlText.cs: WriteContentTo and WriteTo implementation.
  59. * XmlTextWriter.cs: WriteRaw implementation.
  60. * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
  61. 2002-04-05 Kral Ferch <[email protected]>
  62. * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
  63. if prefix in constructor is one of the default ones.
  64. * XmlCharacterData.cs: Returns String.Empty for Value and Data
  65. even when constructed with null.
  66. * XmlDeclaration.cs: Value doesn't put encoding or standalone
  67. in if they are empty.
  68. * XmlDocument.cs: Implemented CreateNode methods and this caused
  69. the changes in the other files in this checkin.
  70. * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
  71. even when constructed with null.
  72. * XmlWhitespace.cs: Changed Value 'get' to return Data.
  73. 2002-04-01 Kral Ferch <[email protected]>
  74. * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
  75. 2002-03-31 Kral Ferch <[email protected]>
  76. * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
  77. and WriteCharEntity.
  78. * XmlWrite.cs: Fixed bug where attribute namespace decl
  79. was pushing a scope onto the namespace manager when it shouldn't
  80. have been.
  81. 2002-03-31 Kral Ferch <[email protected]>
  82. * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
  83. in different states (no open start element, in WriteState.Content mode).
  84. 2002-03-29 Kral Ferch <[email protected]>
  85. * XmlTextWriter.cs: XmlLang and XmlSpace properties
  86. and WriteWhitespace.
  87. * XmlTextWriterOpenElement.cs: scope support for XmlLang
  88. and XmlSpace.
  89. 2002-03-29 Kral Ferch <[email protected]>
  90. * XmlTextWriter.cs: Working on Attribute methods.
  91. * XmlWriter.cs: Working on Attribute methods.
  92. 2002-03-28 Duncan Mak <[email protected]>
  93. * XmlDocument.cs (CreateWhitespace):
  94. (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
  95. method.
  96. * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
  97. 2002-03-26 Duncan Mak <[email protected]>
  98. * XmlDocument.cs (CreateDocumentType): Implemented.
  99. * XmlNode.cs (Value): Implemented.
  100. * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
  101. like XmlCharacterData.
  102. * XmlDeclaration.cs (CloneNode):
  103. * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
  104. arguments.
  105. * XmlCharacterData.cs (InnerText): Implemented. Funny that the
  106. docs say it is the "The concatenated values of the node and all
  107. the children of the node.". I wrote some test programs and
  108. couldn't get any of the derived nodes to AppendChild. For now,
  109. InnerText == Data == Value.
  110. (Substring): Fixed typo.
  111. * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
  112. * XmlImplementation.cs (CreateDocument): Implemented.
  113. 2002-03-25 Duncan Mak <[email protected]>
  114. * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
  115. missing properties (InnerText, Value).
  116. * XmlDocument.cs (CreateXmlDeclaration): Implemented.
  117. 2002-03-23 Kral Ferch <[email protected]>
  118. * XmlTextWriter.cs: Impls for BaseStream and
  119. Namespaces and WriteState.
  120. * XmlWriter.cs: WriteState and WriteStartElementInternal.
  121. 2002-03-23 Kral Ferch <[email protected]>
  122. * XmlNodeListChildren.cs: made class internal
  123. instead of public. Shouldn't be visible outside
  124. of System.Xml.
  125. * XmlTextWriter.cs: Implementations for Formatting,
  126. IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
  127. Suppresses encoding on xml declaration if null stream passed in.
  128. Formats output including suppressing indentation for elements in
  129. mixed content mode.
  130. * XmlTextWriterOpenElement.cs: Initial checkin.
  131. XmlTextWriter uses stack of these objects to track
  132. state.
  133. 2002-03-22 Mike Kestner <[email protected]>
  134. * XmlElement.cs: impl HasAttribute(string name).
  135. 2002-03-22 Duncan Mak <[email protected]>
  136. * XmlElement.cs: Reformatted.
  137. (CloneNode) Corrected.
  138. * XmlDocument.cs (CreateWhitespace):
  139. (CreateSignificantWhitespace): Implemented.
  140. * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
  141. true, because Attributes have ChildNodes.
  142. 2002-03-21 Kral Ferch <[email protected]>
  143. * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
  144. xml declaration along with encoding. WriteEndElement throws
  145. exception if no WriteStartElement exists.
  146. 2002-03-20 Duncan Mak <[email protected]>
  147. * XmlEntityReference.cs (CloneNode): Implemented.
  148. * XmlException.cs (Message): Implemented. We need to cache the
  149. message string because SystemException doesn't expose 'message'
  150. from Exception.
  151. * XmlText.cs (Value): Added in the missing Value property.
  152. 2002-03-20 Duncan Mak <[email protected]>
  153. * XmlAttribute.cs (CloneNode): Implemented.
  154. * XmlDocumentFragment.cs (CloneNode): Implemented.
  155. * XmlElement.cs (CloneNode): Implemented.
  156. 2002-03-19 Duncan Mak <[email protected]>
  157. * XmlNotation.cs: Added to CVS.
  158. * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
  159. * XmlCDataSection.cs (CloneNode): Implemented.
  160. * XmlDocumentFragment.cs: Reformatted and added the missing properties
  161. (InnerXml, OwnerDocument, ParentNode).
  162. (CloneNode): Implemented.
  163. * XmlSignificantWhitespace.cs (CloneNode): Implemented.
  164. (Value) Implemented the 'get' property.
  165. * XmlWhitespace.cs (Module): implemented.
  166. 2002-03-19 Jason Diamond <[email protected]>
  167. * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
  168. in the prefix.
  169. 2002-03-18 Jason Diamond <[email protected]>
  170. * XmlTextReader.cs: Don't restore properties after reading last
  171. attribute on an element.
  172. * XmlDocument.cs: Move back to element after reading attributes
  173. so that IsEmptyElement test succeeds.
  174. 2002-03-18 Kral Ferch <[email protected]>
  175. * XmlNamespaceManager.cs: Implemented LookupPrefix.
  176. * XmlTextWriter.cs: Implemented namespace and prefix support.
  177. 2002-03-18 Kral Ferch <[email protected]>
  178. * XmlTextReader.cs: Restores properties after
  179. reading last attribute on an element.
  180. * XmlNode.cs: AppendChild sets the parent
  181. on the child.
  182. 2002-03-17 Kral Ferch <[email protected]>
  183. * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
  184. * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
  185. * XmlElement.cs: Fixed bug in WriteTo.
  186. * XmlProcessingInstruction.cs: Formatting.
  187. * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
  188. fixes for WriteEndElement, WriteProcessingInstruction.
  189. 2002-03-17 Kral Ferch <[email protected]>
  190. * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
  191. had Load() add PIs to the document, moved onXXX methods to alphabetical
  192. order in the file.
  193. * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
  194. * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
  195. * XmlProcessingInstruction.cs: Implementations for WriteTo() and
  196. WriteContentTo().
  197. * XmlTextWriter.cs: Implementations for WriteEndElement,
  198. WriteProcessingInstruction, WriteStartElement, and WriteString.
  199. * XmlWriter.cs: Implemented WriteStartElement() methods.
  200. 2002-03-15 Duncan Mak <[email protected]>
  201. * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
  202. InnerText once I know what they do.
  203. * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
  204. that we can properly chain constructors.
  205. (CloneNode): implemented.
  206. (WriteContentTo): Removed MonoTODO attribute as this method has no
  207. effect in this class.
  208. * XmlProcessingInstruction.cs (Value): Added the missing Set
  209. block.
  210. (InnerText): Added in, but not implemented.
  211. 2002-03-14 Kral Ferch <[email protected]>
  212. * XmlTextWriter.cs: implemented constructors and
  213. WriteCData and WriteComment.
  214. 2002-03-14 Duncan Mak <[email protected]>
  215. * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
  216. file, and updated the callbacks to reflect the change.
  217. (XmlDocument): Added the NameTable constructor.
  218. (NameTable): Also the NameTable property.
  219. * XmlNodeChangedEventHandler.cs: Added, replacing the version that
  220. was in XmlDocument.cs. It has two arguments now (object,
  221. EventArgs) , instead of one (object).
  222. 2002-03-14 Kral Ferch <[email protected]>
  223. * XmlWriter.cs: Formatting.
  224. * XmlTextWriter.cs: Initial checkin.
  225. 2002-03-14 Duncan Mak <[email protected]>
  226. * Validation.cs: Removed, replaced by ValidationType.cs.
  227. * ValidationType.cs: Added.
  228. 2002-03-13 Duncan Mak <[email protected]>
  229. * XmlException.cs: Made it [Serializable], implemented good ol'
  230. GetObjectData, and the serialization constructor.
  231. * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
  232. (SetNamedItem): Reverted (added back in) the patch with the
  233. ReadOnly checks. "Don't doubt yourself, my son... you were right!"
  234. * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
  235. (GetNamedItem (string, string)): implemented.
  236. (RemoveNamedItem): implemented.
  237. (SetNamedItem): implemented.
  238. 2002-03-12 Kral Ferch <[email protected]>
  239. * XmlAttribute.cs: Moved a method from amongst properties down to
  240. it's alphabetical position in the methods section.
  241. * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
  242. last linked child. Set XmlNode base class to return false for IsReadOnly().
  243. Implemented GetEnumerator() and RemoveChild().
  244. * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
  245. This is to support the behavior that the Enumerator doesn't become invalid
  246. when changes to the children occur. Flushed out rest of implementation for
  247. MoveNext, Current, and Reset.
  248. 2002-03-12 Duncan Mak <[email protected]>
  249. * XmlCharacterData.cs: Reformatted the properties for better readability.
  250. * XmlLinkedNode.cs: Removed the awful boxy comments.
  251. * XmlNamedNodeMap.cs (Count):
  252. (Item): Implemented. Tests will be coming.
  253. * XmlEntityReference.cs:
  254. * XmlSignificantWhitespace.cs: Implemented these classes except for
  255. the Clone, WriteContentTo and WriteTo methods. Will have to
  256. investigate into these later.
  257. 2002-03-11 Duncan Mak <[email protected]>
  258. * IHasXmlNode.cs: Added to CVS.
  259. 2002-03-08 Jason Diamond <[email protected]>
  260. * XmlParserContext.cs: Added missing constructors and missing Encoding
  261. property.
  262. * XmlTextReader.cs: Start using the XmlParserContext class.
  263. 2002-03-08 Jason Diamond <[email protected]>
  264. * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
  265. 2002-03-08 Mike Kestner <[email protected]>
  266. * XmlNode.cs (Item): Implemented both indexers.
  267. 2002-03-08 Jason Diamond <[email protected]>
  268. * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
  269. XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
  270. 2002-03-08 Jason Diamond <[email protected]>
  271. * XmlAttribute.cs: Attribute nodes are supposed to store their values
  272. as child nodes so updated to reflect that.
  273. * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
  274. duplicated in XmlDocument and XmlElement into XmlNode so that it
  275. wouldn't have to be duplicated in XmlAttribute, too.
  276. 2002-03-08 Kral Ferch <[email protected]>
  277. * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
  278. XmlNode.cs: Formatting.
  279. * XmlNodeListChildren.cs: Implementation of XmlNodeList
  280. for XmlNode.ChildNodes property.
  281. * XmlNodeListAsArrayList.cs: Removed file. Using different
  282. data structure (circular list) in XmlNode so this file
  283. is no longer valid.
  284. * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
  285. bug in setter property of LastLinkedChild so fixed it.
  286. 2002-03-06 Jason Diamond <[email protected]>
  287. * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
  288. We already have a parser in XmlTextReader.
  289. * XmlException.cs: Removed constructor accepting XmlInputSource.
  290. 2002-03-06 Kral Ferch <[email protected]>
  291. * XmlNode.cs: Rewrote this class from scratch with
  292. MonoToDo attribs and NotImplementedExceptions. Now defines an
  293. internal LastLinkedNode property to aid the new implementation.
  294. XmlNodes only have ref to owner doc and parent nodes now.
  295. * XmlLinkedNode.cs: Added NextLinkedSibling internal property
  296. and ref to next sibling to support walking our circular child
  297. node list.
  298. * XmlDocument.cs: Added ref to last child node and overrides
  299. XmlNode's internal LastLinkedChild property to support walking
  300. our circular child node list.
  301. 2002-03-02 Kral Ferch <[email protected]>
  302. * XmlProcessingInstructions.cs: Class was empty. Implemented
  303. constructor, properties, and CloneNode() method. Put in
  304. MonoToDo attrib for remaining methods.
  305. * XmlComment.cs: Reformatted and put in MonoToDo attribs.
  306. Got rid of helper methods and fields since they were no
  307. longer needed.
  308. * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
  309. * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
  310. XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
  311. Createxxx() methods for those three node types.
  312. 2002-03-02 Jason Diamond <[email protected]>
  313. * XmlDocument.cs: Implemented the remaining CreateElement and
  314. CreateAttribute methods.
  315. * XmlAttribute.cs: Re-implemented.
  316. * XmlElement.cs: Set owner element on attributes. Reformatted.
  317. 2002-03-02 Jason Diamond <[email protected]>
  318. * XmlTextReader.cs: Implemented MoveToNextAttribute().
  319. * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
  320. attributes. Create attribute nodes while loading. Implemented
  321. Load(string) and CreateTextNode().
  322. * XmlCharacterData.cs, XmlText.cs: Re-implemented.
  323. * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
  324. XmlCharacterData.
  325. * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
  326. 2002-03-02 Mike Kestner <[email protected]>
  327. * XmlAttribute.cs : Using fix.
  328. * XmlDocument.cs (CreateAttribute(String)): Implement.
  329. 2002-03-02 Jason Diamond <[email protected]>
  330. * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
  331. the name table.
  332. 2002-02-28 Jason Diamond <[email protected]>
  333. * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
  334. courtesy of Kral Ferch <[email protected]>.
  335. 2002-02-28 Jason Diamond <[email protected]>
  336. * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
  337. added missing members and MonoTODO attributes.
  338. * XmlTextReader.cs: Throw XmlException instead of System.Exception.
  339. 2002-02-27 Jason Diamond <[email protected]>
  340. * XmlElement.cs: Reformatted, added missing members and MonoTODO
  341. attributes.
  342. 2002-02-26 Duncan Mak <[email protected]>
  343. * XmlCDataSection.cs: Initial implementation.
  344. * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
  345. it out. This should (hopefully) be correct.
  346. 2002-02-26 Jason Diamond <[email protected]>
  347. * XmlTextReader.cs: Apparently Microsoft's implementation treats
  348. namespace declarations as attributes so we do now, too.
  349. * XmlNamespaceManager.cs: HasNamespace fixed so that it only
  350. checks the current scope.
  351. 2002-02-26 Duncan Mak <[email protected]>
  352. * XmlDocumentType.cs: Added a few hacks here and there to
  353. temporarily fix the "I broke the build issue".
  354. 2002-02-25 Jason Diamond <[email protected]>
  355. * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
  356. XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
  357. simple test to pass. The existing code is really shitty so I'll
  358. probably start writing tests and refactoring before much else
  359. can get done.
  360. 2002-02-25 Duncan Mak <[email protected]>
  361. * NameTable.cs: Implemented.
  362. * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
  363. 2002-02-24 Duncan Mak <[email protected]>
  364. * XmlNodeOrder.cs: Added to CVS.
  365. * XmlQualifiedName.cs: Fixed a warning from Equals ().
  366. * XmlTokenizedType.cs: Added to CVS.
  367. * XmlUrlResolver.cs: Added to CVS with one TODO task.
  368. 2002-02-23 Duncan Mak <[email protected]>
  369. * XmlQualifiedName.cs: Fixed ToString () and added the operators
  370. (== and !=).
  371. 2002-02-23 Jason Diamond <[email protected]>
  372. * XmlTextReader.cs: Added support for qualified attributes.
  373. 2002-02-23 Jason Diamond <[email protected]>
  374. * XmlNamespaceManager.cs: Initial implementation.
  375. * XmlTextReader.cs: Added support for NamespaceURI property on
  376. elements.
  377. 2002-02-23 Nick Drochak <[email protected]>
  378. * ChangeLog: Add the change log to this directory
  379. * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
  380. MonoTODO's