Project

Profile

Help

Bug #1445

closed

xsl:result-document href-attribute: ?select=//div[1] and alike result in ClassCastException

Added by Philip Fearon over 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
2012-03-22
Due date:
% Done:

100%

Estimated time:
Platforms:

Description

I was attempting to address elements without id attributes for replacement with xsl:result-document using the select path feature. I was attempting to use generic paths like //[generate-id() = $id], and /[1]/[2]/[1], but that didn't seem to work. Then I tried something like //div[1], which points to an existing element in the HTML dom. But Saxon-CE fails silently in Chrome, IE 9 shows a ClassCastException in an overlay, FF 9 shows the same error in the Firebug console.


Files

test-ce.html (391 Bytes) test-ce.html html test file Philip Fearon, 2012-03-23 15:56
test-ce.xsl (692 Bytes) test-ce.xsl xslt test file Philip Fearon, 2012-03-23 15:56

Please register to edit this issue

Also available in: Atom PDF