http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2353 *** shadow/2353 Wed Jun 27 06:36:12 2001 --- shadow/2353.tmp.5541 Wed Jun 27 09:46:09 2001 *************** *** 7,13 **** | Severity: Normal OS/Version: Windows NT/2K | | Priority: Other Component: Validating Parser (Sche | +----------------------------------------------------------------------------+ ! | Assigned To: [EMAIL PROTECTED] | | Reported By: [EMAIL PROTECTED] | | CC list: Cc: | +----------------------------------------------------------------------------+ --- 7,13 ---- | Severity: Normal OS/Version: Windows NT/2K | | Priority: Other Component: Validating Parser (Sche | +----------------------------------------------------------------------------+ ! | Assigned To: [EMAIL PROTECTED] | | Reported By: [EMAIL PROTECTED] | | CC list: Cc: | +----------------------------------------------------------------------------+ *************** *** 23,25 **** --- 23,44 ---- Thanks, Tamar Admon + + ------- 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 \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
