ChangeLog 221 KB

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