ChangeLog 182 KB

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