Re: (no subject)

David Tolpin <[email protected]>
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.