Project

Profile

Help

Bug #3228

closed

XML validation problem no longer reported

Added by Radu Coravu almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2017-05-19
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

I attached some sample documents. Transforming using Saxon EE the XML with the XSLT used to issue this error on the error listener with Saxon 9.6:

XTTE1515: The content \"xxx1-56592-235-2\" of element <ISBN> does not match the required simple type. Value \"xxx1-56592-235-2\" contravenes the pattern facet  "\"\\d{1}-\\d{5}-\\d{3}-\\d{1}|\\d{1}-...\" of the type ISBN-type

with Saxon 9.7 (and error listener set in the same way) we get:

XTTE1515: One or more validation errors were reported

but without the actual validation error being received on the error listener.

Should we register a special type of error listener for such cases?

I see that on the method ValidatingFilter.reportValidationError at some point you were delegating directly to the error handler, was this changed sometime between 9.6 and 9.7?


Files

sourceValidation.zip (1.42 KB) sourceValidation.zip Radu Coravu, 2017-05-19 13:34

Please register to edit this issue

Also available in: Atom PDF