jamesnetherton commented on code in PR #9622:
URL: https://github.com/apache/camel-quarkus/pull/9622#discussion_r4782771614


##########
extensions/xslt-saxon/runtime/src/main/doc/usage.adoc:
##########
@@ -0,0 +1,35 @@
+=== Access to external resources from stylesheets
+
+Since Camel 4.22 (Camel Quarkus 3.39.0), the `xslt-saxon` endpoint sets 
`XMLConstants.ACCESS_EXTERNAL_STYLESHEET` to an empty string on the Saxon 
`TransformerFactory`.
+Stylesheets that read external resources, for example via `collection()` on a 
`file:` URI, then fail with an error such as `URI scheme 'file' has been 
disallowed`.

Review Comment:
   Sorry to nitpick - but IMO version info gets old and stale quite quickly. 
Might be better to simplify things.
   
   ```suggestion
   The `xslt-saxon` endpoint sets `XMLConstants.ACCESS_EXTERNAL_STYLESHEET` to 
an empty string on the Saxon `TransformerFactory`.
   Stylesheets that read external resources, for example via `collection()` on 
a `file:` URI, then fail with an error such as `URI scheme 'file' has been 
disallowed`.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to