- From: Bill de hÓra <dehora@eircom.net>
- Date: Thu, 8 Aug 2002 20:44:44 +0100
- To: "'Michael Rossi'" <mrossi@csc.com>, <xmlschema-dev@w3.org>
> [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 this: "([0-9a-fA-F]){16}" ie, the ([][][]){} construct implies an ordering. regards, Bill de hÓra
Received on Thursday, 8 August 2002 15:45:24 UTC