ChangeLog 85 KB

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