ChangeLog 89 KB

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