XPST0003 for decimal formats without any properties

Sunday, 1 July 2018 · 2 messages · last reply 2 Jul 2018
RD
Reece 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
CG
Christian Grün2 Jul 2018 14:23 #
Fixed [1]; looks as if a former restriction was loosened. Thanks, Christian [1] https://github.com/BaseXdb/basex/commit/ebe0b276d38962b060208e8f55efad53e71a8175
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