XQLint parses XQuery & JSONiq files and returns errors and warnings based on static code analysis.
Install Node.js and NPM for your system (Mac, Windows or Linux). And install the command line tool using:
$ npm install xqlint -g
$ xqlint lint <path> [-s, --style-check <yes, no>]
$ xqlint ast <path>
$ xqlint highlight <path>
If you'd like to hack on xqlint itself:
git clone git@github.com:wcandillon/xqlint.git
cd xqlint
npm install
grunt
grunt vows
grunt parsers
##Who is using this project?
- 28.io cli tool
- Atom Editor
- ACE, aka the Cloud9 editor, view demo.
- XQLint Grunt Task
- XQLint Gulp Plugin
- eXide, a web-based XQuery IDE for eXist-db, view demo.
- atom-existdb, an Atom editor integration package for eXist-db.