<div dir="ltr">thank you for the explanations, I was mainly worried that I didn't find the option that activated it. I'm looking forward to you adding this feature in a future release.<div class="gmail_extra"><br clear="all">
<div>cheers,<br>Jakob.</div>
<br><br><div class="gmail_quote">On Thu, May 16, 2013 at 2:48 PM, Mircea Enachescu <span dir="ltr"><<a href="mailto:mircea@oxygenxml.com" target="_blank">mircea@oxygenxml.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Jakob,<br>
<br>
Due to the complexity of the XQuery syntax, this is a current limitation in our XQuery highlighter.<br>
If you place the annotations on the same line with the "define" and "function" keywords, they will<br>
be displayed fine.<br>
EX: declare %rxq:GET %rxq:path('/address/id/(.*)') %rxq:produces('text/html') function ...<br>
<br>
Regards,<br>
Mircea.<br>
<div><div class="h5"><br>
On 16.05.2013 15:37, Oxygen XML Editor Support wrote:<br>
> Hello Jakob,<br>
><br>
> Unfortunately Oxygen v14.2 does not recognize XQuery annotations<br>
> (especially on separate lines). You will also notice that this function<br>
> does not appear in the Outline view because of the same reason.<br>
> We are aware of these problems and have them logged on our issue<br>
> tracking tool. We will resolve them in a future version of Oxygen.<br>
><br>
> Regards,<br>
> Adrian<br>
><br>
> Adrian Buza<br>
> oXygen XML Editor and Author Support<br>
><br>
> Tel: <a href="tel:%2B1-650-352-1250%20ext.202" value="+16503521250">+1-650-352-1250 ext.202</a><br>
> Fax: <a href="tel:%2B40-251-461482" value="+40251461482">+40-251-461482</a><br>
> <a href="mailto:support@oxygenxml.com">support@oxygenxml.com</a><br>
> <a href="http://www.oxygenxml.com" target="_blank">http://www.oxygenxml.com</a><br>
><br>
><br>
> Jakob Fix wrote:<br>
>> Hi,<br>
>><br>
>> I noticed that currently (14.2) the highlighting of xquery annotations<br>
>> as introduced with 3.0 doesn't seem to work.<br>
>><br>
>> we're using the xquery version "1.0-ml" (MarkLogic's flavour of xquery<br>
>> 1.0, with 3.0 features mixed in).<br>
>><br>
>> the annotations look like this (taken from <a href="https://github.com/xquery/rxq" target="_blank">https://github.com/xquery/rxq</a>):<br>
>> |declare<br>
>> %rxq:GET<br>
>> %rxq:path('/address/id/(.*)')<br>
>> %rxq:produces('text/html')<br>
>> function addr:get-address($id){<br>
>> ....<br>
>> };|<br>
>> what would need to be done to make annotations display correctly?<br>
>><br>
>><br>
>> cheers,<br>
>> Jakob.<br>
>> ------------------------------------------------------------------------<br>
>><br>
>> _______________________________________________<br>
>> oXygen-user mailing list<br>
>> <a href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a><br>
>> <a href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user" target="_blank">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><br>
>><br>
> _______________________________________________<br>
> oXygen-user mailing list<br>
> <a href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a><br>
> <a href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user" target="_blank">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><br>
><br>
<br>
</div></div>--<br>
Enachescu Mircea, Product Architect<br>
Syncro Soft | oXygen XML<br>
<br>
Tel: <a href="tel:%2B1-650-352-1250%20ext.212" value="+16503521250">+1-650-352-1250 ext.212</a><br>
<div class="im HOEnZb">Fax: <a href="tel:%2B40-251-461482" value="+40251461482">+40-251-461482</a><br>
<a href="mailto:support@oxygenxml.com">support@oxygenxml.com</a><br>
<a href="http://www.oxygenxml.com" target="_blank">http://www.oxygenxml.com</a><br>
<br>
<br>
</div><span class="HOEnZb"><font color="#888888">--<br>
Enachescu Mircea, Product Architect<br>
Syncro Soft | oXygen XML<br>
<br>
Tel: <a href="tel:%2B1-650-352-1250%20ext.212" value="+16503521250">+1-650-352-1250 ext.212</a><br>
</font></span><div class="im HOEnZb">Fax: <a href="tel:%2B40-251-461482" value="+40251461482">+40-251-461482</a><br>
<a href="mailto:support@oxygenxml.com">support@oxygenxml.com</a><br>
<a href="http://www.oxygenxml.com" target="_blank">http://www.oxygenxml.com</a><br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
oXygen-user mailing list<br>
<a href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a><br>
<a href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user" target="_blank">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><br>
</div></div></blockquote></div><br></div></div>