
Hi. It sounds like in preferences -> xquery -. "xquery validate with" you already have your marklogic connection? The other thing to check is that the extension you are using is associated with the file type, for example add "xqy" and set it to XQuery Editor. cheers andrew 2009/12/31 Lee, David <dlee@epocrates.com>:
A follow up to this.
If I open a xquery file in Oxygen from the MarkLogic WebDav data source, it highlights correctly.
But if I do a “File -> New” is when it is not highlighting correctly even if I have the debugger target set to MarkLogic.
From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of Lee, David Sent: Thursday, December 31, 2009 12:58 PM To: oxygen-user@oxygenxml.com Subject: [oXygen-user] Editor validation using MarkLogic
I’m trying to debug some XQuery code against a MarkLogic server.
The debugging is working fine, but the editor red-highlights code that uses any ML extensions or functions.
The error starts with :
F [Saxon-HE XQuery 9.2.0.3] XQuery syntax error in #. ...
So I know its using Saxon to do the editor validation.
How can I get the editor to use MarkLogic for the validation ?
-David
----------------------------------------
David A. Lee
Senior Principal Software Engineer
Epocrates, Inc.
dlee@epocrates.com
812-482-5224
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/