ChangeLog 207 KB

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