You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "J.Pietschmann" <j3...@yahoo.de> on 2007/02/18 21:26:37 UTC

[Spam SpamAssassin=4.10,Body=R 4.10 ] Re: Problem using custom EntityResolver with fop 0.92

Andreas L Delmelle wrote:
> Just FYI:
> As to an alternative, looking a bit closer into the API docs, an 
> EntityResolver is supposed to be set on an org.xml.sax.XMLReader 
> instance, through its setEntityResolver() method.
> The XMLReader here being the reader that will be used by Xalan to parse 
> the stylesheet.

An EntityResolver is for resolving URLs pointing to DTDs and
external entities, at the XML parsing stage. The URLs used
by the XSLT document() function are resolved by the URLResolver
used by the Transformer object (BTW the URLS used by xsl:include
and xsl:import are resolved by an URLResolver set on the
TransformerFactory).

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org