Embedded Schematron rules in RNC files
Posted: Sat Dec 12, 2009 9:12 pm
oXygen seems to be having trouble with embedded Schematron rules in .rnc files, but works fine with corresponding .rng files. The error it produces is:
As an example, try validating with embedded rules using the following:
<?oxygen SCHSchema="http://www.tei-c.org/release/xml/tei/cu ... ei_all.rng"?>
then:
<?oxygen SCHSchema="http://www.tei-c.org/release/xml/tei/cu ... ei_all.rnc"?>
(waiting a few seconds for it to get & parse the remote file of course)
At the same time Jing is happy to validate the .rnc file. The above error message doesn't help me to identify the problem, as it seems to be thinking there's a BOM in the way, which there isn't.
Code: Select all
E [Schematron 1.5] org.xml.sax.SAXParseException: Content is not allowed in prolog.
<?oxygen SCHSchema="http://www.tei-c.org/release/xml/tei/cu ... ei_all.rng"?>
then:
<?oxygen SCHSchema="http://www.tei-c.org/release/xml/tei/cu ... ei_all.rnc"?>
(waiting a few seconds for it to get & parse the remote file of course)
At the same time Jing is happy to validate the .rnc file. The above error message doesn't help me to identify the problem, as it seems to be thinking there's a BOM in the way, which there isn't.