NestedIntegerValue is only partially implemented
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 1 year 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 5 months 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.
Please register to edit this issue