Hi Christian,
According to the server protocol, when first sending \04 to the server, the resulting items from the query are returned as strings, prefixed by a single byte. With my RBaseX-package, the result from "for $i in 1 to 2 return <xml>Text { $i }</xml>" is "0b" "<xml>Text 1</xml>" "0b" "<xml>Text 2</xml>"
When sending \1F the strings should be prefixed by the XDM metadata.
In my case however, the output is the samen as with \04.
Is it possible to get the same output for querys in the basexgui so that I can see which output should be expected?
This is the last remaining problem in my package. If I can resolve it, I can upload a new version.
Cheers, Ben
Op 12-02-2020 om 10:23 schreef Ben Engbers:
While reading the online-documentation, I saw that there was a internal link to http://www.docs.basex.org/wiki/Server_Protocol:_Types#XDM_Meta_Data in which was described that in most case, the XDM meta data is nothing else than the Type ID.
So my code is giving the expected results.
Ben
Glad to hear!
On Thu, Feb 13, 2020 at 3:31 PM Ben Engbers Ben.Engbers@be-logical.nl wrote:
Op 12-02-2020 om 10:23 schreef Ben Engbers:
While reading the online-documentation, I saw that there was a internal link to http://www.docs.basex.org/wiki/Server_Protocol:_Types#XDM_Meta_Data in which was described that in most case, the XDM meta data is nothing else than the Type ID.
So my code is giving the expected results.
Ben
basex-talk@mailman.uni-konstanz.de