I may be totally wrong here, but I think I recall dealing with a similar issue awhile back (with Xerces C++)... Basically, the processing of DTDs is happening early and it was a custom EntityResolver that had to be registered. I'm not sure how custom EntityResolvers can be registered with InputSources created in CXF
Cheers, Sergey On Thu, May 19, 2011 at 12:53 PM, Julian Backes <[email protected]> wrote: > Hi, > > I had a problem with CXF downloading many DTDs, XSDs etc. In the irc chat, I > was told to use XML catalogs. I did so: I created a jax-ws-catalog.xml file > in my META-INF directory and added the corresponding entries. So far so > good, it works for most of the files. > Unfortunately, according to wireshark, CXF is still downloading > http://www.w3.org/2001/XMLSchema.dtd and > http://www.w3.org/2001/datatypes.dtd and I don't have any idea how to avoid > that. I added different entries in my jax-ws-catalog.xml but it does not > seem to have any effect. > In addition, I set the system property > OASISCatalogManager.catalog.debug.level to 999 to get some debug output. > This also works (I get a lot of resolveXyz(...)) but I don't see any > resolveXyz(http://www.w3.org/2001/XMLSchema.dtd). I'm feeling like I'm > completely missing something... > > Does anybody have a hint for me? Or at least a link which could point me to > the right direction? > > Thanks in advance > Julian > > -- Sergey Beryozkin Application Integration Division of Talend http://sberyozkin.blogspot.com
