Re: [basex-talk] BaseX 8.0: DBA

2014-12-15 Thread Jérôme Chauveau
Hi, is there a way to use the DBA frontend with a war BaseX version? Thank you. Jérôme. Le 12/12/2014 00:30, Christian Grün a écrit : Hi all, This is yet another update on the next, upcoming version of BaseX: We have added a new database administration (DBA) web frontend to our ZIP and EXE

Re: [basex-talk] BaseX 8.0: DBA

2014-12-15 Thread Christian Grün
Hi Jérôme, is there a way to use the DBA frontend with a war BaseX version? I should be no problem I guess. What have you tried so far? Christian Thank you. Jérôme. Le 12/12/2014 00:30, Christian Grün a écrit : Hi all, This is yet another update on the next, upcoming version of

Re: [basex-talk] BaseX 8.0: DBA

2014-12-15 Thread Jérôme Chauveau
Hi Christian, i tried to copy the dba directory into the basex webapp one: .../tomcat7/webapps/basex8 + data + *dba* + WEB-INF [...] But I get this error at http://localhost:8080/basex8/ : message _Stopped at

Re: [basex-talk] BaseX 8.0: DBA

2014-12-15 Thread Christian Grün
Hi Jérôme, message Stopped at /var/lib/tomcat7/webapps/BaseX80/dba/login.xqm, 118/18: [XPST0081] No namespace declared for 'user:list-details'. I got it… DBA only works with the latest snapshot of BaseX, as it uses requires some features like to the new User Module [1]. Hope this helps?

[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] BaseX 8.0: DBA

2014-12-15 Thread Jérôme Chauveau
Sorry - I understood it was only available in .zip and .exe distributions. DBA frontend seems to be very nice - good job! Thank you for your help! Jérôme Le 15/12/2014 13:23, Christian Grün a écrit : Hi Jérôme, message Stopped at /var/lib/tomcat7/webapps/BaseX80/dba/login.xqm, 118/18:

[basex-talk] RESTXQ - access to InitParameters of ServletContext and/or ServletConfig

2014-12-15 Thread Fabrice Etanchaud
Hi all BaseX users , Inside a RESTXQ function, I would like to get InitParameters of the ServletContext or ServletConfig instances, I cannot find that in a module. Did I miss something ? Best regards, Fabrice Etanchaud

Re: [basex-talk] RESTXQ - access to InitParameters of ServletContext and/or ServletConfig

2014-12-15 Thread Christian Grün
Hi Fabrice, I would like to get InitParameters of the ServletContext or ServletConfig instances, The servlet init parameters are currently accessed by the BaseX itself [1,2], but there is no way to retrieve them from RESTXQ. Well, that's only partially true. One way to reach the

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