Re: Characters in attribute values

Peter Flynn (pflynn@imbolc.ucc.ie)
15 Aug 1997 16:20:34 +0100


Date: 15 Aug 1997 16:20:34 +0100
From: Peter Flynn <pflynn@imbolc.ucc.ie>
In-reply-to: <199708142019.AA07609@jupiter.ph-cip.Uni-Koeln.DE>
To: wahlen@ph-cip.uni-koeln.de
Cc: www-html@w3.org
Message-id: <199708151520.QAA19684@imbolc.ucc.ie>
Subject: Re: Characters in attribute values

Holger writes:
   I'm thinking of values for attributes like HREF, SRC and so
   on. With the present declaration, it's valid to have
	   <A HREF=file.html>
   instead of
	   <A HREF="file.html">,
   but the quotation marks can't be left out in the (frequent)
   case that there's a directory change involved:
	   <A HREF="subdir/index.html">
   has to remain that way. No big deal, but it's quite easy to
   forget the closing quotation mark, especially for longer
   paths.

I don't think changing the structure of the language is a good
way to solve this. Far better is to use a proper editor that
puts in the quotes all the time. XML requires quotes anyway.

///Peter