ChangeLog 88 KB

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