On 4 May 2014, at 18:05, Dimitre Novatchev dnovatchev@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Sun, May 4, 2014 at 6:32 AM, Michael Kay mike@xxxxxxxxxxxx
> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>> But for some reason XSD doesn't allow this; it has to be
>>
>> <xs:union memberTypes="xs:decimal xs:integer xs:float
xs:double"/>
>>
>> This should now work,
>
> Perhaps it is time for a standard XPath type named xs:numeric ?
>
You might like to add your comments to
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25444 (Replace pseudo-type
"numeric" with a union type)
Michael Kay
Saxonica
|