[Home] [By Thread] [By Date] [Recent Entries]
On 03/10/2011 11:40, Andrew Welch wrote:
More empty sequence 'fun':() is not a type, so it does not have a base type. A sequence in itself does not carry a type label; only items carry type information. A sequence is tested against a sequence type by comparing the items in the sequence against the item type, and the length of the sequence against the cardinality. It's convenient to think of empty-sequence() as being a SequenceType whose item type is item() and whose cardinality is "exactly zero". That diagram (which I hate) actually shows two type hierarchies: the hierarchy of XDM item types (rooted at item()), and the hierarchy of XSD schema types (rooted at xs:anyType). It doesn't show SequenceTypes. Michael Kay Saxonica
|

Cart



