[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: DTD validation question for docbook under redhat
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. -- Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 Caldera International, Inc. fax: (831) 429-1887 email: bobs@caldera.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC