Re: [Monetdb-developers] different presentation of XQuery results in mapiclient and jdbcclient
On 06-09-2006 18:31:04 +0200, Ying Zhang wrote:
Yes it is inconsistent, if you consider the two clients to be made for the same purpose. While MapiClient has (had) some different output mode, JdbcClient has only two, one being tabular aligned result, such as the MySQL and PostgreSQL consoles produce. The other is XML output as described in the SQL/XML standards paper: it implements the way to transform a tabular result into an XML structure. I thought that an xquery user would simply like XML output over tabular output, hence you get this fancy XML structure. However, what you see is the representation of a tabular result; exactly what JDBC was designed for, and exactly what JDBC v4.x is going to do with SQL/XML: put it in strings in SQL-ish tabular structures. The only thing that suprises me is the "<example>", but as I'm far from an XML serialisation expert, the answer whether that is correct behaviour is up to Wouter or Jan R.
participants (1)
-
Fabian Groffen