Schematron invalidation message on included patterns
Posted: Wed Jun 10, 2015 11:38 pm
I have a simple master schematron file (root <sch:schema>) + included schematron file (root <sch:pattern>). The first validates fine but the second, even when empty and otherwise valid, returns this error message:
A web search suggests a serialization issue, but I don't see any options for changing that serialization, nor is there documentation in Schematron to indicate anything with options referring to standalone or doctype-system. Any suggestions on how to deal with this?
Code: Select all
Scenario name: Schematron
Document type: Schematron
Engine name: ISO Schematron
Severity: error
Description: When 'standalone' or 'doctype-system' is specified, the document must be well-formed; but this document contains more than one top-level element