[oXygen-user] xquery annotation highlighting
Mircea Enachescu
mircea at oxygenxml.com
Thu May 16 07:48:34 CDT 2013
Hello Jakob,
Due to the complexity of the XQuery syntax, this is a current limitation in our XQuery highlighter.
If you place the annotations on the same line with the "define" and "function" keywords, they will
be displayed fine.
EX: declare %rxq:GET %rxq:path('/address/id/(.*)') %rxq:produces('text/html') function ...
Regards,
Mircea.
On 16.05.2013 15:37, Oxygen XML Editor Support wrote:
> Hello Jakob,
>
> Unfortunately Oxygen v14.2 does not recognize XQuery annotations
> (especially on separate lines). You will also notice that this function
> does not appear in the Outline view because of the same reason.
> We are aware of these problems and have them logged on our issue
> tracking tool. We will resolve them in a future version of Oxygen.
>
> Regards,
> Adrian
>
> Adrian Buza
> oXygen XML Editor and Author Support
>
> Tel: +1-650-352-1250 ext.202
> Fax: +40-251-461482
> support at oxygenxml.com
> http://www.oxygenxml.com
>
>
> Jakob Fix wrote:
>> Hi,
>>
>> I noticed that currently (14.2) the highlighting of xquery annotations
>> as introduced with 3.0 doesn't seem to work.
>>
>> we're using the xquery version "1.0-ml" (MarkLogic's flavour of xquery
>> 1.0, with 3.0 features mixed in).
>>
>> the annotations look like this (taken from https://github.com/xquery/rxq):
>> |declare
>> %rxq:GET
>> %rxq:path('/address/id/(.*)')
>> %rxq:produces('text/html')
>> function addr:get-address($id){
>> ....
>> };|
>> what would need to be done to make annotations display correctly?
>>
>>
>> cheers,
>> Jakob.
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> oXygen-user mailing list
>> oXygen-user at oxygenxml.com
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
--
Enachescu Mircea, Product Architect
Syncro Soft | oXygen XML
Tel: +1-650-352-1250 ext.212
Fax: +40-251-461482
support at oxygenxml.com
http://www.oxygenxml.com
--
Enachescu Mircea, Product Architect
Syncro Soft | oXygen XML
Tel: +1-650-352-1250 ext.212
Fax: +40-251-461482
support at oxygenxml.com
http://www.oxygenxml.com
More information about the oXygen-user
mailing list