Hello,
I download remote xhtml files with a FileGenerator and send lots of HTTP
GET
requests over the network to retrieve the XHTML DTD/entities :( However, I did configure the catalog (which includes all the necessary
stuff for
XHTML)! Cocoon sees it at startup but still, goes over the network to fetch
them
I just used the default resources/entities/ tree that come which
cocoon-2.0.4
and put it in my web dir and have :
<resolver class="org.apache.cocoon.components.resolver.ResolverImpl"> <parameter name="catalog" value="/resources/entities/catalog"/> <parameter name="verbosity" value="2"/> </resolver>
in the cocoon.xconf.
What happens ? help !
Unfortunately a bug in Xerces 2.6:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26124
The implementation shipped with cocoon-2.0.4 is xercesImpl-2.0.0.jar .
Are we talking about the same lib? And are there some possible issues with jdk-1.4.x xerces/xalan implementation?
Oh no, sorry, I was to fast. I never configured a catalog myself, so I don't have all the knowledge. From what I can see your entry looks only similar to the one in my Cocoon 2.0.x:
<entity-resolver class="org.apache.cocoon.components.resolver.ResolverImpl" logger="core.resolver">
<parameter name="catalog" value="/resources/entities/catalog"/>
<parameter name="verbosity" value="1"/>
</entity-resolver>
I don't know if the element name makes a difference.
Furthermore it can be that this Xerces version is to old. If you are using JDK 1.4.x the endorsed libs problem can also occur.
How I would go on? First I would upgrade Xalan to 2.5.1 and Xerces to 2.5.0 (or you simply use latest Cocoon 2.0 from CVS). Next step is to have a look on the endorsed libs problem (when using Tomcat copy the x*.jar into common/endorsed). At the end next try ...
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
