This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29462 - [xslt30] Add fn:transform and fn:load-xquery-module to dynamic evaluation feature
Summary: [xslt30] Add fn:transform and fn:load-xquery-module to dynamic evaluation fea...
Status: CLOSED WORKSFORME
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-15 09:42 UTC by Michael Kay
Modified: 2016-10-06 18:42 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2016-02-15 09:42:10 UTC
Probably too late for current meeting, but it just occurred to me whether it would be beneficial to include fn:transform and fn:load-xquery-module as part of that feature. They are new XPath 3.1 functions that dynamically run a stylesheet or dynamically load an XQuery module.

 

They are therefore "in the same league" as dynamic evaluation and also from usability standpoint, they exhibit the same security vulnerability issues. I think it makes sense to switch them all on or off and that this can be tested as for xsl:evaluate with the same (or separate?) system-property names.
Comment 1 Michael Kay 2016-02-16 10:12:59 UTC
Noted that both these functions have error codes defined to say "No suitable XSLT/XQuery processor available", and this can happen for a wide variety of reasons, e.g. that some administrator has configured the system to disable dynamic use of external XSLT/XQuery processors; these errors can be caught using try/catch.

At this stage of the game, this seems an adequate workaround.