hrefs in HTML annotations

Having trouble installing Oxygen? Got a bug to report? Post it all here.
stefan.eissing
Posts: 4
Joined: Tue Oct 28, 2014 12:46 pm

hrefs in HTML annotations

Post by stefan.eissing »

Tried to find an existing report, but no luck. Therefore:

I tried the new HTML annotation feature in 16.1. I do not get relative uri references to work.

Example: in a Relax NG, compact notation, I have:

Code: Select all


namespace x = "http://www.w3.org/1999/xhtml"
...
[ a:documentation [
x:a[ href="../doc/module.html#tropod-module" "(documentation)" ]
x:a[ href="http://www.greenbytes.de" "(greenbytes)" ]
]]
The links appear in the annotation in Oxygen, but the relative href is resolved with the Apps directory as base URL. It should be the location of the .rnc file, in my opinion.

I would like to add links to further documentation into the annotation. Since this is file based, I can only use relative hrefs. Is there a workaround for this?
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: hrefs in HTML annotations

Post by adrian »

Hello,

I'm afraid this is a bug. I have logged this problem to our issue tracking tool and it will be analyzed and resolved in a future release of Oxygen. This thread will be notified when this is fixed.

I've investigated for possible workarounds, but unfortunately I found no solution for relative paths/URIs.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
stefan.eissing
Posts: 4
Joined: Tue Oct 28, 2014 12:46 pm

Re: hrefs in HTML annotations

Post by stefan.eissing »

Hello Adrian,

has there been any progress on this? Thanks.

Regards,
Stefan
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: hrefs in HTML annotations

Post by adrian »

Hi,

There is no change in the bug status. It is still pending.

A (not so great) workaround would be to create a symbolic link in the file system where Oxygen is looking for them (doc folder in Apps). This is just so you can at least see the annotations.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Björn Dünckel
Posts: 2
Joined: Tue Feb 24, 2015 9:58 am

Re: hrefs in HTML annotations

Post by Björn Dünckel »

Hi Adrian,

I'm struggeling with the same issue, so I would appriciate a soon bugfix too.

Regards,
Björn.
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: hrefs in HTML annotations

Post by Radu »

Hi,

Just to update this thread, the issue should be fixed in Oxygen 17.1.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply