Have a look at this:
https://issues.apache.org/jira/browse/CAMEL-4666
On Apr 20, 2012 5:13 PM, "Claus Ibsen" <claus.ib...@gmail.com> wrote:

> On Thu, Apr 19, 2012 at 12:24 PM, Jens <smix...@dzbank.de> wrote:
> > Hi,
> >
> > is it possible to make Camel use a given XML catalog when using xpath in
> a
> > route?
> >
> > I'm encountering a problem where an incoming document includes a DTD
> > declaration with an invalid or unavailable SYSTEM ID. When I try to use
> an
> > xpath expression on this message the parser aborts with a
> SAXParseException:
> > "The markup declarations contained or pointed to by the document type
> > declaration must be well-formed." (invalid) or a FileNotFoundException
> > (unavailable).
> >
> > I'd like to simply supply a catalog file with the correct SYSTEM IDs to
> fix
> > this but I haven't found a way to use one short of writing my own
> > XPathFactory.
> >
>
> I don't think we support that. Feel free to work on such an
> improvement, and supply a patch.
> We love contributions.
> http://camel.apache.org/contributing.html
>
>
> > Thanks,
> > Jens
> >
> > --
> > View this message in context:
> http://camel.465427.n5.nabble.com/Using-XML-Catalog-with-XPath-tp5651404p5651404.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> --
> Claus Ibsen
> -----------------
> CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
> FuseSource
> Email: cib...@fusesource.com
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.blogspot.com/
> Author of Camel in Action: http://www.manning.com/ibsen/
>

Reply via email to