What steps will reproduce the problem?
1. Schema (spatialObservation.sch) contains
<xsl:import-schema
schema-location="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
<xsl:import-schema
schema-location="http://schemas.opengis.net/om/2.0/observation.xsd"/>
2. Run probatron:
java -jar probatron.jar spatial_observation1.xml spatialObservation.sch
3.
What is the expected output? What do you see instead?
probatron only support Basic XSLT Processor ?
Error at xsl:import-schema on line 34 column 87
XTSE1650: To use xsl:import-schema, you need the schema-aware version of Saxon from
http://www.saxonica.com/
What version of the product are you using? On what operating system?
Java jdk1.6.0_20
Windows XP Professional
Please provide any additional information below.
Exception in thread "main" java.lang.RuntimeException: Cannot instantiate XSLT
transformer, or tra
formation failure: Failed to compile stylesheet. 3 errors detected.
at org.probatron.SchematronSchema.validateCandidate(Unknown Source)
at org.probatron.SchematronSchema.validateCandidate(Unknown Source)
at org.probatron.Session.doValidation(Unknown Source)
at org.probatron.Driver.main(Unknown Source)
Caused by: javax.xml.transform.TransformerConfigurationException: Failed to
compile stylesheet. 3
Original issue reported on code.google.com by xiamaochengde@gmail.com on 6 Apr 2014 at 2:52
Original issue reported on code.google.com by
xiamaochengde@gmail.com
on 6 Apr 2014 at 2:52Attachments: