ChangeLog 54 KB

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