Replies: 3 comments 4 replies
-
I forgot to post my sample repro: <!DOCTYPE html>
<html lang="en">
<head>
<title>Ace XQuery NS</title>
</head>
<body>
<div id="editor">ns:f()</div>
<script src="ace/ace.js" type="text/javascript" charset="utf-8"></script>
<script>
ace.edit('editor', {maxLines: 10, mode: 'ace/mode/xquery'});
</script>
</body>
</html> |
Beta Was this translation helpful? Give feedback.
0 replies
-
hey Florent 🙋🏼♂️ This would need to be fixed on xqlint: https://github.com/wcandillon/xqlint |
Beta Was this translation helpful? Give feedback.
0 replies
-
This project might be the way to go: https://github.com/Quodatum/xqlint (cc @apb2006) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using the XQuery mode, if a QName prefix has not been declared (e.g. in a function name), it is marked as an error:
But some XQuery products have pre-defined namespaces (in XQuery parlance, they are declared implicitly in the static context.) Is it possible to either:
I tag @wcandillon and @nightwing, as you seem to be those who have worked on the XQuery mode, but it might be a general Ace question if the answer is not to display the error.
Beta Was this translation helpful? Give feedback.
All reactions