Actions
Bug #6221
closedSaxon 12.3: Static error in XPath expression supplied to xsl:evaluate: Cannot find a 1-argument function named Q{http://www.w3.org/2005/xpath-functions}transform()
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2023-10-11
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java
Description
This transformation:
<t>
let $myMap := function() as map(*)
{
let $result := transform(
map {
"delivery-format" : "raw",
"stylesheet-location" : "file:///c:/Marrowsoft/Xselerator25/identity.xsl",
"source-node": doc("file:///c:/Marrowsoft/Xselerator25/identity.xsl"),
"template-params": map{QName("", "pFilePaths"): "file:///c:/somePath"}
}
)
return $result
}
return
$myMap()
</t>
when applied on this XML document:
<t>
let $myMap := function() as map(*)
{
let $result := transform(
map {
"delivery-format" : "raw",
"stylesheet-location" : "file:///c:/Marrowsoft/Xselerator25/identity.xsl",
"source-node": doc("file:///c:/Marrowsoft/Xselerator25/identity.xsl"),
"template-params": map{QName("", "pFilePaths"): "file:///c:/somePath"}
}
)
return $result
}
return
$myMap()
</t>
with Saxon 12.3 (Java, EE via Oxygen and also standalone (HE))produces this error:
" Static error in XPath expression supplied to xsl:evaluate: Cannot find a 1-argument function named Q{http://www.w3.org/2005/xpath-functions}transform() ** "
Not tested with Saxon.NET but this will probably be the same there, too.
When the same transformation is applied with Saxon 11.4 no error is raised and the expected result (a map with a single key "output") is produced.
Files
Please register to edit this issue
Actions