Re: [basex-talk] file names with [] and base-uri

2014-12-22 Thread Andy Bunce
Thanks. As my documents are in a database I can use db:path [1] for now. /Andy [1] http://docs.basex.org/wiki/Database_Module#db:path On 15 December 2014 at 19:58, Christian Grün christian.gr...@gmail.com wrote: Hi Andy, interesting issue. I just tried some other XQuery processors in order

[basex-talk] file names with [] and base-uri

2014-12-15 Thread Andy Bunce
Hi, If I create a database with a file with [] in the name e.g. *bracket[in]name.xml *then /*/base-uri(.) gives the error [XQST0046] URI 'bracket[in]name/bracket[in]name.xml' is invalid. Query: /*/base-uri(.) Is this correct behavior? /Andy

Re: [basex-talk] file names with [] and base-uri

2014-12-15 Thread Christian Grün
Hi Andy, interesting issue. I just tried some other XQuery processors in order to find out how they resolve the name of a local file: • File: [].xml • Query: base-uri(doc('[].xml')) • Saxon: FODC0002: Exception thrown by URIResolver: Invalid relative URI {[].xml}: Illegal character in