Bug #2161
closed
Attempt to use text value templates under Saxon-HE gives poor diagnostics
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Description
See XSLT 3.0 test case attr/expand-text/cvt-029 under Saxon-HE. In StyleElement.compileSequenceConstructor, the method isExpandText() is returning true, when it should return false because the expand-text attribute should be ignored when running a 2.0 procesor in forwards-compatible mode.
- Status changed from New to Resolved
Patch applied in StyleElement.processExpandTextAttribute() on the 9.6 and 9.7 branches. The effect of the patch is to ignore the expand-text attribute with a warning if XSLT 3.0 is not enabled. The test case now outputs:
Warning: at xsl:function on line 8 column 62 of cvt-029.xsl:
The @expand-text attribute is ignored because XSLT 3.0 is not enabled
...
Validation error at function f:sum on line 8 of cvt-029.xsl:
FORG0001: Cannot convert string "\n {$x + $y}\n" to an integer
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 9.6.0.2
Bug fix applied to the maintenance release Saxon 9.6.0.2
- Sprint/Milestone set to 9.6.0.2
- Applies to branch 9.6 added
- Fix Committed on Branch 9.6 added
- Fixed in Maintenance Release 9.6.0.2 added
Please register to edit this issue
Also available in: Atom
PDF