XProc: Stylesheet module X included or imported more than on
Posted: Tue Mar 08, 2011 5:17 pm
My rather complex xslt2 stylesheet works fine if run as xslt2 stylesheet by saxon 9.3. (up-to-date oxygen editor in eclipse)
If I run the same stylesheet file within an xproc:xslt step in calabash - which in turn uses saxon for stylesheet evaluation, I get those errors:
I'm well aware of the precedence issue in the spec - and it cannot result in unexpected behaviour in my case. Even the error message says it is actually permitted!
Researching on this issue, I found that only newer saxon versions give a WARNING in this case. It seems calabash - as installed in oxygenxml - turns those warnings in errors....
It would be great, if warnings stayed warnings or at least let the user suppress those
Greets
HPO
If I run the same stylesheet file within an xproc:xslt step in calabash - which in turn uses saxon for stylesheet evaluation, I get those errors:
Code: Select all
[Calabash XProc] Stylesheet module file:X.xsl is included or imported more than once. This is permitted, but may lead to errors or unexpected behavior
Researching on this issue, I found that only newer saxon versions give a WARNING in this case. It seems calabash - as installed in oxygenxml - turns those warnings in errors....
It would be great, if warnings stayed warnings or at least let the user suppress those

Greets
HPO