Page 1 of 1

hrefs in HTML annotations

Posted: Tue Oct 28, 2014 12:56 pm
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?

Re: hrefs in HTML annotations

Posted: Wed Oct 29, 2014 5:26 pm
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

Re: hrefs in HTML annotations

Posted: Fri Feb 20, 2015 4:52 pm
by stefan.eissing
Hello Adrian,

has there been any progress on this? Thanks.

Regards,
Stefan

Re: hrefs in HTML annotations

Posted: Fri Feb 20, 2015 5:11 pm
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

Re: hrefs in HTML annotations

Posted: Tue Feb 24, 2015 10:01 am
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.

Re: hrefs in HTML annotations

Posted: Tue Jan 05, 2016 11:38 am
by Radu
Hi,

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

Regards,
Radu