Issue with function namespaces in BaseX v12.3?
Hi, BaseX team. I tried to use BaseX 12.3 with XSpec to test Schematron schemas with Andrew Sales's XQS implementation. I ran into an error. [XPST0017] Unknown function: true (similar: fn:true). I am not sure if the underlying issue is coming from BaseX or XQS or both. I simplified the query that reproduces the error, but the query still relies on XQS. I briefly tried to reproduce the problem without XQS but haven't been successful yet. Reproduction steps are in the GitHub issue that I created in the XQS repo. Does it ring a bell with any BaseX experts? https://github.com/AndrewSales/XQS/issues/87 Thanks, Amanda
Hi again, I found a much simpler way to reproduce the error, without XQS: xquery version "3.1"; element { 'elementname' } { attribute { QName('', 'attrname') } { 'attrval' } , xquery:eval('true()') } Thanks, Amanda On Thursday, April 16th, 2026 at 12:51 PM, Amanda Galtman via BaseX-Talk <basex-talk@mailman.uni-konstanz.de> wrote:
Hi, BaseX team.
I tried to use BaseX 12.3 with XSpec to test Schematron schemas with Andrew Sales's XQS implementation. I ran into an error.
[XPST0017] Unknown function: true (similar: fn:true).
I am not sure if the underlying issue is coming from BaseX or XQS or both. I simplified the query that reproduces the error, but the query still relies on XQS. I briefly tried to reproduce the problem without XQS but haven't been successful yet.
Reproduction steps are in the GitHub issue that I created in the XQS repo. Does it ring a bell with any BaseX experts? https://github.com/AndrewSales/XQS/issues/87
Thanks, Amanda
Thanks, Amanda, I have created an issue for this one [1]; we’ll track it down soon. Best, Christian [1] https://github.com/BaseXdb/basex/issues/2640 ________________________________________ Von: Amanda Galtman via BaseX-Talk <basex-talk@mailman.uni-konstanz.de> Gesendet: Donnerstag, 16. April 2026 19:24 An: Amanda Galtman Cc: basex-talk@mailman.uni-konstanz.de Betreff: [basex-talk] Re: Issue with function namespaces in BaseX v12.3? Hi again, I found a much simpler way to reproduce the error, without XQS: xquery version "3.1"; element { 'elementname' } { attribute { QName('', 'attrname') } { 'attrval' } , xquery:eval('true()') } Thanks, Amanda On Thursday, April 16th, 2026 at 12:51 PM, Amanda Galtman via BaseX-Talk <basex-talk@mailman.uni-konstanz.de> wrote: Hi, BaseX team. I tried to use BaseX 12.3 with XSpec to test Schematron schemas with Andrew Sales's XQS implementation. I ran into an error. [XPST0017] Unknown function: true (similar: fn:true). I am not sure if the underlying issue is coming from BaseX or XQS or both. I simplified the query that reproduces the error, but the query still relies on XQS. I briefly tried to reproduce the problem without XQS but haven't been successful yet. Reproduction steps are in the GitHub issue that I created in the XQS repo. Does it ring a bell with any BaseX experts? https://github.com/AndrewSales/XQS/issues/87 Thanks, Amanda
Thanks, Christian! I'll keep an eye on it there. Best, Amanda On Thursday, April 16th, 2026 at 1:29 PM, Christian Grün <cg@basex.org> wrote:
Thanks, Amanda,
I have created an issue for this one [1]; we’ll track it down soon.
Best, Christian
[1] https://github.com/BaseXdb/basex/issues/2640 ________________________________________
Von: Amanda Galtman via BaseX-Talk <basex-talk@mailman.uni-konstanz.de> Gesendet: Donnerstag, 16. April 2026 19:24 An: Amanda Galtman Cc: basex-talk@mailman.uni-konstanz.de Betreff: [basex-talk] Re: Issue with function namespaces in BaseX v12.3?
Hi again,
I found a much simpler way to reproduce the error, without XQS:
xquery version "3.1"; element { 'elementname' } { attribute { QName('', 'attrname') } { 'attrval' } , xquery:eval('true()') }
Thanks, Amanda
On Thursday, April 16th, 2026 at 12:51 PM, Amanda Galtman via BaseX-Talk <basex-talk@mailman.uni-konstanz.de> wrote: Hi, BaseX team.
I tried to use BaseX 12.3 with XSpec to test Schematron schemas with Andrew Sales's XQS implementation. I ran into an error.
[XPST0017] Unknown function: true (similar: fn:true).
I am not sure if the underlying issue is coming from BaseX or XQS or both. I simplified the query that reproduces the error, but the query still relies on XQS. I briefly tried to reproduce the problem without XQS but haven't been successful yet.
Reproduction steps are in the GitHub issue that I created in the XQS repo. Does it ring a bell with any BaseX experts? https://github.com/AndrewSales/XQS/issues/87
Thanks, Amanda
participants (2)
-
Amanda Galtman -
Christian Grün