ChangeLog 128 KB

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