Venkat,

most probably, Barcode4J is not in the classpath. See also:
http://barcode4j.sourceforge.net/2.0/fop-ext.html#Setting+up+the+barcode+extension+with+Apache+FOP+0.93+or+later

Barcode4J is not (yet) bundled with FOP.

On 11.02.2010 16:43:50 Venkat Reddy wrote:
> Hi Pete,
> 
> Thanks for your response. I have tried with FOP 0.95 version, the same 
> problem is coming.
> I have generated the barcodes previously using trunk, don't know why it 
> is failing now.
> 
> Thanks,
> Venkat.
> 
> Pete Allison wrote:
> >
> > I'm using 0.94. It seems to generate correcty for me. I've attached 
> > the PDF.
> >
> >  
> >
> >  
> >
> >  
> >
> > *From:* Venkat Reddy [mailto:[email protected]]
> > *Sent:* Thursday, February 11, 2010 7:59 AM
> > *To:* [email protected]
> > *Subject:* barcode test failing
> >
> >  
> >
> > Hi,
> >
> > I am trying to generate a PDF document with barcode in it. I am 
> > running this example on FOP trunk.
> > When I run the sample barcode test xsl:fo file from the command prompt...
> >
> > *fop -fo barcodetest.fo -pdf barcodetest.pdf*
> >
> > I have got the following messages on the console...
> >
> > 11-Feb-2010 13:47:18 org.apache.fop.events.LoggingEventListener 
> > processEvent
> > WARNING: Unknown formatting object 
> > "{http://barcode4j.krysalis.org/ns}barcode"; encountered (a child of 
> > fo:instream-foreign-object}. (See position 18:110)
> > 11-Feb-2010 13:47:18 org.apache.fop.events.LoggingEventListener 
> > processEvent
> > WARNING: Unknown formatting object 
> > "{http://barcode4j.krysalis.org/ns}code128"; encountered (a child of 
> > barcode}. (See position 19:25)
> > 11-Feb-2010 13:47:18 org.apache.fop.events.LoggingEventListener 
> > processEvent
> > WARNING: Unknown formatting object 
> > "{http://barcode4j.krysalis.org/ns}height"; encountered (a child of 
> > code128}. (See position 20:25)
> > 11-Feb-2010 13:47:18 org.apache.fop.events.LoggingEventListener 
> > processEvent
> > WARNING: Unknown formatting object 
> > "{http://barcode4j.krysalis.org/ns}human-readable"; encountered (a 
> > child of code128}. (See position 21:33)
> > 11-Feb-2010 13:47:18 org.apache.fop.events.LoggingEventListener 
> > processEvent
> > WARNING: Unknown formatting object 
> > "{http://barcode4j.krysalis.org/ns}placement"; encountered (a child of 
> > human-readable}. (See position 22:35)
> > 11-Feb-2010 13:47:18 org.apache.fop.events.LoggingEventListener 
> > processEvent
> > WARNING: Unknown formatting object 
> > "{http://barcode4j.krysalis.org/ns}font-name"; encountered (a child of 
> > human-readable}. (See position 23:35)
> > 11-Feb-2010 13:47:18 org.apache.fop.events.LoggingEventListener 
> > processEvent
> > WARNING: Unknown formatting object 
> > "{http://barcode4j.krysalis.org/ns}font-size"; encountered (a child of 
> > human-readable}. (See position 24:35)
> > 11-Feb-2010 13:47:18 org.apache.fop.events.LoggingEventListener 
> > processEvent
> > SEVERE: The intrinsic dimensions of an instream-foreign-object could 
> > not be determined. (See position 17:63)
> >
> > And the output file generated, but when I open the output file to see 
> > the barcode, 'There is some error with the file' message is showing.
> >
> > I am attaching the input file and output file generated with this 
> > mail. Please have a look and help me...
> >
> > Thanks,
> > Venkat.
> >
> > ------------------------------------------------------------------------
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> 




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to