File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Barcode generation problem with fop-0.95 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Barcode generation problem with fop-0.95 " Watch "Barcode generation problem with fop-0.95 " New topic

Barcode generation problem with fop-0.95

shaik usman

Joined: Jul 28, 2009
Posts: 3
Hi, i am using the fop-0.95,barcode4j.jar and barcode4j-fop-ext.jar to generate the barcode. My barcode generation xsl code is

And i am getting the following error

SEVERE: javax.xml.transform.TransformerException: java.lang.NoSuchMethodExceptio n: For extension function, could not find method org.apache.xml.dtm.ref.DTMNodeI terator.generate([ExpressionContext,] #NODESET). Oct 29, 2009 11:44:08 AM org.apache.fop.cli.Main startFOP SEVERE: Exception javax.xml.transform.TransformerException: Error(Unknown location): fo:instream-foreign-object is missing child elements.

Required Content Model: one (1) non-XSL namespace child at org.apache.fop.cli.InputHandler.transformTo( at org.apache.fop.cli.InputHandler.renderTo( at org.apache.fop.cli.Main.startFOP( at org.apache.fop.cli.Main.main(

Please tell me what is the problem

Martijn Verburg

Joined: Jun 24, 2003
Posts: 3275

See if you can find the class/method it is trying to reference in one of the JAR files you mentioned.

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
I agree. Here's the link:
subject: Barcode generation problem with fop-0.95
It's not a secret anymore!