<div dir="ltr">thank you for the explanations, I was mainly worried that I didn&#39;t find the option that activated it. I&#39;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">&lt;<a href="mailto:mircea@oxygenxml.com" target="_blank">mircea@oxygenxml.com</a>&gt;</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 &quot;define&quot; and &quot;function&quot; keywords, they will<br>
be displayed fine.<br>
EX: declare %rxq:GET %rxq:path(&#39;/address/id/(.*)&#39;) %rxq:produces(&#39;text/html&#39;) function ...<br>
<br>
Regards,<br>
Mircea.<br>
<div><div class="h5"><br>
On 16.05.2013 15:37, Oxygen XML Editor Support wrote:<br>
&gt; Hello Jakob,<br>
&gt;<br>
&gt; Unfortunately Oxygen v14.2 does not recognize XQuery annotations<br>
&gt; (especially on separate lines). You will also notice that this function<br>
&gt; does not appear in the Outline view because of the same reason.<br>
&gt; We are aware of these problems and have them logged on our issue<br>
&gt; tracking tool. We will resolve them in a future version of Oxygen.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Adrian<br>
&gt;<br>
&gt; Adrian Buza<br>
&gt; oXygen XML Editor and Author Support<br>
&gt;<br>
&gt; Tel: <a href="tel:%2B1-650-352-1250%20ext.202" value="+16503521250">+1-650-352-1250 ext.202</a><br>
&gt; Fax: <a href="tel:%2B40-251-461482" value="+40251461482">+40-251-461482</a><br>
&gt; <a href="mailto:support@oxygenxml.com">support@oxygenxml.com</a><br>
&gt; <a href="http://www.oxygenxml.com" target="_blank">http://www.oxygenxml.com</a><br>
&gt;<br>
&gt;<br>
&gt; Jakob Fix wrote:<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I noticed that currently (14.2) the highlighting of xquery annotations<br>
&gt;&gt; as introduced with 3.0 doesn&#39;t seem to work.<br>
&gt;&gt;<br>
&gt;&gt; we&#39;re using the xquery version &quot;1.0-ml&quot; (MarkLogic&#39;s flavour of xquery<br>
&gt;&gt; 1.0, with 3.0 features mixed in).<br>
&gt;&gt;<br>
&gt;&gt; the annotations look like this (taken from <a href="https://github.com/xquery/rxq" target="_blank">https://github.com/xquery/rxq</a>):<br>
&gt;&gt; |declare<br>
&gt;&gt;     %rxq:GET<br>
&gt;&gt;     %rxq:path(&#39;/address/id/(.*)&#39;)<br>
&gt;&gt;     %rxq:produces(&#39;text/html&#39;)<br>
&gt;&gt; function addr:get-address($id){<br>
&gt;&gt;     ....<br>
&gt;&gt; };|<br>
&gt;&gt; what would need to be done to make annotations display correctly?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; cheers,<br>
&gt;&gt; Jakob.<br>
&gt;&gt; ------------------------------------------------------------------------<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; oXygen-user mailing list<br>
&gt;&gt; <a href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a><br>
&gt;&gt; <a href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user" target="_blank">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><br>
&gt;&gt;<br>
&gt; _______________________________________________<br>
&gt; oXygen-user mailing list<br>
&gt; <a href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a><br>
&gt; <a href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user" target="_blank">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><br>
&gt;<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>