Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to deploy it? #1

Open
lhw1089 opened this issue Nov 9, 2021 · 2 comments
Open

How to deploy it? #1

lhw1089 opened this issue Nov 9, 2021 · 2 comments

Comments

@lhw1089
Copy link

lhw1089 commented Nov 9, 2021

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.

@gimsieke
Copy link
Owner

gimsieke commented Nov 9, 2021

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.

@lhw1089
Copy link
Author

lhw1089 commented Nov 12, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants