to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Re: xsl:import error with new jaxp and fop 0.20.5rc2
According to the non-normative DTD fragment in the XSLT spec xsl:import
must occur at the very beginning withing the xsl:stylesheet element.
Only xsl:include instances may occur later
Looks like you forgot to declare the XSL-FO namespace.
The top-level element in your XSLT must look approximately like this, if
you use the often-used fo namespace prefix:
xsl:stylesheet version=1.1 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:fo=http://www.w3.org/1999/XSL/Format;
If
PROTECTED]
cc:
Subject: Re: xsl:import error with new jaxp and fop 0.20.5rc2
Looks like you forgot to declare the XSL-FO namespace.
The top-level element in your XSLT must look approximately like this, if
you use the often-used fo namespace prefix:
xsl:stylesheet version=1.1 xmlns:xsl=
http://www.w3
I just upgraded to fop 0.20.5rc2 and switched to jaxp (newest version) and
now all of my stylesheets transformations fail with the following:
javax.xml.transform.TransformerException: xsl:import is not allowed in this
position in the stylesheet!
at