ChangeLog 69 KB

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