Page 1 of 1

Problem with project validation, 8.2

Posted: Thu May 31, 2007 7:23 pm
by dsewell
Problem: I have a project open, and select "validate selection with" from the contextual menu.

I select a Schematron schema for validation.

The validation begins, and the first file is validated. But after that, each subsequent file produces these error lines:

[Schematron 1.5 (XSLT 2.0)] Unknown code name 1618
Got a fatal error trying to create a transformer from the stylesheet!

Each individual file in the project can be validated against the Schematron file. The problem occurs only when trying to validate the project.

Posted: Fri Jun 01, 2007 11:04 am
by sorin_ristache
Hello,

Thank you for reporting the error. Yes, there is a problem in the XSLT 2.0 stylesheet generated from a Schematron schema and applied to XML documents. We will fix it in the next version. If your Schematron schema does not contain XPath 2.0 expressions there is a workaround: set the Schematron XPath version to 1.0 instead of 2.0 in Options -> Preferences -> XML -> XML Parser.


Regards,
Sorin