cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stevens" <at...@hotmail.com>
Subject RE: configuring Xerces features in Cocoon
Date Fri, 20 Jan 2006 07:43:17 GMT
>From: Scott Yeadon <scott.yeadon@anu.edu.au>
>Date: Fri, 20 Jan 2006 16:16:08 +1100
>
>Hi,
>
>Is there a way via cocoon configuration to set Xerces properties and 
>features? I have a DocBook document which has a DOCTYPE declaration which I 
>don't want to validate or refer in any way to the DTD. I can do this by 
>setting http://apache.org/xml/features/nonvalidating/load-external-dtd to 
>false (validation is false by default) in Java but would prefer not to have 
>to add Java just to set a parser property.

I don't know whether that's possible, but as an alternative approach have 
you considered adding the DTD to the entity resolver's catalog 
(WEB-INF/entities/catalog*) so that it can use a local copy instead of 
trying to fetch it from a remote server?


Andrew.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message