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

xs:numeric - Wrong Re: [xsl] Type of a variable containing values of mixed types


Subject: xs:numeric - Wrong Re: [xsl] Type of a variable containing values of mixed types
From: "Justin Johansson procode@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Apr 2015 13:50:53 -0000

Thanks Dimitre.

Sorry since I haven't sent to XSL List for quite some time I just replied to an XSL List email to I received and forgot to change the subject line (and last you communicated with me directly say some 10 years ago).

Anyway, I quoted the 3.0 spec as this is the first-in-time diagrammatic handle that I could find on xs:numeric. I am actually working with the 3.1 spec and my question still remains as to why xs:numeric is treated somehow differently to xs:anyAtomicType as to its "unionicity".

Justin Johansson


On 14/04/15 23:08, Dimitre Novatchev dnovatchev@xxxxxxxxx wrote:
On Tue, Apr 14, 2015 at 6:24 AM, Justin Johansson procode@xxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
I think this came about in XPath DM 3.0 regarding xs:numeric as per spec
ref:

http://www.w3.org/TR/xpath-datamodel-3/#types-hierarchy


This is a standard type only in XPath 3.1 -- not in XPath 3.0.

It is an open question whether or not an XSLT 3.0 processor is obliged
to implement XPath 3.1 or not.


Maybe there will be XSLT 3.1 to incorporate that?




Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all
------------------------------------
Quality means doing it right when no one is looking.
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
-------------------------------------
To achieve the impossible dream, try going to sleep.
-------------------------------------
Facts do not cease to exist because they are ignored.
-------------------------------------
Typing monkeys will write all Shakespeare's works in 200yrs.Will they
write all patents, too? :)
-------------------------------------
I finally figured out the only reason to be alive is to enjoy it.


Current Thread
Keywords