ChangeLog 200 KB

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