This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9324 - "Save as" builds a weird href for style sheet in Windows
Summary: "Save as" builds a weird href for style sheet in Windows
Status: NEW
Alias: None
Product: Amaya
Classification: Unclassified
Component: Publishing (show other bugs)
Version: 11.3.1
Hardware: PC Windows XP
: P2 minor
Target Milestone: ---
Assignee: Vatton
QA Contact: Vatton
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-25 17:20 UTC by Juan Lanus
Modified: 2013-09-24 12:12 UTC (History)
6 users (show)

See Also:


Attachments

Description Juan Lanus 2010-03-25 17:20:28 UTC
After "saving as" a document specifying "Copy resources" and a changed target directory under "Where to save resources", Amaya builds a wrong href for a style sheet. 
The resulting href is href="./\agenda.css" which has two consecutive slashes of different kinds. 
The reverse DOS-type slash before "agenda" should not be there. 
It works, maybe because the browsers (FF, IE, Chrome, Amaya) handle the \ as an unneeded escape character. 
But it should not be there. 

This is Amaya 11.3.1 and Windows XP. 

Below you can see the documentĀ“s first few lines, before and after. 

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  <title>agenda 22mar2010 monday</title>
  <link rel="stylesheet" href="agenda.css" type="text/css" /> 
</head>

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  <title>agenda 22mar2010 monday</title>
  <link rel="stylesheet" href="./\agenda.css" type="text/css" /> 
</head>
Comment 1 Mackenzie Andersen 2013-09-24 12:12:31 UTC
I have been experiencing the same. This after years of Amaya working without a problem. Before the weird style sheet phenomena started happening, "Save AS" command started removing all my file directories from my html code and making copies of image files in the general directory.

Then- after a while, it started added "./\" in front of the style sheet name, which is located in the general directory.