ChangeLog 101 KB

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