Try this in the issue51 directory:
calabash -U org.xmlresolver.Resolver test.xpl
It returns:
SEVERE: com.xmlcalabash.core.XProcException: Error loading schema
Try this in the issue51 directory:
calabash -U org.xmlresolver.Resolver test.xpl
It returns:
SEVERE: com.xmlcalabash.core.XProcException: Error loading schema
<?xml version="1.0" encoding="UTF-8"?> | |
<grammar xmlns="http://relaxng.org/ns/structure/1.0"> | |
<include href="./sub.rng"/> | |
</grammar> |
<?xml version="1.0" encoding="UTF-8"?> | |
<grammar | |
xmlns="http://relaxng.org/ns/structure/1.0" | |
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" | |
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> | |
<start> | |
<element name="doc"><empty/></element> | |
</start> | |
</grammar> |
<p:declare-step version="1.0" xmlns:p="http://www.w3.org/ns/xproc"> | |
<p:validate-with-relax-ng> | |
<p:input port="source"> | |
<p:inline><doc/></p:inline> | |
</p:input> | |
<p:input port="schema"> | |
<p:document href="./schema/main.rng"/> | |
</p:input> | |
</p:validate-with-relax-ng> | |
<p:sink/> | |
</p:declare-step> |