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/
