ChangeLog 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473
  1. 2003-03-26 Duncan Mak <[email protected]>
  2. * XmlTextWriter.cs (Write): A patch from Atsushi to fix
  3. prematurely ending the write, or something like that. It was
  4. causing us to chop off the end of the document when we're trying
  5. to generate XML Schemas.
  6. 2003-03-23 Atsushi Enomoto <[email protected]>
  7. * XmlTextReader.cs : implemented ReadString().
  8. fixed ctor(string, XmlNodeType, XmlParserContext) - don't raise
  9. null reference exception when context is null.
  10. * XmlNodeReader.cs : fixed ReadString() - should ignore attributes etc.
  11. fixed Read() - when positioned at EndElement, it didn't progress.
  12. fixed HasAttribute - it didn't return false in all cases.
  13. fixed Name and LocalName - only limited type of nodes return names.
  14. fixed AttributeCount - in some cases it threw null ref exception.
  15. 2003-03-22 Atsushi Enomoto <[email protected]>
  16. * XmlTextWriter.cs : WriteStartDocument doesn't set hasRoot=true, then
  17. WriteEndDocument without root element now raises an error correctly.
  18. * XmlDocumentNavigator.cs : (MoveToFirstChild) fixed bugzilla #36672.
  19. implemented BaseURI, NameTable, XmlLang, GetAttributes, GetNamespace,
  20. MoveToAttribute.
  21. 2003-03-22 Atsushi Enomoto <[email protected]>
  22. * XmlElement.cs : RemoveAttribute now don't throws when specified
  23. attribute does not exist.
  24. 2003-03-21 Atsushi Enomoto <[email protected]>
  25. * XmlNode.cs : add descriptions for some node type error.
  26. 2003-03-21 Atsushi Enomoto <[email protected]>
  27. * XmlNodeArrayList.cs, XmlNodeListChildren.cs : bugzilla #39920 fix.
  28. 2003-03-19 Atsushi Enomoto <[email protected]>
  29. * XmlDeclaration.cs : quick fix, not to use regex for set_Value.
  30. 2003-03-19 Atsushi Enomoto <[email protected]>
  31. * XmlTextReader.cs : Fixed wrong notationdecl SYSTEM id read.
  32. * XmlInputStream.cs : Should allow versionless input stream entity.
  33. 2003-03-18 Atsushi Enomoto <[email protected]>
  34. * added XmlParserInput.cs for multi xml document sources.
  35. * added DTDObjectModel.cs (maybe temporary).
  36. * XmlTextReader.cs :
  37. + fixed ctor to use XmlStreamReader. Allowed null XmlParserContext.
  38. + Some members such as LineNumber, ReadChar now uses XmlParserInput.
  39. + added support for Namespaces (namespace-ignorant parse available).
  40. + added support for XmlResolver.
  41. + replace SetReaderContext()/SetReaderFragment() with Initialize().
  42. + use NameTable in CreateNameString.
  43. + fixed ReadCData(). Now reads "]]]>" correctly.
  44. + support for DTD parse.
  45. + Read() now throws an error when it reached EOF while Depth > 0.
  46. * XmlAttribute.cs,
  47. XmlDocumentFragment.cs,
  48. XmlElement.cs : fix related to the changes of XmlTextReader.Initialize
  49. * XmlDocument.cs : ReadNode() now reads DocumentType.
  50. * XmlDocumentType.cs : implemented Entities, Notations, WriteTo().
  51. * XmlEntity.cs,
  52. XmlNotation.cs : added override LastLinkedChild (for doctype node).
  53. * XmlNamedNodeMap.cs : Remove() raises an error if target is read only.
  54. * XmlElement.cs : bugfix for node removal of set_InnerXml.
  55. * XmlNode.cs : added insertBeforeIntern() derived from InsertBefore().
  56. (to append child XmlEntity into XmlDocumentType correctly.)
  57. * XmlInputStream.cs : fixed to access file with FileAccess.Read.
  58. 2003-03-15 Duncan Mak <[email protected]>
  59. * XmlElement.cs (Name): Only append prefix + ':' when prefix is
  60. neither String.Empty nor null. Thanks to Simon Guindon for
  61. reporting the bug and Jackson for fixing this bug with me.
  62. 2003-03-15 Atsushi Enomoto <[email protected]>
  63. * XmlConstructs.cs : fix "int IsXXX()" to reject negative value.
  64. * XmlDocument.cs : simplify Load(string url) to use XmlTextReader.
  65. fixed ReadNode(), it should call reader.Read() only on Initial state.
  66. * XmlInputStream.cs : Changed namespace. Added XmlStreamReader(stream)
  67. and XmlStreamReader (string). Fixed XmlInputStream(url) not to use
  68. System.Net.WebClient directly.
  69. * XmlParserContext.cs : baseURI don't be null.
  70. * XmlTextWriter.cs : use WebName for Encoding instead of HeaderName.
  71. * XmlUrlResolver.cs : namespace change for XmlInputStream.
  72. 2003-03-12 Elan Feingold <[email protected]>
  73. * XmlTextReader.cs: When throwing a ReaderException, show what
  74. character was the culprit
  75. 2003-03-05 Atsushi Enomoto <[email protected]>
  76. * XmlDocumentFragment.cs, XmlElement.cs :
  77. modified InnerXml (fragment type from Element to DocumentFragment).
  78. * XmlElement.cs : fixed WriteTo() ns check.
  79. * XmlNamespaceManager.cs : MS.NET allows Add() used two or more times.
  80. * XmlNode.cs : fixed ConstructNamespaceManager().
  81. * XmlConstructs.cs : added IsSpace, IsName, IsNameStart, IsNCName,
  82. IsPubid with an int arg.
  83. * XmlReader.cs : changed to use XmlChar.cs (its role is as same as
  84. XmlConstructs.cs).
  85. * XmlTextReader.cs :
  86. improved error messages with line info.
  87. / checking matching start and end tags.
  88. / prevents the apperance of multiple root elements. (patch by Erik)
  89. fixed and refactored ReadInnerXml() and ReadOuterXml()
  90. changed to use XmlChar.cs.
  91. * XmlTextWriter.cs : changed to put element's xmlns at CloseStartTag ()
  92. (It will help c14n implementation.)
  93. / blocks multiple attribute output with element node.
  94. 2003-02-28 Alan Tam <[email protected]>
  95. * XmlConvert.cs: fixed the most ToXXX(string) and ToString(XXX)
  96. methods to make them compatible with the XML Schema Spec from W3C
  97. ToString(TimeSpan) is still outstanding
  98. 2003-02-18 Gonzalo Paniagua Javier <[email protected]>
  99. * XmlDocument.cs:
  100. (Load (string)): hack to workaround some issues with Uri.Parse. Once
  101. Parse is fixed, remove the hack.
  102. 2003-02-16 Atsushi Enomoto <[email protected]>
  103. * XmlQualifiedName.cs : fixed GetHashCode() to avoid null reference
  104. * XmlTextReader.cs : fixed ReadAttributeValue() to handle
  105. entity reference, and some refactory.
  106. 2003-02-16 Atsushi Enomoto <[email protected]>
  107. * XmlUrlResolver.cs : WebClient.Credentials was not implemented yet.
  108. 2003-02-16 Atsushi Enomoto <[email protected]>
  109. * XmlInputStream.cs : added (also contains internal XmlStreamReader).
  110. * XmlDocument.cs : Load () now can specify URL using XmlUrlResolver,
  111. and can read non-UTF-8 stream.
  112. * XmlTextReader.cs : related to above stream fix.
  113. * XmlUrlResolver.cs : implemented GetEntity ().
  114. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  115. * XmlTextWriter.cs: implemented WriteRaw (char[], int, int).
  116. 2003-02-02 Atsushi Enomoto <[email protected]>
  117. * XmlTextReader.cs : implemented QuoteChar.
  118. 2003-01-26 Atsushi Enomoto <[email protected]>
  119. * XmlNode.cs : implemented ReplaceChild.
  120. removed DocElem checking at InsertBefore.
  121. * XmlNodeReader.cs : fixed ReadString and Read for correct node info.
  122. * XmlText.cs : implemented CloneNode and SplitText.
  123. 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
  124. * XmlCharacterData.cs: added XPathNodeType property.
  125. 2003-01-22 Gonzalo Paniagua Javier <[email protected]>
  126. * XmlTextWriter.cs: throw an exception if WriteEndDocument is
  127. called without a prior call to WriteStartDocument.
  128. 2003-01-21 Atsushi Enomoto <[email protected]>
  129. * XmlNodeReader.cs : several fix to get more compatible with MS.NET.
  130. 2003-01-19 Atsushi Enomoto <[email protected]>
  131. * XmlNamespaceManager.cs : fundamental change of LookupPrefix to return
  132. null when no matching uri.
  133. * XmlElement.cs : removed unnecessary xmlns output.
  134. * XmlNode.cs : GetPrefixOfNamespace fix along with the change above.
  135. * XmlTextWriter.cs : LookupPrefix and WriteStartElementInternal fix
  136. along with the change above, and moved timing of 'xmlns' output
  137. to CloseStartElement.
  138. * XmlWriter.cs: modified WriteStartAttribute, same as yesterday.
  139. 2003-01-18 Atsushi Enomoto <[email protected]>
  140. * XmlWriter.cs: modified WriteStartElement (see test for detail).
  141. Added WriteNode.
  142. 2003-01-13 Ville Palo <[email protected]>
  143. * XmlDocument.cs: Added CheckName () method to check names validity.
  144. 2003-01-11 Gonzalo Paniagua Javier <[email protected]>
  145. * XmlTextReader.cs:
  146. (ReadOuterXml): use Depth property which return elementDepth, not depth.
  147. 2003-01-11 Atsushi Enomoto <[email protected]>
  148. * XmlElement.cs : (by ville) XmlElement.set_InnerText event bugfix.
  149. * XmlTextReader.cs : some fix for ReadOuterXml().
  150. 2003-01-08 Atsushi Enomoto <[email protected]>
  151. * XmlTextReader.cs : bugfix for attributes related to creation of
  152. XmlAttribute *node*.
  153. 2003-01-08 Atsushi Enomoto <[email protected]>
  154. * XmlTextReader.cs : bugfix for attribute values which have entity
  155. references.
  156. 2002-12-28 Ville Palo <[email protected]>
  157. * XmlDocument.cs: XmlTextWriter.Formatting == Indented when
  158. calling Save () -methods.
  159. 2002-12-28 Atsushi Enomoto <[email protected]>
  160. * XmlNodeReader.cs : primitive reading implementation.
  161. 2002-12-28 Atsushi Enomoto <[email protected]>
  162. * XmlElement.cs : quick fix for the incomplete patch of #35308 below.
  163. 2002-12-28 Atsushi Enomoto <[email protected]>
  164. * XmlDocument.cs : removed inconsistent line-feed output.
  165. * XmlElement.cs, XmlTextWriter.cs :
  166. fixed for bugzilla 35308 (default ns output)
  167. * XmlWhitespace.cs : limited output only when preserving whitespace.
  168. 2002-12-24 Atsushi Enomoto <[email protected]>
  169. * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
  170. Implemented XmlTextReader.ReadAttributeValue().
  171. Added internal ReadAttributeNodeValue().
  172. Fixed XmlAttribute.InnerXml to use these methods.
  173. * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
  174. Implemented XmlDocument.ReadNode() and removed ConstructDOM().
  175. Other changes are replacing them.
  176. 2002-12-24 Atsushi Enomoto <[email protected]>
  177. * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
  178. 2002-12-21 Atsushi Enomoto <[email protected]>
  179. * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
  180. patch by JD Conley <[email protected]>.
  181. (Fix for xmlns attribute output.)
  182. 2002-12-05 Ville Palo <[email protected]>
  183. * XmlQualifiedName.cs: Little fix to ToString () -method
  184. 2002-12-04 Tim Haynes <[email protected]>
  185. * class/System.XML/System.Xml/XmlElement.cs: Made more refined
  186. checks on attributeNode to fix 32262.
  187. 2002-12-03 Atsushi Enomoto <[email protected]>
  188. * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
  189. * XmlTextWriter.cs (WriteStartElementInternal):
  190. fixed when default namespace was specified, all descendants
  191. fail to omit the default namespace declarations.
  192. * XmlAttribute.cs,
  193. XmlDocument.cs,
  194. XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
  195. * XmlAttribute.cs,
  196. XmlDocumentFragment.cs,
  197. XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
  198. * XmlElement.cs (set_IsEmpty) : implemented
  199. (WriteTo) : removed my improper indenting (Writer already done)
  200. * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
  201. (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
  202. ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
  203. 2002-12-01 Atsushi Enomoto <[email protected]>
  204. * XmlNode.cs (RemoveChild):
  205. bugfixed when XmlNode is Document OwnerDocument is null
  206. * XmlDeclaration.cs (Value):
  207. bugfixed regular expression pattern.
  208. * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
  209. 2002-11-24 Duncan Mak <[email protected]>
  210. * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
  211. Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
  212. first patch to Mono! ;-)
  213. 2002-11-19 Gonzalo Paniagua Javier <[email protected]>
  214. * XmlNode.cs:
  215. (AppendChild): readded refChild != null condition before throwing
  216. "cannot insert this node in this position" exception. There's probably
  217. a better solution. Fixes #34191.
  218. (RemoveAll): changed following Atsushi instructions.
  219. 2002-11-13 Duncan Mak <[email protected]>
  220. * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
  221. compiling.
  222. 2002-11-14 Atsushi Enomoto <[email protected]>
  223. * XmlDocument.cs : unified all constructors, added ConventionalParser,
  224. implemented CloneNode() and CreateEntityReference(),
  225. * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
  226. set BaseURI to MonoTODO
  227. * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
  228. bugfix InsertAfter (incorrect prepending) and InsertBefore
  229. (more than one DocumentElements hadn't caused errors)
  230. * XmlTextReader.cs : unified all constructors,
  231. added internal SetReaderContext(), SetReaderFragment()
  232. bugfix (syntax check of PUBLIC / getting internal subset)
  233. 2002-11-13 Atsushi Enomoto <[email protected]>
  234. XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
  235. XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
  236. XmlCharacterData.cs : exchanged Data and Value
  237. (for processing events and inheritance)
  238. XmlDocumentFragment.cs : set_InnerXml
  239. XmlSignificantWhitespace.cs : set_Value
  240. XmlTextReader.cs : ReadAttributeValue
  241. 2002-11-04 Atsushi Enomoto <[email protected]>
  242. XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
  243. 2002-11-03 Atsushi Enomoto <[email protected]>
  244. * XmlAttributeCollection.cs : checks owner element.
  245. implemented CopyTo, InsertAfter, InsertBefore, Prepend,
  246. Remove, RemoveAt, SetNamedItem.
  247. removed some logics that sets 'Parent' (that should be null)
  248. * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
  249. * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
  250. * XmlElement.cs : implemented WriteTo, set_InnerText.
  251. Fixed WriteTo() to add xmlns:* attributes when
  252. writer.LookupPrefix() returned mismatching.
  253. * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
  254. Removing different prefixes for the same uri now runs correct.
  255. added SetNamedItem(XmlNode node, int position_to_insert).
  256. * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
  257. XmlWhitespace, and XmlSignificantWhitespace
  258. 2002-10-31 Atsushi Enomoto <[email protected]>
  259. * XmlDocument.cs : implemented CreateDocumentFragment()
  260. * XmlElement.cs, XmlLinkedNode.cs :
  261. moved LastLinkedChild from XmlElement to XmlLinkedNode.
  262. * XmlEntityReference.cs : must throw NotImplementedException.
  263. * XmlNode.cs :
  264. + implemented InsertBefore() and then implemented InsertAfter()
  265. and modified AppendChild() to call it.
  266. + added logic to check ReadOnly, parent document equivalence,
  267. and inserting any 'content' before/after DocumentElement.
  268. + implemented Clone() [it is equals to CloneNode() by MS doc.]
  269. + added logic in RemoveChild() to check parent of oldChild.
  270. + fixed ConstructNamespaceManager() to internal only.
  271. 2002-10-29 Atsushi Enomoto <[email protected]>
  272. * XmlAttribute.cs : add internal 'IsDefault' property
  273. (equals to !Specified)
  274. * XmlImplementation.cs : added 'internalNameTable' property.
  275. * XmlDocument.cs :
  276. + now allows "" for 'standalone' in CreateXmlDeclaration.
  277. + implemented 'Implementation' property and constructor with it.
  278. + added logic for appending name table (but still no use)
  279. + implemented property 'DocumentType'
  280. (but without internalSubset parsing. wait for next update.)
  281. * XmlNode.cs :
  282. + modified AppendChild() and RemoveChild() to support fragment.
  283. + modified AppendChild() to remove newChild from its parent
  284. when newChild is already in the other place.
  285. + modified RemoveChild() to set parentNode null.
  286. + modified ConstructDOM() to create DocumentType,
  287. and fixed access modifier ('internal protected' to 'internal')
  288. * XmlLinkedNode.cs : fixed 'NextSibling' to return null
  289. when its parent is null.
  290. * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
  291. property to enable AppendChild() for this class.
  292. * XmlTextReader.cs : appended private publicId and systemId fields.
  293. 2002-10-28 Gonzalo Paniagua Javier <[email protected]>
  294. * XmlTextReader.cs: make it work when the underlying Stream is not
  295. 'seekable'.
  296. 2002-10-26 Piers Haken <[email protected]>
  297. * XmlNode.cs: add virtual property XPathNodeType
  298. * XmlAttribute.cs:
  299. * XmlComment.cs:
  300. * XmlDocument.cs:
  301. * XmlElement.cs::
  302. * XmlProcessingInstruction.cs:
  303. * XmlSignificantWhitespace.cs:
  304. * XmlText.cs:
  305. * XmlWhitespace.cs: implement XPathNodeType property
  306. * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
  307. 2002-10-26 Piers Haken <[email protected]>
  308. * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
  309. 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
  310. * XmlTextReader.cs: don't increment depth for entity references.
  311. 2002-10-22 Tim Haynes <[email protected]>
  312. * - Fixed the duplication of xmlns:xx = yy when serializing the
  313. XML for serialization
  314. Fixed the unnecessary parsing/serializing when adding assemblies
  315. for serialization
  316. Avoided setting the XmlNode.InnerXml property
  317. (as it's not implemented)
  318. Fixed the usage/implementation of
  319. XmlElement.GetElementsByTagName()
  320. 2002-10-21 Duncan Mak <[email protected]>
  321. * XmlDocument.cs:
  322. * XmlElement.cs:
  323. * XmlNode.cs:
  324. * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
  325. Atsushi Enomoto <[email protected]>.
  326. 2002-10-18 Duncan Mak <[email protected]>
  327. * XmlDocument.cs: Applied a patch by Atsushi Enomoto
  328. <[email protected]>.
  329. 2002-10-12 A.Enomoto <[email protected]>
  330. * XmlDocument.cs (ImportNode): Implemented
  331. 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
  332. * XmlDocument.cs: one more Load method implemented.
  333. * XmlTextReader.cs: Depth now works.
  334. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  335. * XmlConvert.cs: IsInvalid is now internal.
  336. * XmlNamespaceManager.cs: implemented RemoveNamespace
  337. * XmlTextReader.cs: return BaseURI and Encoding from the parser.
  338. * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
  339. 2002-09-19 Matt Hunter <[email protected]>
  340. * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
  341. * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
  342. 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
  343. * XmlConvert.cs: finished implementation.
  344. * XmlTextReader.cs: fixed #30239.
  345. * XmlTextWriter.cs: fixed #30240.
  346. 2002-09-15 Gonzalo Paniagua Javier <[email protected]>
  347. * XmlTextReader.cs: line and position begin with 1.
  348. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  349. * XmlException.cs: added a new internal constructor for IXmlLineInfo
  350. and output line and position info in Message.
  351. * XmlReader.cs: implemented missing bits.
  352. 2002-09-12 Piers Haken <[email protected]>
  353. * XmlDocumentNavigator.cs: implement MoveToId()
  354. 2002-09-05 Gonzalo Paniagua Javier <[email protected]>
  355. * XmlTextWriter.cs: fixed bug #29886.
  356. 2002-08-26 Ravi Pratap <[email protected]>
  357. * XmlAttribute.cs (InnerText): Implement getting this property.
  358. * XmlNode.cs (InnerText): Ensure that we append only values of
  359. text nodes.
  360. 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
  361. * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
  362. that allowed compiling this.
  363. [ FIXME: filed bug #29435. mcs should have failed on this ]
  364. 2002-08-25 Tim Coleman <[email protected]>
  365. * XmlNode.cs:
  366. Change CreateNavigator to not be virtual.
  367. * XmlElement.cs:
  368. Add set_Prefix and InnerText accessors.
  369. * XmlEntityReference.cs:
  370. Add set_Value accessor.
  371. * XmlTextWriter.cs:
  372. Make objects which should be private private.
  373. * XmlWriter.cs:
  374. Remove WriteStartElementInternal abstract definition.
  375. * XmlValidatingReader.cs:
  376. New stubs added.
  377. 2002-08-22 Jason Diamond <[email protected]>
  378. * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
  379. and RemoveAllAttributes courtesy of Matt Hunter <[email protected]>.
  380. 2002-08-22 Jason Diamond <[email protected]>
  381. * XmlElement.cs: Correction to previous GetElementsByTagName patch
  382. courtesy of Matt Hunter <[email protected]>.
  383. 2002-08-22 Jason Diamond <[email protected]>
  384. * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
  385. qualified GetElementsByTagName courtesy of Matt Hunter
  386. <[email protected]>.
  387. 2002-08-19 Jason Diamond <[email protected]>
  388. * XmlDocument.cs, XmlElement.cs: Added implementation of
  389. GetElementsByTagName courtesy of Matt Hunter <[email protected]>.
  390. 2002-08-16 Jason Diamond <[email protected]>
  391. * XmlElement.cs: Fixed writing out qualified elements courtesy of
  392. Marcus Bürgel <[email protected]>.
  393. 2002-08-13 Tim Coleman <[email protected]>
  394. * XmlTextWriter.cs:
  395. Partial implementation of WriteQualifiedName ().
  396. 2002-08-07 Kral Ferch <[email protected]>
  397. * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
  398. InsertData(), and ReplaceData(). These methods fire the
  399. NodeChanging and NodeChanged events.
  400. * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
  401. * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
  402. RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
  403. 2002-08-03 Tim Coleman <[email protected]>
  404. * XmlNamespaceManager.cs:
  405. .Net allows the empty namespace to be redefined
  406. at a later point, but the current implementation
  407. did not. This fixes a hashtable conflict.
  408. 2002-07-26 Tim Coleman <[email protected]>
  409. * XmlTextWriter.cs:
  410. When given a textwriter, check to see if it has a
  411. null encoding. This was being done for other inputs
  412. than a textwriter.
  413. Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <[email protected]>
  414. * XmlTextReader.cs: rough line/column support.
  415. 2002-07-23 Duncan Mak <[email protected]>
  416. * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
  417. (string, string []) is particularly strange.
  418. * XmlException.cs: Remember to call the base serialization
  419. constructor.
  420. * XmlNodeReader.cs: Keep a new variable to store the Depth.
  421. 2002-07-14 Jason Diamond <[email protected]>
  422. * XmlAttribute.cs: Removed ownerElement field since we can reuse
  423. parentNode field.
  424. * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
  425. if the current node is an attribute.
  426. * XmlElement.cs: SetAttributeNode now sets the new attribute's
  427. owner element.
  428. 2002-07-12 Jason Diamond <[email protected]>
  429. * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
  430. creating an element, use String.Empty instead.
  431. 2002-07-12 Piers Haken <[email protected]>
  432. * XmlAttributeCollection.cs: implement some ItemOf indexers
  433. * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
  434. * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
  435. 2002-07-06 Ajay kumar Dwivedi <[email protected]>
  436. 2002-10-26 Piers Haken <[email protected]>
  437. * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
  438. 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
  439. * XmlTextReader.cs: don't increment depth for entity references.
  440. 2002-10-22 Tim Haynes <[email protected]>
  441. * - Fixed the duplication of xmlns:xx = yy when serializing the
  442. XML for serialization
  443. Fixed the unnecessary parsing/serializing when adding assemblies
  444. for serialization
  445. Avoided setting the XmlNode.InnerXml property
  446. (as it's not implemented)
  447. Fixed the usage/implementation of
  448. XmlElement.GetElementsByTagName()
  449. 2002-10-21 Duncan Mak <[email protected]>
  450. * XmlDocument.cs:
  451. * XmlElement.cs:
  452. * XmlNode.cs:
  453. * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
  454. Atsushi Enomoto <[email protected]>.
  455. 2002-10-18 Duncan Mak <[email protected]>
  456. * XmlDocument.cs: Applied a patch by Atsushi Enomoto
  457. <[email protected]>.
  458. 2002-10-12 A.Enomoto <[email protected]>
  459. * XmlDocument.cs (ImportNode): Implemented
  460. 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
  461. * XmlDocument.cs: one more Load method implemented.
  462. * XmlTextReader.cs: Depth now works.
  463. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  464. * XmlConvert.cs: IsInvalid is now internal.
  465. * XmlNamespaceManager.cs: implemented RemoveNamespace
  466. * XmlTextReader.cs: return BaseURI and Encoding from the parser.
  467. * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
  468. 2002-09-19 Matt Hunter <[email protected]>
  469. * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
  470. * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
  471. 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
  472. * XmlConvert.cs: finished implementation.
  473. * XmlTextReader.cs: fixed #30239.
  474. * XmlTextWriter.cs: fixed #30240.
  475. 2002-09-15 Gonzalo Paniagua Javier <[email protected]>
  476. * XmlTextReader.cs: line and position begin with 1.
  477. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  478. * XmlException.cs: added a new internal constructor for IXmlLineInfo
  479. and output line and position info in Message.
  480. * XmlReader.cs: implemented missing bits.
  481. 2002-09-12 Piers Haken <[email protected]>
  482. * XmlDocumentNavigator.cs: implement MoveToId()
  483. 2002-09-05 Gonzalo Paniagua Javier <[email protected]>
  484. * XmlTextWriter.cs: fixed bug #29886.
  485. 2002-08-26 Ravi Pratap <[email protected]>
  486. * XmlAttribute.cs (InnerText): Implement getting this property.
  487. * XmlNode.cs (InnerText): Ensure that we append only values of
  488. text nodes.
  489. 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
  490. * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
  491. that allowed compiling this.
  492. [ FIXME: filed bug #29435. mcs should have failed on this ]
  493. 2002-08-25 Tim Coleman <[email protected]>
  494. * XmlNode.cs:
  495. Change CreateNavigator to not be virtual.
  496. * XmlElement.cs:
  497. Add set_Prefix and InnerText accessors.
  498. * XmlEntityReference.cs:
  499. Add set_Value accessor.
  500. * XmlTextWriter.cs:
  501. Make objects which should be private private.
  502. * XmlWriter.cs:
  503. Remove WriteStartElementInternal abstract definition.
  504. * XmlValidatingReader.cs:
  505. New stubs added.
  506. 2002-08-22 Jason Diamond <[email protected]>
  507. * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
  508. and RemoveAllAttributes courtesy of Matt Hunter <[email protected]>.
  509. 2002-08-22 Jason Diamond <[email protected]>
  510. * XmlElement.cs: Correction to previous GetElementsByTagName patch
  511. courtesy of Matt Hunter <[email protected]>.
  512. 2002-08-22 Jason Diamond <[email protected]>
  513. * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
  514. qualified GetElementsByTagName courtesy of Matt Hunter
  515. <[email protected]>.
  516. 2002-08-19 Jason Diamond <[email protected]>
  517. * XmlDocument.cs, XmlElement.cs: Added implementation of
  518. GetElementsByTagName courtesy of Matt Hunter <[email protected]>.
  519. 2002-08-16 Jason Diamond <[email protected]>
  520. * XmlElement.cs: Fixed writing out qualified elements courtesy of
  521. Marcus Bürgel <[email protected]>.
  522. 2002-08-13 Tim Coleman <[email protected]>
  523. * XmlTextWriter.cs:
  524. Partial implementation of WriteQualifiedName ().
  525. 2002-08-07 Kral Ferch <[email protected]>
  526. * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
  527. InsertData(), and ReplaceData(). These methods fire the
  528. NodeChanging and NodeChanged events.
  529. * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
  530. * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
  531. RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
  532. 2002-08-03 Tim Coleman <[email protected]>
  533. * XmlNamespaceManager.cs:
  534. .Net allows the empty namespace to be redefined
  535. at a later point, but the current implementation
  536. did not. This fixes a hashtable conflict.
  537. 2002-07-26 Tim Coleman <[email protected]>
  538. * XmlTextWriter.cs:
  539. When given a textwriter, check to see if it has a
  540. null encoding. This was being done for other inputs
  541. than a textwriter.
  542. Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <[email protected]>
  543. * XmlTextReader.cs: rough line/column support.
  544. 2002-07-23 Duncan Mak <[email protected]>
  545. * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
  546. (string, string []) is particularly strange.
  547. * XmlException.cs: Remember to call the base serialization
  548. constructor.
  549. * XmlNodeReader.cs: Keep a new variable to store the Depth.
  550. 2002-07-14 Jason Diamond <[email protected]>
  551. * XmlAttribute.cs: Removed ownerElement field since we can reuse
  552. parentNode field.
  553. * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
  554. if the current node is an attribute.
  555. * XmlElement.cs: SetAttributeNode now sets the new attribute's
  556. owner element.
  557. 2002-07-12 Jason Diamond <[email protected]>
  558. * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
  559. creating an element, use String.Empty instead.
  560. 2002-07-12 Piers Haken <[email protected]>
  561. * XmlAttributeCollection.cs: implement some ItemOf indexers
  562. * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
  563. * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
  564. 2002-07-06 Ajay kumar Dwivedi <[email protected]>
  565. * XmlTextWriter: Fixed Indentation. IndentationOverridden should
  566. not be set when inside a attribute.
  567. 2002-07-06 Ajay kumar Dwivedi <[email protected]>
  568. * XmlTextWriter: In WriteStartElement, if namespace is null and
  569. prefix is null|empty do not write out xmlns=""
  570. * XmlWriter: WriteStartElement calls the virtual method with null
  571. argument instead of empty string.
  572. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  573. * XmlTextReader.cs: implemented .ctor (Stream).
  574. 2002-06-26 Duncan Mak <[email protected]>
  575. * XmlNodeReader.cs: Implementation of most of the properties, and
  576. some of the related methods.
  577. 2002-06-23 Piers Haken <[email protected]>
  578. * XmlDocumentNavigator.cs: implement Clone()
  579. * XmlElement.cs: remove bogus unimplemented override of InnerText
  580. * XmlNode.cs: implment SelectNodes/SelectSingleNode
  581. * XmlNodeArrayList.cs: new support class for SelectNodes
  582. 2002-06-21 Ajay kumar Dwivedi <[email protected]>
  583. * XmlQualifiedName: Name and Namespaces are never null. If null is passed
  584. to the constructor, set them to empty strings.
  585. Fixed the Operators.
  586. 2002-06-18 Ajay kumar Dwivedi <[email protected]>
  587. * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
  588. Exception.
  589. 2002-06-14 Duncan Mak <[email protected]>
  590. * XmlConvert.cs: Added CLSCompliant attributes to methods.
  591. 2002-06-12 Duncan Mak <[email protected]>
  592. * XmlCharacterData.cs (Value): Throw an ArgumentException in the
  593. set block if the node is read-only.
  594. 2002-06-10 Ajay kumar Dwivedi <[email protected]>
  595. * XmlConstruct.cs : New Internal class with Helper methods for
  596. Checking XmlConstructs
  597. * XmlConvert.cs: Implemented most of the methods
  598. 2002-06-08 Duncan Mak <[email protected]>
  599. * XmlDocument.cs (Load):
  600. Added bits to Load (string) for BaseURI support.
  601. * XmlAttribute.cs (BaseURI):
  602. * XmlDocument.cs (BaseURI):
  603. * XmlEntity.cs (BaseURI): Implemented.
  604. 2002-05-27 Jason Diamond <[email protected]>
  605. * XmlDocumentNavigator.cs: Added file to directory.
  606. * XmlNode.cs (CreateNavigator): Implemented.
  607. (InnerText): Implemented.
  608. * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
  609. throwing exception.
  610. (Load(XmlReader)): Allow for namespace qualified attributes.
  611. * XmlElement.cs: Implemented GetAttribute(string, string) and both
  612. GetAttributeNode overloads.
  613. (SetAttributeNode(XmlAttribute)): Implemented.
  614. * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
  615. and RemoveNamedItem(string, string).
  616. * XmlLinkedNode.cs (PreviousSibling): Implemented.
  617. * XmlTextReader.cs: Added code to maintain the order of attributes as
  618. they're parsed. XML doesn't require this but Microsoft's parser does it and
  619. matching them makes testing easier so now we have it, too.
  620. 2002-05-26 Miguel de Icaza <[email protected]>
  621. * XmlDocument.cs: Implement the Save methods.
  622. 2002-05-08 Mike Kestner <[email protected]>
  623. * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
  624. 2002-04-28 Duncan Mak <[email protected]>
  625. * XmlSignificantWhitespace.cs (Value):
  626. * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
  627. block. Added new private method, IsValidWhitespaceChar, for
  628. checking.
  629. 2002-04-16 Duncan Mak <[email protected]>
  630. * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
  631. 2002-04-12 Duncan Mak <[email protected]>
  632. * XmlAttribute.cs (Prefix): Added preliminary code for set block,
  633. added comment on work that needs to be done here. A new MonoTODO item.
  634. * XmlDocument.cs (ctor): Corrected constructor signature, changed
  635. parameter from 'NameTable' to 'XmlNameTable'.
  636. * XmlDocumentFragment.cs (InnerXml): Added missing set block.
  637. * XmlCaseOrder.cs: Moved to System.Xml.XPath.
  638. 2002-04-10 Duncan Mak <[email protected]>
  639. * XmlNodeReader.cs: Initial stubs for the class.
  640. 2002-04-08 Kral Ferch <[email protected]>
  641. * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
  642. implementations.
  643. * XmlDeclaration.cs: WriteTo implementation.
  644. * XmlDocument.cs: InnerXml getter implementation.
  645. * XmlElement.cs: InnerXml getter implementation.
  646. * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
  647. * XmlSignificantWhitespace.cs: WriteTo implementation.
  648. * XmlText.cs: WriteContentTo and WriteTo implementation.
  649. * XmlTextWriter.cs: WriteRaw implementation.
  650. * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
  651. 2002-04-05 Kral Ferch <[email protected]>
  652. * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
  653. if prefix in constructor is one of the default ones.
  654. * XmlCharacterData.cs: Returns String.Empty for Value and Data
  655. even when constructed with null.
  656. * XmlDeclaration.cs: Value doesn't put encoding or standalone
  657. in if they are empty.
  658. * XmlDocument.cs: Implemented CreateNode methods and this caused
  659. the changes in the other files in this checkin.
  660. * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
  661. even when constructed with null.
  662. * XmlWhitespace.cs: Changed Value 'get' to return Data.
  663. 2002-04-01 Kral Ferch <[email protected]>
  664. * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
  665. 2002-03-31 Kral Ferch <[email protected]>
  666. * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
  667. and WriteCharEntity.
  668. * XmlWrite.cs: Fixed bug where attribute namespace decl
  669. was pushing a scope onto the namespace manager when it shouldn't
  670. have been.
  671. 2002-03-31 Kral Ferch <[email protected]>
  672. * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
  673. in different states (no open start element, in WriteState.Content mode).
  674. 2002-03-29 Kral Ferch <[email protected]>
  675. * XmlTextWriter.cs: XmlLang and XmlSpace properties
  676. and WriteWhitespace.
  677. * XmlTextWriterOpenElement.cs: scope support for XmlLang
  678. and XmlSpace.
  679. 2002-03-29 Kral Ferch <[email protected]>
  680. * XmlTextWriter.cs: Working on Attribute methods.
  681. * XmlWriter.cs: Working on Attribute methods.
  682. 2002-03-28 Duncan Mak <[email protected]>
  683. * XmlDocument.cs (CreateWhitespace):
  684. (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
  685. method.
  686. * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
  687. 2002-03-26 Duncan Mak <[email protected]>
  688. * XmlDocument.cs (CreateDocumentType): Implemented.
  689. * XmlNode.cs (Value): Implemented.
  690. * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
  691. like XmlCharacterData.
  692. * XmlDeclaration.cs (CloneNode):
  693. * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
  694. arguments.
  695. * XmlCharacterData.cs (InnerText): Implemented. Funny that the
  696. docs say it is the "The concatenated values of the node and all
  697. the children of the node.". I wrote some test programs and
  698. couldn't get any of the derived nodes to AppendChild. For now,
  699. InnerText == Data == Value.
  700. (Substring): Fixed typo.
  701. * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
  702. * XmlImplementation.cs (CreateDocument): Implemented.
  703. 2002-03-25 Duncan Mak <[email protected]>
  704. * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
  705. missing properties (InnerText, Value).
  706. * XmlDocument.cs (CreateXmlDeclaration): Implemented.
  707. 2002-03-23 Kral Ferch <[email protected]>
  708. * XmlTextWriter.cs: Impls for BaseStream and
  709. Namespaces and WriteState.
  710. * XmlWriter.cs: WriteState and WriteStartElementInternal.
  711. 2002-03-23 Kral Ferch <[email protected]>
  712. * XmlNodeListChildren.cs: made class internal
  713. instead of public. Shouldn't be visible outside
  714. of System.Xml.
  715. * XmlTextWriter.cs: Implementations for Formatting,
  716. IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
  717. Suppresses encoding on xml declaration if null stream passed in.
  718. Formats output including suppressing indentation for elements in
  719. mixed content mode.
  720. * XmlTextWriterOpenElement.cs: Initial checkin.
  721. XmlTextWriter uses stack of these objects to track
  722. state.
  723. 2002-03-22 Mike Kestner <[email protected]>
  724. * XmlElement.cs: impl HasAttribute(string name).
  725. 2002-03-22 Duncan Mak <[email protected]>
  726. * XmlElement.cs: Reformatted.
  727. (CloneNode) Corrected.
  728. * XmlDocument.cs (CreateWhitespace):
  729. (CreateSignificantWhitespace): Implemented.
  730. * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
  731. true, because Attributes have ChildNodes.
  732. 2002-03-21 Kral Ferch <[email protected]>
  733. * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
  734. xml declaration along with encoding. WriteEndElement throws
  735. exception if no WriteStartElement exists.
  736. 2002-03-20 Duncan Mak <[email protected]>
  737. * XmlEntityReference.cs (CloneNode): Implemented.
  738. * XmlException.cs (Message): Implemented. We need to cache the
  739. message string because SystemException doesn't expose 'message'
  740. from Exception.
  741. * XmlText.cs (Value): Added in the missing Value property.
  742. 2002-03-20 Duncan Mak <[email protected]>
  743. * XmlAttribute.cs (CloneNode): Implemented.
  744. * XmlDocumentFragment.cs (CloneNode): Implemented.
  745. * XmlElement.cs (CloneNode): Implemented.
  746. 2002-03-19 Duncan Mak <[email protected]>
  747. * XmlNotation.cs: Added to CVS.
  748. * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
  749. * XmlCDataSection.cs (CloneNode): Implemented.
  750. * XmlDocumentFragment.cs: Reformatted and added the missing properties
  751. (InnerXml, OwnerDocument, ParentNode).
  752. (CloneNode): Implemented.
  753. * XmlSignificantWhitespace.cs (CloneNode): Implemented.
  754. (Value) Implemented the 'get' property.
  755. * XmlWhitespace.cs (Module): implemented.
  756. 2002-03-19 Jason Diamond <[email protected]>
  757. * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
  758. in the prefix.
  759. 2002-03-18 Jason Diamond <[email protected]>
  760. * XmlTextReader.cs: Don't restore properties after reading last
  761. attribute on an element.
  762. * XmlDocument.cs: Move back to element after reading attributes
  763. so that IsEmptyElement test succeeds.
  764. 2002-03-18 Kral Ferch <[email protected]>
  765. * XmlNamespaceManager.cs: Implemented LookupPrefix.
  766. * XmlTextWriter.cs: Implemented namespace and prefix support.
  767. 2002-03-18 Kral Ferch <[email protected]>
  768. * XmlTextReader.cs: Restores properties after
  769. reading last attribute on an element.
  770. * XmlNode.cs: AppendChild sets the parent
  771. on the child.
  772. 2002-03-17 Kral Ferch <[email protected]>
  773. * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
  774. * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
  775. * XmlElement.cs: Fixed bug in WriteTo.
  776. * XmlProcessingInstruction.cs: Formatting.
  777. * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
  778. fixes for WriteEndElement, WriteProcessingInstruction.
  779. 2002-03-17 Kral Ferch <[email protected]>
  780. * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
  781. had Load() add PIs to the document, moved onXXX methods to alphabetical
  782. order in the file.
  783. * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
  784. * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
  785. * XmlProcessingInstruction.cs: Implementations for WriteTo() and
  786. WriteContentTo().
  787. * XmlTextWriter.cs: Implementations for WriteEndElement,
  788. WriteProcessingInstruction, WriteStartElement, and WriteString.
  789. * XmlWriter.cs: Implemented WriteStartElement() methods.
  790. 2002-03-15 Duncan Mak <[email protected]>
  791. * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
  792. InnerText once I know what they do.
  793. * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
  794. that we can properly chain constructors.
  795. (CloneNode): implemented.
  796. (WriteContentTo): Removed MonoTODO attribute as this method has no
  797. effect in this class.
  798. * XmlProcessingInstruction.cs (Value): Added the missing Set
  799. block.
  800. (InnerText): Added in, but not implemented.
  801. 2002-03-14 Kral Ferch <[email protected]>
  802. * XmlTextWriter.cs: implemented constructors and
  803. WriteCData and WriteComment.
  804. 2002-03-14 Duncan Mak <[email protected]>
  805. * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
  806. file, and updated the callbacks to reflect the change.
  807. (XmlDocument): Added the NameTable constructor.
  808. (NameTable): Also the NameTable property.
  809. * XmlNodeChangedEventHandler.cs: Added, replacing the version that
  810. was in XmlDocument.cs. It has two arguments now (object,
  811. EventArgs) , instead of one (object).
  812. 2002-03-14 Kral Ferch <[email protected]>
  813. * XmlWriter.cs: Formatting.
  814. * XmlTextWriter.cs: Initial checkin.
  815. 2002-03-14 Duncan Mak <[email protected]>
  816. * Validation.cs: Removed, replaced by ValidationType.cs.
  817. * ValidationType.cs: Added.
  818. 2002-03-13 Duncan Mak <[email protected]>
  819. * XmlException.cs: Made it [Serializable], implemented good ol'
  820. GetObjectData, and the serialization constructor.
  821. * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
  822. (SetNamedItem): Reverted (added back in) the patch with the
  823. ReadOnly checks. "Don't doubt yourself, my son... you were right!"
  824. * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
  825. (GetNamedItem (string, string)): implemented.
  826. (RemoveNamedItem): implemented.
  827. (SetNamedItem): implemented.
  828. 2002-03-12 Kral Ferch <[email protected]>
  829. * XmlAttribute.cs: Moved a method from amongst properties down to
  830. it's alphabetical position in the methods section.
  831. * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
  832. last linked child. Set XmlNode base class to return false for IsReadOnly().
  833. Implemented GetEnumerator() and RemoveChild().
  834. * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
  835. This is to support the behavior that the Enumerator doesn't become invalid
  836. when changes to the children occur. Flushed out rest of implementation for
  837. MoveNext, Current, and Reset.
  838. 2002-03-12 Duncan Mak <[email protected]>
  839. * XmlCharacterData.cs: Reformatted the properties for better readability.
  840. * XmlLinkedNode.cs: Removed the awful boxy comments.
  841. * XmlNamedNodeMap.cs (Count):
  842. (Item): Implemented. Tests will be coming.
  843. * XmlEntityReference.cs:
  844. * XmlSignificantWhitespace.cs: Implemented these classes except for
  845. the Clone, WriteContentTo and WriteTo methods. Will have to
  846. investigate into these later.
  847. 2002-03-11 Duncan Mak <[email protected]>
  848. * IHasXmlNode.cs: Added to CVS.
  849. 2002-03-08 Jason Diamond <[email protected]>
  850. * XmlParserContext.cs: Added missing constructors and missing Encoding
  851. property.
  852. * XmlTextReader.cs: Start using the XmlParserContext class.
  853. 2002-03-08 Jason Diamond <[email protected]>
  854. * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
  855. 2002-03-08 Mike Kestner <[email protected]>
  856. * XmlNode.cs (Item): Implemented both indexers.
  857. 2002-03-08 Jason Diamond <[email protected]>
  858. * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
  859. XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
  860. 2002-03-08 Jason Diamond <[email protected]>
  861. * XmlAttribute.cs: Attribute nodes are supposed to store their values
  862. as child nodes so updated to reflect that.
  863. * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
  864. duplicated in XmlDocument and XmlElement into XmlNode so that it
  865. wouldn't have to be duplicated in XmlAttribute, too.
  866. 2002-03-08 Kral Ferch <[email protected]>
  867. * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
  868. XmlNode.cs: Formatting.
  869. * XmlNodeListChildren.cs: Implementation of XmlNodeList
  870. for XmlNode.ChildNodes property.
  871. * XmlNodeListAsArrayList.cs: Removed file. Using different
  872. data structure (circular list) in XmlNode so this file
  873. is no longer valid.
  874. * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
  875. bug in setter property of LastLinkedChild so fixed it.
  876. 2002-03-06 Jason Diamond <[email protected]>
  877. * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
  878. We already have a parser in XmlTextReader.
  879. * XmlException.cs: Removed constructor accepting XmlInputSource.
  880. 2002-03-06 Kral Ferch <[email protected]>
  881. * XmlNode.cs: Rewrote this class from scratch with
  882. MonoToDo attribs and NotImplementedExceptions. Now defines an
  883. internal LastLinkedNode property to aid the new implementation.
  884. XmlNodes only have ref to owner doc and parent nodes now.
  885. * XmlLinkedNode.cs: Added NextLinkedSibling internal property
  886. and ref to next sibling to support walking our circular child
  887. node list.
  888. * XmlDocument.cs: Added ref to last child node and overrides
  889. XmlNode's internal LastLinkedChild property to support walking
  890. our circular child node list.
  891. 2002-03-02 Kral Ferch <[email protected]>
  892. * XmlProcessingInstructions.cs: Class was empty. Implemented
  893. constructor, properties, and CloneNode() method. Put in
  894. MonoToDo attrib for remaining methods.
  895. * XmlComment.cs: Reformatted and put in MonoToDo attribs.
  896. Got rid of helper methods and fields since they were no
  897. longer needed.
  898. * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
  899. * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
  900. XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
  901. Createxxx() methods for those three node types.
  902. 2002-03-02 Jason Diamond <[email protected]>
  903. * XmlDocument.cs: Implemented the remaining CreateElement and
  904. CreateAttribute methods.
  905. * XmlAttribute.cs: Re-implemented.
  906. * XmlElement.cs: Set owner element on attributes. Reformatted.
  907. 2002-03-02 Jason Diamond <[email protected]>
  908. * XmlTextReader.cs: Implemented MoveToNextAttribute().
  909. * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
  910. attributes. Create attribute nodes while loading. Implemented
  911. Load(string) and CreateTextNode().
  912. * XmlCharacterData.cs, XmlText.cs: Re-implemented.
  913. * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
  914. XmlCharacterData.
  915. * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
  916. 2002-03-02 Mike Kestner <[email protected]>
  917. * XmlAttribute.cs : Using fix.
  918. * XmlDocument.cs (CreateAttribute(String)): Implement.
  919. 2002-03-02 Jason Diamond <[email protected]>
  920. * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
  921. the name table.
  922. 2002-02-28 Jason Diamond <[email protected]>
  923. * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
  924. courtesy of Kral Ferch <[email protected]>.
  925. 2002-02-28 Jason Diamond <[email protected]>
  926. * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
  927. added missing members and MonoTODO attributes.
  928. * XmlTextReader.cs: Throw XmlException instead of System.Exception.
  929. 2002-02-27 Jason Diamond <[email protected]>
  930. * XmlElement.cs: Reformatted, added missing members and MonoTODO
  931. attributes.
  932. 2002-02-26 Duncan Mak <[email protected]>
  933. * XmlCDataSection.cs: Initial implementation.
  934. * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
  935. it out. This should (hopefully) be correct.
  936. 2002-02-26 Jason Diamond <[email protected]>
  937. * XmlTextReader.cs: Apparently Microsoft's implementation treats
  938. namespace declarations as attributes so we do now, too.
  939. * XmlNamespaceManager.cs: HasNamespace fixed so that it only
  940. checks the current scope.
  941. 2002-02-26 Duncan Mak <[email protected]>
  942. * XmlDocumentType.cs: Added a few hacks here and there to
  943. temporarily fix the "I broke the build issue".
  944. 2002-02-25 Jason Diamond <[email protected]>
  945. * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
  946. XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
  947. simple test to pass. The existing code is really shitty so I'll
  948. probably start writing tests and refactoring before much else
  949. can get done.
  950. 2002-02-25 Duncan Mak <[email protected]>
  951. * NameTable.cs: Implemented.
  952. * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
  953. 2002-02-24 Duncan Mak <[email protected]>
  954. * XmlNodeOrder.cs: Added to CVS.
  955. * XmlQualifiedName.cs: Fixed a warning from Equals ().
  956. * XmlTokenizedType.cs: Added to CVS.
  957. * XmlUrlResolver.cs: Added to CVS with one TODO task.
  958. 2002-02-23 Duncan Mak <[email protected]>
  959. * XmlQualifiedName.cs: Fixed ToString () and added the operators
  960. (== and !=).
  961. 2002-02-23 Jason Diamond <[email protected]>
  962. * XmlTextReader.cs: Added support for qualified attributes.
  963. 2002-02-23 Jason Diamond <[email protected]>
  964. * XmlNamespaceManager.cs: Initial implementation.
  965. * XmlTextReader.cs: Added support for NamespaceURI property on
  966. elements.
  967. 2002-02-23 Nick Drochak <[email protected]>
  968. * ChangeLog: Add the change log to this directory
  969. * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
  970. MonoTODO's