types & encoding when talking to BaseX server

Wednesday, 10 November 2010 · 1 message
GB
Godmar Back10 Nov 2010 18:36 #

Hi,

I have 2 questions regarding: https://svn.uni-konstanz.de/dbis/basex/trunk/api/etc/java/BaseXClient.java

a) create() takes an InputStream. Which character encoding is assumed (I'm guessing UTF-8?)

b) Query.next() returns a String. Is there a way/need to determine the type of the Query result (e.g., String, boolean, etc.)? (Or is an XQuery's result type statically determinable, in which case this would not be needed?)

- Godmar


⚡Generated with XQuery