[Bug 29189] [xslt30ts] Test case system-property-101d etc

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29189

--- Comment #5 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
I believe that XTDE3160 is used if the syntax is incorrect, but syntactically,
there's nothing wrong with these xsl:evaluate/@xpath strings.

XPST0017 (quote):
If the expanded QName and arity in a named function reference do not match the
name and arity of a function signature in the static context, a static error is
raised [err:XPST0017].

Since fn:system-property is not available in xsl:evaluate, it seems to me that
XPST0017 is the expected error here. From what I read in XP30, this error is
raised for static function calls, partial function application and named
function references.

The XPath strings that each throw this error are (only argument differs):

system-property(('xsl:xsd-version'))
system-property#1(('xsl:xsd-version'))
let $f := system-property#1 return $f(('xsl:xsd-version'))
function() { system-property(('xsl:xsd-version')) }()
system-property(?)(('xsl:xsd-version'))

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 11 October 2015 00:39:57 UTC