Re: [basex-talk] XML Parsing Error: syntax error, Location: http://localhost:8984/rest/oshb?query=count(.), Line Number 1, Column 1:

2022-03-16 Thread Patrick Durusau
Ah! The perfect assist! Thanks! Patrick On 3/16/22 18:01, Tamara Marnell wrote: Hi Patrick, I believe you're seeing a syntax error because the REST server is returning an XML document that isn't XML, but only the integer. If you wrap your results in a root node, that error should go

Re: [basex-talk] XML Parsing Error: syntax error, Location: http://localhost:8984/rest/oshb?query=count(.), Line Number 1, Column 1:

2022-03-16 Thread Tamara Marnell
Hi Patrick, I believe you're seeing a syntax error because the REST server is returning an XML document that isn't XML, but only the integer. If you wrap your results in a root node, that error should go away: ?query={count(.)} -Tamara On Wed, Mar 16, 2022 at 10:40 AM Patrick Durusau wrote: >

[basex-talk] XML Parsing Error: syntax error, Location: http://localhost:8984/rest/oshb?query=count(.), Line Number 1, Column 1:

2022-03-16 Thread Patrick Durusau
Greetings! What puzzles is the correct count is returned, despite the error message, with the cursor under the first digit. Looking in the response, it appears that "favicon.ico" is missing and I suspect is the cause of the error. But I wanted to confirm that assumption. Thanks! Patrick