From: | Oliver Jowett <oliver(at)opencloud(dot)com> |
---|---|
To: | Oliver Jowett <oliver(at)opencloud(dot)com> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-jdbc(at)postgresql(dot)org, Kris Jurka <books(at)ejurka(dot)com> |
Subject: | Re: Patch to readd documentation |
Date: | 2004-01-27 04:02:58 |
Message-ID: | 4015E2F2.4090302@opencloud.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Oliver Jowett wrote:
> I think you should be able to validate the docs at the XML level using
> just the XML libraries provided with recent JDKs (I'll check if this
> works shortly). We do need the DocBook XML DTDs available to properly
> validate the document, but that seems less onerous than needing a recent
> XSLT processor plus DocBook stylesheets.
>
> Ant has a XMLValidate task that might be useful here.
The attached patch implements this. It'll use a local copy of the
DocBook XML DTDs if present, otherwise it'll grab them from the system
URI given in pgjdbc.xml (i.e. from www.open-oasis.org) See the comments
in the patch for more details.
This works here using:
$ ant -version
Apache Ant version 1.5.4 compiled on September 22 2003
$ java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
-O
Attachment | Content-Type | Size |
---|---|---|
pgjdbc_validate-doc-target.txt | text/plain | 5.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | root | 2004-01-27 06:49:28 | About Postgres Large Object |
Previous Message | Oliver Jowett | 2004-01-27 03:12:33 | Re: Patch to readd documentation |