ChangeLog 107 KB

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