[xep-support] getting to run command line --- newbie question

From: Daniel Eklund <doeklund@gmail.com>
Date: Tue Feb 22 2005 - 08:43:04 PST

Hello group,

I am dealing with a pre-existing installation of XEP and (for debug sake) am
trying to write a simple command line wrapper to test the FOs our system
generates. (the FOs are being caught by a debug file dump after they are
created from an XSLT transformation of an xml-db source)

I have a couple of questions:

1) how do I tell what version of xep I am running? (I have seen nothing in
the manifest of the JAR that will help me)

2) I have mostly copied the code from our servlet/EJB (and working) system
to a basic wrapper class and supplied the same classpath (and JVM) and
have consistently received the following message:

C:\tmp\fo>java -Dcom.renderx.FO2PDF.ROOT=C:\cbdev\build\cfg\xep
org.collegeboard.csi.common.util.RenderPDF untitled.fo simple.pdf

(S (parse [system-id file:C:/tmp/fo/untitled.fo]java.util.NoSuchElementException
: list is not a pair
        at com.renderx.util.List.car(List.java:140)
        at com.renderx.FO2PDF.S.FOTree$Parser.endTree(FOTree.java:46)
        at com.renderx.FORM.tree.Tree.fireTreeEnded(Tree.java:73)
        at com.renderx.FORM.tree.Tree.traverse(Tree.java:54)
        at com.renderx.FORM.Parser.endDocument(Parser.java:607)
        at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Sourc
        at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Sourc
        at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
        at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
        at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.
dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.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 com.renderx.FORM.util.ParserWrapper.parse(ParserWrapper.java:28)
        at com.renderx.FORM.Parser.parse(Parser.java:582)
        at com.renderx.FO2PDF.S.FOTree$Parser.<init>(FOTree.java:30)
        at com.renderx.FO2PDF.S.FOTree.<init>(FOTree.java:17)
        at com.renderx.FO2PDF.Driver.render(Driver.java:154)
        at org.collegeboard.csi.common.util.RenderPDF.loadPDF(RenderPDF.java:57)

        at org.collegeboard.csi.common.util.RenderPDF.main(RenderPDF.java:74)
Exception in thread "main" java.lang.NoSuchMethodError
        at org.collegeboard.csi.common.util.RenderPDF.loadPDF(RenderPDF.java:60)

        at org.collegeboard.csi.common.util.RenderPDF.main(RenderPDF.java:74)

Any help will be very much appreciated.

Daniel Eklund
The College Board
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Tue Feb 22 09:35:05 2005

This archive was generated by hypermail 2.1.8 : Tue Feb 22 2005 - 09:35:06 PST