[oXygen-user] xquery annotation highlighting

Jakob Fix jakob.fix at gmail.com
Thu May 16 11:56:35 CDT 2013


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.

cheers,
Jakob.


On Thu, May 16, 2013 at 2:48 PM, Mircea Enachescu <mircea at oxygenxml.com>wrote:

> 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
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130516/592d13fb/attachment-0001.html 


More information about the oXygen-user mailing list