ChangeLog 192 KB

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