Norman Walsh scripsit:

> $ jing -i -c http://tests.xproc.org/schema/testsuite.rnc /tmp/test.xml 
> /tmp/test.xml:43:41: error: element "root2" not allowed in this context
> /tmp/test.xml:43:49: error: element "root3" not allowed in this context

This is because a t:output can contain either a Document* or an Any;
<root1/> matches Any, but you then have two other elements.

-- 
John Cowan   http://ccil.org/~cowan    [email protected]
We want more school houses and less jails; more books and less arsenals;
more learning and less vice; more constant work and less crime; more
leisure and less greed; more justice and less revenge; in fact, more of
the opportunities to cultivate our better natures.  --Samuel Gompers

Reply via email to