Hi,
As far as I can remember when using early versions from my client-software, the main difference in output after sending \04 or \1F to the database, was that in the latter case the output was preceded with XDM Meta data.
# Full query_txt <- "for $i in 1 to 2 return <xml>Text { $i }</xml>" query_obj <- Query(Session, query_txt) result <- Full(query_obj)
resulted in: "0b" "<xml>Text 1</xml>" "0b" "<xml>Text 2</xml>"
# Iterate over query query2 <- "for $i in 3 to 4 return <xml>Iter { $i }</xml>" query_iterate <- Query(Session, query2) # <== Alternative call to query-object while (More(query_iterate)) { cat(Next(query_iterate), "\n") }
resulted in: <xml>Iter 3</xml> <xml>Iter 4</xml>
Now, iterating over the same query gives: 0b <xml>Iter 3</xml> 0b <xml>Iter 4</xml>
Did something change in the client/server protocol or did I introduce an error somewhere?
Ben