ChangeLog 69 KB

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