Problem with project validation, 8.2

Having trouble installing Oxygen? Got a bug to report? Post it all here.
dsewell
Posts: 125
Joined: Mon Jun 09, 2003 6:02 pm
Location: Charlottesville, Virginia USA

Problem with project validation, 8.2

Post 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.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
Post Reply