ChangeLog 92 KB

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