ChangeLog 69 KB

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