[jdom-interest] ClassCastException

Elliotte Rusty Harold elharo at metalab.unc.edu
Wed Jun 26 17:13:52 PDT 2002


At 9:01 PM +0300 6/26/02, Ramy Mamdouh wrote:
>Hello,
>
>I'm using JDK 1.3 on SuSE Linux 8.0.
>
>I get a ClassCastException when I try this piece of code .
>
>SAXBuilder saxBuilder = new SAXBuilder(false);
>saxBuilder.build(file);
>
>I've all the required jars in my classpath, and in the right order 
>as said in the faq.
>

FYI, I've just been pulling my hair out trying to debug something 
similar, also in JDK 1.3.1 on Linux. I'm going to try to track it 
down. It would be helpful to know which version of xerces.jar is 
currently bundled with JDOM.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list