xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Adams <gl...@skynav.com>
Subject Re: Defining XML Entities in FOP 2.2
Date Tue, 16 May 2017 13:49:16 GMT
Since the XSLT front end functionality in FOP serves merely as a
convenience function for the user, you may choose to use alternative tools
not integrated into FOP as your front end. I suggest you do this in order
to transform from your input data set into XSL-FO input files which you can
feed directly to FOP without making use of the the XSLT front end found in
FOP that does not support XML Entities.

Regards,
Glenn

On Tue, May 16, 2017 at 5:54 AM, Jens Hofschröer <apache@nigjo.de> wrote:

> Hi
>
> Since FOP 2.2 it is no longer allowed to use a DOCTYPE declaration[1]. An
> issue originally only disallowing the loading of external DTDs.
>
> We are using FOP to transform a Docbook document separated in several
> files. Each of these files uses a local "settings.dtd" with common XML
> Entities used across the whole document. This is no longer possible with
> FOP 2.2. Even a simple DOCTYPE declaration without any file reference is
> disallowed now.
>
> The following error occurs if you have any DOCTYPE in your document(s):
> > javax.xml.transform.TransformerException: DOCTYPE is disallowed when
> the feature "http://apache.org/xml/features/disallow-doctype-decl" set to
> true.
>
> For Docbook these XML Entities are a common and documented[2] way to use
> "constants" across your document. So please allow the use of internal
> DOCTYPE and/or the use of local DTDs.
>
> Greetings
> Jens Hofschröer
>
>
> [1] https://issues.apache.org/jira/browse/FOP-2668
> [2] http://www.sagehill.net/docbookxsl/Db5Entities.html
>
> --
> http://blog.nigjo.de/netbeans/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>

Mime
View raw message