Before launching the run.bat file in Saxon8 example folder I've copied saxon8.jar into lib folder. After launch the bat file the following messages appears:
Warning: at xsl:stylesheet on line 2 of Exception in thread "main" java.lang.NoSuchFieldError: attributeList
at org.krysalis.barcode4j.saxon8.BarcodeStyleElement.prepareAttributes(B
arcodeStyleElement.java:70)
at net.sf.saxon.style.StyleElement.processAttributes(StyleElement.java:3
78)
at net.sf.saxon.style.StyleElement.processAllAttributes(StyleElement.jav
a:343)
at net.sf.saxon.style.StyleElement.processAllAttributes(StyleElement.jav
a:351)
at net.sf.saxon.style.StyleElement.processAllAttributes(StyleElement.jav
a:351)
at net.sf.saxon.style.XSLStylesheet.processAllAttributes(XSLStylesheet.j
ava:933)
at net.sf.saxon.style.XSLStylesheet.preprocess(XSLStylesheet.java:659)
at net.sf.saxon.PreparedStylesheet.setStylesheetDocument(PreparedStylesh
eet.java:300)
at net.sf.saxon.PreparedStylesheet.prepare(PreparedStylesheet.java:127)
at net.sf.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryIm
pl.java:135)
at net.sf.saxon.Transform.doTransform(Transform.java:479)
at net.sf.saxon.Transform.main(Transform.java:60)
Should example work properly by default or there is something else necessary to set?
Logged In: YES
user_id=1330552
Originator: YES
Ooops, In original summary I've written wrong version of product. This item belongs to version 1.0.
Logged In: YES
user_id=225352
Originator: NO
Saxon is somewhat of a moving target when it comes to writing extensions. I assume you're using an old Saxon 8. Unfortunately, Michael Kay changed the API for extension even within the same major version. I just noticed that the current code also won't work with Saxon 9 as the support for Java 1.3 seems to have been dropped. Sigh. My suggestion to you: upgrade to the latest Saxon 8 release.