Closed phax closed 1 year ago
Failed to compile XPath expression
<assert>. castable as xs:decimal</assert>
"castable as" is supposed to be XPath 2.0
Element/context: PSAssertReport Error message: Failed to compile XPath expression in <assert>: '. castable as xs:decimal' with the following variables: {} Technical details: net.sf.saxon.trans.XPathException: Unknown simple type xs:decimal
The key is, that the Schematron needs to constain the following line:
<ns uri="http://www.w3.org/2001/XMLSchema" prefix="xs"/>
Failed to compile XPath expression
"castable as" is supposed to be XPath 2.0