ChangeLog 194 KB

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