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

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

From: Bartolomé Sintes Marco <bartolomesintes@ono.com>
Date: Thu, 08 Jan 2009 11:30:12 +0100
Message-ID: <4965D5B4.1000608@ono.com>
To: www-amaya@w3.org

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>
<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
Received on Thursday, 8 January 2009 10:30:42 UTC

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