<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6385</bug_id>
          
          <creation_ts>2009-01-08 10:47:09 +0000</creation_ts>
          <short_desc>saving as breaks links to html files</short_desc>
          <delta_ts>2015-06-20 16:34:48 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Amaya</product>
          <component>(X)HTML</component>
          <version>11.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bartolom">bartolome.sintes</reporter>
          <assigned_to name="lcarcone">carcone</assigned_to>
          <cc>carcone</cc>
    
    <cc>emilien.kia</cc>
    
    <cc>fred.wang</cc>
    
    <cc>Irene.Vatton</cc>
    
    <cc>vincent.quint</cc>
          
          <qa_contact name="lcarcone">carcone</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22995</commentid>
    <comment_count>0</comment_count>
    <who name="Bartolom">bartolome.sintes</who>
    <bug_when>2009-01-08 10:47:09 +0000</bug_when>
    <thetext>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:
&lt;p&gt;Link to &lt;a href=&quot;test.html&quot;&gt;html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Link to &lt;a href=&quot;test.css&quot;&gt;css&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Link to &lt;a href=&quot;test.png&quot;&gt;png&lt;/a&gt;&lt;/p&gt;
4. Save the document as link2.html in the test2 directory.
Result:
&lt;p&gt;Link to &lt;a href=&quot;test.html&quot;&gt;html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Link to &lt;a href=&quot;../test1/test.css&quot;&gt;css&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Link to &lt;a href=&quot;../test1/test.png&quot;&gt;png&lt;/a&gt;&lt;/p&gt;
Expected result:
&lt;p&gt;Link to &lt;a href=&quot;../test.html&quot;&gt;html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Link to &lt;a href=&quot;../test1/test.css&quot;&gt;css&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Link to &lt;a href=&quot;../test1/test.png&quot;&gt;png&lt;/a&gt;&lt;/p&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23011</commentid>
    <comment_count>1</comment_count>
    <who name="Vatton">Irene.Vatton</who>
    <bug_when>2009-01-12 14:03:09 +0000</bug_when>
    <thetext>It&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23013</commentid>
    <comment_count>2</comment_count>
    <who name="Bartolom">bartolome.sintes</who>
    <bug_when>2009-01-12 16:22:32 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23022</commentid>
    <comment_count>3</comment_count>
    <who name="lcarcone">carcone</who>
    <bug_when>2009-01-13 09:38:21 +0000</bug_when>
    <thetext>This problem is fixed in CVS version</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121250</commentid>
    <comment_count>4</comment_count>
    <who name="Jackie">jackiewindsor09</who>
    <bug_when>2015-06-20 16:33:58 +0000</bug_when>
    <thetext>Please make my changes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121326</commentid>
    <comment_count>5</comment_count>
    <who name="Jackie">jackiewindsor09</who>
    <bug_when>2015-06-20 16:34:48 +0000</bug_when>
    <thetext>Please make my changes</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>