ChangeLog 188 KB

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