W3C home > Mailing lists > Public > www-html@w3.org > February 2003

carriage return or line feed in URI attribute values?

From: Jim Correia <correia@barebones.com>
Date: Thu, 27 Feb 2003 10:44:25 -0500
To: www-html@w3.org
Message-Id: <5977BBE6-4A6A-11D7-A575-000393C6280C@barebones.com>

What does the specification have to say about

<a href="http://www.example.com/
index.html">Example</a>

Notice the line break in the middle of the attribute value.

A quick read of the HTML spec doesn't shed any light on the issue. Is 
there an inherited rule from SGML?

The behavior that I observe in 3 different user-agents is that the line 
feeds are collapsed out and it requests the URI

	http://www.example.com/index.html

Does something somewhere in the spec or sgml rules say that this should 
be the case, or is this just browser behavior correcting for something 
it shouldn't have been feed in the first place?

Thanks,
Jim
Received on Thursday, 27 February 2003 10:45:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:54 GMT