ChangeLog 56 KB

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