Discussion:
Empty batik.jar and version identification
Daniel Boegner
2011-06-10 12:40:31 UTC
Permalink
Hi all,

quick question at first: To subscribe I sent a mail with the subject and
content "subscribe" to the subscription mail adress. Was that the right way?
I did not recieve an verification email and my last registration to an
mailing list is long time ago. ^^

To the topic:
When I down load the current verions batik.zip file the batik.jar file is
empty! There are no packages and no classes included in the batik.jar!

There is only the META-INF directory with three files:
MANIFEST.MF
LICENSE (empty)
NOTICE (empty)



######### begin of manifest of batik 1.7 #########
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.4.2_12-b03 (Sun Microsystems Inc.)
Implementation-Title: Batik
Implementation-Version: 1.7+r608262
Implementation-Vendor: The Apache Software Foundation (http://xmlgraph
ics.apache.org/batik/)
Build-Id: 20080106-111140-EST (cam [Linux 2.6.22.8 i386, Java 1.4.2_12
-b03])
Main-Class: org.apache.batik.apps.svgbrowser.Main
Class-Path: lib/batik-ext.jar \ lib/batik-dom.jar \
lib/batik-css.jar \ lib/batik-svg-dom.jar \ lib
/batik-gvt.jar \ lib/batik-parser.jar \ lib/batik
-script.jar \ lib/batik-bridge.jar \ lib/batik-sw
ing.jar \ lib/batik-anim.jar \ lib/batik-transcod
er.jar \ lib/batik-gui-util.jar \ lib/batik-awt-u
til.jar \ lib/batik-codec.jar \ lib/batik-util.ja
r \ lib/batik-root.jar \ lib/batik-svggen.jar \
lib/batik-xml.jar \ batik-squiggle.jar \
batik-rasterizer.jar \ batik-pp.jar \ lib/xerces
_2_5_0.jar \ lib/xalan-2.6.0.jar \ lib/xml-apis.j
ar \ lib/xml-apis-ext.jar \ lib/pdf-transcoder.ja
r \ lib/js.jar

######### end of manifest of batik 1.7 #########


We have already had a batik.jar on our fileserver. There are classes
included in the file. It basically works, but I got Exceptions on some
input. That's why I wanted to try the current version. Actually I don't know
which version this batik.jar is. Here is the content of the manifest file:

######### begin of manifest of the unknown batik version #########
Manifest-Version: 1.0
Created-By: Apache Ant 1.5.1
######### end of manifest of the unknown batik version #########

- Why there are no classes included in the current version of batik.jar? Is
it an mistake / error or did I miss some important documentation or change
in the API?
- How / Where can I download a up-to-date and working batik.jar?
- Maybe it would help to identify the version of the old batik.jar. How do I
do this?

Background: I am using Anty Samy from OWASP to filter out JavaScript from
HTML input and batik is a dependency of anti samy.

Any help would be appreciated. Thanks in advance.
--
Daniel Bögner
Bachelor of Science
IT Systemelektroniker
IT - Software Development

Tel. ++ 49 521 / 96 96 268
Fax ++ 49 521 / 96 96 296
mailto: ***@synaxon.de

SYNAXON AG
Eckendorfer Str. 2-4
D-33609 Bielefeld

Vorstand: Frank Roebers (Vorsitzender), Andreas Wenninger, Mark Schröder
Aufsichtsratsvorsitzender: Dr. Günter Lewald
Handelsregister Bielefeld HRB 36014
Henryk Hecht
2011-06-11 00:57:41 UTC
Permalink
Post by Daniel Boegner
quick question at first: To subscribe I sent a mail with the subject and
content "subscribe" to the subscription mail adress. Was that the right
way? I did not recieve an verification email and my last registration to
an mailing list is long time ago. ^^
I suspect it already had you registered, and decided to do nothing, but I
do not know for sure.
Post by Daniel Boegner
When I down load the current verions batik.zip file the batik.jar file
is empty! There are no packages and no classes included in the
batik.jar!
There was a reorgnization of the jarfiles some time ago (at 1.6 or 1.7?).
Most stuff moved to lib/batik-*.
Post by Daniel Boegner
- Why there are no classes included in the current version of batik.jar?
Is it an mistake / error or did I miss some important documentation or
change in the API?
See above.
Post by Daniel Boegner
- How / Where can I download a up-to-date and working batik.jar?
If you include the "empty" batik.jar, and all of its referents, it will
probably work, modulo the usual classloader nonsense. It seems not much
changed between 1.6 and 1.7 that anything else depended on-at least that
has been my experience. You could also unzip all the other jars, and glue
them back together, of course (assuming they are disjoint).
Post by Daniel Boegner
- Maybe it would help to identify the version of the old batik.jar. How
do I do this?
org.apache.batik.Version should have the version, which you can query
programmatically (.getVersion()), or with your favorite hex editor or
disassembler: whichever you think is faster.
--
HH
Daniel Boegner
2011-06-14 10:12:47 UTC
Permalink
Hi all,

quick note at first: I send this question to the mailing list last week.
Today I saw that there was a verification mail for subscription. I don't
know if my first email has been broadcastet through the mailing list. I
don't think so. That's why I try it again with this mail. If the first mail
came in, please answer to the first one and ignore this mail. Sry for
inconvenience.

To the topic:
When I down load the current verions batik.zip file the batik.jar file is
empty! There are no packages and no classes included in the batik.jar!

There is only the META-INF directory with three files:
MANIFEST.MF
LICENSE (empty)
NOTICE (empty)



######### begin of manifest of batik 1.7 #########
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.4.2_12-b03 (Sun Microsystems Inc.)
Implementation-Title: Batik
Implementation-Version: 1.7+r608262
Implementation-Vendor: The Apache Software Foundation (http://xmlgraph
ics.apache.org/batik/)
Build-Id: 20080106-111140-EST (cam [Linux 2.6.22.8 i386, Java 1.4.2_12
-b03])
Main-Class: org.apache.batik.apps.
svgbrowser.Main
Class-Path: lib/batik-ext.jar \ lib/batik-dom.jar \
lib/batik-css.jar \ lib/batik-svg-dom.jar \ lib
/batik-gvt.jar \ lib/batik-parser.jar \ lib/batik
-script.jar \ lib/batik-bridge.jar \ lib/batik-sw
ing.jar \ lib/batik-anim.jar \ lib/batik-transcod
er.jar \ lib/batik-gui-util.jar \ lib/batik-awt-u
til.jar \ lib/batik-codec.jar \ lib/batik-util.ja
r \ lib/batik-root.jar \ lib/batik-svggen.jar \
lib/batik-xml.jar \ batik-squiggle.jar \
batik-rasterizer.jar \ batik-pp.jar \ lib/xerces
_2_5_0.jar \ lib/xalan-2.6.0.jar \ lib/xml-apis.j
ar \ lib/xml-apis-ext.jar \ lib/pdf-transcoder.ja
r \ lib/js.jar

######### end of manifest of batik 1.7 #########


We have already had a batik.jar on our fileserver. There are classes
included in the file. It basically works, but I got Exceptions on some
input. That's why I wanted to try the current version. Actually I don't know
which version this batik.jar is. Here is the content of the manifest file:

######### begin of manifest of the unknown batik version #########
Manifest-Version: 1.0
Created-By: Apache Ant 1.5.1
######### end of manifest of the unknown batik version #########

- Why there are no classes included in the current version of batik.jar? Is
it an mistake / error or did I miss some important documentation or change
in the API?
- How / Where can I download a up-to-date and working batik.jar?
- Maybe it would help to identify the version of the old batik.jar. How do I
do this?

Background: I am using Anty Samy from OWASP to filter out JavaScript from
HTML input and batik is a dependency of anti samy.

Any help would be appreciated. Thanks in advance.
--
Daniel Bögner
Bachelor of Science
IT Systemelektroniker
IT - Software Development

Tel. ++ 49 521 / 96 96 268
Fax ++ 49 521 / 96 96 296
mailto: ***@synaxon.de

SYNAXON AG
Eckendorfer Str. 2-4
D-33609 Bielefeld

Vorstand: Frank Roebers (Vorsitzender), Andreas Wenninger, Mark Schröder
Aufsichtsratsvorsitzender: Dr. Günter Lewald
Handelsregister Bielefeld HRB 36014
Helder Magalhães
2011-06-14 11:08:17 UTC
Permalink
Post by Daniel Boegner
Hi all,
Hi Daniel,
Post by Daniel Boegner
quick note at first: I send this question to the mailing list last week.
Today I saw that there was a verification mail for subscription. I don't
know if my first email has been broadcastet through the mailing list.
Yes it did [1]. ;-)
Post by Daniel Boegner
If the first mail
came in, please answer to the first one and ignore this mail.
Henryk already replied to your message. Please check the archived
thread if you aren't receiving the messages yet.
Post by Daniel Boegner
Sry for
inconvenience.
Cheers,
Helder


[1] http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/201106.mbox/browser#msg-9
Loading...