ChangeLog 111 KB

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