"Josema Alonso" <[EMAIL PROTECTED]> writes:

> Replying to myself but still haven't found a good explanation...
> 
> The *.news.xml docs I mentioned in my previous message are Docbook articles.
> All of them have the doctype declaration for the Docbook article DTD:
> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
> "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>
> 
> I removed the declaration and everything went fine.
> 
> I thought that maybe it was trying to validate the articles and retrieving
> the DTD remotely, but I switched to a local copy of the DTD and the problem
> is still the same.
> 
> By now, I have removed the doctype declarations, but this is just a quick
> workaround. I do not know what's going on...still investigating...

How long does the FileGenerator need for each of the  documents?
I guess the cinclude generator needs slightly longer than the sum
of the FileGenerators execution times. A xml parser will read
all of the DTD, even if it is not validating. Are you sure, you are 
reading a local copy of the DTD? 
Have a look at org.apache.cocoon.components.resolver.ResolverImpl. 
Did you add the Docbook to the catalog? Proper entity resolving can really
boost cocoon performance. 
How large is the Docbook-DTD? Maybe a caching EntityResolver helps.

Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to