Project

Profile

Help

Bug #2417

closed

Failure if a type contains both an enumeration and a restriction

Added by Michael Kay almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Schema conformance
Sprint/Milestone:
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:

http://stackoverflow.com/questions/27307880/xml-schema-union-ignore-whitespace-property/27314369#comment50842930_27314369

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.

Please register to edit this issue

Also available in: Atom PDF