Re: [basex-talk] Fwd: Re: using apply-function within an updating function

2017-08-29 Thread Rob Stapper
Hi Michael and Marco, Thanx for the feedback. @Marco, setting MIXUPDATES is an efficient work around for suppressing the error message but the cost is that you lose the updating-checks completely. Updating-checks are very useful. @Michael, I'll dive into the XQUF 3.0. Sounds interesting. Fact

Re: [basex-talk] Best practice for storing timestamp information in XML

2017-08-29 Thread Kendall Shaw
Oops. I didn’t mean to click send. string(xs:time("00:00:00.000") + xs:dayTimeDuration("PT999.S")) is: 17:46:39. So, if an element contained microseconds, you could do arithmetic with the values and use something like above to format the result. let $ms := 999

Re: [basex-talk] Best practice for storing timestamp information in XML

2017-08-29 Thread Kendall Shaw
I assume these are durations, but I’m not sure if the clock start date is relevant. If you can assume it’s not going to span days, my first thought was something like: string(xs:time("00:00:00.000") + xs:dayTimeDuration("PT0.0001S")) which produces: 00:00:00.0001 The duration is being express

[basex-talk] Best practice for storing timestamp information in XML

2017-08-29 Thread Dave Day
    Greetings List,     I've got an 8 byte value that is the output of a Store Clock instruction on a mainframe.  The value created by the instruction is a 64 bit hex value where  bit 51 is equal to one microsecond. To get a value that is microseconds, the original clock value is shifted to th

Re: [basex-talk] Fwd: Re: using apply-function within an updating function

2017-08-29 Thread Michael Seiferle
Hi Rob, hi Marco, First: sorry for not coming back to you earlier. Glad it worked using mixupdates, but I think there might be a way to make it work using the new XQUF 3.0 "invoke updating" capabilities :-) Christian is currently on holiday, I am sure he will report back on this. Best from

Re: [basex-talk] Fwd: Re: using apply-function within an updating function

2017-08-29 Thread Marco Lettere
Hi Rob, I suppose that if you add MIXUPDATES=true below #LOCAL OPTIONS in the .basex file that you will find in your basex install directory and restart your GUI, the error will not show up any longer in the GUI itself. Regards, Marco. On 29/08/2017 15:07, r.stap...@lijbrandt.nl wrote: Hi Mic

Re: [basex-talk] Old dog trying to learn some new tricks.

2017-08-29 Thread Alexander Holupirek
> On 28. Aug 2017, at 23:02, Dave Day wrote: > > Greetings BaseX list, > > I've got some very basic questions I was hoping I could get the answers > to on this list. Questions really break down into two categories. My > background is strictly on IBM mainframes, so please bear with me. >

[basex-talk] Fwd: Re: using apply-function within an updating function

2017-08-29 Thread r . stapper
Hi Michael, Though the GUI still gives an error onth the use of the apply-function within an updating function, my webservices do work correctly. Just added the MIXUPDATES-option in the web.xml file. Best Rob. Oorspronkelijke bericht Onderwerp: Re: [basex-talk] using apply-