Project

Profile

Help

Support #1356

closed

xsl:message causing "xsl:attribute" error

Added by Anonymous almost 17 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Internals
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Legacy ID:
sf-1842220
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

SourceForge user: jak09

When I run the attached stylesheet on the attached xml using Saxon 9.0B, I get an error message

"Error at xsl:message on line 55 of file:/home/jak09/Workspace/Semantics/data/schemata/adapt.xslt:

XTDE0420: Cannot create an attribute node (rdo:semanticDistortion) whose parent is a document node"

However, when I turn on tracing (-T) it turns out that the error is being raised on line 55 which is

<xsl:message select="'multiply(',$sequence,') =',$result"/>

Commenting out this line removes the error and the stylesheet completes normally.

I think that this must be a bug.

Regards,

Joe.


Files

tmp.xml (9.56 KB) tmp.xml Anonymous, 2007-12-01 07:22
adapt.xslt (9.56 KB) adapt.xslt Anonymous, 2007-12-01 07:22
adapt.xslt (9.56 KB) adapt.xslt Anonymous, 2007-12-01 07:23

Please register to edit this issue

Also available in: Atom PDF