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

RE: Hex Expression

From: Michael Rossi <mrossi@csc.com>
Date: Thu, 8 Aug 2002 16:06:07 -0400
To: Bill de hÓra <dehora@eircom.net>
Cc: xmlschema-dev@w3.org
Message-ID: <OF834CCBC1.A9630B0A-ON85256C0F.006E0EF1@com>

Aha! Obviously, I'm not much on them either. :-) That worked. Thanks Bill.

Still, anyone have any thoughts on the hexBinary bit? TIA.

Michael A. Rossi
Computer Sciences Corporation
856-983-4400 x4964

                    Bill de hÓra                                                                                   
                    03:44 PM                                                                                       

> [mailto:xmlschema-dev-request@w3.org] On Behalf Of Michael Rossi
> I'm trying to model a type for a 16-digit Hex number. Simple,
> right? So I use a restriction of string with the pattern
> "([0-9][a-f][A-F]){16}". Yet when I try to validate an
> instance containing the number: 0000000478A3200F, XML Spy
> (v4.4) complains that the value doesn't match the pattern.
> Anyone know what I'm missing?

I'm not much on Scheme regexes, but I'm guessing you want something like


ie, the ([][][]){} construct implies an ordering.

Bill de hÓra
Received on Thursday, 8 August 2002 16:07:26 UTC

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