xerces-j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay Karkala (RBIN/MDS) *" <Vijay.Kark...@in.bosch.com>
Subject RE: How are validity exceptions being reported?
Date Mon, 19 May 2003 05:55:02 GMT
i am usin SAX parser to parse  and insert values into databse
i am attaching the source files
at the moment i am using an array to store the values from xml
but the problem is  i am storing only 6 values currentli 
i am very new to java 
could some one please suggest changes in the source file to store 
any amt of values from the source xml file in array ...i think i have to use something called
a string buffer not sure though
request someone to please help me out;



thanks and  regards
vijay


-----Original Message-----
From: K. Venugopal [mailto:k.venugopal@sun.com]
Sent: Saturday, May 17, 2003 11:21 AM
To: xerces-j-dev@xml.apache.org
Subject: Re: How are validity exceptions being reported?


Hi Elliotte,

Elliotte Rusty Harold wrote:

> I've noticed that when I put Xerces in validating mode, it does not 
> call my registered SAX ErrorHandler. Instead it throws a fatal 
> ParseException. The same program runs fine when I use Crimson instead. 
> Is this a known problem?


Which version of xerces are you using . I am able to get calls to my 
registered error handler. Please send a  sample program
that  reproduces  your problem  to the xerces-j-user alias .

Regards
Venu

>
> Also, in a perhaps related issue, when I feed Xerces a namespace 
> malformed document (while not validating) it not only throws a 
> ParseException (which I want it to do) it prints a message on 
> System.err, which I don't want it to do. Is there any chance of 
> getting this fixed? I want control over error messages from my own 
> program. I do not want the a library printing *anything* on System.err 
> unless I tell it to. Again, is this a known issue?
>
> I've tried hunting through Bugzilla for this, and got Zarro boogs but 
> Bugzilla query seems seriously broken. since it almost always returns 
> zero bugs. Neither problem appears in the complete SAX bugs list as 
> far as I can see.
>
>
> -- 
> Elliotte
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org

Mime
View raw message