ChangeLog 122 KB

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