ChangeLog 116 KB

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