XQuery Module Validation
Issues related to W3C XQuery.
-
- Posts: 5
- Joined: Wed Sep 07, 2011 9:24 pm
XQuery Module Validation
Post by CurtisFleming »
I am interested in getting Oxygen to validate the contents of XQuery modules in real-time. Being able to catch grammar errors like bad parentheses or missing a 'then' like any other main XQuery would be a huge time saver. It is not intuitive why wrapping XQuery in a declare function statement shields it from static analysis.
The error message:
Engine name: Saxon-EE XQuery 9.3.0.5
Description: XQuery module validation/execution is not supported. Please validate/execute the main XQuery file.
I am using xDB 10.2 and I'm aware that an Oxygen-xDB connection exists but don't have the Enterprise license for it (yet). By activating the connector and switching the XQuery validation engine to the xDB connector, will real-time module validation be available, with red underlined text, etc.?
Thanks
Curt
The error message:
Engine name: Saxon-EE XQuery 9.3.0.5
Description: XQuery module validation/execution is not supported. Please validate/execute the main XQuery file.
I am using xDB 10.2 and I'm aware that an Oxygen-xDB connection exists but don't have the Enterprise license for it (yet). By activating the connector and switching the XQuery validation engine to the xDB connector, will real-time module validation be available, with red underlined text, etc.?
Thanks
Curt
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: XQuery Module Validation
Hello,
Saxon-EE(the default XQuery validator that Oxygen uses) cannot validate modules out of context(on their own), it needs a main XQuery file that imports them.
If you have an Enterprise license and an xDB connection configured, you will be able to transform and validate with the xDB XQuery engine.
Note however that automatic validation(validate as you type) is not available when using remote database engines such as xDB. You can use the manual validation instead: Document > Validate > Validate after configuring a transformation or a validation scenario that specified the xDB connection as the engine.
Regards,
Adrian
Saxon-EE(the default XQuery validator that Oxygen uses) cannot validate modules out of context(on their own), it needs a main XQuery file that imports them.
If you have an Enterprise license and an xDB connection configured, you will be able to transform and validate with the xDB XQuery engine.
Note however that automatic validation(validate as you type) is not available when using remote database engines such as xDB. You can use the manual validation instead: Document > Validate > Validate after configuring a transformation or a validation scenario that specified the xDB connection as the engine.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service