camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Make xslt component not to validate dtd's (or use local copy)
Date Tue, 19 Feb 2013 19:04:54 GMT
On Tue, Feb 19, 2013 at 1:56 PM,  <Freak.2k@gmx.net> wrote:
> Hello,
>
> We are using the camel xslt component to transform a xhtml file. But for
> transforming the file, the used XMLReader tries to download the dtd from thw
> w3c website.
>
> Is it possible, to tell the xslt component, to configure the xml reader to
> use local version (e.g. by using xml catalogs) or not to validate dtd's at
> all?
>

Hi

You can use a custom uriResolver. Would that do the trick?
http://camel.apache.org/xslt

> thanks
> Dirk



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message