ChangeLog 84 KB

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