ISO schematron & schema-aware validation
Posted: Thu Oct 01, 2009 10:30 pm
Hi guys,
I've gotten confused about how to set up RelaxNG + ISO Schematron validation with schema-aware processor.
When Preferences>XML>XML Parser>ISO Schematron>Use Saxon SA/EE is checked, attempt to validate an instance gives the "ISO Schematron (XSLT 2.0)] Cannot validate <<document-root-element>>: No element declaration available" error. Disappears when the option is unchecked.
Obviously, Saxon is looking for the document schema to use with the Schematron transform.
But where and how do I tell Saxon where it is? Is there some declaration that I didn't put in the Schematron schema? In the document instance? I'm lost. Help!
John
I've gotten confused about how to set up RelaxNG + ISO Schematron validation with schema-aware processor.
When Preferences>XML>XML Parser>ISO Schematron>Use Saxon SA/EE is checked, attempt to validate an instance gives the "ISO Schematron (XSLT 2.0)] Cannot validate <<document-root-element>>: No element declaration available" error. Disappears when the option is unchecked.
Obviously, Saxon is looking for the document schema to use with the Schematron transform.
But where and how do I tell Saxon where it is? Is there some declaration that I didn't put in the Schematron schema? In the document instance? I'm lost. Help!
John