ChangeLog 97 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617
  1. 2003-11-20 Eran Domb <[email protected]>
  2. * XmlTextWriter.cs (WriteStartAttribute) : Check if the ket already exists in the newAttributeNamespaces table
  3. before trying to add it to the table.
  4. 2003-11-19 Atsushi Enomoto <[email protected]>
  5. * DTDValidatingReader.cs : Replaced entity should not treat whitespaces
  6. as significant.
  7. * XmlNode.cs : Removed extraneous MonoTODOs.
  8. 2003-11-17 Jackson Harper <[email protected]>
  9. * XPathEditor.cs: .net 1.2 only
  10. 2003-11-17 Atsushi Enomoto <[email protected]>
  11. * AsyncXmlTextWriter.cs, IXPathChangeNavigator.cs, IXPathEditor.cs,
  12. IXPathNavigator.cs, IXmlDataEvidence.cs, IXmlNamespaceResolver.cs,
  13. UpdateEventHandler.cs, XPathChangeNavigator.cs, XPathDocument2.cs,
  14. XPathDocument2ChangedEventAction.cs,
  15. XPathDocument2ChangedEventHandler.cs, XPathEditor.cs,
  16. XPathNavigator2.cs, XmlChangeFilters.cs, XmlInfoItemType.cs,
  17. XmlNamespaceScope.cs, XmlNodeChangeType.cs, XmlQualifiedNameTable,cs,
  18. XmlQueryDialect.cs, XmlUpdateEventArgs.cs
  19. : Added .NET 1.2 classes (for convenience of ObjectSpaces stubbing).
  20. 2003-11-02 Atsushi Enomoto <[email protected]>
  21. * XmlDocumentNavigator.cs : Fixed MoveToFirstChild() and MoveToNext()
  22. to skip XmlEntityReference.
  23. * XmlTextWriter.cs : Fixed AddMissingElements() and
  24. WriteStartAttribute() not to emit extraneous xmlns.
  25. 2003-11-02 Atsushi Enomoto <[email protected]>
  26. * XmlTextWriter.cs : Skip multiple xmlns when element and any of
  27. attributes have the same xmlns values.
  28. WriteEndElement() allows open attribute (calles WriteEndAttribute()).
  29. Indentation should be inserted between ">" and "</xxx>" .
  30. 2003-11-02 Pedro Martínez Juliá <[email protected]>
  31. * XmlConvert.cs: Only parse INF/-INF/NaN. Other Infinty or NAN
  32. numbers are parsed with the respective ::Parse method.
  33. 2003-11-01 Pedro Martínez Juliá <[email protected]>
  34. * XmlConvert.cs: Revert my last change. INF and -INF must be
  35. processed here because Double::Parse and Single::Parse doesn't
  36. understand anything of parsing [-]INF.
  37. 2003-11-01 Atsushi Enomoto <[email protected]>
  38. * XmlDocument.cs : Save(Stream) should not close the stream.
  39. 2003-10-25 Atsushi Enomoto <[email protected]>
  40. * DTDReader.cs, DTDValidatingReader.cs, XmlInputStream.cs,
  41. XmlTextReader.cs : More cleanup.
  42. * XmlDocument.cs : Removed CheckName(). Code cleanup.
  43. * XmlElement.cs : .ctor() now adds default attributes (if required).
  44. * XmlAttribute.cs, XmlElement.cs, XmlEntity.cs, XmlEntityReference.cs,
  45. XmlNotation.cs : Now uses OwnerDocument's NameTable.
  46. 2003-10-25 Pedro Martínez Juliá <[email protected]>
  47. * XmlConvert.cs: Support for the sign in double and single. The
  48. processing of the infinites and nan numbers are more complex than
  49. comparing to "INF" so we must let Double::Parse and Single::Parse
  50. doing their job.
  51. 2003-10-25 Atsushi Enomoto <[email protected]>
  52. * DTDValidatingReader.cs : Now it handles whitespace entity as
  53. significant.
  54. * XmlConvert.cs : As to NIST testcases, exponential support on single
  55. and double floating point numbers.
  56. * XmlValidatingReader.cs : If it IsDefault, then line number and line
  57. position returns 0.
  58. 2003-10-25 Atsushi Enomoto <[email protected]>
  59. * DTDReader.cs,
  60. XmlConstructs.cs,
  61. XmlTextReader.cs,
  62. XmlWriter.cs : Fixed incorrect access modifier.
  63. * XmlTextWriter.cs : Imported state variable from XmlWriter.
  64. * DTDValidatingReader.cs : Removed extraneous MonoTODO.
  65. * XmlConvert.cs : Implemented ToTimeSpan().
  66. Modified ToDateTime() to reuse the same array.
  67. 2003-10-19 Atsushi Enomoto <[email protected]>
  68. * XmlAttributeCollection.cs : Fixed synchronization stuff.
  69. * XmlConvert.cs : Added two FromBinHexString() methods.
  70. * XmlTextReader.cs : Modified to use one of the above method.
  71. * XmlValidatingReader.cs : XsdValidatingReader.XmlResolver will be
  72. disabled (in the next commit), so resolver won' be set to it.
  73. Attempt to validate against XDR now throws NotSupportedException.
  74. 2003-10-19 Atsushi Enomoto <[email protected]>
  75. * XmlChar.cs : added WhitespaceChars, used in common.
  76. * XmlConvert.cs,
  77. XmlDeclaration.cs,
  78. XmlParserInput.cs,
  79. XmlTextReader.cs,
  80. XmlTextWriter.cs : String.Trim()
  81. * XmlConvert.cs : shifted XmlConstructs to XmlChar.
  82. * XmlTextReader.cs : Implemented Normalization.
  83. 2003-10-19 Atsushi Enomoto <[email protected]>
  84. * XmlNode.cs : GetPrefixOfNamespace() also contained a bug similar to
  85. GetNamespaceOfPrefix() fixed at 2003-10-13.
  86. * XmlTextReader.cs : ReadBase64() should keep incomplete base64 block
  87. which remained by previous call of this method.
  88. * XmlUrlResolver.cs : Added assertion for file Uri path's absoluteness.
  89. * XmlValidatingReader.cs : Notice about intention of XDR won't be
  90. supported (at least in Mono 1.0).
  91. 2003-10-18 Atsushi Enomoto <[email protected]>
  92. * XmlDocument.cs : CloneNode() does not copy PreserveWhitespace.
  93. * XmlWriter.cs : Calling WriteNode() with XmlReader whose state is
  94. XmlDeclaration now calls WriteProcessingInstruction(). This fixes
  95. testcase XmlWriterTests.WriteNodeFullDocument().
  96. * XmlTextWriter.cs : Added LAMESPEC comments related to above.
  97. 2003-10-13 Atsushi Enomoto <[email protected]>
  98. * XmlDocument.cs : Fixed bugzilla #49607. Save() outputs XML
  99. declaration even though there is no XmlDeclaration child.
  100. * XmlTextReader.cs : Fixed Init() so that ResetState() should work.
  101. 2003-10-13 Atsushi Enomoto <[email protected]>
  102. * XmlTextWriter.cs : Implemented WriteSurrogateCharEntity().
  103. Reverted my recent extraneous check in WriteStartAttribute().
  104. 2003-10-13 Atsushi Enomoto <[email protected]>
  105. * XmlNode.cs : GetNamespaceOfPrefix() should check Attributes existence.
  106. And it should throw ArgumentNullException.
  107. 2003-10-13 Atsushi Enomoto <[email protected]>
  108. * XmlAttribute.cs : Fixed InnerText that did not removed its content
  109. if there is two or more children.
  110. * XmlNode.cs : XmlNode.cs : Fixed bugzilla #49580 (1)to return "",
  111. (2)not to compare NodeType for detached nodes, (3)optimization to
  112. compare element's prefix.
  113. * XmlSecureResolver.cs : Removed extraneous members.
  114. 2003-10-09 Atsushi Enomoto <[email protected]>
  115. * Added DTDReader.cs. It is almost importation of XmlTextReader.
  116. * DTDObjectModel.cs :
  117. - More .NET-ism. Properties took place of fields.
  118. - Imported PE set from XmlTextReader. Added location info.
  119. - Added DTDEntityBase common to PE and GE.
  120. - More correct text declaration handling with new XmlTextReader.
  121. * DTDValidatingReader.cs :
  122. - Now uses entity resolving XmlTextReader to validate attributes
  123. correctly. Implemented standalone
  124. - Standalone and default related validity constraints check.
  125. * XmlImplementation.cs: Implemented HasFeature().
  126. * XmlNode.cs : Implemented Supports().
  127. * XmlNodeReader.cs : Modified to use XmlTextReader.SkipTextDeclaration()
  128. * XmlParserInput.cs : Removed extraneous members.
  129. * XmlTextReader.cs :
  130. - All DTD related functionality now goes to DTDReader.cs
  131. - It became old simple TextReader input style.
  132. - Implemented GetRemainder().
  133. - Implemented ReadBase64(), ReadBinHex() and ReadChars(), using
  134. additional new private method ReadUntilEndTag().
  135. - Removed incomplete MaybeTextDecl and added SkipTextDeclaration().
  136. ReadXmlDeclaration() now became simple.
  137. - More strict entity reference check at SetEntityReferenceProperty()
  138. - Removed extraneous members.
  139. * XmlWriter.cs : WriteNode(XmlNodeType.None) does not raise error.
  140. 2003-10-09 Gonzalo Paniagua Javier <[email protected]>
  141. * XmlTextReader.cs: when we get an unexpected EOF in ReadContent, set
  142. the state before throwing the exception if depth > 0.
  143. 2003-10-04 Atsushi Enomoto <[email protected]>
  144. * XmlAttribute.cs : Removed extraneous MonoTODO.
  145. * XmlTextWriter.cs : Implemented WriteBinHex() and WriteChars().
  146. WriteStartElement() and WriteStartAttribute() should ignore Prefix
  147. if namespace uri is not specified.
  148. 2003-10-04 Atsushi Enomoto <[email protected]>
  149. * XmlDocumentFragment.cs,
  150. XmlElement.cs,
  151. XmlEntityReference.cs : Removed extraneous MonoTODO.
  152. * XmlNode.cs : Implemented Normalize().
  153. * XmlNodeReader.cs :
  154. - AttributeCount and HasAttributes should return its owner element's
  155. value, to be consistent with XmlTextReader.
  156. - Fixed Depth to reflect correct attribute/attribute-value iteration.
  157. - simplified ownerElement and HasValue.
  158. - Prefix won't return null.
  159. - MoveToElement() should also work against attribute value nodes.
  160. * XmlTextReader.cs : MoveToElement() should return false if it is
  161. positioned at element itself.
  162. 2003-10-04 Atsushi Enomoto <[email protected]>
  163. * XmlTextReader.cs : Improved SignificantWhitespace handling.
  164. 2003-10-01 Atsushi Enomoto <[email protected]>
  165. * XmlSecureResolver.cs : Implemented basic feature.
  166. 2003-10-01 Atsushi Enomoto <[email protected]>
  167. * XmlUrlResolver.cs : Should work with null type argument.
  168. 2003-10-01 Lluis Sanchez Gual <[email protected]>
  169. * XmlTextWriter.cs : An attribute can require a prefix for the default
  170. namespace, so we need to store the prefix as well as the namespace.
  171. 2003-09-30 Atsushi Enomoto <[email protected]>
  172. * DTDValidatingReader.cs : Simplified to use
  173. XmlSchemaUtil.GetParserContext().
  174. * XmlValidatingReader.cs : ValidationType.Auto should always use
  175. XsdValidatingReader because xsi:schemaLocation might be used.
  176. 2003-09-30 Atsushi Enomoto <[email protected]>
  177. * XmlTextReader.cs : Attribute value token properties were incorrectly
  178. set by the linked node.
  179. 2003-09-26 Atsushi Enomoto <[email protected]>
  180. * XmlDocumentNavigator.cs : Fix for bugzilla #48931. MoveToRoot() now
  181. considers such case that target node was not adapted to the document.
  182. * XmlNamespaceManager.cs : GetEnumerator() missed the last pair.
  183. * XmlTextWriter.cs : use 'as' instead of 'try..catch'.
  184. 2003-09-25 Ben Maurer <[email protected]>
  185. * XmlNode.cs (XPathNodeType): Give more useful debugging message.
  186. * XmlDocumentNavigator.cs (MoveToPrevious): Needs same checks as
  187. in MoveToNext.
  188. 2003-09-23 Atsushi Enomoto <[email protected]>
  189. * XmlNamespaceManager.cs: Rewrote PopScope() because its namespace
  190. recovery was still not enough. Fixed GrowScopes() (incorrect index).
  191. 2003-09-21 Atsushi Enomoto <[email protected]>
  192. * XmlTextReader.cs :
  193. - Fix for bugzilla #48337 (containing Ben's advice on that).
  194. - Added internal XmlTokenInfo classes. Nodes are now handled as token
  195. objects (linked node, attributes and attribute values). Most of the
  196. node state properties and iterating methods are changed to refer to
  197. the token classes (except for value builder availability). Removed
  198. fields which are never used. CompileDTDSubset() is changed in
  199. reflection to nodeType field removal.
  200. - Fixed Depth that should vary in moving between attributes and/or
  201. reading attribute values.
  202. - LineNumber and LinePosition now returns more correct location.
  203. - Fixed Value that should still return true if its value is an empty
  204. attribute value string.
  205. - EntityValue is checked WFC constraints even thoug it is not used.
  206. - All .ctor() now initializes ReadState as Initial.
  207. - Read() should be available for attribute value constructor.
  208. * XmlAttribute.cs : set_InnerXml() now calls reader's Read().
  209. 2003-09-21 Atsushi Enomoto <[email protected]>
  210. * XmlNamespaceManager.cs: PopScope() must retain those namespaces which
  211. are added in the scope before PushScope() was called.
  212. 2003-09-20 Ben Maurer <[email protected]>
  213. * XmlNamespaceManager.cs: Rewrote. Uses arrays, rather than linked
  214. lists and removes uses of Hashtable. Results in huge speed gains.
  215. 2003-09-19 Ben Maurer <[email protected]>
  216. * XmlConvert.cs: NaN.ToString () != INF.
  217. 2003-09-14 Lluis Sanchez Gual <[email protected]>
  218. * XmlTextWriter.cs: Attributes that have a namespace must be always
  219. prefixed.
  220. 2003-09-13 Atsushi Enomoto <[email protected]>
  221. * XmlTextWriterOpenElement.cs : Changed to receive prefix and localName
  222. in .ctor().
  223. * XmlTextWriter.cs : Changed to use above XmlTextWriterOpenElement.
  224. Changed xmlns adding scheme. In detail, 1) WriteStartElement does not
  225. add Namespaces immediately, but adds at AddMissingElementXmlns so
  226. that we don't have to have extra check than namespaceManager's
  227. LookupPrefix(). 2) Removed writtenAttributes for performance reason
  228. since it is no more required.
  229. 2003-09-10 Atsushi Enomoto <[email protected]>
  230. * XmlDocument.cs : patch by Jonathan Hogg. Fixed CreateAttribute()
  231. that handled xmlns attributes inproperly.
  232. 2003-09-08 Atsushi Enomoto <[email protected]>
  233. * XmlNamespaceManager.cs : GetEnumerator() should return all of the
  234. available pairs (of prefix and namespace).
  235. * XmlQualifiedName.cs : Quick fix for NullReferenceException in case
  236. of name (or ns) is null. (The description of the immediate previous
  237. changes will be inserted below.)
  238. * XmlTextWriter.cs : Fixed WriteDocType(). Removed CheckValidName().
  239. * XmlUrlResolver.cs : Changed not to call WebClient.Dispose() which
  240. will release resources it had allocated.
  241. 2003-09-01 Ben Maurer <[email protected]>
  242. * XmlDocument.cs (Save): use the encoding of the document, if
  243. available.
  244. 2003-08-24 Atsushi Enomoto <[email protected]>
  245. * XmlValidatingReader.cs : Implemented SchemaType. Added support for
  246. ValidationType.Schema. Added support for XmlResolver. Fixed
  247. ReadTypedValue() not to consume EndElement.
  248. 2003-08-19 Atsushi Enomoto <[email protected]>
  249. * XmlDocumentNavigator.cs : Fixed MoveToFirstNamespace() that arose
  250. infinite loop.
  251. * XmlNamespaceManager.cs : Renamed AtomStrEq to AtomicStringEquals.
  252. Commented out Console.Error.WriteLine().
  253. * XmlUrlResolver.cs : Fixed ResolveUri() and GetEntity() to support
  254. escape and unescape for relative URI string.
  255. 2003-08-19 Ben Maurer <[email protected]>
  256. * XmlParserContext.cs: Make each context inherit next.
  257. 2003-08-18 Ben Maurer <[email protected]>
  258. * XmlChar.cs (IsWhitespace): Spare enumerator allocation.
  259. * XmlTextWriter.cs (WriteWhitespace): Enumerators are very high in
  260. fat, use low-fat loops instead. Even better, call the function
  261. inside XmlChar for code reuse.
  262. * HighWaterStack.cs (added): New class that acts like a Stack, but
  263. helps with memory allocation.
  264. * XmlNamespaceManager.cs, XmlParserContext.cs: Rewrote to use
  265. HighWaterStack.
  266. * XmlTextReader.cs: Remove orderedAttributesEnumerator variable,
  267. use a variable that stores the position in the ArrayList.
  268. 2003-08-18 Ben Maurer <[email protected]>
  269. * XmlTextWriter.cs: Begin diet. String.Format has too much
  270. saturated fat, lets replace with the fat-free .Write ()
  271. calls. Effects best seen when Paolo's StreamWriter patch is
  272. applied.
  273. 2003-08-14 Atsushi Enomoto <[email protected]>
  274. * XmlNodeReader.cs : Fixed ReadAttributeValue() that might result in
  275. vanishing current node.
  276. 2003-08-14 Atsushi Enomoto <[email protected]>
  277. * DTDValidatingReader.cs : Added SchemaType.
  278. Read() Assures to return to element.
  279. * DTDObjectModel.cs : Removed DTDEntityDeclaration.BaseURI.
  280. * XmlReader.cs : ReadString() should be virtual in NET_1_1.
  281. * XmlTextReader.cs : 1) Depth should consider Attribute and its values.
  282. Introduced insideAttribute field to support them.
  283. 2) ReadAttributeValue() should consider empty string.
  284. * XmlValidatingReader.cs :
  285. Fixed several properties which premised as if it was already read.
  286. Encoding and Namespaces now throws NotSupportedException for other
  287. than XmlTextReader.
  288. Implemented ReadTypedValue() based on IHasXmlSchemaInfo.SchemaType.
  289. 2003-08-10 Atsushi Enomoto <[email protected]>
  290. * XmlInputStream.cs : Reverted CanSeek as to return false anyway.
  291. 2003-08-10 Atsushi Enomoto <[email protected]>
  292. * DTDObjectModel.cs : added XmlResolver related members. Added
  293. invalid entity recursion logic. Added encodingdecl check on textdecl.
  294. * DTDValidatingReader.cs : It now implements IHasXmlParserContext.
  295. * XmlChar.cs : IsPubidChar() should not allow TAB(&#9;).
  296. * XmlDocumentType.cs : 1) internal CreateDocumentType() was now changed
  297. to receive DTDObjectModel to support other than XmlTextReader.
  298. 2) Most of its public member is now based on DTDObjectModel.
  299. * XmlDocument.cs : 1) Synchronous change with XmlDocumentType.
  300. 2) ReadNode() now considers XmlParserContext's DTDObjectModel for
  301. other than XmlTextReader (such as XmlValidatingReader).
  302. * XmlNode.cs : code cleanup only.
  303. * XmlParserInput.cs : added HasPEBuffer, used to check illegal nesting.
  304. * XmlTextReader.cs : 1) Illegal entity reference check logic was moved
  305. from ReadContent() to SetEntityReferenceProperties(). 2) Indentation
  306. change on ReadEntityReference(). 3) ReadAttribute() now checks
  307. reference to external entity reference. 4) Added textdecl encoding
  308. check. 5) DTDObjectModel fields are now set correctly. 6) added
  309. PERef markup nest check. 7) If PEDecl was not found, it might be WFC
  310. violation, not only be VC violation. 8) ReadEntityDecl() now receives
  311. its declared entity itself, and this method checks IsInternalSubset.
  312. * XmlValidatingReader.cs : 1) Added GetInternalPerserContext().
  313. 2) ValidationType.None should be the same as Auto, not DTD (in the
  314. future it should keep xml schema's default values).
  315. Pending Stuff in XmlTextReader which breaks some NUnit tests;
  316. 1) SetEntityReferenceProperies() has check for illegal references.
  317. 2) ReadAttribute(bool) has similar check for illegal references.
  318. 2003-08-09 Atsushi Enomoto <[email protected]>
  319. * DTDAutomata.cs : Fixed (modified or added) TryEndElement() of choice,
  320. sequence and oneOrMore. Fixed DTDChoiceAutomata.TryStartElement().
  321. 2003-08-09 Atsushi Enomoto <[email protected]>
  322. * XmlTextReader.cs : Checked and fixed all TryExpandPERef() invokation
  323. and supplied SkipWhitespace() as they needed. It broke monodoc.
  324. Fixed ReadEntityValueDecl() to get correct value.
  325. 2003-08-08 Atsushi Enomoto <[email protected]>
  326. * XmlInputStream.cs :
  327. Fixed Initialize() that might result in incorrect buffer.
  328. CanRead and Position should consider buffer (especially when the
  329. stream was EOF).
  330. CanSeek should use stream's CanSeek.
  331. * XmlChar.cs : added GetPredefinedEntity().
  332. * DTDObjectModel.cs :
  333. - Modified ComputeDefaultValue() to use it.
  334. - Fixed NormalizedDefaultValue not to expect parsed value as string.
  335. - ResolveExternalEntity now detects invalid standalone specification.
  336. - DTDParameterEntityDeclaration.Value is now changed to property and
  337. keep its resolved value of literal value of external value using
  338. new Resolve (XmlResolver) method (called only by XmlTextReader).
  339. * DTDValidatingReader.cs :
  340. - It now handles entity-expanded Whitespace and SignificantWhitespace
  341. correctly. Does not raise unexpected text not allowed error.
  342. - Fixed MoveToAttribute()s to move internal reader correctly, and
  343. should be able to move in other cases than on element node.
  344. - On Read()ing document type and ResolveEntity(), it now sets
  345. XmlResolver on text reader.
  346. - On ID constraints check and type verification, it now uses
  347. normalized attribute or its tokenized value(s).
  348. - Fixed ValidateAttributes() to add default values when
  349. ValidationType is Auto.
  350. * XmlParserContext.cs : added internal Dtd setter.
  351. * XmlParserInput.cs :
  352. InsertParameterEntityBuffer() should add surrounding whitespaces.
  353. Removed unused code block.
  354. * XmlTextReader.cs :
  355. - Modified ReadReference(), ReadAttribute() and Dereference() to use
  356. XmlChar.GetPredefinedEntity().
  357. - When returning entity reference, it checks extity declaration
  358. existence in certain conditions.
  359. - ReadAttribute() now skips general entity replacement on reading
  360. entity value.
  361. - ReadText() now handles whitespace texts as XmlNodeType.Whitespace.
  362. - ReadXmlDeclaration() holds isStandalone, which might be used in
  363. entity reference's well-formedness check.
  364. - internal 'DTD' now uses XmlParserContext.Dtd.
  365. - isInternalSubset was meaningless. Now uses input stack's Count.
  366. - Added some required SkipWhitespace().
  367. - Several parameter entity handling changes. Added GetPEValue(name).
  368. TryExpandPERef() now uses ImportAsPERef(). ReadParameterEntityDecl()
  369. now uses its Resolve() when it was external PE. Now it uses value
  370. buffer instead of currentTag, to efficiently read (included) PE.
  371. CompileDeclaration() now uses ImportAsPERef instead of ExpandPERef().
  372. ImportAsPERef() simply inserts the value to currentInput.
  373. ReadEntityDecl() also uses value buffer. Removed non-used methods.
  374. - Default attributes are now stored in normalized form.
  375. - Dereference() now considers non-expanding predefined entities.
  376. * XmlValidatingReader.cs : now holds Schemas, and ValidationType.Auto
  377. is more correctly supported.
  378. * XmlAttributeCollection.cs :
  379. When removing default attribute, it immediately inserts the attribute.
  380. RemoveAll() should consider default (not-removable) attributes.
  381. * XmlDocument.cs :
  382. Should have its default XmlResolver. Added Internal Resolver.
  383. Some Load() should use its XmlResolver.
  384. ImportNode() should copy its children in node level, not value level.
  385. It also have to consider not to copy default attribute on importing
  386. XmlElement.
  387. * XmlDocumentType.cs : Now uses document's XmlResolver to read DTD.
  388. * XmlAttribute.cs,
  389. XmlDocumentFragment.cs.
  390. XmlElement.cs : use XmlResolver on InnerXml. Removed some MonoTODO.
  391. * XmlNodeReader.cs : GetInternalParserConext() should provide its DTD.
  392. ResolveEntity() uses XmlResolver on entityReader.
  393. 2003-08-07 Atsushi Enomoto <[email protected]>
  394. * DTDObjectModel.cs :
  395. - Added validation error check (and AddError(), Errors).
  396. - Fixed ComputeDefaultValue() to handle various references correctly.
  397. - DTDEntityDeclaration.EntityValue became property, and added
  398. LiteralEntityValue. The new one holds resolved value.
  399. Added ResolveExternalEntity(). It now required root in .ctor().
  400. * DTDValidatingReader.cs :
  401. - Now it handles namespaced attributes (as input to xsd validator).
  402. - Added XmlResolver property as usual XmlReader.
  403. - Added currentEntityHandling field so that it can stand changing
  404. XmlValidatingReader's EntityHandling dynamically.
  405. - FilterNormalization() now requires name for getting datatypes and
  406. can stand for non-current attribute normalization.
  407. - Splitted ReadContent() from Read() that can be called recursively
  408. when expanding entities.
  409. - Now handles Entity not found error *after* resolution of entities,
  410. as MS.NET does.
  411. - Read()ing DTD checks its Errors and raises validation error events.
  412. In some situations, DTD parsing may detect VC error, not WFC error.
  413. It also strictly checks NData existence.
  414. - Handling of entity-resolved text is a bit changed and Read()ing
  415. element, endElement, cdata now changed to switch collecting text
  416. and collected text.
  417. - content type ANY should allow texts.
  418. - Added enumerated attribute validity check.
  419. - Added Name/Names creation rule check for ID/IDREF/IDREFS.
  420. - Added entity existence check for ENTITY/ENTITIES attributes.
  421. - Added NMTOKEN creation rule check for NMTOKEN/NMTOKENS.
  422. - Fixed to remove extraneous #REQUIRED check.
  423. - Contributing default attribute is now only applied to the case
  424. ValidationType is DTD or None.
  425. - ResolveEntity() now handles external entities.
  426. Added Mono.Xml.IXmlParserContext interface support.
  427. * XmlDocumentType.cs : Fixed to use BaseURI to build DTD model.
  428. * XmlTextReader.cs :
  429. - Fixed ReadAttributeValue() to reset returnEntityReference.
  430. - Added bool MaybeTextDecl only for ResolveEntity().
  431. - Fixed ReadWhitespace(). In fact its value is considered even if it
  432. is in the end of the XML.
  433. - Fixed ReadXmlDeclaration(). Now skips text declaration.
  434. - CompileDTDSubset() now checks IGNORE/INCLUDE section end balances.
  435. - ReadContentSpec() should set OrderType = OR for mixed model.
  436. Fixed to set content element name correctly.
  437. - ImportAsPERef() now skips Text declaration.
  438. - Type of enumerated default attributes shold be string.
  439. - Undeclared PE error is now handled as DTD's VC error, not
  440. XmlTextReader's WFC error.
  441. * XmlValidatingReader.cs : BaseURI should provide that of
  442. original XmlReader's when read was not started yet.
  443. Fixed XmlResolver to delegate to DTDValidatingReader.
  444. * XmlAttributeCollection.cs : Acquiring attList declaration is
  445. insufficient especially in case of lack of elementdecl.
  446. * XmlChar.cs : (Maybe this is compact than XmlConstructs.)
  447. added IsWhitespace(),IsNCNameChar(),IsName(),IsNCName(),IsNmToken(),
  448. IsPubid(). Copies IsValidIANAEncoding() from XmlConstructs.
  449. * XmlInputStream.cs : Removed "version" declaration check. It should
  450. be done by XmlTextReader.
  451. * XmlNodeReader.cs : added internal GetInternalParserContext() and now
  452. it can be used in XmlValidatingReader.ResolveEntity().
  453. ResolveEntity() sets XmlTextReader.MaybeTextDecl.
  454. 2003-08-05 Atsushi Enomoto <[email protected]>
  455. * DTDValidatingReader.cs :
  456. Added full ExpandEntities support for text node and entity reference
  457. node (although require many usage tests). Almost all methods and
  458. properties now have currentTextValue != null check, that field means
  459. that there are cached (entity-resolved) text.
  460. Implemented default attribute aware XmlLang and XmlSpace.
  461. * XmlNodeReader.cs : ResolveEntity() should not require DTD.
  462. 2003-08-03 Atsushi Enomoto <[email protected]>
  463. * DTDValidatingReader.cs,
  464. XmlNodeReader.cs,
  465. XmlReader.cs,
  466. XmlTextReader.cs,
  467. XmlValidatingReader.cs : fixed pragma USE_VERSION_1_0 to NET_1_0.
  468. 2003-08-03 Atsushi Enomoto <[email protected]>
  469. * DTDObjectModel.cs : Added BaseURI (but not used yet).
  470. DTDAttListDeclaration.ctro() now requires root dtd object model.
  471. * DTDValidatingReader.cs : Read() now expands EntityReference if
  472. entity handling of validating reader is ExpandEntities.
  473. * XmlReader.cs,
  474. XmlTextReader.cs,
  475. XmlNodeReader.cs,
  476. XmlValidatingReader.cs : Implemented "virtual" ReadInnerXml and
  477. ReadOuterXml which are modified in MS.NET 1.1.
  478. * XmlConstructs.cs : added int version of IsValid, IsInvalid,
  479. IsContent, IsMarkup and IsNCNameStart.
  480. Fixed int version of IsXXX() to check array index range.
  481. Added IsValidName (string).
  482. * XmlTextReader.cs :
  483. - Read() handles document with non document element as an error.
  484. - ReadText() and ReadCharacterReference() checkes illegal characters.
  485. - ReadEntityReference() checks name validity.
  486. - ReadProcessingInstruction() rejects such name that starts with
  487. "xml" ignoring case, and checks attributes more strictly.
  488. - ReadDeclaration() rejects unrecognized kind of declaration.
  489. - In many places, added "required whitespace" check in DTD markup.
  490. - DTD content model now disallows mixing use of '|' and ','.
  491. 2003-08-02 Atsushi Enomoto <[email protected]>
  492. * XmlDocumentFragment.cs : I missed to add it in relation to the
  493. previous XmlParserContext patch. Similar to XmlAttribute/XmlElement.
  494. * XmlNodeReader.cs : removed some TODO attributes.
  495. * DTDValidatingReader.cs,
  496. XmlValidatingReader.cs : Implemented ResolveEntity().
  497. 2003-07-31 Atsushi Enomoto <[email protected]>
  498. * XmlParserContext.cs,
  499. XmlAttribute.cs,
  500. XmlElement.cs : Added internal Dtd and new internal XmlParserContext
  501. .ctor() that takes DTDObjectModel. And then rewrote classes which
  502. uses DTD information. Changed DocTypeName, InternalSubset, PublicId
  503. and SystemId to use DTDObjectModel.
  504. * DTDObjectModel.cs :
  505. Added DTDObjectModel.InternalSubsetHasPEReference.
  506. Added DTDEntityDeclaration.IsInternalSubset.
  507. * XmlTextReader.cs :
  508. Added internal GetInternalParserContext (to build entity reader).
  509. Added private isIntSubset to check if the DTD subset is internal or
  510. external, which might affect well-formedness constraints.
  511. Changed GenerateDTDObjectModel to return the resulting DTD model.
  512. * XmlEntityReference.cs : implemented BaseURI.
  513. * XmlNodeReader.cs :
  514. - Implemented ResolveEntity() and CanResolveEntity(). In fact
  515. it leads too many changes on almost all methods and properties,
  516. since they now must be aware of entityReader.
  517. - fixed ownerElement that might be used to return from attribute
  518. value to the element through parent attribtues.
  519. - Now changed indexer to call GetAttribute() and moved actual logic
  520. to the matching GetAttribute() methods.
  521. 2003-07-29 Atsushi Enomoto <[email protected]>
  522. * XmlNode.cs : fixed internal ConstructNamespaceManager() for InnerXml
  523. not to create extraneous xmlns="".
  524. 2003-07-28 Atsushi Enomoto <[email protected]>
  525. * DTDValidatingReader.cs : (Read,ValidateAttributes,ReadAttributeValue)
  526. attribute declaration should be got independently of elementdecl.
  527. * XmlAttribute.cs :
  528. Added internal SetDefault() to mark as default.
  529. Removed InnerText implementation that is just the same as XmlNode.
  530. * XmlDocument.cs : id shouldn't be removed from table at 'trying' to
  531. get matching elements. ReadAttributeNode() now sets default mark.
  532. * XmlElement.cs : WriteTo() should ignore default attributes.
  533. * XmlTextWriter.cs : shuold allow valid name char such as digits.
  534. 2003-07-27 Piers Haken <[email protected]>
  535. * XmlQualifiedName.cs : fields should never be null
  536. 2003-07-27 Atsushi Enomoto <[email protected]>
  537. * XmlDocumentFragment.cs : added XPathNodeType indicating Root.
  538. 2003-07-27 Atsushi Enomoto <[email protected]>
  539. * XmlDocument.cs (GetIdenticalAttribute): restored OwnerElement.IsRooted
  540. 2003-07-27 Atsushi Enomoto <[email protected]>
  541. * XmlLinkedNode.cs : added internal IsRooted.
  542. 2003-07-26 Atsushi Enomoto <[email protected]>
  543. * DTDValidatingReader.cs :
  544. - Added ID support in ValidateAttributes().
  545. - More refined ReadAttributeValue() support for non-expanding entity
  546. situation
  547. - It should handle LocalName, Name, Prefix, NamespaceURI and Value
  548. correctly when the reader is on each of the value nodes of an
  549. attribute. Now XmlDocument.ReadNode() should work well.
  550. * XmlDocument.cs :
  551. - added idTable, AddIdenticalAttribute(), GetIdenticalAttribute() and
  552. RemoveIdenticalAttribute()
  553. - Implemented GetElementById().
  554. * XmlAttributeCollection.cs :
  555. - added private ownerDocument property and replaced
  556. ownerElement.OwnerDocument with it.
  557. - Added AdjustIdenticalAttribute() and it is used in SetNamedItem().
  558. It calls XmlDocument.{Add|Remove}IdenticalAttribute().
  559. - Added RemoveIdenticalAttribute() and it is used in Remove().
  560. (I also added AddIdenticalAttribute() but is not used.)
  561. 2003-07-26 Duncan Mak <[email protected]>
  562. * XmlDocument.cs (GetIdenticalAttribute): Temporarily remove test
  563. for OwnerElement.IsRooted to fix the build..
  564. 2003-07-26 Atsushi Enomoto <[email protected]>
  565. * XmlDocumentType.cs :
  566. modified private DTD to dtd and added internal DTD (the same thing).
  567. * XmlElement.cs :
  568. Fixed SetAttributeNode() to check if specified attribute is already
  569. set to the other element. In fact it is W3C DOM's specification but
  570. MS.NET 1.0 failed to catch it.
  571. * XmlTextReader.cs :
  572. ReadAttributeValue() should check if the value of the attribute is
  573. already read when the whole value is entity reference.
  574. Also, Name of text nodes should be "", not "#text"
  575. 2003-07-26 Atsushi Enomoto <[email protected]>
  576. * XmlAttribute.cs : .ctor() shouldallow localName "xml" (not prefix)
  577. with http://www.w3.org/XML/1998/namespace.
  578. * XmlEntity.cs : patch by Aleksey Sanin. InnerText is now supported.
  579. * XmlNode.cs : InnerText should handle CDATA and whitespaces.
  580. * XmlTextReader.cs : Should allow " (#PCDATA)* " in ReadContentSpec().
  581. * XmlTextWriter.cs : Quick fix for accepting (and writing) same-named
  582. attributes (as MS.NET does). It isn't good way and I may change it.
  583. 2003-07-24 Atsushi Enomoto <[email protected]>
  584. * DTDObjectModel.cs : Added DTDEntityDeclarationCollection and
  585. DTDNotationDeclarationCollection and replaced Hashtables with them.
  586. Added NormalizedDefaultValue property for DTDAttributeDefinition.
  587. * DTDValidatingReader.cs :
  588. - It now reads attribute values into value collection.
  589. - Renamed consumedDefaultAttribute to consumedAttribute, and
  590. inContent to insideContent.
  591. - GetAttribute() should allow reader's other node state than element.
  592. - MoveToNextAttribute() should move when reader is placed other than
  593. the first attribute.
  594. - HandleError() now supports ValidationType.None (i.e. does nothing).
  595. - ValidateAttribute() now collects and resolves attribute value
  596. entity references. (On the other hand, it doesn't support
  597. EntityHandling.ExpandCharEntity.)
  598. - NodeType shouldn't return Attribute after ReadAttributeValue().
  599. Now only Text is supported, but must also support EntityReference.
  600. - Add FilterNormalization() and partially support Normalization.
  601. 2003-07-24 Atsushi Enomoto <[email protected]>
  602. * XmlTextReader.cs :
  603. Read() now handles parser context stuff (BaseURI, XmlLang and
  604. XmlSpace) correctly for an empty element.
  605. Normalization property now doesn't throw an error. Will be used soon.
  606. * XmlValidatingReader.cs : added ValidationType.None support (wait for
  607. the next DTDValidatingReader update for "not firing event handler).
  608. * XmlNodeReader.cs : jun. 30th commit seems wrong. It keeps its state.
  609. 2003-07-19 Atsushi Enomoto <[email protected]>
  610. * DTDValidatingReader.cs :
  611. changed base class to XmlReader and implemented IXmlLineInfo members.
  612. changed .ctor() argument from event handler to validating reader.
  613. Removed some #if ... #else ... #endif blocks.
  614. Added validation event support for Read() using HandleError().
  615. * XmlValidatingReader.cs : added internal OnValidationEvent().
  616. * XmlDocument.cs : ReadNode() now checks reader's state more strictly.
  617. 2003-07-19 Atsushi Enomoto <[email protected]>
  618. * XmlUrlResolver.cs : applied BenM's patch for file uri problem
  619. (bug #46610).
  620. 2003-07-15 Atsushi Enomoto <[email protected]>
  621. * DTDValidatingReader.cs :
  622. added DTDObjectModel support for non-XmlTextReader XmlReader
  623. e.g. XmlNodeReader (Read() method).
  624. * XmlDocument.cs :
  625. added internal CreateDocumentType(XmlTextReader) and moved
  626. ReadDoctypeNode() to XmlDocumentType.ImportFromDTD().
  627. * XmlDocumentType.cs :
  628. added internal .ctor(XmlTextReader, document) and ImportFromDTD().
  629. * XmlTextReader.cs :
  630. Renamed useSbForVal (valueBuilderAvailable), valSb (valueBuilder)
  631. and currentSubset (DTD).
  632. Added GenerateDTDObjectModel() (for independent doctype parsing).
  633. 2003-07-15 Atsushi Enomoto <[email protected]>
  634. * XmlAttribute.cs :
  635. .ctor() should reject xml- or xmlns-prefixed node.
  636. * XmlNamespaceManager.cs :
  637. added some xmlns validity check.
  638. * XmlNode.cs :
  639. optimized GetNamespaceOfPrefix() and GetPrefixOfNamespace() by
  640. avoiding XmlNamespaceManager creation.
  641. * XmlNodeReader.cs :
  642. doctype node should return PUBLIC and SYSTEM for its indexer,
  643. and Value should be internal subset,
  644. 2003-07-12 Atsushi Enomoto <[email protected]>
  645. * DTDObjectModel.cs,
  646. DTDValidatingReader.cs : Completely rewrote attribute handling.
  647. 2003-07-12 Atsushi Enomoto <[email protected]>
  648. * XmlAttribute.cs,
  649. XmlElement.cs : Fixed CloneNode() for bug #46129.
  650. * XmlDocument.cs : Fixed MakeReaderErrorMessage that specified invalid
  651. String.Format arguments, and basically XmlException.ctor(
  652. IXmlLineInfo, message) seems good idea to use.
  653. * XmlTextReader.cs :
  654. - Fixed .ctor(Stream, XmlNodeType, XmlParserContext) which had
  655. required non-null context which don't have to exist.
  656. - Added state check. Introduced 'currentState' and 'maybeTextDecl'
  657. (for external entity) and removed hasEnteredDocument. Added
  658. state-check logic to ReadStartTag(), ReadEndTag(), ReadText(),
  659. ReadCData(), ReadDoctypeDecl() and ReadWhitespace().
  660. - Replaced throw ReaderError() with throw new XmlException() and
  661. fixed that some error hadn't thrown, only created.
  662. - ResetState() should re-initialize existing private members other
  663. than some specified fields.
  664. - Private AddAttribute() should check if the same-named attribute
  665. already exists.
  666. * DTDObjectModel.cs : Additive declaration for ATTLIST is availabe now.
  667. 2003-07-09 Lluis Sanchez Gual <[email protected]>
  668. * XmlTextReader.cs : Implemented ResetState() method.
  669. 2003-07-06 Atsushi Enomoto <[email protected]>
  670. * XmlElement.cs : IsEmpty has removed attributes since it incorrectly
  671. used RemoveAll().
  672. 2003-07-06 Atsushi Enomoto <[email protected]>
  673. * XmlDocument.cs : Load(string filename) should close its stream.
  674. Small change for the latest DTDObjectModel change.
  675. * XmlTextReader.cs : Changed for the latest DTDObjectModel change (all
  676. changed methods are only related to DTD stuff).
  677. Now uses XmlSchemaDatatype for attribute type definition.
  678. * XmlValidatingReader : initial (limited) support for DTD validation.
  679. It can handle only XmlTextReader.
  680. * DTDObjectModel.cs : changed radically for initial validation support.
  681. * added DTDAutomata.cs and DTDValidatingReader.cs.
  682. 2003-07-06 Atsushi Enomoto <[email protected]>
  683. * XmlElement.cs : Removed extraneous xmlns output support (it should
  684. be done by XmlTextWriter).
  685. * XmlNode.cs : InsertBefore() now checks validity of the newChild (and
  686. most of the changes are in fact indentation changes).
  687. * XmlWriter.cs : WriteAttributes() now can write entity references.
  688. WriteNode() now writes xmldecl attributes correctly.
  689. Removed namespaceManager and xmlns check logic, since it should be
  690. done by individual XmlTextWriter.
  691. * XmlTextWriter.cs : Patch by Jerome. AddMissingElementXmlns () has
  692. written multiple xmlns declarations.
  693. Moved namespaceManager from abstract XmlWriter.
  694. Write{Start|End}Attribute() and WriteString() now checks xmlns
  695. attribute value. (MS.NET holds value only with this write method).
  696. 2003-07-04 Atsushi Enomoto <[email protected]>
  697. * XmlDocument.cs : removed xmlReader.Close() from Load(XmlReader).
  698. 2003-06-30 Atsushi Enomoto <[email protected]>
  699. * XmlDocumentNavigator.cs : Implemented MoveTo*Namespace() and
  700. essentially changed most of the property handling (e.g. removed attribute
  701. enumerator and it now became really cloneable).
  702. * XmlNodeReader.cs : ReadInnerXml() changes its state as error
  703. when the method is called at Initial state.
  704. 2003-06-25 Atsushi Enomoto <[email protected]>
  705. * XmlDocumentNavigator.cs : Fixed IsEmptyElement. It treats <foo></foo>
  706. as non-empty, and XmlElement's IsEmpty is designed as such.
  707. Fixed MoveToFirst() and MoveToNext() not to move to xmldecl nor
  708. doctype node.
  709. * XmlNode.cs : Fixed XPathNodeType. It should throw an exception
  710. instead of returning undefined enum value.
  711. Modified some code comments.
  712. * XmlWriter.cs : Fixed WriteNode () to use WriteFullEndElement()
  713. when XmlReader's node is not at empty element or at EndElement.
  714. Fixed XmlDeclaration's standalone check.
  715. 2003-06-21 Atsushi Enomoto <[email protected]>
  716. * XmlTextReader.cs : removed CRLFs. Fixed private InitializeContext()
  717. to use known Uri way (used in XmlUrlResolver) instead of UriBuilder.
  718. 2003-06-20 Atsushi Enomoto <[email protected]>
  719. * XmlInputStream.cs : quick fix for public ctor() BaseURI bug.
  720. 2003-06-20 Ben Maurer <[email protected]>
  721. * XmlTextReader.cs: Reduces memory allocation when the reader is
  722. not queried for some values.
  723. * NameTable.cs: Now uses a custom hashtable to implement. As a
  724. result, when Get (char[], int, int) is called, a string is only
  725. allocated if it is actually a new entry.
  726. (StrEqArray) Compares a string and a char[]
  727. (AddEntry) Adds a new entry to the hashtable
  728. (Entry) Represents a hashtable entry.
  729. 2003-06-20 Atsushi Enomoto <[email protected]>
  730. * XmlUrlResolver.cs : several ResolveUri() fix. e.g. for external URIs.
  731. 2003-06-16 Ben Maurer <[email protected]>
  732. * XmlUrlResolver.cs: really fixed #44231
  733. 2003-06-16 Atsushi Enomoto <[email protected]>
  734. * XmlNodeReader.cs : fixed MoveToNextAttribute(). In some cases
  735. this method set current node null.
  736. * XmlTextReader.cs : fixed GetAttribute (name, ns), which returned
  737. String.Empty instead of null (expected value).
  738. * XmlTextReader.cs,
  739. XmlUrlResolver.cs,
  740. XmlInputStream.cs : fixed BaseURI problem (bug #44231).
  741. 2003-06-15 Atsushi Enomoto <[email protected]>
  742. * XmlNodeReader.cs : this [name] and this [name, ns] (and
  743. GetAttribute() methods in turn) returns null instead of String.Empty.
  744. * XmlTextWriter.cs : WriteStartAttribute() should try to use specified
  745. prefix before auto-generating prefixes.
  746. Implemented WriteBase64().
  747. 2003-06-13 Atsushi Enomoto <[email protected]>
  748. * XmlNodeReader.cs : LookupNamespace () has refered invalid current
  749. node for attributes. Modified to use private "document" property.
  750. 2003-06-10 Lluis Sanchez Gual <[email protected]>
  751. * XmlTextWriter.cs: when adding an attribute with a namespace, a prefix must be automaticaly
  752. generated, and a namespace declaration must be added.
  753. * XmlWriter.cs: the namespace for the prefix xmlns must be http://www.w3.org/2000/xmlns/
  754. 2003-06-10 Zoltan Varga <[email protected]>
  755. * XmlAttribute.cs: Accept a null prefix or namespaceURI.
  756. 2003-06-10 Duncan Mak <[email protected]>
  757. * XmlDocumentNavigator.cs (GetNode): Make it implement
  758. IHasXmlNode.
  759. 2003-06-05 Lluis Sanchez Gual <[email protected]>
  760. * XmlTextWriter.cs : Fixed bug. After calling for example WriteStartElement ("pref","ln","ns");
  761. a call to LookupPrefix ("pref") when still writting attributes should
  762. return "ns", and it didn't.
  763. 2003-06-02 Atsushi Enomoto <[email protected]>
  764. * XmlDocumentNavigator.cs : quick fix for MoveToFirstChild().
  765. * XmlConvert.cs : fixed VerifyNCName() to check correctly.
  766. 2003-06-01 Atsushi Enomoto <[email protected]>
  767. * XmlDocumentNavigator.cs : Compute document node one time.
  768. MoveToFirstChild() should move to PIs and comments.
  769. 2003-05-30 Miguel de Icaza <[email protected]>
  770. * XmlReader.cs (ReadStartElement): Improve error message.
  771. 2003-05-28 Lluis Sanchez Gual <[email protected]>
  772. * XmlTextReader.cs : MoveToAttribute methods must set the enumerator to the right
  773. position, since MoveToNextAttribute may be called after it.
  774. SetProperties(): attributes do not "inherit" the namespace.
  775. * XmlDocument.cs: ReadNode(), ReadAttributeNode(): must keep the current reader position.
  776. 2003-05-27 Atsushi Enomoto <[email protected]>
  777. * NameTable.cs : Add() sets the given name string interned.
  778. * XmlParserContext.cs : added internal PushScope() and PopScope() to
  779. hold stacks of xml:base, xml:lang and xml:space.
  780. * XmlTextReader.cs : implemented XmlLang and XmlSpace (only as a
  781. property for stacked attributes). Renamed Initialize() to Initialize-
  782. Context(). Modified to use XmlParserContext.PushScope()/PopScope().
  783. 2003-05-26 Lluis Sanchez Gual <[email protected]>
  784. * XmlReader.cs: Little fix to WriteAttributeString()
  785. 2003-05-24 Atsushi Enomoto <[email protected]>
  786. * XmlAttribute.cs, XmlCharacterData.cs, XmlComment.cs, XmlDocument.cs,
  787. XmlDocumentFragment.cs, XmlElement.cs, XmlEntity.cs, XmlLinkedNode.cs,
  788. XmlNode.cs, XmlNotation.cs, XmlProcessingInstruction.cs, XmlReader.cs,
  789. XmlSignificantWhitespace.cs, XmlText.cs, XmlWhitespace.cs:
  790. Reverted the recent accessibility mistake (5/16).
  791. * XmlDocument.cs, XmlNode.cs : moved actual CreateNavigator() logic
  792. from XmlNode to XmlDocument.
  793. 2003-05-18 Lluis Sanchez Gual <[email protected]>
  794. * XmlQualifiedName.cs : Fixed bug in equality operator.
  795. 2003-05-18 Atsushi Enomoto <[email protected]>
  796. * XmlTextWriter.cs : patch by Jonathan Hogg. Flush() does not close
  797. any open attributes or elements. WriteWhitespace() checks state and
  798. closes start tag. Fixed WriteStringInternal() to replace CR/LF chars
  799. when it is called inside attribute value.
  800. * XmlException.cs : added .NET 1.1 .ctor.
  801. * added XmlSecureResolver.cs (only stubbing).
  802. * XmlAttribute.cs : set_InnerXml() should remove children.
  803. * XmlAttribute.cs,
  804. XmlElement.cs,
  805. XmlDocumentFragment.cs,
  806. XmlDocument.cs : removed XmlTextReader reuse (It was buggy stuff).
  807. * XmlNode.cs : RemoveAll() should also remove all attributes.
  808. * XmlTextRader.cs : .ctor() for attribute value reader should add
  809. quotations at initialization, since it requires quote chars.
  810. * XmlWriter.cs : WriteAttributeString() more correct xmlns check.
  811. 2003-05-16 Atsushi Enomoto <[email protected]>
  812. * changed XPathNodeType modifier to internal *protected* override.
  813. * XmlAttribute.cs : .ctor() now checks name validity e.g. xmlns.
  814. * XmlAttribute.cs, XmlElement.cs : set_Prefix checks NCName validity.
  815. * XmlAttributeCollection.cs : removed some incorrect TODO attributes.
  816. * XmlDocument.cs ; CreateAttribute(name) now auto-completes xmlns NSURI
  817. when the argument is "xmlns".
  818. * XmlElement.cs : more compliant IsEmpty support. See also WriteTo().
  819. * XmlNamespaceManager.cs : added initial "xml" and "xmlns" namespaces.
  820. * XmlNode.cs : ser_InnerXml() throws InvalidOperationException.
  821. * XmlNodeReader.cs : LookupNamespace() refactory. Fixed ReadInnerXml()
  822. not to set error state for non-started XmlNodeReader.
  823. * XmlTextReader.cs : fixed ReadAttributeValue() not to reset state.
  824. BaseURI support. Fixed Initialize() to handle Attribute correctly.
  825. SetProperty for attribute auto-completes xmlns NSURI.
  826. Attribute and whitespace handling became more correct.
  827. Don't parse external DTD if XmlResolver is null.
  828. * XmlTextWriter.cs : implemented WriteEntityRef().
  829. WriteStartAttribute() checks if ns does not equal to that of xmlns.
  830. * XmlWriter.cs : trivial refactoring (WriteNode() xmldecl output).
  831. 2003-05-05 Atsushi Enomoto <[email protected]>
  832. * XmlConvert.cs : IsInvalid() Now uses XmlConstructs.IsName(Start).
  833. EncodeName() now correctly encodes invalid names.
  834. Result string of ToString(DateTime) contains "fffffff".
  835. 2003-04-29 Atsushi Enomoto <[email protected]>
  836. * XmlElement.cs : fixed IsEmpty (removed private field isEmpty).
  837. * XmlNodeReader.cs : Fixed AttributeCount, each this[] (indexers),
  838. MoveTo*Attribute(),
  839. Fixed this[] to work correctly against XmlDeclarations.
  840. Fixed ReadInnerXml() and ReadOuterXml() to call Read() correctly.
  841. (which may prevent validations etc.)
  842. * XmlReader.cs,
  843. XmlNodeReader.cs,
  844. XmlTextReader.cs : Fixed ReadString() to be compliant with each
  845. other.
  846. * XmlTextReader.cs : ReadInnerXml() now moves to next node correctly.
  847. 2003-04-27 Pedro Martínez Juliá <[email protected]>
  848. * XmlNode.cs: ensure to get a valid Uri in BaseUri when loading the
  849. source document from a file.
  850. 2003-04-27 Atsushi Enomoto <[email protected]>
  851. * XmlAttribute.cs : fixed WriteTo() and WriteContentTo() to write
  852. content EntityReference correctly.
  853. * XmlNodeReader.cs : many fix for EndElement handling (AttributeCount,
  854. HasAttributes, indexers, MoveTo*Attribute() and Read() ).
  855. Modified Skip() to call Read () explicitly.
  856. * XmlTextReader.cs :
  857. Fixed ReadInnerXml() which ignored EndElement token in certain cases.
  858. Implemented MoveToAttribute (local, ns), and modified GetAttribute()
  859. in relation to this change.
  860. Attributes for XmlDeclaration are now correctly set.
  861. * XmlTextWriter.cs : WriteRaw() is now different from WriteString().
  862. Simplified WriteAttributes() for XmlDeclaration.
  863. 2003-04-26 Atsushi Enomoto <[email protected]>
  864. * XmlTextReader.cs : fixed ReadInnerXml(). it was inconsistent with
  865. Depth property fix.
  866. 2003-04-25 Atsushi Enomoto <[email protected]>
  867. * XmlDocument.cs : fixed Load() to set baseURI correctly.
  868. * XmlReader.cs : patch by Gonzalo. Fixed not to skip XmlDeclaration.
  869. * XmlTextReader.cs :
  870. fixed Depth. When it's on StartElement, Depth was already incremented.
  871. fixed private SaveProperty(), which moved away its saved properties
  872. when MoveToElement was called repeatedly.
  873. * XmlTextWriter.cs : fixed WriteQualifiedName() to close start tag.
  874. * XmlWriter.cs :
  875. WriteAttributes() refactory (for XMLDecl).
  876. WriteNode() don't Read() when the reader is Initial state, let other
  877. invokation to Read(). In case of Element, it should write entire
  878. element. In case of Attribute, it shouldn't Read().
  879. WriteStartDocument() should omit standalone decl. when there is no
  880. explicit value.
  881. 2003-04-23 Gonzalo Paniagua Javier <[email protected]>
  882. * XmlReader.cs: reverted last patch. It breaks System.Configuration
  883. because 1. it considers XmlDeclaration as content and 2. always
  884. returns XmlNodeType.None.
  885. 2003-04-23 Atsushi Enomoto <[email protected]>
  886. * Added missing ChangeLog of 4/4/2003.
  887. * XmlTextWriter.cs : patch by Erik. fixed WriteQualifiedName.
  888. (write prefix instead of ns.)
  889. * XmlInputStream.cs : file access mode fix (FileAccess.Read was missing)
  890. * XmlTextReader.cs : modified to call Read() instead of ReadContent().
  891. (It may be required for decorated reader such as XmlValidatingReader.)
  892. Changed Read() error message for mismatch end tag.
  893. * XmlDocument.cs : (ReadNode) friendly message for mismatch EndElement.
  894. * XmlReader.cs : Corrected misinterpreted MoveToContent() method.
  895. 2003-04-04 Atsushi Enomoto <[email protected]>
  896. * XmlDocument.cs : Load() now closes the given XmlReader.
  897. Don't allow creation of XmlTextReader for Doctype. (workaround.)
  898. * XmlInputStream.cs : It now closes its internal stream explicitly.
  899. * XmlNode.cs : RemoveChild() bugfix for removing LastLinkedChild.
  900. * XmlNodeReader.cs : GetAttribute() bugfix for not-present attribute.
  901. * XmlParserInput.cs : added Close() method.
  902. * XmlReader.cs : MoveToContent() should (1) not Read in case of empty
  903. element, and (2) MoveToElement() in case of attribute.
  904. * XmlTextReader.cs : Close() now actually closes source TextReaders.
  905. 2003-03-26 Duncan Mak <[email protected]>
  906. * XmlTextWriter.cs (Write): A patch from Atsushi to fix
  907. prematurely ending the write, or something like that. It was
  908. causing us to chop off the end of the document when we're trying
  909. to generate XML Schemas.
  910. 2003-03-23 Atsushi Enomoto <[email protected]>
  911. * XmlTextReader.cs : implemented ReadString().
  912. fixed ctor(string, XmlNodeType, XmlParserContext) - don't raise
  913. null reference exception when context is null.
  914. * XmlNodeReader.cs : fixed ReadString() - should ignore attributes etc.
  915. fixed Read() - when positioned at EndElement, it didn't progress.
  916. fixed HasAttribute - it didn't return false in all cases.
  917. fixed Name and LocalName - only limited type of nodes return names.
  918. fixed AttributeCount - in some cases it threw null ref exception.
  919. 2003-03-22 Atsushi Enomoto <[email protected]>
  920. * XmlTextWriter.cs : WriteStartDocument doesn't set hasRoot=true, then
  921. WriteEndDocument without root element now raises an error correctly.
  922. * XmlDocumentNavigator.cs : (MoveToFirstChild) fixed bugzilla #36672.
  923. implemented BaseURI, NameTable, XmlLang, GetAttributes, GetNamespace,
  924. MoveToAttribute.
  925. 2003-03-22 Atsushi Enomoto <[email protected]>
  926. * XmlElement.cs : RemoveAttribute now don't throws when specified
  927. attribute does not exist.
  928. 2003-03-21 Atsushi Enomoto <[email protected]>
  929. * XmlNode.cs : add descriptions for some node type error.
  930. 2003-03-21 Atsushi Enomoto <[email protected]>
  931. * XmlNodeArrayList.cs, XmlNodeListChildren.cs : bugzilla #39920 fix.
  932. 2003-03-19 Atsushi Enomoto <[email protected]>
  933. * XmlDeclaration.cs : quick fix, not to use regex for set_Value.
  934. 2003-03-19 Atsushi Enomoto <[email protected]>
  935. * XmlTextReader.cs : Fixed wrong notationdecl SYSTEM id read.
  936. * XmlInputStream.cs : Should allow versionless input stream entity.
  937. 2003-03-18 Atsushi Enomoto <[email protected]>
  938. * added XmlParserInput.cs for multi xml document sources.
  939. * added DTDObjectModel.cs (maybe temporary).
  940. * XmlTextReader.cs :
  941. + fixed ctor to use XmlStreamReader. Allowed null XmlParserContext.
  942. + Some members such as LineNumber, ReadChar now uses XmlParserInput.
  943. + added support for Namespaces (namespace-ignorant parse available).
  944. + added support for XmlResolver.
  945. + replace SetReaderContext()/SetReaderFragment() with Initialize().
  946. + use NameTable in CreateNameString.
  947. + fixed ReadCData(). Now reads "]]]>" correctly.
  948. + support for DTD parse.
  949. + Read() now throws an error when it reached EOF while Depth > 0.
  950. * XmlAttribute.cs,
  951. XmlDocumentFragment.cs,
  952. XmlElement.cs : fix related to the changes of XmlTextReader.Initialize
  953. * XmlDocument.cs : ReadNode() now reads DocumentType.
  954. * XmlDocumentType.cs : implemented Entities, Notations, WriteTo().
  955. * XmlEntity.cs,
  956. XmlNotation.cs : added override LastLinkedChild (for doctype node).
  957. * XmlNamedNodeMap.cs : Remove() raises an error if target is read only.
  958. * XmlElement.cs : bugfix for node removal of set_InnerXml.
  959. * XmlNode.cs : added insertBeforeIntern() derived from InsertBefore().
  960. (to append child XmlEntity into XmlDocumentType correctly.)
  961. * XmlInputStream.cs : fixed to access file with FileAccess.Read.
  962. 2003-03-15 Duncan Mak <[email protected]>
  963. * XmlElement.cs (Name): Only append prefix + ':' when prefix is
  964. neither String.Empty nor null. Thanks to Simon Guindon for
  965. reporting the bug and Jackson for fixing this bug with me.
  966. 2003-03-15 Atsushi Enomoto <[email protected]>
  967. * XmlConstructs.cs : fix "int IsXXX()" to reject negative value.
  968. * XmlDocument.cs : simplify Load(string url) to use XmlTextReader.
  969. fixed ReadNode(), it should call reader.Read() only on Initial state.
  970. * XmlInputStream.cs : Changed namespace. Added XmlStreamReader(stream)
  971. and XmlStreamReader (string). Fixed XmlInputStream(url) not to use
  972. System.Net.WebClient directly.
  973. * XmlParserContext.cs : baseURI never be null.
  974. * XmlTextWriter.cs : use WebName for Encoding instead of HeaderName.
  975. * XmlUrlResolver.cs : namespace change for XmlInputStream.
  976. 2003-03-12 Elan Feingold <[email protected]>
  977. * XmlTextReader.cs: When throwing a ReaderException, show what
  978. character was the culprit
  979. 2003-03-05 Atsushi Enomoto <[email protected]>
  980. * XmlDocumentFragment.cs, XmlElement.cs :
  981. modified InnerXml (fragment type from Element to DocumentFragment).
  982. * XmlElement.cs : fixed WriteTo() ns check.
  983. * XmlNamespaceManager.cs : MS.NET allows Add() used two or more times.
  984. * XmlNode.cs : fixed ConstructNamespaceManager().
  985. * XmlConstructs.cs : added IsSpace, IsName, IsNameStart, IsNCName,
  986. IsPubid with an int arg.
  987. * XmlReader.cs : changed to use XmlChar.cs (its role is as same as
  988. XmlConstructs.cs).
  989. * XmlTextReader.cs :
  990. improved error messages with line info.
  991. / checking matching start and end tags.
  992. / prevents the apperance of multiple root elements. (patch by Erik)
  993. fixed and refactored ReadInnerXml() and ReadOuterXml()
  994. changed to use XmlChar.cs.
  995. * XmlTextWriter.cs : changed to put element's xmlns at CloseStartTag ()
  996. (It will help c14n implementation.)
  997. / blocks multiple attribute output with element node.
  998. 2003-02-28 Alan Tam <[email protected]>
  999. * XmlConvert.cs: fixed the most ToXXX(string) and ToString(XXX)
  1000. methods to make them compatible with the XML Schema Spec from W3C
  1001. ToString(TimeSpan) is still outstanding
  1002. 2003-02-18 Gonzalo Paniagua Javier <[email protected]>
  1003. * XmlDocument.cs:
  1004. (Load (string)): hack to workaround some issues with Uri.Parse. Once
  1005. Parse is fixed, remove the hack.
  1006. 2003-02-16 Atsushi Enomoto <[email protected]>
  1007. * XmlQualifiedName.cs : fixed GetHashCode() to avoid null reference
  1008. * XmlTextReader.cs : fixed ReadAttributeValue() to handle
  1009. entity reference, and some refactory.
  1010. 2003-02-16 Atsushi Enomoto <[email protected]>
  1011. * XmlUrlResolver.cs : WebClient.Credentials was not implemented yet.
  1012. 2003-02-16 Atsushi Enomoto <[email protected]>
  1013. * XmlInputStream.cs : added (also contains internal XmlStreamReader).
  1014. * XmlDocument.cs : Load () now can specify URL using XmlUrlResolver,
  1015. and can read non-UTF-8 stream.
  1016. * XmlTextReader.cs : related to above stream fix.
  1017. * XmlUrlResolver.cs : implemented GetEntity ().
  1018. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  1019. * XmlTextWriter.cs: implemented WriteRaw (char[], int, int).
  1020. 2003-02-02 Atsushi Enomoto <[email protected]>
  1021. * XmlTextReader.cs : implemented QuoteChar.
  1022. 2003-01-26 Atsushi Enomoto <[email protected]>
  1023. * XmlNode.cs : implemented ReplaceChild.
  1024. removed DocElem checking at InsertBefore.
  1025. * XmlNodeReader.cs : fixed ReadString and Read for correct node info.
  1026. * XmlText.cs : implemented CloneNode and SplitText.
  1027. 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
  1028. * XmlCharacterData.cs: added XPathNodeType property.
  1029. 2003-01-22 Gonzalo Paniagua Javier <[email protected]>
  1030. * XmlTextWriter.cs: throw an exception if WriteEndDocument is
  1031. called without a prior call to WriteStartDocument.
  1032. 2003-01-21 Atsushi Enomoto <[email protected]>
  1033. * XmlNodeReader.cs : several fix to get more compatible with MS.NET.
  1034. 2003-01-19 Atsushi Enomoto <[email protected]>
  1035. * XmlNamespaceManager.cs : fundamental change of LookupPrefix to return
  1036. null when no matching uri.
  1037. * XmlElement.cs : removed unnecessary xmlns output.
  1038. * XmlNode.cs : GetPrefixOfNamespace fix along with the change above.
  1039. * XmlTextWriter.cs : LookupPrefix and WriteStartElementInternal fix
  1040. along with the change above, and moved timing of 'xmlns' output
  1041. to CloseStartElement.
  1042. * XmlWriter.cs: modified WriteStartAttribute, same as yesterday.
  1043. 2003-01-18 Atsushi Enomoto <[email protected]>
  1044. * XmlWriter.cs: modified WriteStartElement (see test for detail).
  1045. Added WriteNode.
  1046. 2003-01-13 Ville Palo <[email protected]>
  1047. * XmlDocument.cs: Added CheckName () method to check names validity.
  1048. 2003-01-11 Gonzalo Paniagua Javier <[email protected]>
  1049. * XmlTextReader.cs:
  1050. (ReadOuterXml): use Depth property which return elementDepth, not depth.
  1051. 2003-01-11 Atsushi Enomoto <[email protected]>
  1052. * XmlElement.cs : (by ville) XmlElement.set_InnerText event bugfix.
  1053. * XmlTextReader.cs : some fix for ReadOuterXml().
  1054. 2003-01-08 Atsushi Enomoto <[email protected]>
  1055. * XmlTextReader.cs : bugfix for attributes related to creation of
  1056. XmlAttribute *node*.
  1057. 2003-01-08 Atsushi Enomoto <[email protected]>
  1058. * XmlTextReader.cs : bugfix for attribute values which have entity
  1059. references.
  1060. 2002-12-28 Ville Palo <[email protected]>
  1061. * XmlDocument.cs: XmlTextWriter.Formatting == Indented when
  1062. calling Save () -methods.
  1063. 2002-12-28 Atsushi Enomoto <[email protected]>
  1064. * XmlNodeReader.cs : primitive reading implementation.
  1065. 2002-12-28 Atsushi Enomoto <[email protected]>
  1066. * XmlElement.cs : quick fix for the incomplete patch of #35308 below.
  1067. 2002-12-28 Atsushi Enomoto <[email protected]>
  1068. * XmlDocument.cs : removed inconsistent line-feed output.
  1069. * XmlElement.cs, XmlTextWriter.cs :
  1070. fixed for bugzilla 35308 (default ns output)
  1071. * XmlWhitespace.cs : limited output only when preserving whitespace.
  1072. 2002-12-24 Atsushi Enomoto <[email protected]>
  1073. * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
  1074. Implemented XmlTextReader.ReadAttributeValue().
  1075. Added internal ReadAttributeNodeValue().
  1076. Fixed XmlAttribute.InnerXml to use these methods.
  1077. * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
  1078. Implemented XmlDocument.ReadNode() and removed ConstructDOM().
  1079. Other changes are replacing them.
  1080. 2002-12-24 Atsushi Enomoto <[email protected]>
  1081. * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
  1082. 2002-12-21 Atsushi Enomoto <[email protected]>
  1083. * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
  1084. patch by JD Conley <[email protected]>.
  1085. (Fix for xmlns attribute output.)
  1086. 2002-12-05 Ville Palo <[email protected]>
  1087. * XmlQualifiedName.cs: Little fix to ToString () -method
  1088. 2002-12-04 Tim Haynes <[email protected]>
  1089. * class/System.XML/System.Xml/XmlElement.cs: Made more refined
  1090. checks on attributeNode to fix 32262.
  1091. 2002-12-03 Atsushi Enomoto <[email protected]>
  1092. * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
  1093. * XmlTextWriter.cs (WriteStartElementInternal):
  1094. fixed when default namespace was specified, all descendants
  1095. fail to omit the default namespace declarations.
  1096. * XmlAttribute.cs,
  1097. XmlDocument.cs,
  1098. XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
  1099. * XmlAttribute.cs,
  1100. XmlDocumentFragment.cs,
  1101. XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
  1102. * XmlElement.cs (set_IsEmpty) : implemented
  1103. (WriteTo) : removed my improper indenting (Writer already done)
  1104. * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
  1105. (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
  1106. ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
  1107. 2002-12-01 Atsushi Enomoto <[email protected]>
  1108. * XmlNode.cs (RemoveChild):
  1109. bugfixed when XmlNode is Document OwnerDocument is null
  1110. * XmlDeclaration.cs (Value):
  1111. bugfixed regular expression pattern.
  1112. * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
  1113. 2002-11-24 Duncan Mak <[email protected]>
  1114. * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
  1115. Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
  1116. first patch to Mono! ;-)
  1117. 2002-11-19 Gonzalo Paniagua Javier <[email protected]>
  1118. * XmlNode.cs:
  1119. (AppendChild): readded refChild != null condition before throwing
  1120. "cannot insert this node in this position" exception. There's probably
  1121. a better solution. Fixes #34191.
  1122. (RemoveAll): changed following Atsushi instructions.
  1123. 2002-11-13 Duncan Mak <[email protected]>
  1124. * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
  1125. compiling.
  1126. 2002-11-14 Atsushi Enomoto <[email protected]>
  1127. * XmlDocument.cs : unified all constructors, added ConventionalParser,
  1128. implemented CloneNode() and CreateEntityReference(),
  1129. * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
  1130. set BaseURI to MonoTODO
  1131. * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
  1132. bugfix InsertAfter (incorrect prepending) and InsertBefore
  1133. (more than one DocumentElements hadn't caused errors)
  1134. * XmlTextReader.cs : unified all constructors,
  1135. added internal SetReaderContext(), SetReaderFragment()
  1136. bugfix (syntax check of PUBLIC / getting internal subset)
  1137. 2002-11-13 Atsushi Enomoto <[email protected]>
  1138. XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
  1139. XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
  1140. XmlCharacterData.cs : exchanged Data and Value
  1141. (for processing events and inheritance)
  1142. XmlDocumentFragment.cs : set_InnerXml
  1143. XmlSignificantWhitespace.cs : set_Value
  1144. XmlTextReader.cs : ReadAttributeValue
  1145. 2002-11-04 Atsushi Enomoto <[email protected]>
  1146. XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
  1147. 2002-11-03 Atsushi Enomoto <[email protected]>
  1148. * XmlAttributeCollection.cs : checks owner element.
  1149. implemented CopyTo, InsertAfter, InsertBefore, Prepend,
  1150. Remove, RemoveAt, SetNamedItem.
  1151. removed some logics that sets 'Parent' (that should be null)
  1152. * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
  1153. * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
  1154. * XmlElement.cs : implemented WriteTo, set_InnerText.
  1155. Fixed WriteTo() to add xmlns:* attributes when
  1156. writer.LookupPrefix() returned mismatching.
  1157. * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
  1158. Removing different prefixes for the same uri now runs correct.
  1159. added SetNamedItem(XmlNode node, int position_to_insert).
  1160. * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
  1161. XmlWhitespace, and XmlSignificantWhitespace
  1162. 2002-10-31 Atsushi Enomoto <[email protected]>
  1163. * XmlDocument.cs : implemented CreateDocumentFragment()
  1164. * XmlElement.cs, XmlLinkedNode.cs :
  1165. moved LastLinkedChild from XmlElement to XmlLinkedNode.
  1166. * XmlEntityReference.cs : must throw NotImplementedException.
  1167. * XmlNode.cs :
  1168. + implemented InsertBefore() and then implemented InsertAfter()
  1169. and modified AppendChild() to call it.
  1170. + added logic to check ReadOnly, parent document equivalence,
  1171. and inserting any 'content' before/after DocumentElement.
  1172. + implemented Clone() [it is equals to CloneNode() by MS doc.]
  1173. + added logic in RemoveChild() to check parent of oldChild.
  1174. + fixed ConstructNamespaceManager() to internal only.
  1175. 2002-10-29 Atsushi Enomoto <[email protected]>
  1176. * XmlAttribute.cs : add internal 'IsDefault' property
  1177. (equals to !Specified)
  1178. * XmlImplementation.cs : added 'internalNameTable' property.
  1179. * XmlDocument.cs :
  1180. + now allows "" for 'standalone' in CreateXmlDeclaration.
  1181. + implemented 'Implementation' property and constructor with it.
  1182. + added logic for appending name table (but still no use)
  1183. + implemented property 'DocumentType'
  1184. (but without internalSubset parsing. wait for next update.)
  1185. * XmlNode.cs :
  1186. + modified AppendChild() and RemoveChild() to support fragment.
  1187. + modified AppendChild() to remove newChild from its parent
  1188. when newChild is already in the other place.
  1189. + modified RemoveChild() to set parentNode null.
  1190. + modified ConstructDOM() to create DocumentType,
  1191. and fixed access modifier ('internal protected' to 'internal')
  1192. * XmlLinkedNode.cs : fixed 'NextSibling' to return null
  1193. when its parent is null.
  1194. * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
  1195. property to enable AppendChild() for this class.
  1196. * XmlTextReader.cs : appended private publicId and systemId fields.
  1197. 2002-10-28 Gonzalo Paniagua Javier <[email protected]>
  1198. * XmlTextReader.cs: make it work when the underlying Stream is not
  1199. 'seekable'.
  1200. 2002-10-26 Piers Haken <[email protected]>
  1201. * XmlNode.cs: add virtual property XPathNodeType
  1202. * XmlAttribute.cs:
  1203. * XmlComment.cs:
  1204. * XmlDocument.cs:
  1205. * XmlElement.cs::
  1206. * XmlProcessingInstruction.cs:
  1207. * XmlSignificantWhitespace.cs:
  1208. * XmlText.cs:
  1209. * XmlWhitespace.cs: implement XPathNodeType property
  1210. * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
  1211. 2002-10-26 Piers Haken <[email protected]>
  1212. * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
  1213. 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
  1214. * XmlTextReader.cs: don't increment depth for entity references.
  1215. 2002-10-22 Tim Haynes <[email protected]>
  1216. * - Fixed the duplication of xmlns:xx = yy when serializing the
  1217. XML for serialization
  1218. Fixed the unnecessary parsing/serializing when adding assemblies
  1219. for serialization
  1220. Avoided setting the XmlNode.InnerXml property
  1221. (as it's not implemented)
  1222. Fixed the usage/implementation of
  1223. XmlElement.GetElementsByTagName()
  1224. 2002-10-21 Duncan Mak <[email protected]>
  1225. * XmlDocument.cs:
  1226. * XmlElement.cs:
  1227. * XmlNode.cs:
  1228. * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
  1229. Atsushi Enomoto <[email protected]>.
  1230. 2002-10-18 Duncan Mak <[email protected]>
  1231. * XmlDocument.cs: Applied a patch by Atsushi Enomoto
  1232. <[email protected]>.
  1233. 2002-10-12 A.Enomoto <[email protected]>
  1234. * XmlDocument.cs (ImportNode): Implemented
  1235. 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
  1236. * XmlDocument.cs: one more Load method implemented.
  1237. * XmlTextReader.cs: Depth now works.
  1238. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  1239. * XmlConvert.cs: IsInvalid is now internal.
  1240. * XmlNamespaceManager.cs: implemented RemoveNamespace
  1241. * XmlTextReader.cs: return BaseURI and Encoding from the parser.
  1242. * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
  1243. 2002-09-19 Matt Hunter <[email protected]>
  1244. * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
  1245. * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
  1246. 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
  1247. * XmlConvert.cs: finished implementation.
  1248. * XmlTextReader.cs: fixed #30239.
  1249. * XmlTextWriter.cs: fixed #30240.
  1250. 2002-09-15 Gonzalo Paniagua Javier <[email protected]>
  1251. * XmlTextReader.cs: line and position begin with 1.
  1252. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  1253. * XmlException.cs: added a new internal constructor for IXmlLineInfo
  1254. and output line and position info in Message.
  1255. * XmlReader.cs: implemented missing bits.
  1256. 2002-09-12 Piers Haken <[email protected]>
  1257. * XmlDocumentNavigator.cs: implement MoveToId()
  1258. 2002-09-05 Gonzalo Paniagua Javier <[email protected]>
  1259. * XmlTextWriter.cs: fixed bug #29886.
  1260. 2002-08-26 Ravi Pratap <[email protected]>
  1261. * XmlAttribute.cs (InnerText): Implement getting this property.
  1262. * XmlNode.cs (InnerText): Ensure that we append only values of
  1263. text nodes.
  1264. 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
  1265. * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
  1266. that allowed compiling this.
  1267. [ FIXME: filed bug #29435. mcs should have failed on this ]
  1268. 2002-08-25 Tim Coleman <[email protected]>
  1269. * XmlNode.cs:
  1270. Change CreateNavigator to not be virtual.
  1271. * XmlElement.cs:
  1272. Add set_Prefix and InnerText accessors.
  1273. * XmlEntityReference.cs:
  1274. Add set_Value accessor.
  1275. * XmlTextWriter.cs:
  1276. Make objects which should be private private.
  1277. * XmlWriter.cs:
  1278. Remove WriteStartElementInternal abstract definition.
  1279. * XmlValidatingReader.cs:
  1280. New stubs added.
  1281. 2002-08-22 Jason Diamond <[email protected]>
  1282. * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
  1283. and RemoveAllAttributes courtesy of Matt Hunter <[email protected]>.
  1284. 2002-08-22 Jason Diamond <[email protected]>
  1285. * XmlElement.cs: Correction to previous GetElementsByTagName patch
  1286. courtesy of Matt Hunter <[email protected]>.
  1287. 2002-08-22 Jason Diamond <[email protected]>
  1288. * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
  1289. qualified GetElementsByTagName courtesy of Matt Hunter
  1290. <[email protected]>.
  1291. 2002-08-19 Jason Diamond <[email protected]>
  1292. * XmlDocument.cs, XmlElement.cs: Added implementation of
  1293. GetElementsByTagName courtesy of Matt Hunter <[email protected]>.
  1294. 2002-08-16 Jason Diamond <[email protected]>
  1295. * XmlElement.cs: Fixed writing out qualified elements courtesy of
  1296. Marcus Bürgel <[email protected]>.
  1297. 2002-08-13 Tim Coleman <[email protected]>
  1298. * XmlTextWriter.cs:
  1299. Partial implementation of WriteQualifiedName ().
  1300. 2002-08-07 Kral Ferch <[email protected]>
  1301. * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
  1302. InsertData(), and ReplaceData(). These methods fire the
  1303. NodeChanging and NodeChanged events.
  1304. * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
  1305. * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
  1306. RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
  1307. 2002-08-03 Tim Coleman <[email protected]>
  1308. * XmlNamespaceManager.cs:
  1309. .Net allows the empty namespace to be redefined
  1310. at a later point, but the current implementation
  1311. did not. This fixes a hashtable conflict.
  1312. 2002-07-26 Tim Coleman <[email protected]>
  1313. * XmlTextWriter.cs:
  1314. When given a textwriter, check to see if it has a
  1315. null encoding. This was being done for other inputs
  1316. than a textwriter.
  1317. Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <[email protected]>
  1318. * XmlTextReader.cs: rough line/column support.
  1319. 2002-07-23 Duncan Mak <[email protected]>
  1320. * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
  1321. (string, string []) is particularly strange.
  1322. * XmlException.cs: Remember to call the base serialization
  1323. constructor.
  1324. * XmlNodeReader.cs: Keep a new variable to store the Depth.
  1325. 2002-07-14 Jason Diamond <[email protected]>
  1326. * XmlAttribute.cs: Removed ownerElement field since we can reuse
  1327. parentNode field.
  1328. * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
  1329. if the current node is an attribute.
  1330. * XmlElement.cs: SetAttributeNode now sets the new attribute's
  1331. owner element.
  1332. 2002-07-12 Jason Diamond <[email protected]>
  1333. * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
  1334. creating an element, use String.Empty instead.
  1335. 2002-07-12 Piers Haken <[email protected]>
  1336. * XmlAttributeCollection.cs: implement some ItemOf indexers
  1337. * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
  1338. * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
  1339. 2002-07-06 Ajay kumar Dwivedi <[email protected]>
  1340. 2002-10-26 Piers Haken <[email protected]>
  1341. * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
  1342. 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
  1343. * XmlTextReader.cs: don't increment depth for entity references.
  1344. 2002-10-22 Tim Haynes <[email protected]>
  1345. * - Fixed the duplication of xmlns:xx = yy when serializing the
  1346. XML for serialization
  1347. Fixed the unnecessary parsing/serializing when adding assemblies
  1348. for serialization
  1349. Avoided setting the XmlNode.InnerXml property
  1350. (as it's not implemented)
  1351. Fixed the usage/implementation of
  1352. XmlElement.GetElementsByTagName()
  1353. 2002-10-21 Duncan Mak <[email protected]>
  1354. * XmlDocument.cs:
  1355. * XmlElement.cs:
  1356. * XmlNode.cs:
  1357. * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
  1358. Atsushi Enomoto <[email protected]>.
  1359. 2002-10-18 Duncan Mak <[email protected]>
  1360. * XmlDocument.cs: Applied a patch by Atsushi Enomoto
  1361. <[email protected]>.
  1362. 2002-10-12 A.Enomoto <[email protected]>
  1363. * XmlDocument.cs (ImportNode): Implemented
  1364. 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
  1365. * XmlDocument.cs: one more Load method implemented.
  1366. * XmlTextReader.cs: Depth now works.
  1367. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  1368. * XmlConvert.cs: IsInvalid is now internal.
  1369. * XmlNamespaceManager.cs: implemented RemoveNamespace
  1370. * XmlTextReader.cs: return BaseURI and Encoding from the parser.
  1371. * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
  1372. 2002-09-19 Matt Hunter <[email protected]>
  1373. * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
  1374. * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
  1375. 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
  1376. * XmlConvert.cs: finished implementation.
  1377. * XmlTextReader.cs: fixed #30239.
  1378. * XmlTextWriter.cs: fixed #30240.
  1379. 2002-09-15 Gonzalo Paniagua Javier <[email protected]>
  1380. * XmlTextReader.cs: line and position begin with 1.
  1381. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  1382. * XmlException.cs: added a new internal constructor for IXmlLineInfo
  1383. and output line and position info in Message.
  1384. * XmlReader.cs: implemented missing bits.
  1385. 2002-09-12 Piers Haken <[email protected]>
  1386. * XmlDocumentNavigator.cs: implement MoveToId()
  1387. 2002-09-05 Gonzalo Paniagua Javier <[email protected]>
  1388. * XmlTextWriter.cs: fixed bug #29886.
  1389. 2002-08-26 Ravi Pratap <[email protected]>
  1390. * XmlAttribute.cs (InnerText): Implement getting this property.
  1391. * XmlNode.cs (InnerText): Ensure that we append only values of
  1392. text nodes.
  1393. 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
  1394. * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
  1395. that allowed compiling this.
  1396. [ FIXME: filed bug #29435. mcs should have failed on this ]
  1397. 2002-08-25 Tim Coleman <[email protected]>
  1398. * XmlNode.cs:
  1399. Change CreateNavigator to not be virtual.
  1400. * XmlElement.cs:
  1401. Add set_Prefix and InnerText accessors.
  1402. * XmlEntityReference.cs:
  1403. Add set_Value accessor.
  1404. * XmlTextWriter.cs:
  1405. Make objects which should be private private.
  1406. * XmlWriter.cs:
  1407. Remove WriteStartElementInternal abstract definition.
  1408. * XmlValidatingReader.cs:
  1409. New stubs added.
  1410. 2002-08-22 Jason Diamond <[email protected]>
  1411. * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
  1412. and RemoveAllAttributes courtesy of Matt Hunter <[email protected]>.
  1413. 2002-08-22 Jason Diamond <[email protected]>
  1414. * XmlElement.cs: Correction to previous GetElementsByTagName patch
  1415. courtesy of Matt Hunter <[email protected]>.
  1416. 2002-08-22 Jason Diamond <[email protected]>
  1417. * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
  1418. qualified GetElementsByTagName courtesy of Matt Hunter
  1419. <[email protected]>.
  1420. 2002-08-19 Jason Diamond <[email protected]>
  1421. * XmlDocument.cs, XmlElement.cs: Added implementation of
  1422. GetElementsByTagName courtesy of Matt Hunter <[email protected]>.
  1423. 2002-08-16 Jason Diamond <[email protected]>
  1424. * XmlElement.cs: Fixed writing out qualified elements courtesy of
  1425. Marcus Bürgel <[email protected]>.
  1426. 2002-08-13 Tim Coleman <[email protected]>
  1427. * XmlTextWriter.cs:
  1428. Partial implementation of WriteQualifiedName ().
  1429. 2002-08-07 Kral Ferch <[email protected]>
  1430. * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
  1431. InsertData(), and ReplaceData(). These methods fire the
  1432. NodeChanging and NodeChanged events.
  1433. * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
  1434. * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
  1435. RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
  1436. 2002-08-03 Tim Coleman <[email protected]>
  1437. * XmlNamespaceManager.cs:
  1438. .Net allows the empty namespace to be redefined
  1439. at a later point, but the current implementation
  1440. did not. This fixes a hashtable conflict.
  1441. 2002-07-26 Tim Coleman <[email protected]>
  1442. * XmlTextWriter.cs:
  1443. When given a textwriter, check to see if it has a
  1444. null encoding. This was being done for other inputs
  1445. than a textwriter.
  1446. Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <[email protected]>
  1447. * XmlTextReader.cs: rough line/column support.
  1448. 2002-07-23 Duncan Mak <[email protected]>
  1449. * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
  1450. (string, string []) is particularly strange.
  1451. * XmlException.cs: Remember to call the base serialization
  1452. constructor.
  1453. * XmlNodeReader.cs: Keep a new variable to store the Depth.
  1454. 2002-07-14 Jason Diamond <[email protected]>
  1455. * XmlAttribute.cs: Removed ownerElement field since we can reuse
  1456. parentNode field.
  1457. * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
  1458. if the current node is an attribute.
  1459. * XmlElement.cs: SetAttributeNode now sets the new attribute's
  1460. owner element.
  1461. 2002-07-12 Jason Diamond <[email protected]>
  1462. * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
  1463. creating an element, use String.Empty instead.
  1464. 2002-07-12 Piers Haken <[email protected]>
  1465. * XmlAttributeCollection.cs: implement some ItemOf indexers
  1466. * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
  1467. * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
  1468. 2002-07-06 Ajay kumar Dwivedi <[email protected]>
  1469. * XmlTextWriter: Fixed Indentation. IndentationOverridden should
  1470. not be set when inside a attribute.
  1471. 2002-07-06 Ajay kumar Dwivedi <[email protected]>
  1472. * XmlTextWriter: In WriteStartElement, if namespace is null and
  1473. prefix is null|empty do not write out xmlns=""
  1474. * XmlWriter: WriteStartElement calls the virtual method with null
  1475. argument instead of empty string.
  1476. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  1477. * XmlTextReader.cs: implemented .ctor (Stream).
  1478. 2002-06-26 Duncan Mak <[email protected]>
  1479. * XmlNodeReader.cs: Implementation of most of the properties, and
  1480. some of the related methods.
  1481. 2002-06-23 Piers Haken <[email protected]>
  1482. * XmlDocumentNavigator.cs: implement Clone()
  1483. * XmlElement.cs: remove bogus unimplemented override of InnerText
  1484. * XmlNode.cs: implment SelectNodes/SelectSingleNode
  1485. * XmlNodeArrayList.cs: new support class for SelectNodes
  1486. 2002-06-21 Ajay kumar Dwivedi <[email protected]>
  1487. * XmlQualifiedName: Name and Namespaces are never null. If null is passed
  1488. to the constructor, set them to empty strings.
  1489. Fixed the Operators.
  1490. 2002-06-18 Ajay kumar Dwivedi <[email protected]>
  1491. * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
  1492. Exception.
  1493. 2002-06-14 Duncan Mak <[email protected]>
  1494. * XmlConvert.cs: Added CLSCompliant attributes to methods.
  1495. 2002-06-12 Duncan Mak <[email protected]>
  1496. * XmlCharacterData.cs (Value): Throw an ArgumentException in the
  1497. set block if the node is read-only.
  1498. 2002-06-10 Ajay kumar Dwivedi <[email protected]>
  1499. * XmlConstruct.cs : New Internal class with Helper methods for
  1500. Checking XmlConstructs
  1501. * XmlConvert.cs: Implemented most of the methods
  1502. 2002-06-08 Duncan Mak <[email protected]>
  1503. * XmlDocument.cs (Load):
  1504. Added bits to Load (string) for BaseURI support.
  1505. * XmlAttribute.cs (BaseURI):
  1506. * XmlDocument.cs (BaseURI):
  1507. * XmlEntity.cs (BaseURI): Implemented.
  1508. 2002-05-27 Jason Diamond <[email protected]>
  1509. * XmlDocumentNavigator.cs: Added file to directory.
  1510. * XmlNode.cs (CreateNavigator): Implemented.
  1511. (InnerText): Implemented.
  1512. * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
  1513. throwing exception.
  1514. (Load(XmlReader)): Allow for namespace qualified attributes.
  1515. * XmlElement.cs: Implemented GetAttribute(string, string) and both
  1516. GetAttributeNode overloads.
  1517. (SetAttributeNode(XmlAttribute)): Implemented.
  1518. * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
  1519. and RemoveNamedItem(string, string).
  1520. * XmlLinkedNode.cs (PreviousSibling): Implemented.
  1521. * XmlTextReader.cs: Added code to maintain the order of attributes as
  1522. they're parsed. XML doesn't require this but Microsoft's parser does it and
  1523. matching them makes testing easier so now we have it, too.
  1524. 2002-05-26 Miguel de Icaza <[email protected]>
  1525. * XmlDocument.cs: Implement the Save methods.
  1526. 2002-05-08 Mike Kestner <[email protected]>
  1527. * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
  1528. 2002-04-28 Duncan Mak <[email protected]>
  1529. * XmlSignificantWhitespace.cs (Value):
  1530. * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
  1531. block. Added new private method, IsValidWhitespaceChar, for
  1532. checking.
  1533. 2002-04-16 Duncan Mak <[email protected]>
  1534. * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
  1535. 2002-04-12 Duncan Mak <[email protected]>
  1536. * XmlAttribute.cs (Prefix): Added preliminary code for set block,
  1537. added comment on work that needs to be done here. A new MonoTODO item.
  1538. * XmlDocument.cs (ctor): Corrected constructor signature, changed
  1539. parameter from 'NameTable' to 'XmlNameTable'.
  1540. * XmlDocumentFragment.cs (InnerXml): Added missing set block.
  1541. * XmlCaseOrder.cs: Moved to System.Xml.XPath.
  1542. 2002-04-10 Duncan Mak <[email protected]>
  1543. * XmlNodeReader.cs: Initial stubs for the class.
  1544. 2002-04-08 Kral Ferch <[email protected]>
  1545. * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
  1546. implementations.
  1547. * XmlDeclaration.cs: WriteTo implementation.
  1548. * XmlDocument.cs: InnerXml getter implementation.
  1549. * XmlElement.cs: InnerXml getter implementation.
  1550. * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
  1551. * XmlSignificantWhitespace.cs: WriteTo implementation.
  1552. * XmlText.cs: WriteContentTo and WriteTo implementation.
  1553. * XmlTextWriter.cs: WriteRaw implementation.
  1554. * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
  1555. 2002-04-05 Kral Ferch <[email protected]>
  1556. * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
  1557. if prefix in constructor is one of the default ones.
  1558. * XmlCharacterData.cs: Returns String.Empty for Value and Data
  1559. even when constructed with null.
  1560. * XmlDeclaration.cs: Value doesn't put encoding or standalone
  1561. in if they are empty.
  1562. * XmlDocument.cs: Implemented CreateNode methods and this caused
  1563. the changes in the other files in this checkin.
  1564. * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
  1565. even when constructed with null.
  1566. * XmlWhitespace.cs: Changed Value 'get' to return Data.
  1567. 2002-04-01 Kral Ferch <[email protected]>
  1568. * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
  1569. 2002-03-31 Kral Ferch <[email protected]>
  1570. * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
  1571. and WriteCharEntity.
  1572. * XmlWrite.cs: Fixed bug where attribute namespace decl
  1573. was pushing a scope onto the namespace manager when it shouldn't
  1574. have been.
  1575. 2002-03-31 Kral Ferch <[email protected]>
  1576. * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
  1577. in different states (no open start element, in WriteState.Content mode).
  1578. 2002-03-29 Kral Ferch <[email protected]>
  1579. * XmlTextWriter.cs: XmlLang and XmlSpace properties
  1580. and WriteWhitespace.
  1581. * XmlTextWriterOpenElement.cs: scope support for XmlLang
  1582. and XmlSpace.
  1583. 2002-03-29 Kral Ferch <[email protected]>
  1584. * XmlTextWriter.cs: Working on Attribute methods.
  1585. * XmlWriter.cs: Working on Attribute methods.
  1586. 2002-03-28 Duncan Mak <[email protected]>
  1587. * XmlDocument.cs (CreateWhitespace):
  1588. (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
  1589. method.
  1590. * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
  1591. 2002-03-26 Duncan Mak <[email protected]>
  1592. * XmlDocument.cs (CreateDocumentType): Implemented.
  1593. * XmlNode.cs (Value): Implemented.
  1594. * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
  1595. like XmlCharacterData.
  1596. * XmlDeclaration.cs (CloneNode):
  1597. * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
  1598. arguments.
  1599. * XmlCharacterData.cs (InnerText): Implemented. Funny that the
  1600. docs say it is the "The concatenated values of the node and all
  1601. the children of the node.". I wrote some test programs and
  1602. couldn't get any of the derived nodes to AppendChild. For now,
  1603. InnerText == Data == Value.
  1604. (Substring): Fixed typo.
  1605. * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
  1606. * XmlImplementation.cs (CreateDocument): Implemented.
  1607. 2002-03-25 Duncan Mak <[email protected]>
  1608. * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
  1609. missing properties (InnerText, Value).
  1610. * XmlDocument.cs (CreateXmlDeclaration): Implemented.
  1611. 2002-03-23 Kral Ferch <[email protected]>
  1612. * XmlTextWriter.cs: Impls for BaseStream and
  1613. Namespaces and WriteState.
  1614. * XmlWriter.cs: WriteState and WriteStartElementInternal.
  1615. 2002-03-23 Kral Ferch <[email protected]>
  1616. * XmlNodeListChildren.cs: made class internal
  1617. instead of public. Shouldn't be visible outside
  1618. of System.Xml.
  1619. * XmlTextWriter.cs: Implementations for Formatting,
  1620. IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
  1621. Suppresses encoding on xml declaration if null stream passed in.
  1622. Formats output including suppressing indentation for elements in
  1623. mixed content mode.
  1624. * XmlTextWriterOpenElement.cs: Initial checkin.
  1625. XmlTextWriter uses stack of these objects to track
  1626. state.
  1627. 2002-03-22 Mike Kestner <[email protected]>
  1628. * XmlElement.cs: impl HasAttribute(string name).
  1629. 2002-03-22 Duncan Mak <[email protected]>
  1630. * XmlElement.cs: Reformatted.
  1631. (CloneNode) Corrected.
  1632. * XmlDocument.cs (CreateWhitespace):
  1633. (CreateSignificantWhitespace): Implemented.
  1634. * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
  1635. true, because Attributes have ChildNodes.
  1636. 2002-03-21 Kral Ferch <[email protected]>
  1637. * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
  1638. xml declaration along with encoding. WriteEndElement throws
  1639. exception if no WriteStartElement exists.
  1640. 2002-03-20 Duncan Mak <[email protected]>
  1641. * XmlEntityReference.cs (CloneNode): Implemented.
  1642. * XmlException.cs (Message): Implemented. We need to cache the
  1643. message string because SystemException doesn't expose 'message'
  1644. from Exception.
  1645. * XmlText.cs (Value): Added in the missing Value property.
  1646. 2002-03-20 Duncan Mak <[email protected]>
  1647. * XmlAttribute.cs (CloneNode): Implemented.
  1648. * XmlDocumentFragment.cs (CloneNode): Implemented.
  1649. * XmlElement.cs (CloneNode): Implemented.
  1650. 2002-03-19 Duncan Mak <[email protected]>
  1651. * XmlNotation.cs: Added to CVS.
  1652. * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
  1653. * XmlCDataSection.cs (CloneNode): Implemented.
  1654. * XmlDocumentFragment.cs: Reformatted and added the missing properties
  1655. (InnerXml, OwnerDocument, ParentNode).
  1656. (CloneNode): Implemented.
  1657. * XmlSignificantWhitespace.cs (CloneNode): Implemented.
  1658. (Value) Implemented the 'get' property.
  1659. * XmlWhitespace.cs (Module): implemented.
  1660. 2002-03-19 Jason Diamond <[email protected]>
  1661. * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
  1662. in the prefix.
  1663. 2002-03-18 Jason Diamond <[email protected]>
  1664. * XmlTextReader.cs: Don't restore properties after reading last
  1665. attribute on an element.
  1666. * XmlDocument.cs: Move back to element after reading attributes
  1667. so that IsEmptyElement test succeeds.
  1668. 2002-03-18 Kral Ferch <[email protected]>
  1669. * XmlNamespaceManager.cs: Implemented LookupPrefix.
  1670. * XmlTextWriter.cs: Implemented namespace and prefix support.
  1671. 2002-03-18 Kral Ferch <[email protected]>
  1672. * XmlTextReader.cs: Restores properties after
  1673. reading last attribute on an element.
  1674. * XmlNode.cs: AppendChild sets the parent
  1675. on the child.
  1676. 2002-03-17 Kral Ferch <[email protected]>
  1677. * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
  1678. * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
  1679. * XmlElement.cs: Fixed bug in WriteTo.
  1680. * XmlProcessingInstruction.cs: Formatting.
  1681. * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
  1682. fixes for WriteEndElement, WriteProcessingInstruction.
  1683. 2002-03-17 Kral Ferch <[email protected]>
  1684. * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
  1685. had Load() add PIs to the document, moved onXXX methods to alphabetical
  1686. order in the file.
  1687. * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
  1688. * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
  1689. * XmlProcessingInstruction.cs: Implementations for WriteTo() and
  1690. WriteContentTo().
  1691. * XmlTextWriter.cs: Implementations for WriteEndElement,
  1692. WriteProcessingInstruction, WriteStartElement, and WriteString.
  1693. * XmlWriter.cs: Implemented WriteStartElement() methods.
  1694. 2002-03-15 Duncan Mak <[email protected]>
  1695. * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
  1696. InnerText once I know what they do.
  1697. * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
  1698. that we can properly chain constructors.
  1699. (CloneNode): implemented.
  1700. (WriteContentTo): Removed MonoTODO attribute as this method has no
  1701. effect in this class.
  1702. * XmlProcessingInstruction.cs (Value): Added the missing Set
  1703. block.
  1704. (InnerText): Added in, but not implemented.
  1705. 2002-03-14 Kral Ferch <[email protected]>
  1706. * XmlTextWriter.cs: implemented constructors and
  1707. WriteCData and WriteComment.
  1708. 2002-03-14 Duncan Mak <[email protected]>
  1709. * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
  1710. file, and updated the callbacks to reflect the change.
  1711. (XmlDocument): Added the NameTable constructor.
  1712. (NameTable): Also the NameTable property.
  1713. * XmlNodeChangedEventHandler.cs: Added, replacing the version that
  1714. was in XmlDocument.cs. It has two arguments now (object,
  1715. EventArgs) , instead of one (object).
  1716. 2002-03-14 Kral Ferch <[email protected]>
  1717. * XmlWriter.cs: Formatting.
  1718. * XmlTextWriter.cs: Initial checkin.
  1719. 2002-03-14 Duncan Mak <[email protected]>
  1720. * Validation.cs: Removed, replaced by ValidationType.cs.
  1721. * ValidationType.cs: Added.
  1722. 2002-03-13 Duncan Mak <[email protected]>
  1723. * XmlException.cs: Made it [Serializable], implemented good ol'
  1724. GetObjectData, and the serialization constructor.
  1725. * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
  1726. (SetNamedItem): Reverted (added back in) the patch with the
  1727. ReadOnly checks. "Don't doubt yourself, my son... you were right!"
  1728. * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
  1729. (GetNamedItem (string, string)): implemented.
  1730. (RemoveNamedItem): implemented.
  1731. (SetNamedItem): implemented.
  1732. 2002-03-12 Kral Ferch <[email protected]>
  1733. * XmlAttribute.cs: Moved a method from amongst properties down to
  1734. it's alphabetical position in the methods section.
  1735. * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
  1736. last linked child. Set XmlNode base class to return false for IsReadOnly().
  1737. Implemented GetEnumerator() and RemoveChild().
  1738. * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
  1739. This is to support the behavior that the Enumerator doesn't become invalid
  1740. when changes to the children occur. Flushed out rest of implementation for
  1741. MoveNext, Current, and Reset.
  1742. 2002-03-12 Duncan Mak <[email protected]>
  1743. * XmlCharacterData.cs: Reformatted the properties for better readability.
  1744. * XmlLinkedNode.cs: Removed the awful boxy comments.
  1745. * XmlNamedNodeMap.cs (Count):
  1746. (Item): Implemented. Tests will be coming.
  1747. * XmlEntityReference.cs:
  1748. * XmlSignificantWhitespace.cs: Implemented these classes except for
  1749. the Clone, WriteContentTo and WriteTo methods. Will have to
  1750. investigate into these later.
  1751. 2002-03-11 Duncan Mak <[email protected]>
  1752. * IHasXmlNode.cs: Added to CVS.
  1753. 2002-03-08 Jason Diamond <[email protected]>
  1754. * XmlParserContext.cs: Added missing constructors and missing Encoding
  1755. property.
  1756. * XmlTextReader.cs: Start using the XmlParserContext class.
  1757. 2002-03-08 Jason Diamond <[email protected]>
  1758. * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
  1759. 2002-03-08 Mike Kestner <[email protected]>
  1760. * XmlNode.cs (Item): Implemented both indexers.
  1761. 2002-03-08 Jason Diamond <[email protected]>
  1762. * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
  1763. XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
  1764. 2002-03-08 Jason Diamond <[email protected]>
  1765. * XmlAttribute.cs: Attribute nodes are supposed to store their values
  1766. as child nodes so updated to reflect that.
  1767. * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
  1768. duplicated in XmlDocument and XmlElement into XmlNode so that it
  1769. wouldn't have to be duplicated in XmlAttribute, too.
  1770. 2002-03-08 Kral Ferch <[email protected]>
  1771. * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
  1772. XmlNode.cs: Formatting.
  1773. * XmlNodeListChildren.cs: Implementation of XmlNodeList
  1774. for XmlNode.ChildNodes property.
  1775. * XmlNodeListAsArrayList.cs: Removed file. Using different
  1776. data structure (circular list) in XmlNode so this file
  1777. is no longer valid.
  1778. * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
  1779. bug in setter property of LastLinkedChild so fixed it.
  1780. 2002-03-06 Jason Diamond <[email protected]>
  1781. * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
  1782. We already have a parser in XmlTextReader.
  1783. * XmlException.cs: Removed constructor accepting XmlInputSource.
  1784. 2002-03-06 Kral Ferch <[email protected]>
  1785. * XmlNode.cs: Rewrote this class from scratch with
  1786. MonoToDo attribs and NotImplementedExceptions. Now defines an
  1787. internal LastLinkedNode property to aid the new implementation.
  1788. XmlNodes only have ref to owner doc and parent nodes now.
  1789. * XmlLinkedNode.cs: Added NextLinkedSibling internal property
  1790. and ref to next sibling to support walking our circular child
  1791. node list.
  1792. * XmlDocument.cs: Added ref to last child node and overrides
  1793. XmlNode's internal LastLinkedChild property to support walking
  1794. our circular child node list.
  1795. 2002-03-02 Kral Ferch <[email protected]>
  1796. * XmlProcessingInstructions.cs: Class was empty. Implemented
  1797. constructor, properties, and CloneNode() method. Put in
  1798. MonoToDo attrib for remaining methods.
  1799. * XmlComment.cs: Reformatted and put in MonoToDo attribs.
  1800. Got rid of helper methods and fields since they were no
  1801. longer needed.
  1802. * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
  1803. * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
  1804. XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
  1805. Createxxx() methods for those three node types.
  1806. 2002-03-02 Jason Diamond <[email protected]>
  1807. * XmlDocument.cs: Implemented the remaining CreateElement and
  1808. CreateAttribute methods.
  1809. * XmlAttribute.cs: Re-implemented.
  1810. * XmlElement.cs: Set owner element on attributes. Reformatted.
  1811. 2002-03-02 Jason Diamond <[email protected]>
  1812. * XmlTextReader.cs: Implemented MoveToNextAttribute().
  1813. * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
  1814. attributes. Create attribute nodes while loading. Implemented
  1815. Load(string) and CreateTextNode().
  1816. * XmlCharacterData.cs, XmlText.cs: Re-implemented.
  1817. * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
  1818. XmlCharacterData.
  1819. * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
  1820. 2002-03-02 Mike Kestner <[email protected]>
  1821. * XmlAttribute.cs : Using fix.
  1822. * XmlDocument.cs (CreateAttribute(String)): Implement.
  1823. 2002-03-02 Jason Diamond <[email protected]>
  1824. * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
  1825. the name table.
  1826. 2002-02-28 Jason Diamond <[email protected]>
  1827. * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
  1828. courtesy of Kral Ferch <[email protected]>.
  1829. 2002-02-28 Jason Diamond <[email protected]>
  1830. * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
  1831. added missing members and MonoTODO attributes.
  1832. * XmlTextReader.cs: Throw XmlException instead of System.Exception.
  1833. 2002-02-27 Jason Diamond <[email protected]>
  1834. * XmlElement.cs: Reformatted, added missing members and MonoTODO
  1835. attributes.
  1836. 2002-02-26 Duncan Mak <[email protected]>
  1837. * XmlCDataSection.cs: Initial implementation.
  1838. * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
  1839. it out. This should (hopefully) be correct.
  1840. 2002-02-26 Jason Diamond <[email protected]>
  1841. * XmlTextReader.cs: Apparently Microsoft's implementation treats
  1842. namespace declarations as attributes so we do now, too.
  1843. * XmlNamespaceManager.cs: HasNamespace fixed so that it only
  1844. checks the current scope.
  1845. 2002-02-26 Duncan Mak <[email protected]>
  1846. * XmlDocumentType.cs: Added a few hacks here and there to
  1847. temporarily fix the "I broke the build issue".
  1848. 2002-02-25 Jason Diamond <[email protected]>
  1849. * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
  1850. XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
  1851. simple test to pass. The existing code is really shitty so I'll
  1852. probably start writing tests and refactoring before much else
  1853. can get done.
  1854. 2002-02-25 Duncan Mak <[email protected]>
  1855. * NameTable.cs: Implemented.
  1856. * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
  1857. 2002-02-24 Duncan Mak <[email protected]>
  1858. * XmlNodeOrder.cs: Added to CVS.
  1859. * XmlQualifiedName.cs: Fixed a warning from Equals ().
  1860. * XmlTokenizedType.cs: Added to CVS.
  1861. * XmlUrlResolver.cs: Added to CVS with one TODO task.
  1862. 2002-02-23 Duncan Mak <[email protected]>
  1863. * XmlQualifiedName.cs: Fixed ToString () and added the operators
  1864. (== and !=).
  1865. 2002-02-23 Jason Diamond <[email protected]>
  1866. * XmlTextReader.cs: Added support for qualified attributes.
  1867. 2002-02-23 Jason Diamond <[email protected]>
  1868. * XmlNamespaceManager.cs: Initial implementation.
  1869. * XmlTextReader.cs: Added support for NamespaceURI property on
  1870. elements.
  1871. 2002-02-23 Nick Drochak <[email protected]>
  1872. * ChangeLog: Add the change log to this directory
  1873. * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
  1874. MonoTODO's