ChangeLog 158 KB

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