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

VSCode objects to "request:" namespace prefix #15

Open
djbpitt opened this issue Oct 6, 2020 · 0 comments
Open

VSCode objects to "request:" namespace prefix #15

djbpitt opened this issue Oct 6, 2020 · 0 comments

Comments

@djbpitt
Copy link

djbpitt commented Oct 6, 2020

Following up on my posting of 2020-10-06 to exist-open:

When using eXist 5.3.0-SNAPSHOT 587dde5f72791201512956125d4d8d0f6cc0a319 20201002114117 inside VSCode, if I create an XQuery file that reads, in its entirety:

xquery version "3.1";
declare namespace output = "http://www.w3.org/2010/xslt-xquery-serialization";
declare option output:method "xhtml";
declare option output:media-type "application/xhtml+xml";
declare option output:omit-xml-declaration "no";
declare option output:doctype-system "about:legacy-compat";
declare option exist:serialize "method=xhtml enforce-xhtml=yes";
declare variable $input as xs:string := request:get-parameter('in', 'xyz');
<html><head><title>Title</title></head><body>Here is my default input: {$input}</body></html>

a "problem" is reported on the request: prefix:

[XPST0081] "request": can not expand prefix of lexical QName to namespace URI

I have installed the Atom server-side library for eXist-db (version 1.0.1). Otherwise VSCode is communicating with eXist-db, real-time synchronization from the file system is working correctly, and I can run the query on my eXist-db instance without error.

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

1 participant