Re: [xsl] difference between an integer and current-dateTime()

Subject: Re: [xsl] difference between an integer and current-dateTime()
From: "Mukul Gandhi gandhi.mukul@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 2 Apr 2020 12:06:07 -0000
On Thu, Apr 2, 2020 at 3:32 PM Martin Honnen martin.honnen@xxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> Do you consider 2.5 an unsigned integer? It is not.
>

The following, results in an error,

<xsl:variable name="dt1" select="xs:dayTimeDuration('PT5H')"/>
<xsl:value-of select="$dt1 div xs:dayTimeDuration('PT2.5H')"/>

2.5 needs to conform to the pattern |[0-9]+|  (i.e it cannot have a decimal
point). There seems to be some non conformance.




-- 
Regards,
Mukul Gandhi

Current Thread