xsl-list
[Top] [All Lists]

Re: [xsl] Pure Union Type

2014-05-04 15:35:42

On 4 May 2014, at 18:05, Dimitre Novatchev dnovatchev(_at_)gmail(_dot_)com 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

On Sun, May 4, 2014 at 6:32 AM, Michael Kay mike(_at_)saxonica(_dot_)com
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>