Commit Graph
1 Commits
Author SHA1 Message Date
Atsushi Eno 5a2795224f 2004-10-07 Atsushi Enomoto <[email protected]>
* XPath2Expression.cs, XPathSequence.cs :
	  Changed ListIterator.ctor() signature not to demand current sequence.
	* XQueryCliFunction.cs, XQueryFunctionCliImpl.cs :
	  Now, to represent a sequence, IEnumerable is not used anymore (it is
	  confusing because System.String is also IEnumerable). So those native
	  functions should just require XPathSequence (for user functions?
	  not idea how MS will solve the "problem").

	  If a native function method has [XQueryFunctionContext] attribute,
	  then it means that the function requires current sequence, so fill
	  it before invoking the method.
	* XQueryFunctionContextAttribute.cs : added, to mark "it needs
	  current sequence" for fn:position() and fn:count().

svn path=/trunk/mcs/; revision=34788
2004-10-07 17:06:35 +00:00