--------------
Dean Roddey
Software Geek
Extraordinaire
Portal, Inc
[EMAIL PROTECTED]
-----Original Message-----Currently, all validation errors are considered fatal errors, and the parser will exit after the first broken validation constratint. Guys, I would like to know your opinion on making validation constraint violation just errors, and modify the XMLValidator to throw only when fatal errors are encountered.
From: Khaled Noaman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 11:58 AM
To: [EMAIL PROTECTED]
Subject: Re: Error vs FatalErrorRegards
Khaled Noaman
XML Parsers - IBM Toronto Lab
[EMAIL PROTECTED]
Alfredo Munoz wrote:
The xerces behaviour - at least it?s worked in this way for me - is that a
broken validation
constraint IS reported and resolved by the error() Handler interface method,
BUT if you Do nothing in the error() Handler then the parser EXIT.If you want the parser to continue AFTER a broken validation constraint is
found out, you should "setExitOnFirstFatalError" to true, prior the
beginning of the parsing call. You can then catch the error in the error()
Handler method, report it to a lOG or whatever you want and rest sure
because the parser will still parse the document. it is a rare behaviour
because I expected that a "error" which is NOT "fatal" did not finish the
parsing.Alfredo
-----Original Message-----
From: Alexey Miroshnichenko [mailto:[EMAIL PROTECTED]]
Sent: Jueves, 19 de Abril de 2001 07:59 a.m.
To: [EMAIL PROTECTED]
Subject: Error vs FatalErrorHello All,
Can anyone answer for follow questions.
What is the error? And What is Eatal Error? When we about parsing.
Why parser do fatal error when it meets validation error?I had never get error from parser. Only fatal one.
So, what's the difference?Thanks before
--
Best regards,
Alexey mailto:[EMAIL PROTECTED]---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
