forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject doctype Public Identifier is crucial (Was: Catalog for Docbook Plugin)
Date Fri, 29 Oct 2004 01:12:35 GMT
David Crossley wrote:
> Sean Wheller wrote:
> > David Crossley wrote:
> > > Sean Wheller wrote:
> > > > David Crossley wrote:
> > > > > ...Looking back at the example
> > > > > catalog that you showed, i wondered why you were using
> > > > > rewriteSystem for the DocBook DTDs and then *also*
> > > > > doing the nextCatalog. It would only need the latter.
> > > >
> > > > To resolve DTD URL "system" ID to local
> > >
> > > I would think that it would find it in the nextCatalog
> > > anyway, via its publicId.
> > 
> > Yes, it will if the publicId is defined.
> 
> If there is no publicIdentifier in the documents
> then the guts of Forrest aren't going to know what
> type of document it is.

Just making absolutely sure that you did not
miss this comment.

http://forrest.apache.org/docs/cap.html
"SourceTypeAction (content aware pipelines)"

Forrest applies different processing depending on the
document type. This is determined by the SourceTypeAction
in the sitemap. Its primary way of determining the
document type of an xml source is to use the Public Identifier.

-- 
David Crossley


Mime
View raw message