[relaxng-user] (no subject)

David Tolpin dvd at davidashen.net
Sat Jan 10 00:57:03 ICT 2004


> However, when I run jing on this to verify it, I get the following
> message:
> 
> test.rng:8:31: error: interleave of "string" or "data" element
> 

The specification explains this in 7.2 String sequences. One cannot have
strings interleaved or grouped. Thus you are probably out of luck unless
you list all combinations of attribute constituents.

xsd:token { pattern=... } would be a remedy, but XML Schema regular expressions
do not provide interleave. 

I'd say that Relax NG needs a datatype library with regular expressions
matching the XML regular syntax.

David Tolpin


More information about the relaxng-user mailing list