forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Storing DTDs in zips (Re: [PATCH] Docbook 4.1.2 support)
Date Wed, 01 Oct 2003 10:47:31 GMT
On Tue, Sep 30, 2003 at 08:39:32PM +0200, Juan Jose Pablos wrote:
> 
> Hi,
> 
> Some Editors like Open Office writer and Abiword export docbook format 
> using version 4.1.2. Forrest is using 4.2 which is the current version 
> suggested.
> 
> To simplify the integration of such editors plus some that I am not 
> aware, I created this patch.
> 
> This patch allow a support for docbook format version 4.1.2 as well as 4.2.
> 
> But this means that we increase our distribution around 60 Kb.

378k.

Given that published DTDs don't change, and are very compressible, how
about we store them zipped?  According to a comment in Catalog.java, the
code could fish the DTD out of zips:

<public publicId="-//OASIS//DTD Simplified DocBook XML V1.0//EN"
        uri="jar:docbook412.zip!/sdocbook/1.0/sdocbook.dtd"/>


--Jeff

> 
> Cheers,
> Cheche



Mime
View raw message