W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2009

Re: Amaya 11.0 WinXP bug: saving as breaks links to html files

From: Irene Vatton <Irene.Vatton@inria.fr>
Date: Mon, 12 Jan 2009 14:59:16 +0100
To: Bartolomé Sintes Marco <bartolomesintes@ono.com>
Cc: www-amaya@w3.org
Message-Id: <1231768756.21151.17.camel@vanuatu.inrialpes.fr>

Le jeudi 08 janvier 2009 à 11:30 +0100, Bartolomé Sintes Marco a écrit :
> Hi,
> 
> In Amaya 11.0 for Windows XP when a html document is saved as in another 
> directory, the links to html files are broken.
> 
> Steps to reproduce:
> 1. Create two directories (test1 and test2)
> 2. In the test1 directory copy 3 files (test.html, test.css and test.png)
> 3. In the test1 directory create a document with links to the three test 
> files. For instance, links.html:
> <p>Link to <a href="test.html">html</a></p>
> <p>Link to <a href="test.css">css</a></p>
> <p>Link to <a href="test.png">png</a></p>
> 4. Save the document as link2.html in the test2 directory.
> Result:
> <p>Link to <a href="test.html">html</a></p>
> <p>Link to <a href="../test1/test.css">css</a></p>
> <p>Link to <a href="../test1/test.png">png</a></p>
> Expected result:
> <p>Link to <a href="../test.html">html</a></p>

The goal is to keep pointers to original resources.
If the target of the link is the document itself, Save as should keep
the link to the document itself.

> <p>Link to <a href="../test1/test.css">css</a></p>
> <p>Link to <a href="../test1/test.png">png</a></p>
> 
> Best regards,
> Bartolomé Sintes
> http://www.mclibre.org

-- 
Irene Vatton <Irene.Vatton@inria.fr>
INRIA
Received on Monday, 12 January 2009 14:00:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:40 UTC