You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/04/23 09:47: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=15255188#comment-15255188 ] 

Claus Ibsen commented on CAMEL-9897:
------------------------------------

Yeah contributions is welcome

> 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">&lt;&lt;m&eacute;talliques&gt;&gt; &lt;s&eacute;dimentation&gt; 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)