XPST0003 for decimal formats without any properties
RDReece Dunn1 Jul 2018 20:43 # Hi All,
Given the query:
declare decimal-format test;
()
BaseX 9.0 reports:
Error:
Stopped at basex-9.0/file, 1/28:
[XPST0003] Decimal-format property '' is invalid.
This is a valid XQuery 3.1 file, as
https://www.w3.org/TR/xquery-31/#doc-xquery31-DecimalFormatDecl denotes the property production as "*", not "+".
Kind regards,
Reece
CGChristian Grün2 Jul 2018 14:23 # Quoted text · Reece Dunn · 19 lines
On Sun, Jul 1, 2018 at 8:43 PM Reece Dunn <msclrhd at googlemail.com> wrote:
>
> Hi All,
>
> Given the query:
>
> declare decimal-format test;
> ()
>
> BaseX 9.0 reports:
>
> Error:
> Stopped at basex-9.0/file, 1/28:
> [XPST0003] Decimal-format property '' is invalid.
>
> This is a valid XQuery 3.1 file, as https://www.w3.org/TR/xquery-31/#doc-xquery31-DecimalFormatDecl denotes the property production as "*", not "+".
>
> Kind regards,
> Reece
⚡Generated with XQuery