XSD 1.1 support? Unknown function: xs:dateTimeStamp
Monday, 13 November 2017 · 2 messages · last reply 14 Nov 2017
CG
Hi Bridger,
right now, BaseX is based on XSD 1.0. We might upgrade to 1.1 in the future if there is enough interest in the community.
Cheers,
Christian
Quoted text · Bridger Dyson-Smith · 18 lines
On Mon, Nov 13, 2017 at 11:10 PM, Bridger Dyson-Smith <bdysonsmith at gmail.com> wrote: > Hi Christian, et al, > > I was wondering if I'm seeing a bug or an oversight on my part. I was trying > to type a $date as xs:dateTimeStamp but getting an error using the BaseX > GUI, v8.6.7. > > let $date := '2017-12-15T23:45:00-5:00' > return > xs:dateTimeStamp($date) > > I've read in Walmsley's that XSD v1.1 data type support is required for > xs:dateTimeStamp. Is this a bug or maybe user/operator error? > > Many thanks. > Best, > Bridger
BD
Bridger Dyson-Smith14 Nov 2017 00:10 #
Hi Christian, et al,
I was wondering if I'm seeing a bug or an oversight on my part. I was trying to type a $date as xs:dateTimeStamp but getting an error using the BaseX GUI, v8.6.7.
let $date := '2017-12-15T23:45:00-5:00'
return
xs:dateTimeStamp($date)I've read in Walmsley's that XSD v1.1 data type support is required for xs:dateTimeStamp. Is this a bug or maybe user/operator error?
Many thanks.
Best,
Bridger
Written for BaseX 8.6. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery