You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Hubertus Willuhn (JIRA)" <ji...@apache.org> on 2016/04/21 12:02:25 UTC
[jira] [Created] (CAMEL-9897) Add an Option to the XSLT Component
to support custom EntityResolver
Hubertus Willuhn created CAMEL-9897:
---------------------------------------
Summary: 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
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)