General XMetaL Discussion
queshaw March 3, 2022 at 3:46 pm
Problem using schematron in xmetal 14March 3, 2022 at 3:46 pmParticipants 3Replies 3Last Activity 6 months, 3 weeks ago
If I try to use a schematron schema (iso schematron 2016, I think. the namespace is http://purl.oclc.org/dsdl/schematron), xmetal complains:
SEVERE: XPathException in importStylesheet: Error resolving document: no document element
and similar error messages
object does not support property or method ‘apply’
The schema is valid and the document is DTD valid.
Is there a way to get schematron to work?nhu1 March 3, 2022 at 7:08 pm
Reply to: Problem using schematron in xmetal 14March 3, 2022 at 7:08 pm
Could you try iso-schematron-2010?
Ning Huqueshaw March 3, 2022 at 11:02 pm
Reply to: Problem using schematron in xmetal 14March 3, 2022 at 11:02 pm
Hmm. I don’t know how to specify 2010. Is there a separate namespace? It’s appalling that I can’t see the spec anymore since ISO made it non-public.
I tried removing queryBinding and the error message is the same.
Also, it’s a map that I want to validate, and the option to use schematron is greyed out.
- You must be logged in to reply to this topic.