W3C home > Mailing lists > Public > public-xsl-query@w3.org > May 2016

Re: ACTION A-641-13

From: Tim Mills <tim@cbcl.co.uk>
Date: Tue, 10 May 2016 09:53:13 +0100
To: public-xsl-query@w3.org
Message-ID: <db6ba768-3a8b-fec9-6baf-10712a35aef2@cbcl.co.uk>
On 08/05/2016 16:16, Abel Braaksma wrote:
> This section says "the supplied value must be of type xs:string or xs:untypedAtomic" (it doesn't say it can be a derived type of xs:string or xs:untypedAtomic). Neither is true (it is xs:NMTOKEN), so I think the cast should fail.

In 19.2 Casting from xs:string and xs:untypedAtomic, we read

"This section applies when the supplied value SV is an instance of 
xs:string or xs:untypedAtomic, including types derived from these by 
restriction. "

which I presume always applies, and perhaps we should read "must be of 
type" to be "must be an instance of type".

Received on Tuesday, 10 May 2016 08:53:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:43:17 UTC