ChangeLog 110 KB

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