Hi Marco,
according to the latter of these points I'd like to know whether there is a possibility of having an XQuery string validated from a syntactical viewpoint.
currently no. It would certainly be doable, but I would like to hear more about the applications you have in mind. For example, I didn't quite get what you meant with the Java extensions?
Christian
I mean a sort of validate:xquery($qstr as xs:string) or xquery:check($querystr as xs:string, $ctx as map(*)). It could also be useful to know whether one could be able to implement it as a Java extension to basex and in that case where to start from? The GUI does it so I think it should be doable somehow, isn't it? ;-) Thanks a lot, Marco.