Problem with inspect:xqdoc() in BaseX 11

Tuesday, 25 June 2024 · 3 messages · last reply 1 Jul 2024
CA
Clark, Ash25 Jun 2024 17:07 #
Hi! I'm working on an upgrade to BaseX 11 — which I love already, kudos to the team! Unfortunately, I found that my self-documenting API isn't working anymore. The function inspect:xqdoc() returns only numbers as the content of <xqdoc:description>. Here's an XQuery snippet that should reproduce the problem:
inspect:xqdoc('https://raw.githubusercontent.com/NEU-DSG/tapas-xq/develop/modules/tapas-api.xql')//*:description
Is this a bug? Warmly, Ash Clark
CG
Christian Grün1 Jul 2024 08:46 #
Hi Ash, Thanks for the observation. This was a bug indeed, which is now fixed [1]. Best, Christian [1] https://files.basex.org/releases/latest/
Quoted text · Ash · 20 lines
On Tue, Jun 25, 2024 at 5:07 PM Clark, Ash <as.clark at northeastern.edu> wrote: > Hi! > > I'm working on an upgrade to BaseX 11 — which I love already, kudos to the > team! Unfortunately, I found that my self-documenting API isn't working > anymore. The function inspect:xqdoc() returns only numbers as the content > of <xqdoc:description>. > > Here's an XQuery snippet that should reproduce the problem: > > inspect:xqdoc(' > https://raw.githubusercontent.com/NEU-DSG/tapas-xq/develop/modules/tapas-api.xql')//*:description > > Is this a bug? > > Warmly, > Ash Clark > >
CA
Clark, Ash1 Jul 2024 16:57 #
It works great! Thank you so much, Christian! Warmly, Ash
Quoted text · Christian Grün · 18 lines
From: Christian Grün <christian.gruen at gmail.com> Sent: Monday, July 1, 2024 2:46 AM To: Clark, Ash <as.clark at northeastern.edu> Cc: BaseX <basex-talk at mailman.uni-konstanz.de> Subject: Re: [basex-talk] Problem with inspect:xqdoc() in BaseX 11 Hi Ash, Thanks for the observation. This was a bug indeed, which is now fixed [1]. Best, Christian [1] https://files.basex.org/releases/latest/ On Tue, Jun 25, 2024 at 5:07 PM Clark, Ash <as.clark at northeastern.edu<mailto:as.clark at northeastern.edu>> wrote: Hi! I'm working on an upgrade to BaseX 11 — which I love already, kudos to the team! Unfortunately, I found that my self-documenting API isn't working anymore. The function inspect:xqdoc() returns only numbers as the content of <xqdoc:description>. Here's an XQuery snippet that should reproduce the problem: inspect:xqdoc('https://raw.githubusercontent.com/NEU-DSG/tapas-xq/develop/modules/tapas-api.xql')//*:description Is this a bug? Warmly, Ash Clark

⚡Generated with XQuery