forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: Docbook as forrest-plugin
Date Mon, 25 Oct 2004 14:35:22 GMT
Ross Gardler wrote:
> David Crossley wrote:
> 
> > I am tempted to say that they would need to configure their
> > plugin to point to their own installed resources. People who
> > use DocBook as their source format would already have the
> > DocBook DTDs and XSLs installed somewhere and be up-to-date
> > for the particular version that they use.
> 
> This assumes that the author publisher of the Docbook files is also the 
> author of them, which may not be the case.
> 
> I suppose if they are simply publishing them then there is no need to 
> validate them, in which case there is no need to have the schemas. 
> Therefore, if the plugin does not download the DTD's then the default 
> behaviour should be to not validate. If the user turns on validation 
> then they should be expected to download the DTD's and configure the 
> plugin accordingly. We could even have the plugin auto download and 
> install if the user does not do this configuration.
> 
> This seems like a nice compromise to me ;-)

Not so. The DTDs must be available whether validating or not.
If the document type declaration is present in the instance
document, then the parser *must* resolve it and read it.

-- 
David Crossley


Mime
View raw message