W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2002

Lexical space of unsigned integers.

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Mon, 18 Mar 2002 15:10:32 +0100
Message-ID: <3C95F558.3010000@dyomedea.com>
To: xmlschema-dev@w3.org
Hi,

The rec states (for instance for unsigned unsignedLong:

"unsignedLong has a lexical representation consisting of a
finite-length sequence of decimal digits (#x30-#x39). For example:
0, 12678967543233, 100000."

which kind of say that "+123" or "-0" are invalid.

OTH, it is also written (and confirmed by the schema for schema) that:

"unsignedLong is ·derived· from nonNegativeInteger by setting the value 
of ·maxInclusive· to be 18446744073709551615. The ·base type· of 
unsignedLong is nonNegativeInteger. "

which would allow "+123" and "-0"...

Are those values valid?

Thanks

Eric
-- 
See you in Paris.
                      http://www.afnet.fr/afnet/net200x/programme.html#T9
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------
Received on Monday, 18 March 2002 09:11:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:30 GMT