Actions
Bug #2417
closedFailure if a type contains both an enumeration and a restriction
Start date:
2015-07-16
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:
Description
Reported here:
in XSD, given a xs:simpleType defined using xs:restriction, Saxon fails if the xs:restriction node contains both an xs:assertion and a xs:enumeration. It fails trying to validate the enumeration facet against the assertion giving the following error: Validation context required. In order to reproduce this error you can add this element to an XML Schema: . Please confirm bug.
Updated by Michael Kay over 9 years ago
- Status changed from New to Resolved
Fixed by not checking the enumeration values against the assertion (it's only done to generate a warning).
Patch committed for 9.6 and 9.7.
Updated by O'Neil Delpratt over 9 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 9.6.0.7
Bug fix applied in the Saxon 9.6.0.7 maintenance release.
Updated by O'Neil Delpratt almost 9 years ago
- Applies to branch 9.6 added
- Fix Committed on Branch 9.6 added
- Fixed in Maintenance Release 9.6.0.7 added
Please register to edit this issue
Actions