[kaffe] GNU jaxp included in kaffe does not work with Saxon 7.3

Ito Kazumitsu ito.kazumitsu at hitachi-cable.co.jp
Tue Dec 3 02:34:03 PST 2002


In message "[kaffe] GNU jaxp included in kaffe does not work with Saxon 7.3"
    on 02/12/03, Ito Kazumitsu <ito.kazumitsu at hitachi-cable.co.jp> writes:

> Now that GNU jaxp has been included in kaffe,  I expect I can
> run Saxon 7.3 on kaffe without adding gnujaxp.jar to CLASSPATH.
> 
> But unfortunately, this is not so and SAXException saying "Parser
> configuration problem: namespace reporting is not enabled" is thrown. 
> 
> When using gnujaxp.jar from gnujaxp-1.0beta1,  this issue does not
> occur.

Using the attached program and data,  I compared the results
of jaxp of JDK 1.4,  jaxp of gnujaxp-1.0beta1 and
jaxp of kaffe.

jaxp of JDK 1.4 and jaxp of gnujaxp-1.0beta1 give the same
results,  but jaxp of kaffe does not.

$ CLASSPATH=~/javalib/gnujaxp.jar:. java TestSAX2 file:test03.xsl > 1.0beta1-output
$ java TestSAX2 file:test03.xsl > kaffe-output
$ diff -u 1.0beta1-output jdk1.4-output
$ diff -u 1.0beta1-output kaffe-output
--- 1.0beta1-output     Tue Dec  3 19:28:09 2002
+++ kaffe-output        Tue Dec  3 19:28:39 2002
@@ -4,6 +4,9 @@
  qname = xsl:stylesheet
 ATTRIBUTES
  URI =
+ local =
+ qname = xmlns:xsl
+ URI =
  local = version
  qname = version
 BEGIN
$ tar tzvf 0.tar.gz 
-rw-rw-r-- ito/ito        1528 2002-12-03 19:17:18 TestSAX2.java
-rw-rw-r-- ito/ito        2074 2001-06-22 13:47:54 test03.xsl
-rw-rw-r-- ito/ito        8170 2002-12-03 19:28:31 1.0beta1-output
-rw-rw-r-- ito/ito        8207 2002-12-03 19:29:01 kaffe-output
-rw-rw-r-- ito/ito        8170 2002-12-03 19:19:33 jdk1.4-output

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0.tar.gz
Type: application/octet-stream
Size: 2311 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20021203/8c5f678a/attachment-0003.obj 


More information about the kaffe mailing list