W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2006

[Bug 3660] Unclear what to do on external variable with no value

From: <bugzilla@wiggum.w3.org>
Date: Wed, 06 Sep 2006 19:24:07 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GL30J-0003dW-Tc@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3660





------- Comment #1 from mike@saxonica.com  2006-09-06 19:24 -------
>It seems XSL-T 2.0 handles this with a specific error code,
XTDE0050(http://www.w3.org/TR/xslt20/#err-XTDE0050). This is actually what
Saxon raises, which demonstrates the lack of coverage in the XQTS and probably
also the specification.

For the record, XSLT also allows you to specify whether or not the parameter is
required, and if it is optional, the default value. The error code applies only
if the parameter is mandatory. Such facilities would be very useful in XQuery
too!
Received on Wednesday, 6 September 2006 19:25:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:14 UTC