To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=98211





------- Additional comments from m...@openoffice.org Fri Nov 13 13:11:25 +0000 
2009 -------
The original issue that was reported is that relative hyperlinks that reference
a local file are wrong. Actually, they are not wrong. They are correct. How
relative URIs behave is defined in the ODF specification. One may look at
section 2.7 in 
http://www.oasis-open.org/committees/download.php/35090/OpenDocument-v1.2-part3-cd1.odt
or 17.5 of 
http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1.odt

Essentially, relative URIs are resolved as like they would if the ODF document
would not be a zip file, but a folder with the name of the zip file. Which
means, that an URI "./styles.xml" contained in the file "content.xml" which is
in the root of the zip file references the file "styles.xml" in the root of the
zip file. To reference a file outside the zip file, one has to add "../".

Regarding the comment from gkaragoulis: "file://///blah/blah" seems not be a
valid URI to me. That may be the reason why it is removed.

Regarding the comments from fredhan:

1) Documents in OOo always contain absolute URIs only. Relative URIs contained
in a document that is loaded are made absolute while the document is loaded as
defined by the ODF specification (or the HTML specification in case of HTML
documents). The absolute URIs can be turned into relative ones while the
document is stored. This is controlled by the two options mention in 2).

2) The one option controls whether file URIs should be turned into relative ones
if a document is stored in the local file system. The other one controls whether
FTP and HTTP URIs should be turned into relative ones if a file is stored using
HTTP/FTP.

3) OOo provided two alternative ways to add hyperlinks. Why should that be an
issue. Where are also multiple ways how to format a piece of text let's say in 
bold.

Summary: There is no defect, but the handling of relative URI may be changed.
That would be an enhancement of feature.




---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to