W3C home > Mailing lists > Public > www-xml-blueberry-comments@w3.org > December 2002

Re: Allow hex format for integer types.

From: Liam Quin <liam@w3.org>
Date: Wed, 18 Dec 2002 12:49:32 -0500
To: wout.de.zeeuw@philips.com
Cc: www-xml-schema-comments@w3.org, www-xml-blueberry-comments@w3.org
Message-ID: <20021218124931.A26322@w3.org>

THnk you for contacting us.

On Wed, Dec 18, 2002 at 05:37:13AM -0500, wout.de.zeeuw@philips.com wrote:
> Currently I'm missing the ability of integers in xml documents to be 
> defined in hex format (e.g. 0x20003cd9). In engineering environments hex 
> format is much more common and readable than the decimal format.
> 
> But I guess that would mean a change in the xml spec and not in the schema 
> spec.

XML itself already allows hexadecimal for numerical character references,
such as &#x3f0;, but does not otherwise know anything about integers.

You could consider using schema pattern facets to match 0x[a-zA-Z0-9]+,
I sppose.  If that is not sufficient, the schema working group may
respond to your mail.

Best,

Liam

-- 
Liam Quin, W3C XML Activity Lead, liam@w3.org, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/
Ankh's list of IRC clients: http://www.valinor.sorcery.net/clients/
Received on Wednesday, 18 December 2002 12:49:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 22 March 2009 12:11:47 GMT