cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@indexgeo.com.au>
Subject Re: [NEW] webapp config with xconf tool
Date Fri, 23 May 2003 04:53:14 GMT
Geoff Howard wrote:
<snip/>
> To allow this I had to patch XConfToolTask in the following ways:
> -  Stop xerces from retrieving DTD's by setting a xerces specific
>    BuilderFactory attribute false.

It is great to see that you found a solution.

>    This would be ignored in non
>    xerces parsers, but would only cause a UnknownHostException when
>    the parser attempts to retrieve the DTD from a file being patched
>    (from web.xml, for example).  If needed, other parser implementations
>    (keep in mind this is only during build) may have similar mechanisms.

So would any other parsers ever be used during the build?
If not, then we can remove the xmlcatalog stuff from the
XConfToolTask.java ... less code, easier to maintain.
Anyway, it seems that that code is not actually doing local
DTD resolution.

--David




Mime
View raw message