W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2004

Problem running FOP

From: Mukul Gandhi <mukulgw3@yahoo.com>
Date: Fri, 9 Apr 2004 02:01:30 -0700 (PDT)
Message-ID: <20040409090130.72825.qmail@web61107.mail.yahoo.com>
To: www-xsl-fo@w3.org

Hi,
I am using FOP 0.20.5 . When I apply an XSL to a XML
from command line, I get this error -
[ERROR]
javax.xml.transform.TransformerConfigurationException:
javax.xml.transfo
rm.TransformerException:
javax.xml.transform.TransformerException: Empty
express
ion!

Following is also the stack trace when I run FOP in
debug mode -

; Line#: 123; Column#: 33
; Line#: 123; Column#: 33
javax.xml.transform.TransformerException: Empty
expression!
        at
org.apache.xpath.compiler.XPathParser.error(Unknown
Source)
        at
org.apache.xpath.compiler.Lexer.tokenize(Unknown
Source)
        at
org.apache.xpath.compiler.Lexer.tokenize(Unknown
Source)
        at
org.apache.xpath.compiler.XPathParser.initXPath(Unknown
Source)
        at org.apache.xpath.XPath.<init>(Unknown
Source)
        at
org.apache.xalan.processor.StylesheetHandler.createXPath(Unknown
Sour
ce)
        at
org.apache.xalan.processor.XSLTAttributeDef.processEXPR(Unknown
Sourc
e)
        at
org.apache.xalan.processor.XSLTAttributeDef.processValue(Unknown
Sour
ce)
        at
org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(Unknown
Sour
ce)
        at
org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttr
ibutes(Unknown Source)
        at
org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttr
ibutes(Unknown Source)
        at
org.apache.xalan.processor.ProcessorTemplateElem.startElement(Unknown
 Source)
        at
org.apache.xalan.processor.StylesheetHandler.startElement(Unknown
Sou
rce)
        at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Sour
ce)
        at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unkn
own Source)
        at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
own Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
        at
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
        at
org.apache.xerces.parsers.XMLParser.parse(Unknown
Source)
        at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Unknow
n Source)
        at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Unkn
own Source)
        at
org.apache.fop.apps.TraxInputHandler.initTransformer(TraxInputHandler
.java:105)
        at
org.apache.fop.apps.TraxInputHandler.<init>(TraxInputHandler.java:84)

        at
org.apache.fop.apps.XSLTInputHandler.<init>(XSLTInputHandler.java:71)

        at
org.apache.fop.apps.CommandLineOptions.getInputHandler(CommandLineOpt
ions.java:479)
        at
org.apache.fop.apps.CommandLineStarter.<init>(CommandLineStarter.java
:78)
        at
org.apache.fop.apps.CommandLineOptions.getStarter(CommandLineOptions.
java:522)
        at org.apache.fop.apps.Fop.main(Fop.java:61)

What is the problem with my environment?

Regards,
Mukul


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/
Received on Friday, 9 April 2004 05:02:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:12 GMT