Re: (no subject)

[email protected]
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
Steve Drach scripsit:

> 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
> 
> I'm not quite sure what I'm doing wrong here.  

You have stepped on one of the very few arbitrary restrictions of RNG:
you can't interleave typed data, only elements and text.

You could write a bit of XSLT to generate all the cases.
There are 27 logical cases.

The 1 zero-feature case can be written in 1 way.
The 6 one-feature cases can be written in 1 way each.
The 12 two-features cases can be written in 2 ways each.
The 8 three-feature cases can be written in 6 ways each.

Total physical cases: 79.

-- 
The man that wanders far                        [email protected]
from the walking tree                           http://www.reutershealth.com
        --first line of a non-existent poem by:         John Cowan
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.