Page 1 of 1

Schematron - Invalid character (:) in expression

Posted: Tue Nov 23, 2010 4:13 pm
by sandrocchio_0.1
Hello there,
I am getting this error on an xml validation against a Schematron file.
I guess the error is related to XPath, so I've just set from the preference panel Schematron must use XPath 2.0 by default. Nothing changed and the Xpath on the sch file has been successfully tested on the XPath editor.
Still getting the error.
What else can I do about it?

Thanks in advance
Alessandro

Re: Schematron - Invalid character (:) in expression

Posted: Tue Nov 23, 2010 4:34 pm
by george
Hi Alessandro,

If you are using ISO Schematron then in order to switch to XSLT/XPath 2.0 you need to add a queryBinding="xslt2" attribute on the schema element.

Best Regards,
George

Re: Schematron - Invalid character (:) in expression

Posted: Tue Nov 23, 2010 5:25 pm
by sandrocchio_0.1
thanks, that fixed the issue.