Stylesheet Export File incorrectly marking something as an EE feature
Encountered seemingly a bug with the SEF feature where a predicate checking the value of an attribute is found in a sequence. When attempting to use the exported stylesheet with PE I'm getting an error "Cannot load expression with tag gcEE. The stylesheet uses Saxon-EE features".
I've cutdown the actual stylesheet I was attempting to export to just down to a template with the offending match predicate and verified that running the non-exported version with PE works just fine, but attempting to use the SEF version throws the same error.
I've tested various versions and the "gcEE" error seems to have been introduced in 22.214.171.124 and is still present all the way up to 126.96.36.199
Attached is the stylesheet used to test this behaviour.
#1 Updated by Michael Kay 5 months ago
Did you specify a target edition when generating the SEF file? If you specify
-target:PE on the command line then the optimizer should refrain from generating code that PE cannot execute. (However, the test cases for this area are probably not very comprehensive.)
Please register to edit this issue