ChangeLog 90 KB

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