Yes, this is true.
We just fixed this bug. The fix is in CVS.
The fix to org.apache.xerces.dom.NodeImpl.supports is to use
ownerDocument instead of getOwnerDocument.
Thanks for reporting this problem,
Jeffrey Rodriguez
IBM Cupertino
XML development
From: Clemens Cap <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: Clemens Cap <[EMAIL PROTECTED]>
Subject: Re: Samples Crash after 1.0.4 upgrade
Date: Sun, 4 Jun 2000 19:50:49 +0200
Hello everyone,
with regard to my message below, I rechecked this and found out that
1.0.3 is the last version where the sample applications seem to work.
They crash in the 1.0.4 distribution as well.
** Note: Please provide a CC: to my mail address
[EMAIL PROTECTED]
when answering to this thread please.
----- Forwarded message from Clemens Cap <[EMAIL PROTECTED]>
-----
Hello everyone,
just upgraded from Xerces-J 1.0.1 to 1.1.0 and tested the parser.
Several sample applications which used to work with 1.0.1 no crash
when applied to the sample file data/personal.xml.
I get:
java dom.traversal.TreeWalkerView personal.xml
java.lang.NullPointerException
at org.apache.xerces.dom.NodeImpl.supports(NodeImpl.java:561)
at dom.traversal.TreeWalkerView.<init>(Compiled Code)
at dom.traversal.TreeWalkerView.main(TreeWalkerView.java:134)
java dom.traversal.IteratorView personal.xml
java.lang.NullPointerException
at org.apache.xerces.dom.NodeImpl.supports(NodeImpl.java:561)
at dom.traversal.IteratorView.<init>(Compiled Code)
at dom.traversal.IteratorView.main(IteratorView.java:127)
Whereas the Xerces-J 1.0.1 versions produce what is expected.
I am using a Sun, Solaris 2.6, Java 1.2.1 for this.
** Note: Please provide a CC: to my mail address
[EMAIL PROTECTED]
when answering to this thread please.
Thanx for any remark.
Clemens Cap.
--
Prof.Dr.Clemens H. CAP
Dept.of Computer Science office phone +49-(0)381-498/3390
University of Rostock office fax +49-(0)381-498/3440
Albert Einstein Strasse 21 mailto:[EMAIL PROTECTED]
D-18051 Rostock, Germany http://wwwtec.informatik.uni-rostock.de/iuk
----- End forwarded message -----
--
Prof.Dr.Clemens H. CAP
Dept.of Computer Science office phone +49-(0)381-498/3390
University of Rostock office fax +49-(0)381-498/3440
Albert Einstein Strasse 21 mailto:[EMAIL PROTECTED]
D-18051 Rostock, Germany http://wwwtec.informatik.uni-rostock.de/iuk
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com