What steps will reproduce the problem?
1. Schema (testSchema.sch) contains:
<schema xmlns="http://purl.oclc.org/dsdl/schematron">
<include href="testSchema-include.sch"></include>
<pattern name="...">...</pattern>
</schema>
2. Included schema contains
<pattern name="..." xmlns="http://purl.oclc.org/dsdl/schematron">...</pattern>
3. Run probatron:
java -jar "probatron.jar" testDocument.xml testSchema.sch
4. Try again with absolute file path in the @href attribute (both
"file:/C:/..." and "file:///C:/...")
What is the expected output? What do you see instead?
Error message appears:
Recoverable error on line 359
FODC0002: java.net.MalformedURLException
Unable to open referenced included file: testSchema-include.sch
Unable to locate id attribute: testSchema-include.sch
Then the output of just the <pattern> in the main schema appears.
What version of the product are you using? On what operating system?
Probatron4j 0.7.1
Java 1.6.0_03
Windows XP Professional SP 2
The schema was successfully compiled with Saxon using the standard
iso_dsdl_include.xsl stylesheet
Original issue reported on code.google.com by mdu...@gmail.com on 28 Jul 2009 at 8:31
Original issue reported on code.google.com by
mdu...@gmail.com
on 28 Jul 2009 at 8:31