ChangeLog 118 KB

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