This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]