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

Resoultion of Bug 1824: Functions return xs:NCName, but xs:NCName is not support in XSLT 2.0 Basic

From: Colin Paul Adams <colin@colina.demon.co.uk>
Date: 29 Sep 2005 12:35:41 +0100
To: public-qt-comments@w3.org
Message-ID: <m3k6h02jjm.fsf@colina.demon.co.uk>

If I understand this correctly, then code such as the following:

        <xsl:variable name="element_name" select="../@name"
        as="xs:TOKEN" />

should not be rejected by a Basic XSLT processor, but should be
treated as if it were coded as:

        <xsl:variable name="element_name" select="../@name"
        as="xs:string" />

Is this a correct understanding?
Colin Adams
Preston Lancashire
Received on Thursday, 29 September 2005 11:35:51 UTC

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