ChangeLog 175 KB

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