From: SourceForge.net <no...@so...> - 2007-02-21 20:50:14
|
Bugs item #1664266, was opened at 2007-02-20 13:57 Message generated for change (Comment added) made by jmaerki You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=615504&aid=1664266&group_id=96670 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Igor (rogicem) Assigned to: Nobody/Anonymous (nobody) Summary: DataMatrixHighLevelEncoder$EdifactEncoder.encodeChar throws Initial Comment: The DataMatrix Encoder of barcode4j-2.0alpha2 throws, when I try to generate a DataMatrix barcode with this definition: <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns" message="CREX-TAN:h"> <barcode:datamatrix/> </barcode:barcode> The stack trace: java.lang.IllegalArgumentException: Illegal character: h at org.krysalis.barcode4j.impl.datamatrix.DataMatrixHighLevelEncoder$Edi factEncoder.encodeChar(DataMatrixHighLevelEncoder.java:628) at org.krysalis.barcode4j.impl.datamatrix.DataMatrixHighLevelEncoder$Edi factEncoder.encode(DataMatrixHighLevelEncoder.java:565) at org.krysalis.barcode4j.impl.datamatrix.DataMatrixHighLevelEncoder.enc odeHighLevel(DataMatrixHighLevelEncoder.java:97) at org.krysalis.barcode4j.impl.datamatrix.DataMatrixBean.calcDimensions( DataMatrixBean.java:63) at org.krysalis.barcode4j.impl.ConfigurableBarcodeGenerator.calcDimensio ns(ConfigurableBarcodeGenerator.java:138) at org.krysalis.barcode4j.fop.BarcodeElement.getDimension(BarcodeElement .java:83) ---------------------------------------------------------------------- >Comment By: Jeremias Mi (jmaerki) Date: 2007-02-21 21:50 Message: Logged In: YES user_id=225352 Originator: NO Thanks for the bug report. I can reproduce the problem. I'll try to fix it ASAP (probably during the weekend). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=615504&aid=1664266&group_id=96670 |