Schematron - Invalid character (:) in expression

This should cover W3C XML Schema, Relax NG and DTD related problems.
sandrocchio_0.1
Posts: 14

Schematron - Invalid character (:) in expression

Tue Nov 23, 2010 4:13 pm

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
george
Site Admin
Posts: 2100

Re: Schematron - Invalid character (:) in expression

Tue Nov 23, 2010 4:34 pm

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
George Cristian Bina
sandrocchio_0.1
Posts: 14

Re: Schematron - Invalid character (:) in expression

Tue Nov 23, 2010 5:25 pm

thanks, that fixed the issue.

Return to “XML Schemas”

Who is online

Users browsing this forum: No registered users and 1 guest