GeeCON Prague 2014*
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
Author

Barcode generation problem with fop-0.95

shaik usman
Greenhorn

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: org.apache.fop.fo.ValidationException: 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(InputHandler.java:217) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125) at org.apache.fop.cli.Main.startFOP(Main.java:166) at org.apache.fop.cli.Main.main(Main.java:197)

Please tell me what is the problem

Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

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.
 
GeeCON Prague 2014
 
subject: Barcode generation problem with fop-0.95