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>{count(.)}</count>
-Tamara
On Wed, Mar 16, 2022 at 10:40 AM Patrick Durusau patrick@durusau.net wrote:
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
-- Patrick Durusau patrick@durusau.net Technical Advisory Board, OASIS (TAB) Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300 Co-Editor, ISO/IEC 13250-1, 13250-5 (Topic Maps)
Another Word For It (blog): http://tm.durusau.net Homepage: http://www.durusau.net Twitter: patrickDurusau