Hi!

To bad, Digester seems to be a good idea
but this bug is making it impossible for me to
use it. All I need is someone to take the final-
declaration away, then I could inherit Digester
and override the methods I want.

Is there any plan on doing that change soon?

Erik

>-----Original Message-----
>From: "Deadman, Hal" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: RE: Digester parser error to another output.
>
>I submitted a bug report about this issue on Friday.
You can add your
>comments or vote for it. It's bug #1166. 
>
>http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1166
>
>Hal
>
>> -----Original Message-----
>> From: Noel Sebastien
[mailto:[EMAIL PROTECTED]]
>> Sent: Monday, April 02, 2001 11:01 AM
>> To: '[EMAIL PROTECTED]'
>> Subject: Digester parser error to another output.
>> 
>> 
>> Hi,
>> 
>> I use Digester, and I would like to send output
error 
>> elsewhere than to
>> System.out...
>> Second, Digester does not propagate parsing error
(in my 
>> case, I would like
>> to get an Exception when a String is written as an
attribute 
>> value where I
>> am waiting a integer).
>> Dealing with the same problems, somebody else wrote
the 
>> following message. I
>> found it in the Archive of the mailing list, but I
can't find 
>> any related
>> solutions, whereas it is a common problem.
>> Has anybody got a clue on how to solve these
issues?
>> 
>> Thank you in advance.
>> 
>> S�bastien
>> 
>> Archive mail : -------------------------------
>> 
>> Digester seems to be a pretty nice package for
translating XML into
>> java-objects. I have a question about the error
handling though.
>> 
>> It appears that the Digester doesn't propagate some
parsing errors,
>> e.g when a required element is missning. It only
logs it to stdout.
>> 
>> I haven't found any way to get notification of
those errors.
>> I want to make sure that the XML I have parsed, is
validate before I
>> use the parsed information.
>> Also, I don't want all the parsing errors to be
written to 
>> stdout, because
>> I want to take care of the errors and maybe write
to other logs
>> (and perhaps in other formats) than to stdout.
>> Since Digester is declared final one cannot
subclass it and override
>> the log-methods(or the error-, warning- and
fatalError-methods).
>> 
>> 
>> 
>> 
>> ---------------------
>> 
>> Un courrier �lectronique n'engage pas son �metteur.
Tout 
>> message susceptible de comporter un engagement doit
�tre 
>> confirm� par un �crit d�ment sign�.
>> 
>> An electronic message is not binding on its sender.
Any 
>> message referring to a binding engagement must be
confirmed 
>> in writing and duly signed.
>> 
>> Ein elektronischer Brief bzw. eine elektronische
Nachricht 
>> ist f�r den Absender nicht verbindlich. Jede
Nachricht,  
>> welche eine Verpflichtung beinhaltet, mu�
schriftlich 
>> best�tigt und ordnungsgem�� unterzeichnet werden.
>> 
>> ---------------------
>> 
>> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Reply via email to