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.

Attachment: barcode.pdf
Description: Adobe PDF document

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

Reply via email to