Re: Make xslt component not to validate dtd's (or use local copy)

2013-02-22 Thread Claus Ibsen
On Wed, Feb 20, 2013 at 7:27 AM, Dirk Reske wrote: > Hi, > > no, the uriResolver is used to resolve the xslt file only. > I've found a way, using a processor, that creates a XMLReader using the > CatalogResolver and puts a SAXSource using this xmlReader into the exchange. > > @Override > public v

Re: Make xslt component not to validate dtd's (or use local copy)

2013-02-20 Thread Christian Müller
Thanks for sharing your solution! Sent from a mobile device Am 20.02.2013 07:56 schrieb "Dirk Reske" : > Hi, > > no, the uriResolver is used to resolve the xslt file only. > I've found a way, using a processor, that creates a XMLReader using the > CatalogResolver and puts a SAXSource using this x

Re: Make xslt component not to validate dtd's (or use local copy)

2013-02-19 Thread Dirk Reske
Hi, no, the uriResolver is used to resolve the xslt file only. I've found a way, using a processor, that creates a XMLReader using the CatalogResolver and puts a SAXSource using this xmlReader into the exchange. @Override public void process(Exchange exchange) throws Exception { InputStream in

Re: Make xslt component not to validate dtd's (or use local copy)

2013-02-19 Thread Claus Ibsen
On Tue, Feb 19, 2013 at 1:56 PM, 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 t

Make xslt component not to validate dtd's (or use local copy)

2013-02-19 Thread Freak . 2k
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 no