Commit Graph
214 Commits
Author SHA1 Message Date
Vladimir Krasnov e10ae0f43f merge -r 53398:53399
svn path=/branches/mainsoft/gh1.7/mcs/; revision=53447
2005-11-24 09:59:32 +00:00
Vladimir Krasnov bb643c443f merge -r 53397:53398
svn path=/branches/mainsoft/gh1.7/mcs/; revision=53446
2005-11-24 09:58:28 +00:00
Atsushi Eno f4112a5629 2005-11-10 Atsushi Enomoto <[email protected]>
* XmlReader.cs, XmlNode.cs :
	  [DebuggerDisplay] are not worthy of existing.

	* XPathNavigator.cs, XPathNodeIterator.cs :
	  [DebuggerDisplay] are not worthy of existing.


svn path=/trunk/mcs/; revision=52880
2005-11-10 18:30:39 +00:00
Atsushi Eno ac246c83b7 2005-11-07 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs, XPathNodeIterator.cs : DebuggerDisplayAttribute
	  values are fixed. However, they totally do not make sense since
	  there is no DebuggerDisplayProxy type in our impl.


svn path=/trunk/mcs/; revision=52661
2005-11-07 18:18:49 +00:00
Atsushi Eno 2a437fbf59 2005-11-07 Atsushi Enomoto <[email protected]>
* XPathException.cs : Message property is back in 2.0 RTM.


svn path=/trunk/mcs/; revision=52639
2005-11-07 08:57:59 +00:00
Atsushi Eno a7a4be34df 2005-11-07 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : XmlReader.ReadTypedValue() does not exist 
	  anymore, so it is not override.

	* XmlNamespaceManager.cs : NameTable is virtual in 2.0 RTM.
	* XmlReader.cs : IsEmptyElement is reverted to be abstract in 2.0 RTM.
	  ReadTypedValue() is removed.
	* XmlValidatingReader.cs : ReadTypedValue() is not virtual now.
	* XmlWriter.cs : Settings is virtual.

	* XPathNodeIterator.cs : added [DebuggerDisplay]. pretty useless tho.
	* XPathNavigator.cs : [DebuggerDisplay] as well.
	  SelectSingleNode() and AppendChildElement() are now virtual.


svn path=/trunk/mcs/; revision=52637
2005-11-07 08:48:22 +00:00
Atsushi Eno 29581a1ead 2005-10-23 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : now 2.0 MoveToFirst() invokes internal
	  MoveToFirstImpl() and it is from what XmlDocumentNavigator did.
	  This fixes XPathEditableDocument.MoveToFirst().

	* XmlDocumentNavigator.cs : now MoveToFirst() invokes internal
	  MoveToFirstImpl().


svn path=/trunk/mcs/; revision=52108
2005-10-23 20:45:26 +00:00
Atsushi Eno f627a0d49c 2004-10-15 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : (DeleteRange, ReplaceRange) so they are not
	  likely to be implemented, thus MonoTODO.


svn path=/trunk/mcs/; revision=51743
2005-10-15 10:38:59 +00:00
Gert Driesen 6e38664311 * XPathNavigator.cs: Removed DebuggerDisplay attribute.
* XPathNodeIterator.cs: Removed DebuggerDisplay attribute.

svn path=/trunk/mcs/; revision=51469
2005-10-08 14:41:34 +00:00
Gert Driesen 28d6b63233 * XPathNavigator.cs: [NET_2_0] Added DebuggerDisplay attribute,
added ReplaceRange and DeleteRange methods.
* XPathNodeIterator.cs: [NET_2_0] Added DebuggerDisplay attribute.

svn path=/trunk/mcs/; revision=51466
2005-10-08 11:44:25 +00:00
Atsushi Eno 3ed15e6d44 2004-09-22 Atsushi Enomoto <[email protected]>
* Expression.cs : Now that managed collation is default, we don't need
	  reversive case-order anymore.


svn path=/trunk/mcs/; revision=50530
2005-09-22 18:59:50 +00:00
Atsushi Eno 1ce27f71e9 2004-09-21 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : added NavigatorComparer.
	* XPathComparer.cs : XPathNavigatorComparer implements
	  IEqualityComparer under NET_2_0 profile.


svn path=/trunk/mcs/; revision=50352
2005-09-21 03:30:26 +00:00
Sebastien Pouliot 2b0490f4ae 2005-08-31 Sebastien Pouliot <[email protected]>
* XPathException.cs: Added a Demand for SerializationFormatter on
	GetObjectData method.


svn path=/trunk/mcs/; revision=49177
2005-08-31 13:03:25 +00:00
Gert Driesen b6157808b4 * XmlSchemaInference.cs: Is sealed in Beta 2.
* XmlSchemaInfo.cs: Added ContentType property.
* XmlSchemaObjectEnumerator.cs: No longer sealed in Beta 2.
* XmlSchemaSet.cs: No longer sealed in Beta 2. XmlResolver property
is now CLSCompliant.
* XmlConvert.cs: Renamed RoundTripKind to RoundtripKind.
* XmlDateTimeSerializationMode.cs: Renamed RoundTripKind to RoundtripKind 
to match .NET 2.0 Beta 2.
* XmlNodeReader2.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2, and is explicit interface implementation.
* XmlTextReader.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2.
* XmlTextReader2.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2.
* XmlValidatingReader.cs: GetNamespacesInScope returns generic IDictionary 
in .NET 2.0 Beta 2.
* IXmlNamespaceResolver.cs: GetNamespacesInScope returns generic IDictionary 
in .NET 2.0 Beta 2.
* XmlNamespaceManager.cs: GetNamespacesInScope returns generic IDictionary 
in .NET 2.0 Beta 2.
* XmlNodeReaderImpl.cs: GetNamespacesInScope returns generic IDictionary in 
.NET 2.0 Beta 2.
* DTDValidatingReader.cs: GetNamespacesInScope returns generic IDictionary 
in .NET 2.0 Beta 2.
* XsltArgumentList.cs: No longer sealed in .NET 2.0.
* XsltException.cs: Message override is back in .NET 2.0 Beta 2.
* XmlMapping.cs: API compatibility fixes. Ctor is not protected in .NET 1.1. 
SetKey is not obsolete in .NET 2.0 Beta 2.
* XPathNavigator.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2.
* XsdValidationReader.cs: GetNamespacesInScope returns generic IDictionary 
in .NET 2.0 Beta 2.
* XmlSchemaValidatingReader.cs: GetNamespacesInScope returns generic
IDictionary in .NET 2.0 Beta 2.
* SubtreeXmlReader.cs: GetNamespacesInScope now returns generic IDictionary.

svn path=/trunk/mcs/; revision=47974
2005-08-03 17:39:08 +00:00
Atsushi Eno 36b186ae4f 2004-07-23 Atsushi Enomoto <[email protected]>
* Expression.cs : don't expect namespace resolver; namespace could be
	  supplied in QName without nsresolver need (i.e. SelectChildren()).
	  Fixed bug #75609.

	* XPathNavigatorCommonTests.cs : added test for bug #75609


svn path=/trunk/mcs/; revision=47573
2005-07-23 07:00:51 +00:00
Ben Maurer b27c8e1534 remove .cvsignore from everywhere, as it is useless on svn
svn path=/trunk/mcs/; revision=46564
2005-06-27 15:55:58 +00:00
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +00:00
Martin Baulig a559eb5380 IKeyComparer is gone.
svn path=/trunk/mcs/; revision=46441
2005-06-23 17:17:37 +00:00
Andrew Skiba 9b6d39261d TARGET_JVM for roundtrip bug
svn path=/trunk/mcs/; revision=45681
2005-06-09 09:11:06 +00:00
Atsushi Eno 104d203349 2004-06-07 Atsushi Enomoto <[email protected]>
* Expression.cs : set TARGET_JVM where collation matters.


svn path=/trunk/mcs/; revision=45577
2005-06-07 13:34:27 +00:00
Atsushi Eno 59f1697a06 2004-05-05 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : XPathAtomicValue.cs -> XmlAtomicValue.cs.

	* XmlAtomicValue.cs : moved from XPathAtomicValue, removed some stuff.

	* SubtreeXmlReader.cs :
	  removed atomizedName related 2.0 member (deprecated).

	* XPathAtomicValue.cs :
	  it is now XmlAtomicValue and in sys.xml.schema.
	* XPathNavigator.cs, Expression.cs :
	  removed atomizedName related 2.0 members (deprecated).

	* XsdValidatingReader.cs :
	  removed atomicName related 2.0 members (deprecated in beta2).

	* XmlNodeReader2.cs, XmlTextReader2.cs, XmlValidatingReader.cs,
	  XmlNamespaceManager.cs, IXmlNamespaceResolver.cs,
	  DTDValidatingReader.cs : Removed most of "atomizedName" related
	  stuff that are obsoleted in 2.0 beta2.
	* XQueryConvert.cs : XPathAtomicValue -> XmlAtomicValue.

	* XmlNamespaceManagerTests.cs : removed atomizedName related tests.


svn path=/trunk/mcs/; revision=44083
2005-05-05 14:14:57 +00:00
Atsushi Eno 7a204c67e0 2004-05-05 Atsushi Enomoto <[email protected]>
* XPathExpression.cs : added static Compile().
	* XPathNavigator.cs :
	  Use XPathExpression.Compile() for now. 
	  Updated tree modification API to 2.0 beta2.
	* XPathItem.cs, XPathNavigator.cs, XPathAtomicValue.cs :
	  updated to 2.0 beta2 API.
	* XPathResultType.cs : removed [Serializable].
	* XmlNodeChangeType.cs : removed obsolete file.


svn path=/trunk/mcs/; revision=44073
2005-05-05 11:10:58 +00:00
Atsushi Eno 0c6e946eb5 2004-03-25 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : 2.0 build fix



svn path=/trunk/mcs/; revision=42252
2005-03-25 17:17:49 +00:00
Atsushi Eno 8922e4e424 2004-03-25 Atsushi Enomoto <[email protected]>
* Expression.cs : In ExprSLASH2, replace A//B with A/descendant::B if
	  B is child axis test (thus peer&subtree optimization became possible)
	  Fixed warning (incorrect variable let).


svn path=/trunk/mcs/; revision=42247
2005-03-25 10:56:11 +00:00
Atsushi Eno 9c904a47d5 2004-03-25 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : reduced some Clone().
	  Simplified ComparePosition().
	* Iterator.cs : some iterators are not actually reverse axis.


svn path=/trunk/mcs/; revision=42246
2005-03-25 05:35:58 +00:00
Atsushi Eno bf86f5ec7b 2004-03-22 Atsushi Enomoto <[email protected]>
* Expression.cs : EvaluateBoolean() for RTF should check return true
	  for empty elements. Fixed static analysis for RTF.

	* XslTransformTests.cs : added test 1)that examines pattern sanity and
	  2)that examines if empty element RTF is evaluated as true for bool.


--his line, and those below, will be ignored--

M    System.Xml.XPath/ChangeLog
M    System.Xml.XPath/Expression.cs
M    Test/System.Xml.Xsl/ChangeLog
M    Test/System.Xml.Xsl/XslTransformTests.cs
M    Test/System.Xml.Xsl/standalone_tests/Makefile

svn path=/trunk/mcs/; revision=42118
2005-03-22 15:44:41 +00:00
Atsushi Eno ad73d6ca40 2004-03-22 Atsushi Enomoto <[email protected]>
* Makefile : now it creates XSLT pattern parser files from
	  Parser.jay and Tokenizer.cs in System.Xml.XPath.

	* Parser.jay, Tokenizer.cs : Now they are used as common code base for
	  XPath parser and XSLT pattern parser. Makefile now creates two
	  set of sources of them. (This change takes effect on the next change).


svn path=/trunk/mcs/; revision=42062
2005-03-22 07:26:41 +00:00
Atsushi Eno 32efbfc3a1 2004-03-16 Atsushi Enomoto <[email protected]>
* Parser.jay : rewrote step part to be reusable for upcoming XSLT
	  pattern parser.


svn path=/trunk/mcs/; revision=41921
2005-03-16 20:55:55 +00:00
Atsushi Eno b6ab8c257e 2004-03-16 Atsushi Enomoto <[email protected]>
* Iterator.cs : reduced extra clone.


svn path=/trunk/mcs/; revision=41870
2005-03-16 05:53:02 +00:00
Atsushi Eno 91af8aea97 2004-03-15 Atsushi Enomoto <[email protected]>
* DefaultContext.cs,
	  Expression.cs,
	  Iterator.cs : Now RequireSorting is not required in BaseIterator
	  (it is now fully in Expression).
	  Removed the last ListIterator .ctor() argument.

	* XslKey.cs : removed last ListIterator.ctor() argument.
	  Reverted the last commit that changed internal key index change 
	  from ArrayList to Hashtable. Avoid clone in CollectIndex().
	  Sort results in Evaluate() before passing list to ListIterator.
	* XslFunctions.cs : removed last ListIterator.ctor() argument.

	* XslVariable.cs : removed last ListIterator.ctor() argument.


svn path=/trunk/mcs/; revision=41864
2005-03-15 21:34:04 +00:00
Atsushi Eno df1ee3d110 2004-03-15 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : In ComparePosition(), make use of IsDescendant().

	* XmlDocumentNavigator.cs : overriden IsDescendant (default 
	  implementation extraneously clones).



svn path=/trunk/mcs/; revision=41861
2005-03-15 21:24:18 +00:00
Atsushi Eno fa27b95fd6 2004-03-14 Atsushi Enomoto <[email protected]>
* Expression.cs,
	  DefaultContext.cs : Basic constant folding optimization (not so
	  effective right now). Unified number-to-string conversion code into
	  XPathFunctions.ToString(double) to avoid roundtrip format right now.
	* Iterator.cs : removed unused code.


svn path=/trunk/mcs/; revision=41781
2005-03-14 04:32:30 +00:00
Atsushi Eno 62dc883eac 2004-03-11 Atsushi Enomoto <[email protected]>
* Iterator.cs : more clone reduction.


svn path=/trunk/mcs/; revision=41714
2005-03-11 19:07:43 +00:00
Atsushi Eno 16b2217356 2004-03-11 Atsushi Enomoto <[email protected]>
* Expression.cs, DefaultContext.cs : more Peer overrides.


svn path=/trunk/mcs/; revision=41702
2005-03-11 14:36:25 +00:00
Atsushi Eno a643fbe57b 2004-03-11 Atsushi Enomoto <[email protected]>
* Expression.cs,
	  DefaultContext.cs : Removed unused NeedAbsoluteMatching.
	  Added Peer and Subtree (for "peer & subtree optimization. See:
	  http://idealliance.org/papers/dx_xmle04/papers/02-03-02/02-03-02.html
	  Fixed some ToString() that caused NullReferenceException.

	* Iterator.cs : Predicate does not affect on RequireSorting.
	  Added SimpleSlashIterator for peer & subtree optimization.

	  Added PreserveWhitespace() consideration in BaseIterator.MoveNext().

	* XslKey.cs : removed unused NeedAbsoluteMatching.
	* XslFunctions.cs : Added Peer (for peer & subtree optimization).
	  Added some missing ToString() overrides.


svn path=/trunk/mcs/; revision=41687
2005-03-11 11:33:30 +00:00
Atsushi Eno 8584919df5 2004-03-09 Atsushi Enomoto <[email protected]>
* Expression.cs,
	  Iterator.cs, :
	  SlashIterator is now constructed with requireSorting parameter 
	  that thus just use RequireSorting from both left/right Expressions, 
	  not iterators.
	  When attribute axis is on the left expression, the result needs to
	  be sorted.


svn path=/trunk/mcs/; revision=41614
2005-03-09 20:06:59 +00:00
Atsushi Eno 57543d7be7 2005-03-09 Atsushi Enomoto <[email protected]>
* XslVariable.cs : clone stored XPathNavigator items before storing.
	* XslAttribute.cs : tiny code reduction.

	* Iterator.cs : Now for most of iterator types, Current property always
	  returns the same instance. It results in huge memory reduction.


svn path=/trunk/mcs/; revision=41591
2005-03-09 10:11:52 +00:00
Atsushi Eno ccbee83783 2004-03-04 Atsushi Enomoto <[email protected]>
* Iterator.cs : (SlashIterator.MoveNext()) For SortedList.Add(), the
	  key should be iterator itself. Key by list count never makes sense.



svn path=/trunk/mcs/; revision=41556
2005-03-08 10:48:37 +00:00
Atsushi Eno e9f471bbab 2004-03-04 Atsushi Enomoto <[email protected]>
* Expression.cs : Significant whitespace nodes must be returned in
	  text() NodeTypeTest.


svn path=/trunk/mcs/; revision=41427
2005-03-04 07:05:22 +00:00
Atsushi Eno 78640dbcdb 2004-02-23 Atsushi Enomoto <[email protected]>
* Expression.cs : xsl:sort case-order was not handled properly.


svn path=/trunk/mcs/; revision=41099
2005-02-23 16:13:11 +00:00
Atsushi Eno 2ae16a5f2b 2004-02-23 Atsushi Enomoto <[email protected]>
* Iterator.cs :
	  In FollowingIterator, attribute and namespace nodes should be 
	  considered to have following nodes. See XPath 1.0 section 5 (esp.
	  the description on "document order").
	  On fixing @*/following::*, attribute nodes are regarded as to be
	  RequireSorting = true (which might result in duplicate).



svn path=/trunk/mcs/; revision=41074
2005-02-23 01:22:59 +00:00
Atsushi Eno b821d60b25 2004-02-18 Atsushi Enomoto <[email protected]>
* Expression.cs : string() function expects "Infinity" and "-Infinity"
	  instead of "INF" for conversion from number. XmlConvert is for XSD,
	  not for XSLT.


svn path=/trunk/mcs/; revision=40845
2005-02-18 08:11:22 +00:00
Atsushi Eno d08da3813d 2004-02-09 Atsushi Enomoto <[email protected]>
* Expression.cs : RelationalExpr was comparing number and node in
	  reverse order. Patch by Kazuki Oikawa. Fixed bug #72343.
	  RelationalExpr should also handle result tree fragment as node-set
	  as well as EqualityExpr. This fixes RTF case wrt #72343.


svn path=/trunk/mcs/; revision=40326
2005-02-09 07:03:41 +00:00
Atsushi Eno 7a88a433f7 2004-02-08 Atsushi Enomoto <[email protected]>
* Expression.cs : tiny code format fix by Andrew Skiba.


svn path=/trunk/mcs/; revision=40295
2005-02-08 11:06:56 +00:00
Atsushi Eno 15a506f442 2004-12-26 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : Added CheckValidity() and ValueType.
	  For SetTypedValue(), throw NotSupportedException instead of
	  NotImplementedException.



svn path=/trunk/mcs/; revision=38087
2004-12-26 16:37:59 +00:00
Atsushi Eno 5a1b39f67c 2004-12-16 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs :added MoveToFollowing(), ReplaceSelf() and
	  all the missing attributes.



svn path=/trunk/mcs/; revision=37836
2004-12-16 15:09:25 +00:00
Atsushi Eno c5958e71ca 2004-12-04 Atsushi Enomoto <[email protected]>
* XPathDocument.cs : switch to DTMXPathNavigator2 which fully
	  eliminated string fields from struct.
	  (When we switch from struct to class, revert this change to use
	  DTMXPathNavigator, since class-based DTMXPathNavigator2 is rather
	  wasting processing speed.)



svn path=/trunk/mcs/; revision=37086
2004-12-04 17:23:43 +00:00
Atsushi Eno 86cb03be47 2004-12-02 Atsushi Enomoto <[email protected]>
* Iterator.cs : when PredicateIterator has a numeric predicate, it
	  will never be true twice. So just break up the iteration on true.
	* XPathNavigator.cs : implemented LookupPrefix().
	* Expression.cs : ExprParens.Optimize() could just return the content
	  expression.



svn path=/trunk/mcs/; revision=36944
2004-12-02 16:01:25 +00:00
Atsushi Eno 9186b8c3c1 2004-12-01 Atsushi Enomoto <[email protected]>
* IXPathChangeNavigable.cs,
	  XmlChangeFilters.cs,
	  XPathDocumentNodeChangedAction.cs : removed old files.
	* System.Xml.dll.sources : removed old files.


svn path=/trunk/mcs/; revision=36895
2004-12-01 10:57:55 +00:00
Atsushi Eno f54b64bcfb 2004-12-01 Atsushi Enomoto <[email protected]>
* Iterator.cs : with related to the previous patch, many comments
	  got making no sense. Thanks to Harinath.



svn path=/trunk/mcs/; revision=36892
2004-12-01 10:23:11 +00:00