ChangeLog 71 KB

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