ChangeLog 137 KB

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