Re: [basex-talk] current-dateTime() function precision

2022-09-09 Thread ykhabins
Hi Vincent, Thanks. I am all set. Regards, Yitzhak Khabinsky From: Lizzi, Vincent Sent: Friday, September 9, 2022 1:55 PM To: ykhab...@bellsouth.net; 'BaseX' Subject: RE: [basex-talk] current-dateTime() function precision Hi Yitzhak The adjust-dateTime-to-timezone function

Re: [basex-talk] current-dateTime() function precision

2022-09-09 Thread Lizzi, Vincent
andfrancis.com<mailto:vincent.li...@taylorandfrancis.com> Information Classification: General From: ykhab...@bellsouth.net Sent: Friday, September 9, 2022 1:46 PM To: Lizzi, Vincent ; 'BaseX' Subject: RE: [basex-talk] current-dateTime() function precision Hi Vincent and Martin, Thanks for th

Re: [basex-talk] current-dateTime() function precision

2022-09-09 Thread Martin Honnen
On 9/9/2022 7:46 PM, ykhab...@bellsouth.net wrote: Hi Vincent and Martin, Thanks for the clarification. I switched to using the Profiling module. let $before_datetime := convert:integer-to-dateTime(prof:current-ms()) (: current-dateTime() :) And it is working well.

Re: [basex-talk] current-dateTime() function precision

2022-09-09 Thread ykhabins
sification: General From: BaseX-Talk mailto:basex-talk-boun...@mailman.uni-konstanz.de> > On Behalf Of ykhab...@bellsouth.net <mailto:ykhab...@bellsouth.net> Sent: Friday, September 9, 2022 11:55 AM To: 'BaseX' mailto:basex-talk@mailman.uni-konstanz.de> > Subject: [basex-talk]

Re: [basex-talk] current-dateTime() function precision

2022-09-09 Thread Lizzi, Vincent
h.net Sent: Friday, September 9, 2022 11:55 AM To: 'BaseX' Subject: [basex-talk] current-dateTime() function precision Hello, I am using BaseX v.10.1 It seems that the current-dateTime() function precision is off. I am validating an XML file against an XSD 1.1 file via Xerces 2.12.2 validator.

Re: [basex-talk] current-dateTime() function precision

2022-09-09 Thread Martin Honnen
Am 9/9/2022 um 6:03 PM schrieb Martin Honnen: I think, due to the functional/declarative language that is XQuery, the static context defines that current-dateTime() doesn't change during the execution of a single query, it is part of the static context. It is defined in the dynamic context:

Re: [basex-talk] current-dateTime() function precision

2022-09-09 Thread Martin Honnen
Am 9/9/2022 um 6:03 PM schrieb Martin Honnen: Am 9/9/2022 um 5:55 PM schrieb ykhab...@bellsouth.net: Hello, I am using BaseX v.10.1 It seems that the current-dateTime() function precision is off. I am validating an XML file against an XSD 1.1 file via Xerces 2.12.2 validator. And trying

Re: [basex-talk] current-dateTime() function precision

2022-09-09 Thread Martin Honnen
Am 9/9/2022 um 5:55 PM schrieb ykhab...@bellsouth.net: Hello, I am using BaseX v.10.1 It seems that the current-dateTime() function precision is off. I am validating an XML file against an XSD 1.1 file via Xerces 2.12.2 validator. And trying to measure a timing of it. Here is my code.

[basex-talk] current-dateTime() function precision

2022-09-09 Thread ykhabins
Hello, I am using BaseX v.10.1 It seems that the current-dateTime() function precision is off. I am validating an XML file against an XSD 1.1 file via Xerces 2.12.2 validator. And trying to measure a timing of it. Here is my code. xquery version "4.0"; let $xml :=