Alan Ezust wrote:

If SAXParserFactory is to be avoided, then why is it used by the JDK 1.5 API?
In particular, I am wondering about this

The programmers at Sun make the same mistakes everyone else does. Remember, they invented SAXParserFactory in the first place.

Why it's throwing a ClassCastException, I don't know. Sounds like a bug. Try printing a stack trace. However, "com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl" refers specifically to the repackaged version of Xerces in the JDK. The regular Apache packages don't have it.

--
Elliotte Rusty Harold  [EMAIL PROTECTED]
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to