ChangeLog 94 KB

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