ChangeLog 84 KB

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