Hi Thanks guys for your reply. I am using 2.10.7 at the moment.
Regards, akhettar On 10 April 2014 14:18, Claus Ibsen <[email protected]> wrote: > Hi > > What Camel version are you using? > > I think the DTD validation has been turned off out of the box in the > latest releases. > > > On Thu, Apr 10, 2014 at 1:05 PM, Ayache Khettar > <[email protected]> wrote: > > Hi > > > > We get XML from third party API which has Doctype declaration (<!DOCTYPE > > x_request SYSTEM "https://hostname/dtd/xrequest.dtd">). When XPATH is > > invoked it tries to download schema which requires SSL connection and > fails > > with 403 error code (authentication error). How do we stop Xpath or > > SaxParser validating the XML.? > > > > I am aware that programmatically we can set it this way: I am using > > blueprint DSL, wondering how to set the below feature? > > > > saxfac.setFeature(" > > http://apache.org/xml/features/nonvalidating/load-external-dtd", false); > > > > > > Regards, > > > > akhettar > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > Email: [email protected] > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > hawtio: http://hawt.io/ > fabric8: http://fabric8.io/ >
