This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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>
It's not a bug: 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.
If the goal is to keep pointers to original resources, this is not happening. As I point in the bug report, the link to a css file or a png file is kept when the document is saved in another directory, but the link to a html file is broken.
This problem is fixed in CVS version
Please make my changes