[jdom-interest] Possible BUG in XercesErrHandler class

Govy Munamala govym at hotmail.com
Sat Jan 20 10:50:24 PST 2001


XercesErrHandler is a private class inside 
org.jdom.adapters.XercesDOMAdapter class. So it belongs to JDOM namespace. 
Sorry for the confusion..

Thanks
Govy


>From: Jason Hunter <jhunter at collab.net>
>To: Govy Munamala <govym at hotmail.com>
>CC: jdom-interest at jdom.org
>Subject: Re: [jdom-interest] Possible BUG in XercesErrHandler class
>Date: Fri, 19 Jan 2001 17:43:25 -0800
>
>Sounds like a question for Xerces, unless I misunderstand.
>
>-jh-
>
>Govy Munamala wrote:
> >
> > Hello Everyone..
> >
> >     I am using JDOM-B5 and Xerces v1.2.3 and found that validation of my 
>XML
> > doc using XML/Schema was giving an exception %ELEMENT% must be 
>declared..
> >
> >     I did a little bit of search for similar messages in the archive and
> > couldn't find a resonable answer. So I started debugging the source 
>code.
> >
> >     I found that the methods error & warning in XercesErrHandler class 
>are
> > re-throwing the SAXException. The documentation says, the call backs to
> > these methods could be ignored in most of the cases! I also found that
> > org.xml.sax.helpers.DefaultErrHandler ignored the exceptions in the 
>methods
> > error & warning. Was there any specific design decision involved in
> > re-throwing the Exceptions??
> >
> >     Am I missing something else here???
> >
> > Thanks
> > Govy
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
> >
> > _______________________________________________
> > To control your jdom-interest membership:
> > 
>http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
>_______________________________________________
>To control your jdom-interest membership:
>http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com




More information about the jdom-interest mailing list