ChangeLog 103 KB

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