ChangeLog 213 KB

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