W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2001

Re: More surprises (ID, ENTITY, NOTATION, ...)

From: Kohsuke KAWAGUCHI <kohsukekawaguchi@yahoo.com>
Date: Mon, 22 Oct 2001 10:25:48 -0700
To: xmlschema-dev@w3.org
Message-Id: <20011022102116.C9FC.KOHSUKEKAWAGUCHI@yahoo.com>

> Section 4.3.4 of part 2 says: 
>     [Definition:] pattern is a constraint on the value space of a
>     datatype which is achieved by constraining the lexical space to
>     literals which match a specific pattern. The value of pattern must
>     be a regular expression.

There is another problem in this paragraph. Namely, the pattern facet is
not a constraint on the value space.

One can apply a pattern facet [+-]\d+ to the integer type so that "+0"
is legal but "0" is legal. But how does this facet constrain zero in the
value space? It doesn't constitute any subset.

I don't think adding "... achieved by constraining the lexical space"
solves the problem.

E-Mail: kohsukekawaguchi@yahoo.com
Received on Monday, 22 October 2001 13:27:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:54 UTC