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

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

Abel Braaksma <abel.braaksma@xs4all.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abel.braaksma@xs4all.nl

--- Comment #1 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
The auto-generated part didn't correctly create the proper assertions here. I
have corrected that (it now checks for output "CAUGHT" for catching the error)
and pushed to the repo.

The test assumes that it is incorrect to directly call system-property:

<!-- raises XPST0017 -->
<xsl:evaluate xpath="'system-property(''xsl:version'')'" />

But also assumes that it is allowed to wrap the call to system-property in a
function item, because in that case, its context is outside the xsl:evaluate
(and we do not explicitly disallow this in the spec, I think):

<!-- succeeds -->
<xsl:evaluate xpath="'$f(''xsl:version'')'">
   <xsl:with-param name="f" select="system-property#1" />
</xsl:evaluate>

It then tests variants and permutations of the above calls (i.e., different
ways of capturing the static and dynamic context).

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

Received on Saturday, 10 October 2015 10:04:19 UTC