[kaffe] A new challenge! [was: Bug#229337: libsaxon-java: missing classes]
Arnaud Vandyck
arnaud.vandyck@ulg.ac.be
Sat Jan 24 07:31:01 2004
--===-=-=
Content-Type: multipart/mixed; boundary="==-=-="
--==-=-=
Hi all,
I do use saxon to parse xml files with xsl ones to build websites. I do
use this with an ant task I wrote.
When trying the latest libsaxon-java from Debian, I did get an error
(see the attachment mail) and thought some classes were missing.
After some tests, I did rebuild the Debian package with Blackdown
non-free JDK and the execution of the code was fine.
The original package was build with jikes (and the classpath classes). I
also did try kjc, jikes with Blackdown classes but it only works when
built with Blackdown's javac.
I also did suspect gnujaxp, but it also fails with xerces.
To reproduce the bug, you can (on Debian system)
$ apt-get source libsaxon-java
Then, in the libsaxon-java directory, you can modify the call of the
compiler in the debian/rules file. You can install 'devscripts' and type
$ debuild -rfakeroot -uc -us
to get the package compiled.
To test it, you'll have to parse some docbook-website documents. I can
send a tarball in private but it needs to be chanded.
An easy document will not fail to be transform.
Here is the original bug report with the error message when trying to
run the jikes built saxon... (note it's the same result with the kjc
one)
Note that the transformer just runs fine with kaffe!
Cheers
--==-=-=
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-From-Line: arnaud.vandyck@ulg.ac.be Sat Jan 24 12:34:52 2004
Return-Path: <bounce-debian-java=3Darnaud.vandyck=3Dulg.ac.be@lists.debian.=
org>
Delivered-To: arnaud.vandyck@ulg.ac.be
Received: (qmail 19752 invoked from network); 24 Jan 2004 12:52:15 +0100
Received: from unknown ([139.165.32.84])
by serv19.segi.ulg.ac.be (qmail-ldap-1.03) with QMQP; 24 Jan 2004=
12:52:15 +0100
Delivered-To: CLUSTERHOST serv27.segi.ulg.ac.be arnaud.vandyck@ulg.ac.be
Received: (qmail 17086 invoked by uid 504); 24 Jan 2004 12:52:15 +0100
Received: from bounce-debian-java=3Darnaud.vandyck=3Dulg.ac.be@lists.debian=
.org by serv27.segi.ulg.ac.be by uid 501 with qmail-scanner-1.16=20
(clamscan: 0.60. spamassassin: 2.55. Clear:SA:0(-7.8/5.0):.=20
Processed in 10.988877 secs); 24 Jan 2004 11:52:15 -0000
Received: from unknown (HELO murphy.debian.org) ([146.82.138.6])
(envelope-sender <bounce-debian-java=3Darnaud.vandyck=3Dulg.ac.be=
@lists.debian.org>)
by serv27.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
for <arnaud.vandyck@ulg.ac.be>; 24 Jan 2004 12:52:04 +0100
Received: from localhost (localhost [127.0.0.1])
by murphy.debian.org (Postfix) with QMQP
id 21A40EFC5; Sat, 24 Jan 2004 05:51:43 -0600 (CST)
Old-Return-Path: <debbugs@bugs.debian.org>
X-Original-To: debian-java@lists.debian.org
Received: from spohr.debian.org (spohr.debian.org [128.193.0.4])
by murphy.debian.org (Postfix) with ESMTP
id A5292E8EC; Sat, 24 Jan 2004 05:51:40 -0600 (CST)
Received: from debbugs by spohr.debian.org with local (Exim 3.35 1 (Debian))
id 1AkMGh-0007Gw-00; Sat, 24 Jan 2004 03:48:03 -0800
X-Loop: owner@bugs.debian.org
Subject: Bug#229337: libsaxon-java: missing classes
Reply-To: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>,
229337@bugs.debian.org
Resent-From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Original-Sender: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-java@lists.debian.org,
Mark Johnson <mrj@debian.org>
Resent-Date: Sat, 24 Jan 2004 11:48:02 UTC
Resent-Message-ID: <handler.229337.B.107494413017924@bugs.debian.org>
X-Debian-PR-Message: report 229337
X-Debian-PR-Package: libsaxon-java
X-Debian-PR-Keywords:=20
Received: via spool by submit@bugs.debian.org id=3DB.107494413017924
(code B ref -1); Sat, 24 Jan 2004 11:48:02 UTC
Received: (at submit) by bugs.debian.org; 24 Jan 2004 11:35:30 +0000
Received: from serv09.segi.ulg.ac.be [139.165.32.78]=20
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1AkM4Y-0004b4-00; Sat, 24 Jan 2004 03:35:30 -0800
Received: (qmail 3568 invoked by uid 504); 24 Jan 2004 12:34:58 +0100
Received: from arnaud.vandyck@ulg.ac.be by serv09.segi.ulg.ac.be by uid 501=
with qmail-scanner-1.16=20
(clamscan: 0.60. spamassassin: 2.55. Clear:.=20
Processed in 1.048971 secs); 24 Jan 2004 11:34:58 -0000
Received: from unknown (HELO oz.fapse.ulg.ac.be) ([139.165.201.101])
(envelope-sender <arnaud.vandyck@ulg.ac.be>)
by serv09.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
for <submit@bugs.debian.org>; 24 Jan 2004 12:34:57 +0100
Received: from arnaud by oz.fapse.ulg.ac.be with local (Exim 4.30)
id 1AkM40-00013N-KN
for submit@bugs.debian.org; Sat, 24 Jan 2004 12:34:56 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
X-Face: >U]gI'=3DhKRtZE@~Svh"mU,aS"">yCT*dBkVAFl'!]!&k@R8fEr{-)Ql6{xhuXKb+!=
>}x;^2ck7Ytr'EABxt~)3q?AO}$:wwSva.$uNN9x.w4+uVmMMSB1~EbJgo|9E0yQXONuM'~c*20^
Date: Sat, 24 Jan 2004 12:34:52 +0100
X-Gnus-Mail-Source: pop:u184137@pop3.mailvb.ulg.ac.be
Message-ID: <87ektpeg0z.fsf@oz.fapse.ulg.ac.be>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary=3D"=3D-=3D-=3D";
micalg=3Dpgp-sha1; protocol=3D"application/pgp-signature"
Sender: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Delivered-To: submit@bugs.debian.org
X-Mailing-List: <debian-java@lists.debian.org> archive/latest/5221
X-Loop: debian-java@lists.debian.org
List-Id: <debian-java.lists.debian.org>
List-Post: <mailto:debian-java@lists.debian.org>
List-Help: <mailto:debian-java-request@lists.debian.org?subject=3Dhelp>
List-Subscribe: <mailto:debian-java-request@lists.debian.org?subject=3Dsubs=
cribe>
List-Unsubscribe: <mailto:debian-java-request@lists.debian.org?subject=3Dun=
subscribe>
List-Archive: <http://lists.debian.org/debian-java/>
Precedence: list
Resent-Sender: debian-java-request@lists.debian.org
X-Spam-Status: No, hits=3D-7.8 required=3D5.0
tests=3DAWL,BAYES_01,DEBIAN_BTS_BUG,SIGNATURE_LONG_SPARSE,
USER_AGENT_GNUS_UA,X_LOOP,X_MAILING_LIST
version=3D2.55
X-Spam-Level:=20
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
X-Content-Length: 2184
Lines: 68
Xref: oz.fapse.ulg.ac.be divers:1115
=2D-=3D-=3D-=3D
Package: libsaxon-java
Version: 6.5.4-0.2
Severity: grave
Hi, trying to parse an DocBook-Website set of files with ant and the
result is correct with the older lib-saxon (6.4.4), but with this
package I got:
$ ant
Buildfile: build.xml
layout:
[echo] Processing the layout...
[java] Exception in thread "main" java.lang.NoSuchMethodError: com.icl=
.saxon.tree.NodeImpl: method getNodeType()S not found
[java] at com.icl.saxon.style.XSLStyleSheet.spliceIncludes(XSLStyleSh=
eet.java:397)
[java] at com.icl.saxon.style.XSLStyleSheet.preprocess(XSLStyleSheet.=
java:346)
[java] at com.icl.saxon.PreparedStyleSheet.setStyleSheetDocument(Prep=
aredStyleSheet.java:176)
[java] at com.icl.saxon.PreparedStyleSheet.prepare(PreparedStyleSheet=
.java:133)
[java] at com.icl.saxon.TransformerFactoryImpl.newTemplates(Transform=
erFactoryImpl.java:127)
[java] at com.icl.saxon.StyleSheet.doMain(StyleSheet.java:327)
[java] at com.icl.saxon.StyleSheet.main(StyleSheet.java:63)
BUILD FAILED
file:/home/arnaud/www/website-arnaud/build.xml:47: Java returned: 1
Total time: 5 seconds
=2D- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux oz.fapse.ulg.ac.be 2.6.1-rc1-ben1 #1 Tue Jan 6 18:38:38 CET 2=
004 ppc
Locale: LANG=3DC, LC_CTYPE=3DC
Versions of packages libsaxon-java depends on:
ii gij 4:3.3.2-2 The GNU Java bytecode interpre=
ter
ii gij-3.3 [java1-runti 1:3.3.3-0pre2 The GNU Java bytecode interpre=
ter
ii kaffe [java1-runtime 1:1.1.3-0.2 A JVM to run Java bytecode
ii libgnujaxp-java 0.0.cvs20030915-2 A free implementation of jaxp =
api
ii sablevm [java1-runti 1.0.9+svn20040115-1 Free implementation of Java Vi=
rtua
=2D- no debconf information
=2D-=20
Arnaud
=2D-=3D-=3D-=3D
Content-Type: application/pgp-signature
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBAElhg4vzFZu62tMIRAnuIAJ4tUmlfavmevA+2sOSXXOGQEZ6cTwCgk1m6
V9oDibOyIFD8LUG0IHz2PwU=3D
=3D069o
=2D----END PGP SIGNATURE-----
=2D-=3D-=3D-=3D--
=2D-=20
To UNSUBSCRIBE, email to debian-java-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.o=
rg
--==-=-=
--
Arnaud
--==-=-=--
--===-=-=
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBAEo9H4vzFZu62tMIRAt+7AKC+urT4cMubBM9T5eMhJVZy036o2QCgpxo2
fvpPnH4yLKpKUI2Dq/HWJxU=
=Prm6
-----END PGP SIGNATURE-----
--===-=-=--