2
0

ChangeLog 167 KB

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