ChangeLog 56 KB

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