W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > March 2010

[Bug 9351] Do not interpret & followed by an entity name followed by = as an entity reference (possibly just in attribute values)

From: <bugzilla@wiggum.w3.org>
Date: Mon, 29 Mar 2010 08:17:31 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1NwAA7-0001sj-Go@wiggum.w3.org>

Maciej Stachowiak <mjs@apple.com> changed:

           What    |Removed                     |Added
            Summary|Do not interpret & followed |Do not interpret & followed
                   |by an entity name followed  |by an entity name followed
                   |by = as an entity reference |by = as an entity reference
                   |in attribute values         |(possibly just in attribute
                   |                            |values)

--- Comment #2 from Maciej Stachowiak <mjs@apple.com>  2010-03-29 08:17:30 ---
(In reply to comment #1)
> What's the rationale of restricting this change request to attribute values?
> URLs also get copied and pasted to element content occasionally and making them
> tokenize differently there would violate the principle of least surprise.

After some consideration, I think this change should probably be applied,
though I would also be limited by a version limited only to attribute values.
Updating title accordingly.

The reasons I originally asked only for attribute values (which I no longer
think are valid):

1) I thought the study evaluating occurrence of this pattern was limited to
attribute values, so there was no information about the risk of the greater
change. But that's not right - it included cases in text content and in script
as well.

2) I did not think there was any benefit in text content, but I failed to think
about the case of a URL in text content, or copying between attributes in text
content. It's likely that the benefit is lower in text content, but the pattern
seems much less likely to occur in the first place.

Title amended.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 29 March 2010 08:17:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:48 UTC