ChangeLog 111 KB

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