ChangeLog 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969
  1. 2003-07-29 Atsushi Enomoto <[email protected]>
  2. * XmlNode.cs : fixed internal ConstructNamespaceManager() for InnerXml
  3. not to create extraneous xmlns="".
  4. 2003-07-28 Atsushi Enomoto <[email protected]>
  5. * DTDValidatingReader.cs : (Read,ValidateAttributes,ReadAttributeValue)
  6. attribute declaration should be got independently of elementdecl.
  7. * XmlAttribute.cs :
  8. Added internal SetDefault() to mark as default.
  9. Removed InnerText implementation that is just the same as XmlNode.
  10. * XmlDocument.cs : id shouldn't be removed from table at 'trying' to
  11. get matching elements. ReadAttributeNode() now sets default mark.
  12. * XmlElement.cs : WriteTo() should ignore default attributes.
  13. * XmlTextWriter.cs : shuold allow valid name char such as digits.
  14. 2003-07-27 Piers Haken <[email protected]>
  15. * XmlQualifiedName.cs : fields should never be null
  16. 2003-07-27 Atsushi Enomoto <[email protected]>
  17. * XmlDocumentFragment.cs : added XPathNodeType indicating Root.
  18. 2003-07-27 Atsushi Enomoto <[email protected]>
  19. * XmlDocument.cs (GetIdenticalAttribute): restored OwnerElement.IsRooted
  20. 2003-07-27 Atsushi Enomoto <[email protected]>
  21. * XmlLinkedNode.cs : added internal IsRooted.
  22. 2003-07-26 Atsushi Enomoto <[email protected]>
  23. * DTDValidatingReader.cs :
  24. - Added ID support in ValidateAttributes().
  25. - More refined ReadAttributeValue() support for non-expanding entity
  26. situation
  27. - It should handle LocalName, Name, Prefix, NamespaceURI and Value
  28. correctly when the reader is on each of the value nodes of an
  29. attribute. Now XmlDocument.ReadNode() should work well.
  30. * XmlDocument.cs :
  31. - added idTable, AddIdenticalAttribute(), GetIdenticalAttribute() and
  32. RemoveIdenticalAttribute()
  33. - Implemented GetElementById().
  34. * XmlAttributeCollection.cs :
  35. - added private ownerDocument property and replaced
  36. ownerElement.OwnerDocument with it.
  37. - Added AdjustIdenticalAttribute() and it is used in SetNamedItem().
  38. It calls XmlDocument.{Add|Remove}IdenticalAttribute().
  39. - Added RemoveIdenticalAttribute() and it is used in Remove().
  40. (I also added AddIdenticalAttribute() but is not used.)
  41. 2003-07-26 Duncan Mak <[email protected]>
  42. * XmlDocument.cs (GetIdenticalAttribute): Temporarily remove test
  43. for OwnerElement.IsRooted to fix the build..
  44. 2003-07-26 Atsushi Enomoto <[email protected]>
  45. * XmlDocumentType.cs :
  46. modified private DTD to dtd and added internal DTD (the same thing).
  47. * XmlElement.cs :
  48. Fixed SetAttributeNode() to check if specified attribute is already
  49. set to the other element. In fact it is W3C DOM's specification but
  50. MS.NET 1.0 failed to catch it.
  51. * XmlTextReader.cs :
  52. ReadAttributeValue() should check if the value of the attribute is
  53. already read when the whole value is entity reference.
  54. Also, Name of text nodes should be "", not "#text"
  55. 2003-07-26 Atsushi Enomoto <[email protected]>
  56. * XmlAttribute.cs : .ctor() shouldallow localName "xml" (not prefix)
  57. with http://www.w3.org/XML/1998/namespace.
  58. * XmlEntity.cs : patch by Aleksey Sanin. InnerText is now supported.
  59. * XmlNode.cs : InnerText should handle CDATA and whitespaces.
  60. * XmlTextReader.cs : Should allow " (#PCDATA)* " in ReadContentSpec().
  61. * XmlTextWriter.cs : Quick fix for accepting (and writing) same-named
  62. attributes (as MS.NET does). It isn't good way and I may change it.
  63. 2003-07-24 Atsushi Enomoto <[email protected]>
  64. * DTDObjectModel.cs : Added DTDEntityDeclarationCollection and
  65. DTDNotationDeclarationCollection and replaced Hashtables with them.
  66. Added NormalizedDefaultValue property for DTDAttributeDefinition.
  67. * DTDValidatingReader.cs :
  68. - It now reads attribute values into value collection.
  69. - Renamed consumedDefaultAttribute to consumedAttribute, and
  70. inContent to insideContent.
  71. - GetAttribute() should allow reader's other node state than element.
  72. - MoveToNextAttribute() should move when reader is placed other than
  73. the first attribute.
  74. - HandleError() now supports ValidationType.None (i.e. does nothing).
  75. - ValidateAttribute() now collects and resolves attribute value
  76. entity references. (On the other hand, it doesn't support
  77. EntityHandling.ExpandCharEntity.)
  78. - NodeType shouldn't return Attribute after ReadAttributeValue().
  79. Now only Text is supported, but must also support EntityReference.
  80. - Add FilterNormalization() and partially support Normalization.
  81. 2003-07-24 Atsushi Enomoto <[email protected]>
  82. * XmlTextReader.cs :
  83. Read() now handles parser context stuff (BaseURI, XmlLang and
  84. XmlSpace) correctly for an empty element.
  85. Normalization property now doesn't throw an error. Will be used soon.
  86. * XmlValidatingReader.cs : added ValidationType.None support (wait for
  87. the next DTDValidatingReader update for "not firing event handler).
  88. * XmlNodeReader.cs : jun. 30th commit seems wrong. It keeps its state.
  89. 2003-07-19 Atsushi Enomoto <[email protected]>
  90. * DTDValidatingReader.cs :
  91. changed base class to XmlReader and implemented IXmlLineInfo members.
  92. changed .ctor() argument from event handler to validating reader.
  93. Removed some #if ... #else ... #endif blocks.
  94. Added validation event support for Read() using HandleError().
  95. * XmlValidatingReader.cs : added internal OnValidationEvent().
  96. * XmlDocument.cs : ReadNode() now checks reader's state more strictly.
  97. 2003-07-19 Atsushi Enomoto <[email protected]>
  98. * XmlUrlResolver.cs : applied BenM's patch for file uri problem
  99. (bug #46610).
  100. 2003-07-15 Atsushi Enomoto <[email protected]>
  101. * DTDValidatingReader.cs :
  102. added DTDObjectModel support for non-XmlTextReader XmlReader
  103. e.g. XmlNodeReader (Read() method).
  104. * XmlDocument.cs :
  105. added internal CreateDocumentType(XmlTextReader) and moved
  106. ReadDoctypeNode() to XmlDocumentType.ImportFromDTD().
  107. * XmlDocumentType.cs :
  108. added internal .ctor(XmlTextReader, document) and ImportFromDTD().
  109. * XmlTextReader.cs :
  110. Renamed useSbForVal (valueBuilderAvailable), valSb (valueBuilder)
  111. and currentSubset (DTD).
  112. Added GenerateDTDObjectModel() (for independent doctype parsing).
  113. 2003-07-15 Atsushi Enomoto <[email protected]>
  114. * XmlAttribute.cs :
  115. .ctor() should reject xml- or xmlns-prefixed node.
  116. * XmlNamespaceManager.cs :
  117. added some xmlns validity check.
  118. * XmlNode.cs :
  119. optimized GetNamespaceOfPrefix() and GetPrefixOfNamespace() by
  120. avoiding XmlNamespaceManager creation.
  121. * XmlNodeReader.cs :
  122. doctype node should return PUBLIC and SYSTEM for its indexer,
  123. and Value should be internal subset,
  124. 2003-07-12 Atsushi Enomoto <[email protected]>
  125. * DTDObjectModel.cs,
  126. DTDValidatingReader.cs : Completely rewrote attribute handling.
  127. 2003-07-12 Atsushi Enomoto <[email protected]>
  128. * XmlAttribute.cs,
  129. XmlElement.cs : Fixed CloneNode() for bug #46129.
  130. * XmlDocument.cs : Fixed MakeReaderErrorMessage that specified invalid
  131. String.Format arguments, and basically XmlException.ctor(
  132. IXmlLineInfo, message) seems good idea to use.
  133. * XmlTextReader.cs :
  134. - Fixed .ctor(Stream, XmlNodeType, XmlParserContext) which had
  135. required non-null context which don't have to exist.
  136. - Added state check. Introduced 'currentState' and 'maybeTextDecl'
  137. (for external entity) and removed hasEnteredDocument. Added
  138. state-check logic to ReadStartTag(), ReadEndTag(), ReadText(),
  139. ReadCData(), ReadDoctypeDecl() and ReadWhitespace().
  140. - Replaced throw ReaderError() with throw new XmlException() and
  141. fixed that some error hadn't thrown, only created.
  142. - ResetState() should re-initialize existing private members other
  143. than some specified fields.
  144. - Private AddAttribute() should check if the same-named attribute
  145. already exists.
  146. * DTDObjectModel.cs : Additive declaration for ATTLIST is availabe now.
  147. 2003-07-09 Lluis Sanchez Gual <[email protected]>
  148. * XmlTextReader.cs : Implemented ResetState() method.
  149. 2003-07-06 Atsushi Enomoto <[email protected]>
  150. * XmlElement.cs : IsEmpty has removed attributes since it incorrectly
  151. used RemoveAll().
  152. 2003-07-06 Atsushi Enomoto <[email protected]>
  153. * XmlDocument.cs : Load(string filename) should close its stream.
  154. Small change for the latest DTDObjectModel change.
  155. * XmlTextReader.cs : Changed for the latest DTDObjectModel change (all
  156. changed methods are only related to DTD stuff).
  157. Now uses XmlSchemaDatatype for attribute type definition.
  158. * XmlValidatingReader : initial (limited) support for DTD validation.
  159. It can handle only XmlTextReader.
  160. * DTDObjectModel.cs : changed radically for initial validation support.
  161. * added DTDAutomata.cs and DTDValidatingReader.cs.
  162. 2003-07-06 Atsushi Enomoto <[email protected]>
  163. * XmlElement.cs : Removed extraneous xmlns output support (it should
  164. be done by XmlTextWriter).
  165. * XmlNode.cs : InsertBefore() now checks validity of the newChild (and
  166. most of the changes are in fact indentation changes).
  167. * XmlWriter.cs : WriteAttributes() now can write entity references.
  168. WriteNode() now writes xmldecl attributes correctly.
  169. Removed namespaceManager and xmlns check logic, since it should be
  170. done by individual XmlTextWriter.
  171. * XmlTextWriter.cs : Patch by Jerome. AddMissingElementXmlns () has
  172. written multiple xmlns declarations.
  173. Moved namespaceManager from abstract XmlWriter.
  174. Write{Start|End}Attribute() and WriteString() now checks xmlns
  175. attribute value. (MS.NET holds value only with this write method).
  176. 2003-07-04 Atsushi Enomoto <[email protected]>
  177. * XmlDocument.cs : removed xmlReader.Close() from Load(XmlReader).
  178. 2003-06-30 Atsushi Enomoto <[email protected]>
  179. * XmlDocumentNavigator.cs : Implemented MoveTo*Namespace() and
  180. essentially changed most of the property handling (e.g. removed attribute
  181. enumerator and it now became really cloneable).
  182. * XmlNodeReader.cs : ReadInnerXml() changes its state as error
  183. when the method is called at Initial state.
  184. 2003-06-25 Atsushi Enomoto <[email protected]>
  185. * XmlDocumentNavigator.cs : Fixed IsEmptyElement. It treats <foo></foo>
  186. as non-empty, and XmlElement's IsEmpty is designed as such.
  187. Fixed MoveToFirst() and MoveToNext() not to move to xmldecl nor
  188. doctype node.
  189. * XmlNode.cs : Fixed XPathNodeType. It should throw an exception
  190. instead of returning undefined enum value.
  191. Modified some code comments.
  192. * XmlWriter.cs : Fixed WriteNode () to use WriteFullEndElement()
  193. when XmlReader's node is not at empty element or at EndElement.
  194. Fixed XmlDeclaration's standalone check.
  195. 2003-06-21 Atsushi Enomoto <[email protected]>
  196. * XmlTextReader.cs : removed CRLFs. Fixed private InitializeContext()
  197. to use known Uri way (used in XmlUrlResolver) instead of UriBuilder.
  198. 2003-06-20 Atsushi Enomoto <[email protected]>
  199. * XmlInputStream.cs : quick fix for public ctor() BaseURI bug.
  200. 2003-06-20 Ben Maurer <[email protected]>
  201. * XmlTextReader.cs: Reduces memory allocation when the reader is
  202. not queried for some values.
  203. * NameTable.cs: Now uses a custom hashtable to implement. As a
  204. result, when Get (char[], int, int) is called, a string is only
  205. allocated if it is actually a new entry.
  206. (StrEqArray) Compares a string and a char[]
  207. (AddEntry) Adds a new entry to the hashtable
  208. (Entry) Represents a hashtable entry.
  209. 2003-06-20 Atsushi Enomoto <[email protected]>
  210. * XmlUrlResolver.cs : several ResolveUri() fix. e.g. for external URIs.
  211. 2003-06-16 Ben Maurer <[email protected]>
  212. * XmlUrlResolver.cs: really fixed #44231
  213. 2003-06-16 Atsushi Enomoto <[email protected]>
  214. * XmlNodeReader.cs : fixed MoveToNextAttribute(). In some cases
  215. this method set current node null.
  216. * XmlTextReader.cs : fixed GetAttribute (name, ns), which returned
  217. String.Empty instead of null (expected value).
  218. * XmlTextReader.cs,
  219. XmlUrlResolver.cs,
  220. XmlInputStream.cs : fixed BaseURI problem (bug #44231).
  221. 2003-06-15 Atsushi Enomoto <[email protected]>
  222. * XmlNodeReader.cs : this [name] and this [name, ns] (and
  223. GetAttribute() methods in turn) returns null instead of String.Empty.
  224. * XmlTextWriter.cs : WriteStartAttribute() should try to use specified
  225. prefix before auto-generating prefixes.
  226. Implemented WriteBase64().
  227. 2003-06-13 Atsushi Enomoto <[email protected]>
  228. * XmlNodeReader.cs : LookupNamespace () has refered invalid current
  229. node for attributes. Modified to use private "document" property.
  230. 2003-06-10 Lluis Sanchez Gual <[email protected]>
  231. * XmlTextWriter.cs: when adding an attribute with a namespace, a prefix must be automaticaly
  232. generated, and a namespace declaration must be added.
  233. * XmlWriter.cs: the namespace for the prefix xmlns must be http://www.w3.org/2000/xmlns/
  234. 2003-06-10 Zoltan Varga <[email protected]>
  235. * XmlAttribute.cs: Accept a null prefix or namespaceURI.
  236. 2003-06-10 Duncan Mak <[email protected]>
  237. * XmlDocumentNavigator.cs (GetNode): Make it implement
  238. IHasXmlNode.
  239. 2003-06-05 Lluis Sanchez Gual <[email protected]>
  240. * XmlTextWriter.cs : Fixed bug. After calling for example WriteStartElement ("pref","ln","ns");
  241. a call to LookupPrefix ("pref") when still writting attributes should
  242. return "ns", and it didn't.
  243. 2003-06-02 Atsushi Enomoto <[email protected]>
  244. * XmlDocumentNavigator.cs : quick fix for MoveToFirstChild().
  245. * XmlConvert.cs : fixed VerifyNCName() to check correctly.
  246. 2003-06-01 Atsushi Enomoto <[email protected]>
  247. * XmlDocumentNavigator.cs : Compute document node one time.
  248. MoveToFirstChild() should move to PIs and comments.
  249. 2003-05-30 Miguel de Icaza <[email protected]>
  250. * XmlReader.cs (ReadStartElement): Improve error message.
  251. 2003-05-28 Lluis Sanchez Gual <[email protected]>
  252. * XmlTextReader.cs : MoveToAttribute methods must set the enumerator to the right
  253. position, since MoveToNextAttribute may be called after it.
  254. SetProperties(): attributes do not "inherit" the namespace.
  255. * XmlDocument.cs: ReadNode(), ReadAttributeNode(): must keep the current reader position.
  256. 2003-05-27 Atsushi Enomoto <[email protected]>
  257. * NameTable.cs : Add() sets the given name string interned.
  258. * XmlParserContext.cs : added internal PushScope() and PopScope() to
  259. hold stacks of xml:base, xml:lang and xml:space.
  260. * XmlTextReader.cs : implemented XmlLang and XmlSpace (only as a
  261. property for stacked attributes). Renamed Initialize() to Initialize-
  262. Context(). Modified to use XmlParserContext.PushScope()/PopScope().
  263. 2003-05-26 Lluis Sanchez Gual <[email protected]>
  264. * XmlReader.cs: Little fix to WriteAttributeString()
  265. 2003-05-24 Atsushi Enomoto <[email protected]>
  266. * XmlAttribute.cs, XmlCharacterData.cs, XmlComment.cs, XmlDocument.cs,
  267. XmlDocumentFragment.cs, XmlElement.cs, XmlEntity.cs, XmlLinkedNode.cs,
  268. XmlNode.cs, XmlNotation.cs, XmlProcessingInstruction.cs, XmlReader.cs,
  269. XmlSignificantWhitespace.cs, XmlText.cs, XmlWhitespace.cs:
  270. Reverted the recent accessibility mistake (5/16).
  271. * XmlDocument.cs, XmlNode.cs : moved actual CreateNavigator() logic
  272. from XmlNode to XmlDocument.
  273. 2003-05-18 Lluis Sanchez Gual <[email protected]>
  274. * XmlQualifiedName.cs : Fixed bug in equality operator.
  275. 2003-05-18 Atsushi Enomoto <[email protected]>
  276. * XmlTextWriter.cs : patch by Jonathan Hogg. Flush() does not close
  277. any open attributes or elements. WriteWhitespace() checks state and
  278. closes start tag. Fixed WriteStringInternal() to replace CR/LF chars
  279. when it is called inside attribute value.
  280. * XmlException.cs : added .NET 1.1 .ctor.
  281. * added XmlSecureResolver.cs (only stubbing).
  282. * XmlAttribute.cs : set_InnerXml() should remove children.
  283. * XmlAttribute.cs,
  284. XmlElement.cs,
  285. XmlDocumentFragment.cs,
  286. XmlDocument.cs : removed XmlTextReader reuse (It was buggy stuff).
  287. * XmlNode.cs : RemoveAll() should also remove all attributes.
  288. * XmlTextRader.cs : .ctor() for attribute value reader should add
  289. quotations at initialization, since it requires quote chars.
  290. * XmlWriter.cs : WriteAttributeString() more correct xmlns check.
  291. 2003-05-16 Atsushi Enomoto <[email protected]>
  292. * changed XPathNodeType modifier to internal *protected* override.
  293. * XmlAttribute.cs : .ctor() now checks name validity e.g. xmlns.
  294. * XmlAttribute.cs, XmlElement.cs : set_Prefix checks NCName validity.
  295. * XmlAttributeCollection.cs : removed some incorrect TODO attributes.
  296. * XmlDocument.cs ; CreateAttribute(name) now auto-completes xmlns NSURI
  297. when the argument is "xmlns".
  298. * XmlElement.cs : more compliant IsEmpty support. See also WriteTo().
  299. * XmlNamespaceManager.cs : added initial "xml" and "xmlns" namespaces.
  300. * XmlNode.cs : ser_InnerXml() throws InvalidOperationException.
  301. * XmlNodeReader.cs : LookupNamespace() refactory. Fixed ReadInnerXml()
  302. not to set error state for non-started XmlNodeReader.
  303. * XmlTextReader.cs : fixed ReadAttributeValue() not to reset state.
  304. BaseURI support. Fixed Initialize() to handle Attribute correctly.
  305. SetProperty for attribute auto-completes xmlns NSURI.
  306. Attribute and whitespace handling became more correct.
  307. Don't parse external DTD if XmlResolver is null.
  308. * XmlTextWriter.cs : implemented WriteEntityRef().
  309. WriteStartAttribute() checks if ns does not equal to that of xmlns.
  310. * XmlWriter.cs : trivial refactoring (WriteNode() xmldecl output).
  311. 2003-05-05 Atsushi Enomoto <[email protected]>
  312. * XmlConvert.cs : IsInvalid() Now uses XmlConstructs.IsName(Start).
  313. EncodeName() now correctly encodes invalid names.
  314. Result string of ToString(DateTime) contains "fffffff".
  315. 2003-04-29 Atsushi Enomoto <[email protected]>
  316. * XmlElement.cs : fixed IsEmpty (removed private field isEmpty).
  317. * XmlNodeReader.cs : Fixed AttributeCount, each this[] (indexers),
  318. MoveTo*Attribute(),
  319. Fixed this[] to work correctly against XmlDeclarations.
  320. Fixed ReadInnerXml() and ReadOuterXml() to call Read() correctly.
  321. (which may prevent validations etc.)
  322. * XmlReader.cs,
  323. XmlNodeReader.cs,
  324. XmlTextReader.cs : Fixed ReadString() to be compliant with each
  325. other.
  326. * XmlTextReader.cs : ReadInnerXml() now moves to next node correctly.
  327. 2003-04-27 Pedro Martínez Juliá <[email protected]>
  328. * XmlNode.cs: ensure to get a valid Uri in BaseUri when loading the
  329. source document from a file.
  330. 2003-04-27 Atsushi Enomoto <[email protected]>
  331. * XmlAttribute.cs : fixed WriteTo() and WriteContentTo() to write
  332. content EntityReference correctly.
  333. * XmlNodeReader.cs : many fix for EndElement handling (AttributeCount,
  334. HasAttributes, indexers, MoveTo*Attribute() and Read() ).
  335. Modified Skip() to call Read () explicitly.
  336. * XmlTextReader.cs :
  337. Fixed ReadInnerXml() which ignored EndElement token in certain cases.
  338. Implemented MoveToAttribute (local, ns), and modified GetAttribute()
  339. in relation to this change.
  340. Attributes for XmlDeclaration are now correctly set.
  341. * XmlTextWriter.cs : WriteRaw() is now different from WriteString().
  342. Simplified WriteAttributes() for XmlDeclaration.
  343. 2003-04-26 Atsushi Enomoto <[email protected]>
  344. * XmlTextReader.cs : fixed ReadInnerXml(). it was inconsistent with
  345. Depth property fix.
  346. 2003-04-25 Atsushi Enomoto <[email protected]>
  347. * XmlDocument.cs : fixed Load() to set baseURI correctly.
  348. * XmlReader.cs : patch by Gonzalo. Fixed not to skip XmlDeclaration.
  349. * XmlTextReader.cs :
  350. fixed Depth. When it's on StartElement, Depth was already incremented.
  351. fixed private SaveProperty(), which moved away its saved properties
  352. when MoveToElement was called repeatedly.
  353. * XmlTextWriter.cs : fixed WriteQualifiedName() to close start tag.
  354. * XmlWriter.cs :
  355. WriteAttributes() refactory (for XMLDecl).
  356. WriteNode() don't Read() when the reader is Initial state, let other
  357. invokation to Read(). In case of Element, it should write entire
  358. element. In case of Attribute, it shouldn't Read().
  359. WriteStartDocument() should omit standalone decl. when there is no
  360. explicit value.
  361. 2003-04-23 Gonzalo Paniagua Javier <[email protected]>
  362. * XmlReader.cs: reverted last patch. It breaks System.Configuration
  363. because 1. it considers XmlDeclaration as content and 2. always
  364. returns XmlNodeType.None.
  365. 2003-04-23 Atsushi Enomoto <[email protected]>
  366. * Added missing ChangeLog of 4/4/2003.
  367. * XmlTextWriter.cs : patch by Erik. fixed WriteQualifiedName.
  368. (write prefix instead of ns.)
  369. * XmlInputStream.cs : file access mode fix (FileAccess.Read was missing)
  370. * XmlTextReader.cs : modified to call Read() instead of ReadContent().
  371. (It may be required for decorated reader such as XmlValidatingReader.)
  372. Changed Read() error message for mismatch end tag.
  373. * XmlDocument.cs : (ReadNode) friendly message for mismatch EndElement.
  374. * XmlReader.cs : Corrected misinterpreted MoveToContent() method.
  375. 2003-04-04 Atsushi Enomoto <[email protected]>
  376. * XmlDocument.cs : Load() now closes the given XmlReader.
  377. Don't allow creation of XmlTextReader for Doctype. (workaround.)
  378. * XmlInputStream.cs : It now closes its internal stream explicitly.
  379. * XmlNode.cs : RemoveChild() bugfix for removing LastLinkedChild.
  380. * XmlNodeReader.cs : GetAttribute() bugfix for not-present attribute.
  381. * XmlParserInput.cs : added Close() method.
  382. * XmlReader.cs : MoveToContent() should (1) not Read in case of empty
  383. element, and (2) MoveToElement() in case of attribute.
  384. * XmlTextReader.cs : Close() now actually closes source TextReaders.
  385. 2003-03-26 Duncan Mak <[email protected]>
  386. * XmlTextWriter.cs (Write): A patch from Atsushi to fix
  387. prematurely ending the write, or something like that. It was
  388. causing us to chop off the end of the document when we're trying
  389. to generate XML Schemas.
  390. 2003-03-23 Atsushi Enomoto <[email protected]>
  391. * XmlTextReader.cs : implemented ReadString().
  392. fixed ctor(string, XmlNodeType, XmlParserContext) - don't raise
  393. null reference exception when context is null.
  394. * XmlNodeReader.cs : fixed ReadString() - should ignore attributes etc.
  395. fixed Read() - when positioned at EndElement, it didn't progress.
  396. fixed HasAttribute - it didn't return false in all cases.
  397. fixed Name and LocalName - only limited type of nodes return names.
  398. fixed AttributeCount - in some cases it threw null ref exception.
  399. 2003-03-22 Atsushi Enomoto <[email protected]>
  400. * XmlTextWriter.cs : WriteStartDocument doesn't set hasRoot=true, then
  401. WriteEndDocument without root element now raises an error correctly.
  402. * XmlDocumentNavigator.cs : (MoveToFirstChild) fixed bugzilla #36672.
  403. implemented BaseURI, NameTable, XmlLang, GetAttributes, GetNamespace,
  404. MoveToAttribute.
  405. 2003-03-22 Atsushi Enomoto <[email protected]>
  406. * XmlElement.cs : RemoveAttribute now don't throws when specified
  407. attribute does not exist.
  408. 2003-03-21 Atsushi Enomoto <[email protected]>
  409. * XmlNode.cs : add descriptions for some node type error.
  410. 2003-03-21 Atsushi Enomoto <[email protected]>
  411. * XmlNodeArrayList.cs, XmlNodeListChildren.cs : bugzilla #39920 fix.
  412. 2003-03-19 Atsushi Enomoto <[email protected]>
  413. * XmlDeclaration.cs : quick fix, not to use regex for set_Value.
  414. 2003-03-19 Atsushi Enomoto <[email protected]>
  415. * XmlTextReader.cs : Fixed wrong notationdecl SYSTEM id read.
  416. * XmlInputStream.cs : Should allow versionless input stream entity.
  417. 2003-03-18 Atsushi Enomoto <[email protected]>
  418. * added XmlParserInput.cs for multi xml document sources.
  419. * added DTDObjectModel.cs (maybe temporary).
  420. * XmlTextReader.cs :
  421. + fixed ctor to use XmlStreamReader. Allowed null XmlParserContext.
  422. + Some members such as LineNumber, ReadChar now uses XmlParserInput.
  423. + added support for Namespaces (namespace-ignorant parse available).
  424. + added support for XmlResolver.
  425. + replace SetReaderContext()/SetReaderFragment() with Initialize().
  426. + use NameTable in CreateNameString.
  427. + fixed ReadCData(). Now reads "]]]>" correctly.
  428. + support for DTD parse.
  429. + Read() now throws an error when it reached EOF while Depth > 0.
  430. * XmlAttribute.cs,
  431. XmlDocumentFragment.cs,
  432. XmlElement.cs : fix related to the changes of XmlTextReader.Initialize
  433. * XmlDocument.cs : ReadNode() now reads DocumentType.
  434. * XmlDocumentType.cs : implemented Entities, Notations, WriteTo().
  435. * XmlEntity.cs,
  436. XmlNotation.cs : added override LastLinkedChild (for doctype node).
  437. * XmlNamedNodeMap.cs : Remove() raises an error if target is read only.
  438. * XmlElement.cs : bugfix for node removal of set_InnerXml.
  439. * XmlNode.cs : added insertBeforeIntern() derived from InsertBefore().
  440. (to append child XmlEntity into XmlDocumentType correctly.)
  441. * XmlInputStream.cs : fixed to access file with FileAccess.Read.
  442. 2003-03-15 Duncan Mak <[email protected]>
  443. * XmlElement.cs (Name): Only append prefix + ':' when prefix is
  444. neither String.Empty nor null. Thanks to Simon Guindon for
  445. reporting the bug and Jackson for fixing this bug with me.
  446. 2003-03-15 Atsushi Enomoto <[email protected]>
  447. * XmlConstructs.cs : fix "int IsXXX()" to reject negative value.
  448. * XmlDocument.cs : simplify Load(string url) to use XmlTextReader.
  449. fixed ReadNode(), it should call reader.Read() only on Initial state.
  450. * XmlInputStream.cs : Changed namespace. Added XmlStreamReader(stream)
  451. and XmlStreamReader (string). Fixed XmlInputStream(url) not to use
  452. System.Net.WebClient directly.
  453. * XmlParserContext.cs : baseURI never be null.
  454. * XmlTextWriter.cs : use WebName for Encoding instead of HeaderName.
  455. * XmlUrlResolver.cs : namespace change for XmlInputStream.
  456. 2003-03-12 Elan Feingold <[email protected]>
  457. * XmlTextReader.cs: When throwing a ReaderException, show what
  458. character was the culprit
  459. 2003-03-05 Atsushi Enomoto <[email protected]>
  460. * XmlDocumentFragment.cs, XmlElement.cs :
  461. modified InnerXml (fragment type from Element to DocumentFragment).
  462. * XmlElement.cs : fixed WriteTo() ns check.
  463. * XmlNamespaceManager.cs : MS.NET allows Add() used two or more times.
  464. * XmlNode.cs : fixed ConstructNamespaceManager().
  465. * XmlConstructs.cs : added IsSpace, IsName, IsNameStart, IsNCName,
  466. IsPubid with an int arg.
  467. * XmlReader.cs : changed to use XmlChar.cs (its role is as same as
  468. XmlConstructs.cs).
  469. * XmlTextReader.cs :
  470. improved error messages with line info.
  471. / checking matching start and end tags.
  472. / prevents the apperance of multiple root elements. (patch by Erik)
  473. fixed and refactored ReadInnerXml() and ReadOuterXml()
  474. changed to use XmlChar.cs.
  475. * XmlTextWriter.cs : changed to put element's xmlns at CloseStartTag ()
  476. (It will help c14n implementation.)
  477. / blocks multiple attribute output with element node.
  478. 2003-02-28 Alan Tam <[email protected]>
  479. * XmlConvert.cs: fixed the most ToXXX(string) and ToString(XXX)
  480. methods to make them compatible with the XML Schema Spec from W3C
  481. ToString(TimeSpan) is still outstanding
  482. 2003-02-18 Gonzalo Paniagua Javier <[email protected]>
  483. * XmlDocument.cs:
  484. (Load (string)): hack to workaround some issues with Uri.Parse. Once
  485. Parse is fixed, remove the hack.
  486. 2003-02-16 Atsushi Enomoto <[email protected]>
  487. * XmlQualifiedName.cs : fixed GetHashCode() to avoid null reference
  488. * XmlTextReader.cs : fixed ReadAttributeValue() to handle
  489. entity reference, and some refactory.
  490. 2003-02-16 Atsushi Enomoto <[email protected]>
  491. * XmlUrlResolver.cs : WebClient.Credentials was not implemented yet.
  492. 2003-02-16 Atsushi Enomoto <[email protected]>
  493. * XmlInputStream.cs : added (also contains internal XmlStreamReader).
  494. * XmlDocument.cs : Load () now can specify URL using XmlUrlResolver,
  495. and can read non-UTF-8 stream.
  496. * XmlTextReader.cs : related to above stream fix.
  497. * XmlUrlResolver.cs : implemented GetEntity ().
  498. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  499. * XmlTextWriter.cs: implemented WriteRaw (char[], int, int).
  500. 2003-02-02 Atsushi Enomoto <[email protected]>
  501. * XmlTextReader.cs : implemented QuoteChar.
  502. 2003-01-26 Atsushi Enomoto <[email protected]>
  503. * XmlNode.cs : implemented ReplaceChild.
  504. removed DocElem checking at InsertBefore.
  505. * XmlNodeReader.cs : fixed ReadString and Read for correct node info.
  506. * XmlText.cs : implemented CloneNode and SplitText.
  507. 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
  508. * XmlCharacterData.cs: added XPathNodeType property.
  509. 2003-01-22 Gonzalo Paniagua Javier <[email protected]>
  510. * XmlTextWriter.cs: throw an exception if WriteEndDocument is
  511. called without a prior call to WriteStartDocument.
  512. 2003-01-21 Atsushi Enomoto <[email protected]>
  513. * XmlNodeReader.cs : several fix to get more compatible with MS.NET.
  514. 2003-01-19 Atsushi Enomoto <[email protected]>
  515. * XmlNamespaceManager.cs : fundamental change of LookupPrefix to return
  516. null when no matching uri.
  517. * XmlElement.cs : removed unnecessary xmlns output.
  518. * XmlNode.cs : GetPrefixOfNamespace fix along with the change above.
  519. * XmlTextWriter.cs : LookupPrefix and WriteStartElementInternal fix
  520. along with the change above, and moved timing of 'xmlns' output
  521. to CloseStartElement.
  522. * XmlWriter.cs: modified WriteStartAttribute, same as yesterday.
  523. 2003-01-18 Atsushi Enomoto <[email protected]>
  524. * XmlWriter.cs: modified WriteStartElement (see test for detail).
  525. Added WriteNode.
  526. 2003-01-13 Ville Palo <[email protected]>
  527. * XmlDocument.cs: Added CheckName () method to check names validity.
  528. 2003-01-11 Gonzalo Paniagua Javier <[email protected]>
  529. * XmlTextReader.cs:
  530. (ReadOuterXml): use Depth property which return elementDepth, not depth.
  531. 2003-01-11 Atsushi Enomoto <[email protected]>
  532. * XmlElement.cs : (by ville) XmlElement.set_InnerText event bugfix.
  533. * XmlTextReader.cs : some fix for ReadOuterXml().
  534. 2003-01-08 Atsushi Enomoto <[email protected]>
  535. * XmlTextReader.cs : bugfix for attributes related to creation of
  536. XmlAttribute *node*.
  537. 2003-01-08 Atsushi Enomoto <[email protected]>
  538. * XmlTextReader.cs : bugfix for attribute values which have entity
  539. references.
  540. 2002-12-28 Ville Palo <[email protected]>
  541. * XmlDocument.cs: XmlTextWriter.Formatting == Indented when
  542. calling Save () -methods.
  543. 2002-12-28 Atsushi Enomoto <[email protected]>
  544. * XmlNodeReader.cs : primitive reading implementation.
  545. 2002-12-28 Atsushi Enomoto <[email protected]>
  546. * XmlElement.cs : quick fix for the incomplete patch of #35308 below.
  547. 2002-12-28 Atsushi Enomoto <[email protected]>
  548. * XmlDocument.cs : removed inconsistent line-feed output.
  549. * XmlElement.cs, XmlTextWriter.cs :
  550. fixed for bugzilla 35308 (default ns output)
  551. * XmlWhitespace.cs : limited output only when preserving whitespace.
  552. 2002-12-24 Atsushi Enomoto <[email protected]>
  553. * XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
  554. Implemented XmlTextReader.ReadAttributeValue().
  555. Added internal ReadAttributeNodeValue().
  556. Fixed XmlAttribute.InnerXml to use these methods.
  557. * XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
  558. Implemented XmlDocument.ReadNode() and removed ConstructDOM().
  559. Other changes are replacing them.
  560. 2002-12-24 Atsushi Enomoto <[email protected]>
  561. * XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
  562. 2002-12-21 Atsushi Enomoto <[email protected]>
  563. * XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
  564. patch by JD Conley <[email protected]>.
  565. (Fix for xmlns attribute output.)
  566. 2002-12-05 Ville Palo <[email protected]>
  567. * XmlQualifiedName.cs: Little fix to ToString () -method
  568. 2002-12-04 Tim Haynes <[email protected]>
  569. * class/System.XML/System.Xml/XmlElement.cs: Made more refined
  570. checks on attributeNode to fix 32262.
  571. 2002-12-03 Atsushi Enomoto <[email protected]>
  572. * XmlDocument.cs (CreateNavigator(XmlNode)) : reverted
  573. * XmlTextWriter.cs (WriteStartElementInternal):
  574. fixed when default namespace was specified, all descendants
  575. fail to omit the default namespace declarations.
  576. * XmlAttribute.cs,
  577. XmlDocument.cs,
  578. XmlNode.cs (internal XmlLang/XmlSpace) : implemented(defined)
  579. * XmlAttribute.cs,
  580. XmlDocumentFragment.cs,
  581. XmlElement.cs (set_InnerXml): now uses XmlLang/XmlSpace
  582. * XmlElement.cs (set_IsEmpty) : implemented
  583. (WriteTo) : removed my improper indenting (Writer already done)
  584. * XmlNode.cs (BaseURI) : fixed if ParentNode is null, NullPointerEx
  585. (ConstructDOM) : implemented when xmlReader isn't XmlTextReader
  586. ...and renamed XmlDocument.ConventionalParser to ReusableReader ;-)
  587. 2002-12-01 Atsushi Enomoto <[email protected]>
  588. * XmlNode.cs (RemoveChild):
  589. bugfixed when XmlNode is Document OwnerDocument is null
  590. * XmlDeclaration.cs (Value):
  591. bugfixed regular expression pattern.
  592. * XmlDocument.cs (CreateNavigator): bugfixed access modifier.
  593. 2002-11-24 Duncan Mak <[email protected]>
  594. * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
  595. Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
  596. first patch to Mono! ;-)
  597. 2002-11-19 Gonzalo Paniagua Javier <[email protected]>
  598. * XmlNode.cs:
  599. (AppendChild): readded refChild != null condition before throwing
  600. "cannot insert this node in this position" exception. There's probably
  601. a better solution. Fixes #34191.
  602. (RemoveAll): changed following Atsushi instructions.
  603. 2002-11-13 Duncan Mak <[email protected]>
  604. * XmlElement.cs (IsEmpty): A temporary check-in to keep gtk-sharp
  605. compiling.
  606. 2002-11-14 Atsushi Enomoto <[email protected]>
  607. * XmlDocument.cs : unified all constructors, added ConventionalParser,
  608. implemented CloneNode() and CreateEntityReference(),
  609. * XmlEntityReference.cs : set_Value, WriteContentTo, WriteTo
  610. set BaseURI to MonoTODO
  611. * XmlNode.cs : implemented PrependChild, modified ConstructDOM,
  612. bugfix InsertAfter (incorrect prepending) and InsertBefore
  613. (more than one DocumentElements hadn't caused errors)
  614. * XmlTextReader.cs : unified all constructors,
  615. added internal SetReaderContext(), SetReaderFragment()
  616. bugfix (syntax check of PUBLIC / getting internal subset)
  617. 2002-11-13 Atsushi Enomoto <[email protected]>
  618. XmlAttribute.cs : set_InnerText, set_InnerXml, some check for set_Prefix
  619. XmlAttributeCollection.cs : (indexer) this[localName, namespaceURI]
  620. XmlCharacterData.cs : exchanged Data and Value
  621. (for processing events and inheritance)
  622. XmlDocumentFragment.cs : set_InnerXml
  623. XmlSignificantWhitespace.cs : set_Value
  624. XmlTextReader.cs : ReadAttributeValue
  625. 2002-11-04 Atsushi Enomoto <[email protected]>
  626. XmlAttribute.cs: fixed missing internal 'OwnerElement''SetOwnerElement'
  627. 2002-11-03 Atsushi Enomoto <[email protected]>
  628. * XmlAttributeCollection.cs : checks owner element.
  629. implemented CopyTo, InsertAfter, InsertBefore, Prepend,
  630. Remove, RemoveAt, SetNamedItem.
  631. removed some logics that sets 'Parent' (that should be null)
  632. * XmlDocument.cs : set_InnerXml, [PreserveWhitespace(incomplete)]
  633. * XmlDocumentFragment.cs : get_InnerXml, WriteContentTo, WriteTo
  634. * XmlElement.cs : implemented WriteTo, set_InnerText.
  635. Fixed WriteTo() to add xmlns:* attributes when
  636. writer.LookupPrefix() returned mismatching.
  637. * XmlNamedNodeMap.cs : compare not only name but localname and nsuri.
  638. Removing different prefixes for the same uri now runs correct.
  639. added SetNamedItem(XmlNode node, int position_to_insert).
  640. * XmlNode.cs : ConstructDOM (logically) creates XmlEntityReference,
  641. XmlWhitespace, and XmlSignificantWhitespace
  642. 2002-10-31 Atsushi Enomoto <[email protected]>
  643. * XmlDocument.cs : implemented CreateDocumentFragment()
  644. * XmlElement.cs, XmlLinkedNode.cs :
  645. moved LastLinkedChild from XmlElement to XmlLinkedNode.
  646. * XmlEntityReference.cs : must throw NotImplementedException.
  647. * XmlNode.cs :
  648. + implemented InsertBefore() and then implemented InsertAfter()
  649. and modified AppendChild() to call it.
  650. + added logic to check ReadOnly, parent document equivalence,
  651. and inserting any 'content' before/after DocumentElement.
  652. + implemented Clone() [it is equals to CloneNode() by MS doc.]
  653. + added logic in RemoveChild() to check parent of oldChild.
  654. + fixed ConstructNamespaceManager() to internal only.
  655. 2002-10-29 Atsushi Enomoto <[email protected]>
  656. * XmlAttribute.cs : add internal 'IsDefault' property
  657. (equals to !Specified)
  658. * XmlImplementation.cs : added 'internalNameTable' property.
  659. * XmlDocument.cs :
  660. + now allows "" for 'standalone' in CreateXmlDeclaration.
  661. + implemented 'Implementation' property and constructor with it.
  662. + added logic for appending name table (but still no use)
  663. + implemented property 'DocumentType'
  664. (but without internalSubset parsing. wait for next update.)
  665. * XmlNode.cs :
  666. + modified AppendChild() and RemoveChild() to support fragment.
  667. + modified AppendChild() to remove newChild from its parent
  668. when newChild is already in the other place.
  669. + modified RemoveChild() to set parentNode null.
  670. + modified ConstructDOM() to create DocumentType,
  671. and fixed access modifier ('internal protected' to 'internal')
  672. * XmlLinkedNode.cs : fixed 'NextSibling' to return null
  673. when its parent is null.
  674. * XmlDocumentFragment.cs : added internal override 'LastLinkedChild'
  675. property to enable AppendChild() for this class.
  676. * XmlTextReader.cs : appended private publicId and systemId fields.
  677. 2002-10-28 Gonzalo Paniagua Javier <[email protected]>
  678. * XmlTextReader.cs: make it work when the underlying Stream is not
  679. 'seekable'.
  680. 2002-10-26 Piers Haken <[email protected]>
  681. * XmlNode.cs: add virtual property XPathNodeType
  682. * XmlAttribute.cs:
  683. * XmlComment.cs:
  684. * XmlDocument.cs:
  685. * XmlElement.cs::
  686. * XmlProcessingInstruction.cs:
  687. * XmlSignificantWhitespace.cs:
  688. * XmlText.cs:
  689. * XmlWhitespace.cs: implement XPathNodeType property
  690. * XmlDocumentNavigator.cs: use XPathNodeType property instead of switch
  691. 2002-10-26 Piers Haken <[email protected]>
  692. * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
  693. 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
  694. * XmlTextReader.cs: don't increment depth for entity references.
  695. 2002-10-22 Tim Haynes <[email protected]>
  696. * - Fixed the duplication of xmlns:xx = yy when serializing the
  697. XML for serialization
  698. Fixed the unnecessary parsing/serializing when adding assemblies
  699. for serialization
  700. Avoided setting the XmlNode.InnerXml property
  701. (as it's not implemented)
  702. Fixed the usage/implementation of
  703. XmlElement.GetElementsByTagName()
  704. 2002-10-21 Duncan Mak <[email protected]>
  705. * XmlDocument.cs:
  706. * XmlElement.cs:
  707. * XmlNode.cs:
  708. * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
  709. Atsushi Enomoto <[email protected]>.
  710. 2002-10-18 Duncan Mak <[email protected]>
  711. * XmlDocument.cs: Applied a patch by Atsushi Enomoto
  712. <[email protected]>.
  713. 2002-10-12 A.Enomoto <[email protected]>
  714. * XmlDocument.cs (ImportNode): Implemented
  715. 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
  716. * XmlDocument.cs: one more Load method implemented.
  717. * XmlTextReader.cs: Depth now works.
  718. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  719. * XmlConvert.cs: IsInvalid is now internal.
  720. * XmlNamespaceManager.cs: implemented RemoveNamespace
  721. * XmlTextReader.cs: return BaseURI and Encoding from the parser.
  722. * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
  723. 2002-09-19 Matt Hunter <[email protected]>
  724. * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
  725. * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
  726. 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
  727. * XmlConvert.cs: finished implementation.
  728. * XmlTextReader.cs: fixed #30239.
  729. * XmlTextWriter.cs: fixed #30240.
  730. 2002-09-15 Gonzalo Paniagua Javier <[email protected]>
  731. * XmlTextReader.cs: line and position begin with 1.
  732. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  733. * XmlException.cs: added a new internal constructor for IXmlLineInfo
  734. and output line and position info in Message.
  735. * XmlReader.cs: implemented missing bits.
  736. 2002-09-12 Piers Haken <[email protected]>
  737. * XmlDocumentNavigator.cs: implement MoveToId()
  738. 2002-09-05 Gonzalo Paniagua Javier <[email protected]>
  739. * XmlTextWriter.cs: fixed bug #29886.
  740. 2002-08-26 Ravi Pratap <[email protected]>
  741. * XmlAttribute.cs (InnerText): Implement getting this property.
  742. * XmlNode.cs (InnerText): Ensure that we append only values of
  743. text nodes.
  744. 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
  745. * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
  746. that allowed compiling this.
  747. [ FIXME: filed bug #29435. mcs should have failed on this ]
  748. 2002-08-25 Tim Coleman <[email protected]>
  749. * XmlNode.cs:
  750. Change CreateNavigator to not be virtual.
  751. * XmlElement.cs:
  752. Add set_Prefix and InnerText accessors.
  753. * XmlEntityReference.cs:
  754. Add set_Value accessor.
  755. * XmlTextWriter.cs:
  756. Make objects which should be private private.
  757. * XmlWriter.cs:
  758. Remove WriteStartElementInternal abstract definition.
  759. * XmlValidatingReader.cs:
  760. New stubs added.
  761. 2002-08-22 Jason Diamond <[email protected]>
  762. * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
  763. and RemoveAllAttributes courtesy of Matt Hunter <[email protected]>.
  764. 2002-08-22 Jason Diamond <[email protected]>
  765. * XmlElement.cs: Correction to previous GetElementsByTagName patch
  766. courtesy of Matt Hunter <[email protected]>.
  767. 2002-08-22 Jason Diamond <[email protected]>
  768. * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
  769. qualified GetElementsByTagName courtesy of Matt Hunter
  770. <[email protected]>.
  771. 2002-08-19 Jason Diamond <[email protected]>
  772. * XmlDocument.cs, XmlElement.cs: Added implementation of
  773. GetElementsByTagName courtesy of Matt Hunter <[email protected]>.
  774. 2002-08-16 Jason Diamond <[email protected]>
  775. * XmlElement.cs: Fixed writing out qualified elements courtesy of
  776. Marcus Bürgel <[email protected]>.
  777. 2002-08-13 Tim Coleman <[email protected]>
  778. * XmlTextWriter.cs:
  779. Partial implementation of WriteQualifiedName ().
  780. 2002-08-07 Kral Ferch <[email protected]>
  781. * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
  782. InsertData(), and ReplaceData(). These methods fire the
  783. NodeChanging and NodeChanged events.
  784. * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
  785. * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
  786. RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
  787. 2002-08-03 Tim Coleman <[email protected]>
  788. * XmlNamespaceManager.cs:
  789. .Net allows the empty namespace to be redefined
  790. at a later point, but the current implementation
  791. did not. This fixes a hashtable conflict.
  792. 2002-07-26 Tim Coleman <[email protected]>
  793. * XmlTextWriter.cs:
  794. When given a textwriter, check to see if it has a
  795. null encoding. This was being done for other inputs
  796. than a textwriter.
  797. Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <[email protected]>
  798. * XmlTextReader.cs: rough line/column support.
  799. 2002-07-23 Duncan Mak <[email protected]>
  800. * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
  801. (string, string []) is particularly strange.
  802. * XmlException.cs: Remember to call the base serialization
  803. constructor.
  804. * XmlNodeReader.cs: Keep a new variable to store the Depth.
  805. 2002-07-14 Jason Diamond <[email protected]>
  806. * XmlAttribute.cs: Removed ownerElement field since we can reuse
  807. parentNode field.
  808. * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
  809. if the current node is an attribute.
  810. * XmlElement.cs: SetAttributeNode now sets the new attribute's
  811. owner element.
  812. 2002-07-12 Jason Diamond <[email protected]>
  813. * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
  814. creating an element, use String.Empty instead.
  815. 2002-07-12 Piers Haken <[email protected]>
  816. * XmlAttributeCollection.cs: implement some ItemOf indexers
  817. * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
  818. * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
  819. 2002-07-06 Ajay kumar Dwivedi <[email protected]>
  820. 2002-10-26 Piers Haken <[email protected]>
  821. * XmlDocumentNavigator.cs: return invalid XPathNodeType (-1) for unknown node types.
  822. 2002-10-23 Gonzalo Paniagua Javier <[email protected]>
  823. * XmlTextReader.cs: don't increment depth for entity references.
  824. 2002-10-22 Tim Haynes <[email protected]>
  825. * - Fixed the duplication of xmlns:xx = yy when serializing the
  826. XML for serialization
  827. Fixed the unnecessary parsing/serializing when adding assemblies
  828. for serialization
  829. Avoided setting the XmlNode.InnerXml property
  830. (as it's not implemented)
  831. Fixed the usage/implementation of
  832. XmlElement.GetElementsByTagName()
  833. 2002-10-21 Duncan Mak <[email protected]>
  834. * XmlDocument.cs:
  835. * XmlElement.cs:
  836. * XmlNode.cs:
  837. * XmlTextReader.cs: Implementation for XmlNode.InnerXml from
  838. Atsushi Enomoto <[email protected]>.
  839. 2002-10-18 Duncan Mak <[email protected]>
  840. * XmlDocument.cs: Applied a patch by Atsushi Enomoto
  841. <[email protected]>.
  842. 2002-10-12 A.Enomoto <[email protected]>
  843. * XmlDocument.cs (ImportNode): Implemented
  844. 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
  845. * XmlDocument.cs: one more Load method implemented.
  846. * XmlTextReader.cs: Depth now works.
  847. 2002-09-22 Gonzalo Paniagua Javier <[email protected]>
  848. * XmlConvert.cs: IsInvalid is now internal.
  849. * XmlNamespaceManager.cs: implemented RemoveNamespace
  850. * XmlTextReader.cs: return BaseURI and Encoding from the parser.
  851. * XmlTextWriter.cs: implemented WriteName and WriteNmToken.
  852. 2002-09-19 Matt Hunter <[email protected]>
  853. * XmlElement.cs: Implementing SetAttributeNode(localName,namespaceURI)
  854. * XmlAttributeCollection.cs: Implemented Append (XmlAttribute)
  855. 2002-09-19 Gonzalo Paniagua Javier <[email protected]>
  856. * XmlConvert.cs: finished implementation.
  857. * XmlTextReader.cs: fixed #30239.
  858. * XmlTextWriter.cs: fixed #30240.
  859. 2002-09-15 Gonzalo Paniagua Javier <[email protected]>
  860. * XmlTextReader.cs: line and position begin with 1.
  861. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  862. * XmlException.cs: added a new internal constructor for IXmlLineInfo
  863. and output line and position info in Message.
  864. * XmlReader.cs: implemented missing bits.
  865. 2002-09-12 Piers Haken <[email protected]>
  866. * XmlDocumentNavigator.cs: implement MoveToId()
  867. 2002-09-05 Gonzalo Paniagua Javier <[email protected]>
  868. * XmlTextWriter.cs: fixed bug #29886.
  869. 2002-08-26 Ravi Pratap <[email protected]>
  870. * XmlAttribute.cs (InnerText): Implement getting this property.
  871. * XmlNode.cs (InnerText): Ensure that we append only values of
  872. text nodes.
  873. 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
  874. * XmlWriter.cs: made ws and namespaceManager protected. mcs has a bug
  875. that allowed compiling this.
  876. [ FIXME: filed bug #29435. mcs should have failed on this ]
  877. 2002-08-25 Tim Coleman <[email protected]>
  878. * XmlNode.cs:
  879. Change CreateNavigator to not be virtual.
  880. * XmlElement.cs:
  881. Add set_Prefix and InnerText accessors.
  882. * XmlEntityReference.cs:
  883. Add set_Value accessor.
  884. * XmlTextWriter.cs:
  885. Make objects which should be private private.
  886. * XmlWriter.cs:
  887. Remove WriteStartElementInternal abstract definition.
  888. * XmlValidatingReader.cs:
  889. New stubs added.
  890. 2002-08-22 Jason Diamond <[email protected]>
  891. * XmlAttributeCollection.cs, XmlElement.cs: Implementation of RemoveAll
  892. and RemoveAllAttributes courtesy of Matt Hunter <[email protected]>.
  893. 2002-08-22 Jason Diamond <[email protected]>
  894. * XmlElement.cs: Correction to previous GetElementsByTagName patch
  895. courtesy of Matt Hunter <[email protected]>.
  896. 2002-08-22 Jason Diamond <[email protected]>
  897. * XmlDocument.cs, XmlElement.cs: Added implementation of namepsace
  898. qualified GetElementsByTagName courtesy of Matt Hunter
  899. <[email protected]>.
  900. 2002-08-19 Jason Diamond <[email protected]>
  901. * XmlDocument.cs, XmlElement.cs: Added implementation of
  902. GetElementsByTagName courtesy of Matt Hunter <[email protected]>.
  903. 2002-08-16 Jason Diamond <[email protected]>
  904. * XmlElement.cs: Fixed writing out qualified elements courtesy of
  905. Marcus Bürgel <[email protected]>.
  906. 2002-08-13 Tim Coleman <[email protected]>
  907. * XmlTextWriter.cs:
  908. Partial implementation of WriteQualifiedName ().
  909. 2002-08-07 Kral Ferch <[email protected]>
  910. * XmlCharacterData.cs: Implemented AppendData(), DeleteData(),
  911. InsertData(), and ReplaceData(). These methods fire the
  912. NodeChanging and NodeChanged events.
  913. * XmlDocument.cs: Fixed bugs in onNodeChanged() and onNodeChanging().
  914. * XmlNode.cs: AppendChild() fires NodeInserting and NodeInserted events.
  915. RemoveAll() and RemoveChild() fire NodeRemoving and NodeRemoved events.
  916. 2002-08-03 Tim Coleman <[email protected]>
  917. * XmlNamespaceManager.cs:
  918. .Net allows the empty namespace to be redefined
  919. at a later point, but the current implementation
  920. did not. This fixes a hashtable conflict.
  921. 2002-07-26 Tim Coleman <[email protected]>
  922. * XmlTextWriter.cs:
  923. When given a textwriter, check to see if it has a
  924. null encoding. This was being done for other inputs
  925. than a textwriter.
  926. Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <[email protected]>
  927. * XmlTextReader.cs: rough line/column support.
  928. 2002-07-23 Duncan Mak <[email protected]>
  929. * XmlConvert.cs: Implement the ToDateTime method. ToDateTime
  930. (string, string []) is particularly strange.
  931. * XmlException.cs: Remember to call the base serialization
  932. constructor.
  933. * XmlNodeReader.cs: Keep a new variable to store the Depth.
  934. 2002-07-14 Jason Diamond <[email protected]>
  935. * XmlAttribute.cs: Removed ownerElement field since we can reuse
  936. parentNode field.
  937. * XmlDocumentNavigator.cs: MoveToParent now moves to the OwnerElement
  938. if the current node is an attribute.
  939. * XmlElement.cs: SetAttributeNode now sets the new attribute's
  940. owner element.
  941. 2002-07-12 Jason Diamond <[email protected]>
  942. * XmlDocument.cs: If null was passed in for prefix or namespaceURI when
  943. creating an element, use String.Empty instead.
  944. 2002-07-12 Piers Haken <[email protected]>
  945. * XmlAttributeCollection.cs: implement some ItemOf indexers
  946. * XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
  947. * XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
  948. 2002-07-06 Ajay kumar Dwivedi <[email protected]>
  949. * XmlTextWriter: Fixed Indentation. IndentationOverridden should
  950. not be set when inside a attribute.
  951. 2002-07-06 Ajay kumar Dwivedi <[email protected]>
  952. * XmlTextWriter: In WriteStartElement, if namespace is null and
  953. prefix is null|empty do not write out xmlns=""
  954. * XmlWriter: WriteStartElement calls the virtual method with null
  955. argument instead of empty string.
  956. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  957. * XmlTextReader.cs: implemented .ctor (Stream).
  958. 2002-06-26 Duncan Mak <[email protected]>
  959. * XmlNodeReader.cs: Implementation of most of the properties, and
  960. some of the related methods.
  961. 2002-06-23 Piers Haken <[email protected]>
  962. * XmlDocumentNavigator.cs: implement Clone()
  963. * XmlElement.cs: remove bogus unimplemented override of InnerText
  964. * XmlNode.cs: implment SelectNodes/SelectSingleNode
  965. * XmlNodeArrayList.cs: new support class for SelectNodes
  966. 2002-06-21 Ajay kumar Dwivedi <[email protected]>
  967. * XmlQualifiedName: Name and Namespaces are never null. If null is passed
  968. to the constructor, set them to empty strings.
  969. Fixed the Operators.
  970. 2002-06-18 Ajay kumar Dwivedi <[email protected]>
  971. * XmlTextReader.cs: HasLineInfo returns false instead of throwing an
  972. Exception.
  973. 2002-06-14 Duncan Mak <[email protected]>
  974. * XmlConvert.cs: Added CLSCompliant attributes to methods.
  975. 2002-06-12 Duncan Mak <[email protected]>
  976. * XmlCharacterData.cs (Value): Throw an ArgumentException in the
  977. set block if the node is read-only.
  978. 2002-06-10 Ajay kumar Dwivedi <[email protected]>
  979. * XmlConstruct.cs : New Internal class with Helper methods for
  980. Checking XmlConstructs
  981. * XmlConvert.cs: Implemented most of the methods
  982. 2002-06-08 Duncan Mak <[email protected]>
  983. * XmlDocument.cs (Load):
  984. Added bits to Load (string) for BaseURI support.
  985. * XmlAttribute.cs (BaseURI):
  986. * XmlDocument.cs (BaseURI):
  987. * XmlEntity.cs (BaseURI): Implemented.
  988. 2002-05-27 Jason Diamond <[email protected]>
  989. * XmlDocumentNavigator.cs: Added file to directory.
  990. * XmlNode.cs (CreateNavigator): Implemented.
  991. (InnerText): Implemented.
  992. * XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
  993. throwing exception.
  994. (Load(XmlReader)): Allow for namespace qualified attributes.
  995. * XmlElement.cs: Implemented GetAttribute(string, string) and both
  996. GetAttributeNode overloads.
  997. (SetAttributeNode(XmlAttribute)): Implemented.
  998. * XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
  999. and RemoveNamedItem(string, string).
  1000. * XmlLinkedNode.cs (PreviousSibling): Implemented.
  1001. * XmlTextReader.cs: Added code to maintain the order of attributes as
  1002. they're parsed. XML doesn't require this but Microsoft's parser does it and
  1003. matching them makes testing easier so now we have it, too.
  1004. 2002-05-26 Miguel de Icaza <[email protected]>
  1005. * XmlDocument.cs: Implement the Save methods.
  1006. 2002-05-08 Mike Kestner <[email protected]>
  1007. * XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
  1008. 2002-04-28 Duncan Mak <[email protected]>
  1009. * XmlSignificantWhitespace.cs (Value):
  1010. * XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
  1011. block. Added new private method, IsValidWhitespaceChar, for
  1012. checking.
  1013. 2002-04-16 Duncan Mak <[email protected]>
  1014. * XmlParserContext.cs (NameTable): Fixed a typo in the set block.
  1015. 2002-04-12 Duncan Mak <[email protected]>
  1016. * XmlAttribute.cs (Prefix): Added preliminary code for set block,
  1017. added comment on work that needs to be done here. A new MonoTODO item.
  1018. * XmlDocument.cs (ctor): Corrected constructor signature, changed
  1019. parameter from 'NameTable' to 'XmlNameTable'.
  1020. * XmlDocumentFragment.cs (InnerXml): Added missing set block.
  1021. * XmlCaseOrder.cs: Moved to System.Xml.XPath.
  1022. 2002-04-10 Duncan Mak <[email protected]>
  1023. * XmlNodeReader.cs: Initial stubs for the class.
  1024. 2002-04-08 Kral Ferch <[email protected]>
  1025. * XmlAttributes.cs: InnerXml getter, WriteContentTo, and WriteTo
  1026. implementations.
  1027. * XmlDeclaration.cs: WriteTo implementation.
  1028. * XmlDocument.cs: InnerXml getter implementation.
  1029. * XmlElement.cs: InnerXml getter implementation.
  1030. * XmlNode.cs: Removed MonoTODO attrib on OuterXml.
  1031. * XmlSignificantWhitespace.cs: WriteTo implementation.
  1032. * XmlText.cs: WriteContentTo and WriteTo implementation.
  1033. * XmlTextWriter.cs: WriteRaw implementation.
  1034. * XmlWhitespace.cs: WriteContentTo and WriteTo implementations.
  1035. 2002-04-05 Kral Ferch <[email protected]>
  1036. * XmlAttributes.cs: Added reminder MonoTODO to set NamespaceURI
  1037. if prefix in constructor is one of the default ones.
  1038. * XmlCharacterData.cs: Returns String.Empty for Value and Data
  1039. even when constructed with null.
  1040. * XmlDeclaration.cs: Value doesn't put encoding or standalone
  1041. in if they are empty.
  1042. * XmlDocument.cs: Implemented CreateNode methods and this caused
  1043. the changes in the other files in this checkin.
  1044. * XmlProcessingInstruction.cs: Returns String.Empty for Value and Data
  1045. even when constructed with null.
  1046. * XmlWhitespace.cs: Changed Value 'get' to return Data.
  1047. 2002-04-01 Kral Ferch <[email protected]>
  1048. * XmlTextWriter.cs: Impls for WriteEndDocument and WriteFullEndElement.
  1049. 2002-03-31 Kral Ferch <[email protected]>
  1050. * XmlTextWriter.cs: Impls for LookupPrefix, WriteBase64,
  1051. and WriteCharEntity.
  1052. * XmlWrite.cs: Fixed bug where attribute namespace decl
  1053. was pushing a scope onto the namespace manager when it shouldn't
  1054. have been.
  1055. 2002-03-31 Kral Ferch <[email protected]>
  1056. * XmlTextWriter.cs: Some tweaks for WriteAttibuteString
  1057. in different states (no open start element, in WriteState.Content mode).
  1058. 2002-03-29 Kral Ferch <[email protected]>
  1059. * XmlTextWriter.cs: XmlLang and XmlSpace properties
  1060. and WriteWhitespace.
  1061. * XmlTextWriterOpenElement.cs: scope support for XmlLang
  1062. and XmlSpace.
  1063. 2002-03-29 Kral Ferch <[email protected]>
  1064. * XmlTextWriter.cs: Working on Attribute methods.
  1065. * XmlWriter.cs: Working on Attribute methods.
  1066. 2002-03-28 Duncan Mak <[email protected]>
  1067. * XmlDocument.cs (CreateWhitespace):
  1068. (CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
  1069. method.
  1070. * XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
  1071. 2002-03-26 Duncan Mak <[email protected]>
  1072. * XmlDocument.cs (CreateDocumentType): Implemented.
  1073. * XmlNode.cs (Value): Implemented.
  1074. * XmlProcessingInstruction.cs (InnerText): Implemented. It works just
  1075. like XmlCharacterData.
  1076. * XmlDeclaration.cs (CloneNode):
  1077. * XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
  1078. arguments.
  1079. * XmlCharacterData.cs (InnerText): Implemented. Funny that the
  1080. docs say it is the "The concatenated values of the node and all
  1081. the children of the node.". I wrote some test programs and
  1082. couldn't get any of the derived nodes to AppendChild. For now,
  1083. InnerText == Data == Value.
  1084. (Substring): Fixed typo.
  1085. * XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
  1086. * XmlImplementation.cs (CreateDocument): Implemented.
  1087. 2002-03-25 Duncan Mak <[email protected]>
  1088. * XmlDeclaration.cs: Rewrote the class, fixed formatting, added
  1089. missing properties (InnerText, Value).
  1090. * XmlDocument.cs (CreateXmlDeclaration): Implemented.
  1091. 2002-03-23 Kral Ferch <[email protected]>
  1092. * XmlTextWriter.cs: Impls for BaseStream and
  1093. Namespaces and WriteState.
  1094. * XmlWriter.cs: WriteState and WriteStartElementInternal.
  1095. 2002-03-23 Kral Ferch <[email protected]>
  1096. * XmlNodeListChildren.cs: made class internal
  1097. instead of public. Shouldn't be visible outside
  1098. of System.Xml.
  1099. * XmlTextWriter.cs: Implementations for Formatting,
  1100. IndentChar, Indenting, QuoteChar, WriteStartDocument(standalone).
  1101. Suppresses encoding on xml declaration if null stream passed in.
  1102. Formats output including suppressing indentation for elements in
  1103. mixed content mode.
  1104. * XmlTextWriterOpenElement.cs: Initial checkin.
  1105. XmlTextWriter uses stack of these objects to track
  1106. state.
  1107. 2002-03-22 Mike Kestner <[email protected]>
  1108. * XmlElement.cs: impl HasAttribute(string name).
  1109. 2002-03-22 Duncan Mak <[email protected]>
  1110. * XmlElement.cs: Reformatted.
  1111. (CloneNode) Corrected.
  1112. * XmlDocument.cs (CreateWhitespace):
  1113. (CreateSignificantWhitespace): Implemented.
  1114. * XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
  1115. true, because Attributes have ChildNodes.
  1116. 2002-03-21 Kral Ferch <[email protected]>
  1117. * XmlTextWriter.cs: WriteStartDocument tracks state, writes out
  1118. xml declaration along with encoding. WriteEndElement throws
  1119. exception if no WriteStartElement exists.
  1120. 2002-03-20 Duncan Mak <[email protected]>
  1121. * XmlEntityReference.cs (CloneNode): Implemented.
  1122. * XmlException.cs (Message): Implemented. We need to cache the
  1123. message string because SystemException doesn't expose 'message'
  1124. from Exception.
  1125. * XmlText.cs (Value): Added in the missing Value property.
  1126. 2002-03-20 Duncan Mak <[email protected]>
  1127. * XmlAttribute.cs (CloneNode): Implemented.
  1128. * XmlDocumentFragment.cs (CloneNode): Implemented.
  1129. * XmlElement.cs (CloneNode): Implemented.
  1130. 2002-03-19 Duncan Mak <[email protected]>
  1131. * XmlNotation.cs: Added to CVS.
  1132. * XmlAttribute.cs (CloneNode): First crack at the CloneNode method.
  1133. * XmlCDataSection.cs (CloneNode): Implemented.
  1134. * XmlDocumentFragment.cs: Reformatted and added the missing properties
  1135. (InnerXml, OwnerDocument, ParentNode).
  1136. (CloneNode): Implemented.
  1137. * XmlSignificantWhitespace.cs (CloneNode): Implemented.
  1138. (Value) Implemented the 'get' property.
  1139. * XmlWhitespace.cs (Module): implemented.
  1140. 2002-03-19 Jason Diamond <[email protected]>
  1141. * XmlDocument.cs: Fixed typo in Load that was duplicating the LocalName
  1142. in the prefix.
  1143. 2002-03-18 Jason Diamond <[email protected]>
  1144. * XmlTextReader.cs: Don't restore properties after reading last
  1145. attribute on an element.
  1146. * XmlDocument.cs: Move back to element after reading attributes
  1147. so that IsEmptyElement test succeeds.
  1148. 2002-03-18 Kral Ferch <[email protected]>
  1149. * XmlNamespaceManager.cs: Implemented LookupPrefix.
  1150. * XmlTextWriter.cs: Implemented namespace and prefix support.
  1151. 2002-03-18 Kral Ferch <[email protected]>
  1152. * XmlTextReader.cs: Restores properties after
  1153. reading last attribute on an element.
  1154. * XmlNode.cs: AppendChild sets the parent
  1155. on the child.
  1156. 2002-03-17 Kral Ferch <[email protected]>
  1157. * XmlCDataSection.cs: Formatting, Implementation for WriteTo.
  1158. * XmlComment.cs: Implementations for WriteTo and WriteContentTo.
  1159. * XmlElement.cs: Fixed bug in WriteTo.
  1160. * XmlProcessingInstruction.cs: Formatting.
  1161. * XmlTextWriter.cs: Implementations for Close, WriteCData, WriteComment,
  1162. fixes for WriteEndElement, WriteProcessingInstruction.
  1163. 2002-03-17 Kral Ferch <[email protected]>
  1164. * XmlDocument.cs: Implementations for WriteTo() and WriteContentTo(),
  1165. had Load() add PIs to the document, moved onXXX methods to alphabetical
  1166. order in the file.
  1167. * XmlElement.cs: Implementations for WriteTo() and WriteContentTo().
  1168. * XmlNode.cs: Implementations for InnerXml Get and OuterXml.
  1169. * XmlProcessingInstruction.cs: Implementations for WriteTo() and
  1170. WriteContentTo().
  1171. * XmlTextWriter.cs: Implementations for WriteEndElement,
  1172. WriteProcessingInstruction, WriteStartElement, and WriteString.
  1173. * XmlWriter.cs: Implemented WriteStartElement() methods.
  1174. 2002-03-15 Duncan Mak <[email protected]>
  1175. * XmlEntity.cs: Added to CVS. Need to implement BaseURI and
  1176. InnerText once I know what they do.
  1177. * XmlDocumentType.cs (XmlDocumentType): Fix the constructor now
  1178. that we can properly chain constructors.
  1179. (CloneNode): implemented.
  1180. (WriteContentTo): Removed MonoTODO attribute as this method has no
  1181. effect in this class.
  1182. * XmlProcessingInstruction.cs (Value): Added the missing Set
  1183. block.
  1184. (InnerText): Added in, but not implemented.
  1185. 2002-03-14 Kral Ferch <[email protected]>
  1186. * XmlTextWriter.cs: implemented constructors and
  1187. WriteCData and WriteComment.
  1188. 2002-03-14 Duncan Mak <[email protected]>
  1189. * XmlDocument.cs: Moved the NodeChanged EventHandler to its own
  1190. file, and updated the callbacks to reflect the change.
  1191. (XmlDocument): Added the NameTable constructor.
  1192. (NameTable): Also the NameTable property.
  1193. * XmlNodeChangedEventHandler.cs: Added, replacing the version that
  1194. was in XmlDocument.cs. It has two arguments now (object,
  1195. EventArgs) , instead of one (object).
  1196. 2002-03-14 Kral Ferch <[email protected]>
  1197. * XmlWriter.cs: Formatting.
  1198. * XmlTextWriter.cs: Initial checkin.
  1199. 2002-03-14 Duncan Mak <[email protected]>
  1200. * Validation.cs: Removed, replaced by ValidationType.cs.
  1201. * ValidationType.cs: Added.
  1202. 2002-03-13 Duncan Mak <[email protected]>
  1203. * XmlException.cs: Made it [Serializable], implemented good ol'
  1204. GetObjectData, and the serialization constructor.
  1205. * XmlNamedNodeMap.cs (SetNamedItem): Check for the Name property.
  1206. (SetNamedItem): Reverted (added back in) the patch with the
  1207. ReadOnly checks. "Don't doubt yourself, my son... you were right!"
  1208. * XmlNamedNodeMap.cs (GetEnumerator): piggyback on the ArrayList implementation.
  1209. (GetNamedItem (string, string)): implemented.
  1210. (RemoveNamedItem): implemented.
  1211. (SetNamedItem): implemented.
  1212. 2002-03-12 Kral Ferch <[email protected]>
  1213. * XmlAttribute.cs: Moved a method from amongst properties down to
  1214. it's alphabetical position in the methods section.
  1215. * XmlNode.cs: Passes in 'this' to XmlNodeList constructor instead of
  1216. last linked child. Set XmlNode base class to return false for IsReadOnly().
  1217. Implemented GetEnumerator() and RemoveChild().
  1218. * XmlNodeListChildren.cs: Now stores the parent instead of the last child.
  1219. This is to support the behavior that the Enumerator doesn't become invalid
  1220. when changes to the children occur. Flushed out rest of implementation for
  1221. MoveNext, Current, and Reset.
  1222. 2002-03-12 Duncan Mak <[email protected]>
  1223. * XmlCharacterData.cs: Reformatted the properties for better readability.
  1224. * XmlLinkedNode.cs: Removed the awful boxy comments.
  1225. * XmlNamedNodeMap.cs (Count):
  1226. (Item): Implemented. Tests will be coming.
  1227. * XmlEntityReference.cs:
  1228. * XmlSignificantWhitespace.cs: Implemented these classes except for
  1229. the Clone, WriteContentTo and WriteTo methods. Will have to
  1230. investigate into these later.
  1231. 2002-03-11 Duncan Mak <[email protected]>
  1232. * IHasXmlNode.cs: Added to CVS.
  1233. 2002-03-08 Jason Diamond <[email protected]>
  1234. * XmlParserContext.cs: Added missing constructors and missing Encoding
  1235. property.
  1236. * XmlTextReader.cs: Start using the XmlParserContext class.
  1237. 2002-03-08 Jason Diamond <[email protected]>
  1238. * XmlTextReader.cs: Implemented MoveToElement and MoveToFirstAttribute.
  1239. 2002-03-08 Mike Kestner <[email protected]>
  1240. * XmlNode.cs (Item): Implemented both indexers.
  1241. 2002-03-08 Jason Diamond <[email protected]>
  1242. * DomEncodingType.cs, TreePosition.cs, XPathNodeType.cs, XmlDataType.cs,
  1243. XmlExceptionCode.cs, XmlSortOrder.cs, XmlUtil.cs: Removed files.
  1244. 2002-03-08 Jason Diamond <[email protected]>
  1245. * XmlAttribute.cs: Attribute nodes are supposed to store their values
  1246. as child nodes so updated to reflect that.
  1247. * XmlDocument.cs, XmlElement.cs, XmlNode.cs: Moved code that was
  1248. duplicated in XmlDocument and XmlElement into XmlNode so that it
  1249. wouldn't have to be duplicated in XmlAttribute, too.
  1250. 2002-03-08 Kral Ferch <[email protected]>
  1251. * XmlNodeList.cs, XmlDocument.cs, XmlLinkedNode.cs,
  1252. XmlNode.cs: Formatting.
  1253. * XmlNodeListChildren.cs: Implementation of XmlNodeList
  1254. for XmlNode.ChildNodes property.
  1255. * XmlNodeListAsArrayList.cs: Removed file. Using different
  1256. data structure (circular list) in XmlNode so this file
  1257. is no longer valid.
  1258. * XmlDocument.cs, XmlElement.cs: New ChildNodes tests found
  1259. bug in setter property of LastLinkedChild so fixed it.
  1260. 2002-03-06 Jason Diamond <[email protected]>
  1261. * XmlInputSource.cs, XmlNames_1_0.cs, XmlParse.cs: Removed files.
  1262. We already have a parser in XmlTextReader.
  1263. * XmlException.cs: Removed constructor accepting XmlInputSource.
  1264. 2002-03-06 Kral Ferch <[email protected]>
  1265. * XmlNode.cs: Rewrote this class from scratch with
  1266. MonoToDo attribs and NotImplementedExceptions. Now defines an
  1267. internal LastLinkedNode property to aid the new implementation.
  1268. XmlNodes only have ref to owner doc and parent nodes now.
  1269. * XmlLinkedNode.cs: Added NextLinkedSibling internal property
  1270. and ref to next sibling to support walking our circular child
  1271. node list.
  1272. * XmlDocument.cs: Added ref to last child node and overrides
  1273. XmlNode's internal LastLinkedChild property to support walking
  1274. our circular child node list.
  1275. 2002-03-02 Kral Ferch <[email protected]>
  1276. * XmlProcessingInstructions.cs: Class was empty. Implemented
  1277. constructor, properties, and CloneNode() method. Put in
  1278. MonoToDo attrib for remaining methods.
  1279. * XmlComment.cs: Reformatted and put in MonoToDo attribs.
  1280. Got rid of helper methods and fields since they were no
  1281. longer needed.
  1282. * XmlLinkedNode.cs: Reformatted and put in MonoToDo attribs.
  1283. * XmlDocument.cs: Added code to Load(XmlReader) to create XmlComment,
  1284. XmlCDataSection, and XmlProcessingInstruction nodes. Implemented
  1285. Createxxx() methods for those three node types.
  1286. 2002-03-02 Jason Diamond <[email protected]>
  1287. * XmlDocument.cs: Implemented the remaining CreateElement and
  1288. CreateAttribute methods.
  1289. * XmlAttribute.cs: Re-implemented.
  1290. * XmlElement.cs: Set owner element on attributes. Reformatted.
  1291. 2002-03-02 Jason Diamond <[email protected]>
  1292. * XmlTextReader.cs: Implemented MoveToNextAttribute().
  1293. * XmlDocument.cs: Reformatted. Adding missing methods and MonoTODO
  1294. attributes. Create attribute nodes while loading. Implemented
  1295. Load(string) and CreateTextNode().
  1296. * XmlCharacterData.cs, XmlText.cs: Re-implemented.
  1297. * XmlCDataSection.cs, XmlComment.cs: Call correct constructor in
  1298. XmlCharacterData.
  1299. * XmlNamedNodeMap.cs, XmlAttributeCollection.cs: Stubbed out.
  1300. 2002-03-02 Mike Kestner <[email protected]>
  1301. * XmlAttribute.cs : Using fix.
  1302. * XmlDocument.cs (CreateAttribute(String)): Implement.
  1303. 2002-03-02 Jason Diamond <[email protected]>
  1304. * XmlNamespaceManager.cs: Atomize prefixes and namespaces strings in
  1305. the name table.
  1306. 2002-02-28 Jason Diamond <[email protected]>
  1307. * XmlDocument.cs, XmlNode.cs: Initial implementation of LoadXml
  1308. courtesy of Kral Ferch <[email protected]>.
  1309. 2002-02-28 Jason Diamond <[email protected]>
  1310. * XmlException.cs, XmlReader.cs, XmlTextReader.cs: Reformatted,
  1311. added missing members and MonoTODO attributes.
  1312. * XmlTextReader.cs: Throw XmlException instead of System.Exception.
  1313. 2002-02-27 Jason Diamond <[email protected]>
  1314. * XmlElement.cs: Reformatted, added missing members and MonoTODO
  1315. attributes.
  1316. 2002-02-26 Duncan Mak <[email protected]>
  1317. * XmlCDataSection.cs: Initial implementation.
  1318. * NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
  1319. it out. This should (hopefully) be correct.
  1320. 2002-02-26 Jason Diamond <[email protected]>
  1321. * XmlTextReader.cs: Apparently Microsoft's implementation treats
  1322. namespace declarations as attributes so we do now, too.
  1323. * XmlNamespaceManager.cs: HasNamespace fixed so that it only
  1324. checks the current scope.
  1325. 2002-02-26 Duncan Mak <[email protected]>
  1326. * XmlDocumentType.cs: Added a few hacks here and there to
  1327. temporarily fix the "I broke the build issue".
  1328. 2002-02-25 Jason Diamond <[email protected]>
  1329. * XmlDocument.cs, XmlElement.cs, XmlNode.xs, XmlNodeList.cs,
  1330. XmlNodeListAsArrayList.cs: Multiple fixes necessary to get
  1331. simple test to pass. The existing code is really shitty so I'll
  1332. probably start writing tests and refactoring before much else
  1333. can get done.
  1334. 2002-02-25 Duncan Mak <[email protected]>
  1335. * NameTable.cs: Implemented.
  1336. * XmlDeclaration.cs: It should inherit from XmlLinkedNode, not XmlNode.
  1337. 2002-02-24 Duncan Mak <[email protected]>
  1338. * XmlNodeOrder.cs: Added to CVS.
  1339. * XmlQualifiedName.cs: Fixed a warning from Equals ().
  1340. * XmlTokenizedType.cs: Added to CVS.
  1341. * XmlUrlResolver.cs: Added to CVS with one TODO task.
  1342. 2002-02-23 Duncan Mak <[email protected]>
  1343. * XmlQualifiedName.cs: Fixed ToString () and added the operators
  1344. (== and !=).
  1345. 2002-02-23 Jason Diamond <[email protected]>
  1346. * XmlTextReader.cs: Added support for qualified attributes.
  1347. 2002-02-23 Jason Diamond <[email protected]>
  1348. * XmlNamespaceManager.cs: Initial implementation.
  1349. * XmlTextReader.cs: Added support for NamespaceURI property on
  1350. elements.
  1351. 2002-02-23 Nick Drochak <[email protected]>
  1352. * ChangeLog: Add the change log to this directory
  1353. * XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
  1354. MonoTODO's