File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Barcode generation problem with fop-0.95

 
shaik usman
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See if you can find the class/method it is trying to reference in one of the JAR files you mentioned.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic