Page 1 of 1

viewing maps and arrays in query results window

Posted: Wed May 10, 2023 6:33 pm
by bernardusgui
I use oXygen (24) to connect to eXist-db (6.1) - I run Xqueries that return nodes, strings, maps, arrays. The first two result types show fine in the results sequence window. But maps and arrays are always blank. That is, the sequence numbering is present and correct, but the sequence content is blank for map or array item in the sequence. Is there a configuration I'm missing to shows these results properly? As it goes I have to serialize the map or array to see it (as a JSON string), which is a hassle.

Many thanks in advance.

Re: viewing maps and arrays in query results window

Posted: Fri May 12, 2023 12:57 pm
by Radu
Hi,

I can reproduce the problem by having a very small xquery file like this:

Code: Select all

map { 'prop1' : 'value 1', 'prop2' : 'value 2' }
and I added an internal issue on our side.
I also added an internal issue on the Exist DB project as I think that the APIs we are using to obtain the result does not give us the proper data in this case:
https://github.com/eXist-db/exist/issues/4919
Regards,
Radu