Hi Eliot, 

Confession: I'm not sure if I'm on the right track or not, but you may find this helpful.

I copied the following JARs from $BaseX to $oXygenInstallDir/lib/:
BaseX.jar
lib/basex-api-8.2.3.jar
lib/basex-api.jar

Opening a new xquery document and adding the following:
let $foo as map(*) := map {}
return $foo
does not generate any static errors.

Again, I'm not sure if that's helpful or not - it isn't apparent from the oXygen documentation how a body would add a different XQuery validator. I haven't posed the question on their forums, but I'm sure they'd have an answer.

Hope that's somewhat helpful.
Best,
Bridger

On Sun, Aug 9, 2015 at 5:00 AM, Dirk Kirsten <dk@basex.org> wrote:
Hi Eliot,

you should indeed bring this up at the oxygen mailing list, as we can do
nothing about it. This static validation error is clearly incorrect (but
your "let" should be lower case). But maybe someone on this list is an
experiences oxygen user as well...

Cheers
Dirk

On 08/08/2015 08:00 PM, Eliot Kimber wrote:
> I've started using oXygenXML rather than the DBA Web app to run my test
> queries (mostly so I can handle large result sets in the output).
>
> If I have a statement like:
>
> Let $foo as map(*) := map {}
>
> Oxygen reports a static validation error. If I remove the "as" clause,
> then it's happy.
>
> My question: is it possible to configure oXygenXML so it validates the 3.1
> expressions BaseX supports?
>
> I'm not sure if this an oXygenXML or a BaseX issue.
>
> Thanks,
>
> Eliot
>
> ----
> Eliot Kimber, Owner
> Contrext, LLC
> http://contrext.com
>
>
>

--
Dirk Kirsten, BaseX GmbH, http://basexgmbh.de
|-- Firmensitz: Blarerstrasse 56, 78462 Konstanz
|-- Registergericht Freiburg, HRB: 708285, Geschäftsführer:
|   Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle
`-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22