[ krysalis-Bugs-951343 ] Probleme with embed using
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.krysalis.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #951343, was opened at 2004-05-10 17:56 Message generated for change (Comment added) made by jchekroun You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=423515&aid=951343&group_id=36516 Category: barcode Group: None Status: Open Resolution: None Priority: 5 Submitted By: chekroun (jchekroun) Assigned to: Jeremias Märki (jmaerki) Summary: Probleme with embed using Initial Comment: hi, i am experiencing difficulties with using barcode, with embed client, i try with command line and it s working fine, now i want to integrate it in my embed client make on the model of fop embed client, and it doesn t work , it seems that it doesn t take the extension in count: [INFO] building formatting object tree [INFO] setting up fonts [ERROR] Unsupported element encountered: barcode (Namespace: xmlns:barcode=http://barcode4j.krysalis.org/ns). Source context: unavailable [ERROR] Expected XSL-FO (root, page-sequence, etc.), SVG (svg, rect, etc.) or elements from another supported language. [ERROR] Unsupported element encountered: code128 (Namespace: xmlns:barcode=http://barcode4j.krysalis.org/ns). Source context: unavailable [ERROR] Unsupported element encountered: height (Namespace: xmlns:barcode=http://barcode4j.krysalis.org/ns). Source context: unavailable [INFO] [1] [ERROR] no handler defined for xmlns:barcode=http://barcode4j.krysalis.org/ns:barcode foreign xml [INFO] Parsing of document complete, stopping renderer Have you test it in this particular functioning mode, and may you have an example. thanks for helps ---------------------------------------------------------------------- >Comment By: chekroun (jchekroun) Date: 2004-05-11 10:06 Message: Logged In: YES user_id=1038870 It doesnt work, i am using this client: http://cvs.apache.org/viewcvs.cgi/xml- fop/examples/embedding/java/embedding/ExampleXML2PDF.jav a?rev=HEAD with Jbuilder for the moment, and all is in the classpath: D:\App_server\jdk1.3.1_08\bin\javaw -classpath " D:\produits\demonfop\classes; D:\produits\demonfop\lib\krysalis-barcode-fop-ext-0.20.5- complete.jar; D:\produits\demonfop\lib\xml-apis.jar; D:\produits\demonfop\lib\xalan-2.4.1.jar; D:\produits\demonfop\lib\batik.jar; D:\produits\demonfop\lib\xercesImpl-2.2.1.jar; D:\produits\demonfop\lib\fop-0.20.5rc3a.jar; D:\produits\demonfop\lib\avalon-framework-4.1.4.jar; D:\produits\demonfop\lib\log4j-1.2.8.jar; D:\App_server\jdk1.3.1_08\demo\jfc\Java2D\Java2Demo.jar; D:\App_server\jdk1.3.1_08\docs\guide\imf\spi- sample\CityIM.jar; D:\App_server\jdk1.3.1_08\jre\lib\i18n.jar; D:\App_server\jdk1.3.1_08\jre\lib\jaws.jar; D:\App_server\jdk1.3.1_08\jre\lib\rt.jar; D:\App_server\jdk1.3.1_08\jre\lib\sunrsasign.jar; D:\App_server\jdk1.3.1_08\lib\dt.jar; D:\App_server\jdk1.3.1_08\lib\htmlconverter.jar; D:\App_server\jdk1.3.1_08\lib\tools.jar" is there a way to verifie that class are loaded ? ---------------------------------------------------------------------- Comment By: Jeremias Märki (jmaerki) Date: 2004-05-10 20:27 Message: Logged In: YES user_id=225352 You're using the barcode4j namespaces. Since I haven't been able to do a release under the new name, yet, I must ask you if you are really using Barcode4J downloaded from SourceForge's CVS or if you are using the older Krysalis Barcode 0.9 release. If it's the latter then you need to use "http://www.krysalis.org/barcode/ns" instead. In any other case I suppose it's some weird classpath problem. The FOP extension should work in most cases but I have heard that in certain complicated application server environments problems may appear due to a complex class loader setup. You may have to make sure that Barcode4J is loaded by the same class loader as fop.jar so FOP can detect Barcode4J. If this doesn't help you may have to be a bit more verbose about your environment (classpath, what sort of client etc.). Jeremias Maerki ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=423515&aid=951343&group_id=36516 ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3