Claus Ibsen created CAMEL-27380:
-----------------------------------

             Summary: 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
             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