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 8211 - HTML 4 defined these as entities &name; where the ";" wasn't part of the entity name, and there wasn't a variation that some names don't have ";". If this is an example of error recovery, valid HTML should require the ;.
Summary: HTML 4 defined these as entities &name; where the ";" wasn't part of the enti...
Status: RESOLVED WORKSFORME
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: LC
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords: NE
Depends on:
Blocks:
 
Reported: 2009-11-06 00:57 UTC by contributor
Modified: 2010-10-04 14:47 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2009-11-06 00:57:50 UTC
Section: http://www.whatwg.org/specs/web-apps/current-work/#named-character-references

Comment:
HTML 4 defined these as entities &name; where the ";" wasn't part of the entity name, and there wasn't a variation that some names don't have ";".   If this is an example of error recovery, valid HTML should require the ;.

Posted from: 72.254.91.11
Comment 1 Simon Pieters 2009-11-06 11:47:08 UTC
The semi-colon is required.

"The ampersand must be followed by one of the names given in the named character references section, using the same case. The name must be one that is terminated by a U+003B SEMICOLON character (;)."
http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#character-references

"If the last character matched is not a U+003B SEMICOLON character (;), there is a parse error."
http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html#tokenizing-character-references