ChangeLog 220 KB

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