[ 
https://issues.apache.org/jira/browse/CAMEL-27380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18149272#comment-18149272
 ] 

Claus Ibsen commented on CAMEL-27380:
-------------------------------------

Fixed by https://github.com/apache/camel/pull/30591 (commit ce05bc1c2ea0 on 
main).

_Claude Code on behalf of Claus Ibsen_

> camel-xslt-saxon - apply the allowed external protocols to unparsed-text(), 
> json-doc() and the other XSLT 3.0 resource functions
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27380
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27380
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-xslt
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.24.0
>
>
> CAMEL-24451 made document() at runtime honour the ACCESS_EXTERNAL_STYLESHEET 
> protocols of the transformer factory, through the Camel URI resolver.
> With Saxon, the XSLT 3.0 functions unparsed-text(), unparsed-text-lines(), 
> unparsed-text-available() and json-doc() do not use that URI resolver (Saxon 
> reads them through its own resource resolver), so they are not covered by the 
> same restriction.
> Apply the same allowed protocols to these functions, for example with Saxon's 
> ALLOWED_PROTOCOLS feature, and test unparsed-text, unparsed-text-lines, 
> unparsed-text-available, json-doc and collection.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to