
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 <mailto:dlee@epocrates.com> 812-482-5224

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

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/

That was the magic answer ! Preferences -> xquery -. "xquery validate with" Was set to Saxon . Thank you Changing to a marklogic connection gives me ML highlighting and function completion even on an unsaved "Untitled" xquery file. -----Original Message----- From: Andrew Welch [mailto:andrew.j.welch@gmail.com] Sent: Friday, January 01, 2010 6:28 AM To: Lee, David Cc: oxygen-user@oxygenxml.com Subject: Re: [oXygen-user] Editor validation using MarkLogic 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/
participants (2)
-
Andrew Welch
-
Lee, David