Re: [xml-dev] Relax-NG schema design question

From
David Tolpin <>
To
Lars Oppermann <>
Date
2004-11-30T10:21:01Z
ID
<>
Thread
Re: [xml-dev] Relax-NG schema design question
Hi Lars,

It's a bug in xmllint. The restriction you mention must be applied
after simplification; in the simplified form the values are substituted
into the list, and there are no references.

The restriction basically means that elements cannot be inside
lists.

David

> 
> Only the fact, that xmllint reported "element ref: Relax-NG parser 
> error: Found forbidden pattern list//ref" made us aware of the fact, 
> that relax-ng in fact constraints the use of refs in lists. 
> (http://books.xmlschemata.org/relaxng/ch17s02.html#id2877724)