You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/05/26 15:44:13 UTC
[jira] [Commented] (CAMEL-9897) Add an Option to the XSLT Component
to support custom EntityResolver
[ https://issues.apache.org/jira/browse/CAMEL-9897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15302276#comment-15302276 ]
ASF GitHub Bot commented on CAMEL-9897:
---------------------------------------
GitHub user snurmine opened a pull request:
https://github.com/apache/camel/pull/999
CAMEL-9897: Add an Option to the XSLT Component to support custom EntityResolver
Added option as described in the ticket.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/snurmine/camel CAMEL-9897
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/999.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #999
----
commit 83f84ba61c9909c45b8102ad06e090024009fb2f
Author: Sami Nurminen <sn...@gmail.com>
Date: 2016-05-26T15:13:07Z
CAMEL-9897: Add an Option to the XSLT Component to support custom EntityResolver
----
> Add an Option to the XSLT Component to support custom EntityResolver
> --------------------------------------------------------------------
>
> Key: CAMEL-9897
> URL: https://issues.apache.org/jira/browse/CAMEL-9897
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.17.0
> Environment: all (windows, linux)
> Reporter: Hubertus Willuhn
> Priority: Minor
> Labels: xslt
>
> While using the XSLT component of Camel i came across this post in Nabble:
> [http://camel.465427.n5.nabble.com/Make-xslt-component-not-to-validate-dtd-s-or-use-local-copy-td5727789.html#a5728034]
> I am using XML files that looks like:
> {code:xml}
> <!DOCTYPE E20 SYSTEM "myapp.dtd"><E20>
> <E20.001>
> <REC.ID>A00008:20:018046</REC.ID>
> </E20.001>
> <COMP VAR="A"><<métalliques>> <sédimentation> pargravi</COMP>
> ...
> {code}
> so it would be nice to have a EntityResolver for my DTD and the entities.
> At the moment i can only specify a custom URIResolver bean (which works great, by the way).
> (see "uriResolver"-option documentation [http://camel.apache.org/xslt.html])
> Is it possible to add an simliar option to the XSLT component to achieve this?
> I am using Camel 2.17.0 and Saxon 9.5.1.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)