Yes, a local copy is one of the alternatives but I'd rather not have to
hold a copy of all the DTDs I need, seems like unnecessary duplication.
The other thing I can do is make a custom generator so I can access the
parser but that seems a fairly clunky way to get control over the parser
parameters.
Scott.
Andrew Stevens wrote:
From: Scott Yeadon <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]