This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: DTD validation question for docbook under redhat
- From: "Robert P. J. Day" <rpjday at mindspring dot com>
- To: docbook apps list <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 06 Aug 2002 12:38:45 -0400 (EDT)
- Subject: Re: DOCBOOK-APPS: DTD validation question for docbook under redhat
On Tue, 6 Aug 2002, Bob Stayton wrote:
> On Tue, Aug 06, 2002 at 02:57:48PM +0100, Tim Waugh wrote:
> > On Tue, Aug 06, 2002 at 09:18:07AM -0400, Robert P. J. Day wrote:
> >
> > > no problem, xsltproc generated the HTML just fine, so i'm
> > > curious, what's the algorithm for locating the proper DTD when
> > > xslsproc goes to work? as i read it, that program uses the
> > > contents of the env var SGML_CATALOG_FILES, but that still
> > > doesn't explain why there was no complaint about a non-existent
> > > DTD file.
> >
> > I don't *think* that xsltproc validates, but I may be wrong. There is
> > xmllint for validation though.
>
> That's correct, xsltproc does not validate. It only uses
> the DOCTYPE to resolve any entities it finds in the content.
> I don't think Saxon validates either.
>
> XSLT processors are designed to handle well-formed documents
> in addition to valid documents. So it really isn't their
> job to determine if a document is valid.
ah, my misunderstanding. so i should be looking at xmllint,
you say? thanks.
rday