Hi,
We have a schematron rule which uses an external file:
<sch:assert diagnostics="mime-type"
test="document('mime-types.xml')/mime-types/mime-type[text()=current()]">Unknown
MIME type</sch:assert>
I came to the conclusion that this external file is not found. Does XXE
compile schematron files into another directory before using them? If
so, I would expect XXE to parse the schematron file for any external
references.
I suppose I could get this to work using an absolute URL, or maybe an
"xxe-config:" URI, but this rule comes from an official specification,
so I would rather not edit it if possible. Any idea?
Thanks,
Benoit
--
Benoit Maisonny benoit at synclude.com
Director & Consultant http://synclude.com
Synclude