ChangeLog 135 KB

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