ChangeLog 215 KB

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