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 11285 - You're missing an "and" or something here, it's not clear when the last clause is applicable: if the algorithm was invoked in the attribute mode, any occurrences of the """ character by the string "&quot;", or if it was not, any occurrences of the "<" cha
Summary: You're missing an "and" or something here, it's not clear when the last claus...
Status: CLOSED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-10 15:20 UTC by contributor
Modified: 2011-08-04 05:14 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2010-11-10 15:20:35 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#serializing-html-fragments

Comment:
You're missing an "and" or something here, it's not clear when the last clause
is applicable: if the algorithm was invoked in the attribute mode, any
occurrences of the """ character by the string "&quot;", or if it was not, any
occurrences of the "<" character by the string "&lt;", any occurrences of the
">" character by the string "&gt;".

Posted from: 68.175.61.233 by AryehGregor+whatwgspec@gmail.com
Comment 1 Aryeh Gregor 2010-11-10 15:23:18 UTC
I'm guessing you meant something like:

'''
if the algorithm was invoked in the attribute mode, any occurrences of the """ character by the string "&quot;"; or if it was not, any occurrences of the "<" character by the string "&lt;", and any occurrences of the ">" character by the string "&gt;".
'''
Comment 2 Ian 'Hixie' Hickson 2010-12-29 08:38:32 UTC
Yeah, that could be clearer.
Comment 3 Ian 'Hixie' Hickson 2011-01-21 02:35:35 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments, but went much further.
Comment 4 contributor 2011-01-21 02:36:19 UTC
Checked in as WHATWG revision r5797.
Check-in comment: Clarify the 'escaping a string' algorithm by expanding it into a full explanation.
http://html5.org/tools/web-apps-tracker?from=5796&to=5797
Comment 5 Michael[tm] Smith 2011-08-04 05:14:52 UTC
mass-move component to LC1