Bug #4915
closedNestedIntegerValue is only partially implemented
100%
Description
The type saxon:nestedIntegerValue is partially implemented. It validates values of the form 123.45.00.1. It was implemented to meet a practical need and as an experiment in schema extensibility, but it is not well tested and supported. For example, there is no alpha code allocated, and there are plenty of places in the code that assume the 19 built-in primitive types of XSD, even though the XSD specification permits extensions.
Updated by Michael Kay about 3 years ago
The class is used internally to represent version numbers and import precedence values; it's intrinsically useful, but extending it to work fully as a primitive atomic type is significant effort (especially in testing). I'm wondering whether it would be better represented as a custom list type: list of xs:integer, with the saxon:separator facet set to "."?
Updated by Michael Kay about 2 years ago
- Status changed from New to Resolved
- Fix Committed on Branch 11, trunk added
I have modified the class (on the 11,x branch) so that NestedIntegerValue
no longer extends AtomicValue
, in fact it is no longer an XDM value, just an ordinary Java object.
Updated by Debbie Lockett about 2 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 11.2 added
Bug fix applied in the Saxon 11.2 maintenance release.
Please register to edit this issue