Actions
Bug #4073
closedInvalid XPath expression in error message
Start date:
2018-12-19
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
9.9
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
If I transform "personal.xml" with "personal.xsl" (see the attachment), I get en error. In Saxon 9.9.0.2 the XPAth from the error is something like this "/personnel/person185/name185/given185". If I run the same transformation with Saxon 9.8.0.12 the XPath expression from the error is something like this "/personnel/person[1]/name[1]/given[1]".
Saxon 9.9.0.2
Error evaluating ((xsl:apply-templates, ...)) on line 16 column 42 of personal.xsl:
XTDE0410: An attribute node (border) cannot be created after a child of the containing
element. Most recent element start tag was output at line 15 of module personal.xsl
at xsl:apply-templates (file:/D:/projectsWork/eXml_dev/test/EXM-37737/personal.xsl#15)
processing /personnel/person185/name185/given185
at xsl:apply-templates (file:/D:/projectsWork/eXml_dev/test/EXM-37737/personal.xsl#15)
processing /personnel/person185/name185
at xsl:apply-templates (file:/D:/projectsWork/eXml_dev/test/EXM-37737/personal.xsl#15)
processing /personnel/person185
at xsl:apply-templates (file:/D:/projectsWork/eXml_dev/test/EXM-37737/personal.xsl#8)
processing /personnel
An attribute node (border) cannot be created after a child of the containing element. Most recent element start tag was output at line 15 of module pe
rsonal.xsl
Saxon 9.8.0.12
Error at char 7 in xsl:apply-templates/@select on line 15 column 57 of personal.xsl:
XTDE0410: An attribute node (border) cannot be created after a child of the containing
element. Most recent element start tag was output at line 15 of module personal.xsl
at xsl:apply-templates (file:/D:/projectsWork/eXml_dev/test/EXM-37737/personal.xsl#15)
processing /personnel/person[1]/name[1]/given[1]
at xsl:apply-templates (file:/D:/projectsWork/eXml_dev/test/EXM-37737/personal.xsl#15)
processing /personnel/person[1]/name[1]
at xsl:apply-templates (file:/D:/projectsWork/eXml_dev/test/EXM-37737/personal.xsl#15)
processing /personnel/person[1]
at xsl:apply-templates (file:/D:/projectsWork/eXml_dev/test/EXM-37737/personal.xsl#8)
processing /personnel
An attribute node (border) cannot be created after a child of the containing element. Most recent element start tag was output at line 15 of module pe
rsonal.xsl
Files
Related issues
Please register to edit this issue
Actions