gimsieke/sxedit

How to deploy it?

Opened this issue · 2 comments

Hi, I deployed this project. If there is a problem, what are the feasible solutions?
My deployment steps are as follows:

  1. I downloaded the zip package of the sxedit project
  2. After decompression, copy the sxedit folder to the webapp directory of the Basex server
  3. I executed basexhttp. Bat and started the Basex web server
  4. I visit http://localhost:8984/dba , an error occurred:

/webapp/sxedit/lib/basex/restxq/sxedit.xqm, 31/133:
[XPST0003] Invalid value, simple expression expected.

The code is quite old. It may well be that it no longer runs with current BaseX versions. For example, there may be additional security restrictions when using xquery:eval(). I might eventually relaunch the project with Saxon-JS. In the meantime, it’s unlikely that I will investigate or even fix errors like the one that you reported.

Thank you for your reply, which gave me the direction of troubleshooting.
I used the Basex application in 2014 and deployed sxedit. The error reported above has disappeared.