Samir Jyoti wrote:
1.  USING:
javax.xml.transform.TransformerFactory=org.apache.xalan.processor.Transfor
merFactoryImpl

In this case I get following FO, which is not complete, it misses a whole
set of <fo:block> tags which makes up the contents of the PDF (checked it
against the Windows generated one)

This may be either a bug in the Xalan coming with the AIX JRE, or
a combined bug in your style sheet and the XSLT processor on your
windows machine. Some Xalan releases in pre 1.4.2-releases are
known to have had this kind of problem.
What Java version do you run on Windows?

You might als want to run the following style sheet (using an
arbitrary, but valid XML file as input) on both Windows and
your AIX machine:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
  <xsl:output method="text"/>
  <xsl:template match="/">
    <xsl:value-of select="system-property('xsl:vendor')" />
  </xsl:template>
</xsl:stylesheet>

2.  USING:
javax.xml.transform.TransformerFactory=org.apache.xalan.xsltc.trax.Transfo
rmerFactoryImpl
...
<xsl:variable name="absValue" select="java:lang.Math.abs($amt)"/>

Style sheets using extension functions are NOT portable. Just in
case you never heard of this fact.

com.ibm.xslt4j.bcel.generic.ClassGenException: Branch target offset too
large

You hit a deficiency in XSLTC. That's more or less bad luck. You might
want to report to the Xalan project.

J.Pietschmann

Reply via email to