Project

Profile

Help

Support #1358

closed

Params w/ saxon:transform extension function

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-1844829
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

SourceForge user: crumpet75

See:

http://sourceforge.net/forum/forum.php?thread_id=1885013&forum_id=94027

See the attached test cases.

(Michael Kay requested I send test cases.)

See the attached test cases.

I am having a problem passing parameters to the extension function saxon:transform. Error is related to:

java.lang.NullPointerException

I have created 2 simple examples to demonstrate the problem: test1.xsl and test2.xsl

Test 1:

=======

test1.xsl compiles transform1.xsl with the extension function saxon:compile and tries to transform a document using the compiled transform1.xsl.

I try to pass 2 simple parameters to transform1.xsl, but I receive errors. See output1.txt

test1.xsl

transform1.xsl

output1.txt

Test 1:

=======

test2.xsl compiles transform2.xsl with the extension function saxon:compile and tries to transform a document using the compiled transform2.xsl.

I try to pass 3 simple parameters to transform2.xsl, but I receive errors. See output2.txt

Note: The third parameter contains other nodes.

test2.xsl

transform2.xsl

output2.txt


Files

Actions #1

Updated by Anonymous almost 17 years ago

SourceForge user: mhkay

Logged In: YES

user_id=251681

Originator: NO

Just to repeat the answer that has been posted elsewhere, there is a documented restriction that saxon:evaluate cannot be used in compiled stylesheets.

Please register to edit this issue

Also available in: Atom PDF