Thanks,

I will patch up my code for the time being.

Tamar


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 7:46 PM
To: [EMAIL PROTECTED]
Subject: [Bug 2353] - Validating Parser parses after validation failed


http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2353

[EMAIL PROTECTED] changed:

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
         AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]



------- Additional Comments From [EMAIL PROTECTED]  2001-06-27 09:46
-------
Hi Tamar,

According to the XML Standard, violations of validity constraints are errors
and 
violations of well-formedness constraints are fatal errors.   The parser can

recover from errors, but must exit normal processing with fatal errors.
Thus 
in Xerces 1.5, the parser recovers and continue processing after
encountering a 
validation error (schema errors).

In Xerces 1.5, we have added a 'setValidationContraintFatal' method to the 
SAXParser and DOMParser to allow users to set validation errors as fatal
errors 
and hence the parser will exit on the first encounter. I will add that
method to 
the SAX2XMLReader, and if you would like to parser to exit when validating
then 
you need to pass true to that method before calling the parse function. I
will 
inform you when the changes are in place.

Regards,
Khaled

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

Reply via email to