xalan could not compile stylesheet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramonio
    New Member
    • Aug 2007
    • 1

    #1

    xalan could not compile stylesheet

    Hello, i am using jboss 4 and my application needs to use some xalan.jar and xerces.jar older than the ones uses jboss. (at lib/endorsed/)
    I use the application.xml from the ear file application file to set these ones.

    When my ejb uses these xalan classes (... or i think it uses) i recived a messagge like this:

    15:10:31,414 ERROR [STDERR] ERROR: 'org/apache/xml/utils/ObjectFactory'
    15:10:31,414 ERROR [STDERR] FATAL ERROR: 'Could not compile stylesheet'
    15:10:31,414 ERROR [Transfobj] fails
    javax.xml.trans form.Transforme rConfigurationE xception: Could not compile stylesheet

    The exception:
    java.lang.Excep tion: TransformerExce ption on conf/XXXX.xsl: Could not compile stylesheet

    the Stylesheet of the file is:

    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:styleshe et xmlns:xsl="http ://www.w3.org/1999/XSL/Transform" version="1.0"/>
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:include href="PitagoraT oOm_data.xsl"/>

    Why error ? what can i change ?
    thanks.
    ramon
Working...