You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2003/02/25 16:17:01 UTC

DO NOT REPLY [Bug 17376] New: - stylesheet requires attribute

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17376>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17376

stylesheet requires attribute

           Summary: stylesheet requires attribute
           Product: Fop
           Version: 0.20.5
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: pdf renderer
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: mhilpert@gmx.de


i have a XML and a XSL file referencing two other XML/XSL file pairs via the 
document() function:

<xsl:include href="..\MiniReport\Mini1.xsl"/>
<xsl:include href="..\MiniReport\Mini2.xsl"/>
<xsl:variable name="rep_MiniReport1" select="document
('..\MiniReport\Mini1.xml')/MiniReport1"/>
<xsl:variable name="rep_MiniReport2" select="document
('..\MiniReport\Mini2.xml')/MiniReport2"/>

these files translates with FOP when calling fop from the command line. But 
using the Java API, i get the following error:

org.apache.fop.apps.FOPException: 
javax.xml.transform.TransformerConfigurationException: 
javax.xml.transform.TransformerException: 
javax.xml.transform.TransformerException: stylesheet requires attribute: version

I checks all stylesheets and all have a version="1.0" attribute. Is this a bug 
in FOP or in another package used by fop?

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org