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

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?


See you in Paris.
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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:55 UTC