ChangeLog 103 KB

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