[Bug 29052] [xslt30ts] Test case error-0640o-2

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

--- Comment #8 from Michael Kay <mike@saxonica.com> ---
>How does that relate to:

<xsl:param name="foo" select="()" as="xs:string" />

>which could also be a static error, but in this case we *do* allow the
>parameter to be set, I believe we call this an "implicitly required parameter"?
>Which begs the question: why allow/support this, but not the other?

I think the answer to that is (a) we don't do static typing so we can't expect
processors to know statically that () is not an instance of xs:string, and (b)
there's a lot of history that we would change if we could...

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

Received on Thursday, 13 August 2015 15:24:57 UTC