Thanks Felix, I'm going to try this.
Regards, Pierre-Arnaud Marcelot On Nov 28, 2007 11:41 AM, Felix Knecht <[EMAIL PROTECTED]> wrote: > Pierre-Arnaud Marcelot schrieb: > > Hi, > > > > Thanks for reporting this. > > > > I think this issue is related to an issue I figured out some time ago. > > > > We are using Dom4J to parse the file and it seems the parser tries to > load > > the XSD definition contained in the file: > > <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" > > "http://www.springframework.org/dtd/spring-beans.dtd"> > > > > Unfortunately, if you're not connected to Internet, Dom4J won't be able > to > > load this XSD and the parsing will fail. > > > > I tried to suppress this XSD checking thing in the configuration of the > > parser but I could not find the right way to do it in the documentation > or > > Javadoc. > > > > Anyone knows how to turn this off? > > > > > I think this can be solved be using catalogs. Withing catalogs you can > remap the loacation of the dtd and store the dtd local to have it always > available. > (e.g. http://xerces.apache.org/xerces2-j/faq-xcatalogs.html) > > Or do as described in the dom4j faqs: > http://dom4j.org/faq.html#cannot-find-dtd > > HTH > Felix > >
