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

Re: carriage return or line feed in URI attribute values?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 02 Mar 2003 06:37:28 +0100
To: Jim Correia <correia@barebones.com>
Cc: www-html@w3.org
Message-ID: <3e688d61.199570857@smtp.bjoern.hoehrmann.de>

* Jim Correia wrote:
>What does the specification have to say about
><a href="http://www.example.com/
>Notice the line break in the middle of the attribute value.

White-space is disallowed in URIs, thus the document is invalid. HTML
4.01 does not specify how (nor if) user agents must recover from this

>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?

Received on Sunday, 2 March 2003 00:36:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:02 UTC