ChangeLog 136 KB

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