[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Issues with xs:error in the XPath 3.0 and XDM 3.0 Recommendations.


Subject: Re: [xsl] Issues with xs:error in the XPath 3.0 and XDM 3.0 Recommendations.
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Sat, 19 Apr 2014 15:55:35 -0700

On Sat, Apr 19, 2014 at 3:45 PM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> By way of background to this, it was realised at a fairly late stage that if all built-in types from XSD 1.1
> were to be supported in XPath 3.0, then this included xs:error and t would be a good idea
> to say something about how xs:error should behave; the only alternative was to specifically exclude it.
> Everything the specs say about xs:error is a consequence of the fact that (a) xs:error is a built-in type,
> and (b) it is defined as a union type with no member types. There is no special treatment of xs:error,
> merely explanations of the consequences of its existence and the way it is defined.

Thank you, Michael,

Is it then a logical conclusion to try to avoid (never use) the
xs:error type in XPath?


Cheers,
Dimitre Novatchev


Current Thread
Keywords