
Hi Florent, Trying your sample I get the errors below [1]. The problem is related with the use of xsl:function. You need to enable the allow foreign elements option in Options->Preferences -- XML -- XML Parser -- ISO Schematron. Let me know if you still have any issues. [1] list of errors: SystemID: D:\users\george\test\test.sch Description: [ISO Schematron (XSLT 2.0)] Warning: unrecognized element xsl:function from namespace http://www.w3.org/1999/XSL/Transform SystemID: D:\users\george\test\test.sch Description: [ISO Schematron (XSLT 2.0)] Warning: unrecognized element xsl:function from namespace http://www.w3.org/1999/XSL/Transform SystemID: D:\users\george\test\test.sch Description: [ISO Schematron (XSLT 2.0)] Failed to compile stylesheet. 1 error detected. SystemID: D:\users\george\test\test.sch Description: [ISO Schematron (XSLT 2.0)] XPath syntax error at char 44 on line 151 in {...co satisfies my:info-eq(., ...}: Cannot find a matching 2-argument function named {dummy-ns-uri}info-eq() URL: http://www.w3.org/TR/xpath20/#ERRXPST0017 SystemID: D:\users\george\test\test.xml Description: [ISO Schematron (XSLT 2.0)] Got a fatal error trying to create a transformer from the stylesheet! SystemID: D:\users\george\test\test.sch Description: [ISO Schematron (XSLT 2.0)] Failed to compile stylesheet. 1 error detected. SystemID: D:\users\george\test\test.sch Description: [ISO Schematron (XSLT 2.0)] XPath syntax error at char 44 on line 151 in {...co satisfies my:info-eq(., ...}: Cannot find a matching 2-argument function named {dummy-ns-uri}info-eq() URL: http://www.w3.org/TR/xpath20/#ERRXPST0017 Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Florent Georges wrote:
Hi,
I have the Schematron schema at the end of this email, which I think is correct. If I compile it myself using the SVRL and ISO skeleton for Saxon from http://www.schematron.com/, everything's fine and it seems to validate correctly my instances.
But if I assiciate it directly to one instance (Associate Schema... action) it seems there is a problem at compile time: see the screenshot (sorry I didn't find where to look for the complete text error messages) at:
http://www.fgeorges.org/tmp/oxygen-schematron-error.jpg
So my questions are: 1/ where (how) is it possible to find the complete error messages, as text? and 2/ do you have any clue about that error?
Regards,