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 12527 - no formal definition for allowed id syntax
Summary: no formal definition for allowed id syntax
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
Depends on:
Reported: 2011-04-20 03:49 UTC by ififuyilel
Modified: 2011-08-04 05:06 UTC (History)
7 users (show)

See Also:


Description ififuyilel 2011-04-20 03:49:31 UTC
Note, there are no formal definition for allowed id syntax (are ANY chars really allowed except whitespace?).
Look at 4.01 specs, it is very clear
Comment 1 Tab Atkins Jr. 2011-04-20 04:05:27 UTC
(In reply to comment #0)
> are ANY chars
> really allowed except whitespace?

Comment 2 Aryeh Gregor 2011-04-21 19:36:31 UTC
There is an unambiguous definition of the allowed id syntax:

"The value must be unique amongst all the IDs in the element's home subtree and must contain at least one character. The value must not contain any space characters."

The requirements seem perfectly clear, so I'm going to assume you thought this was an actual omission in the spec (maybe due to other specs' tendency to use formal grammars for everything).  Since there is no such omission, I'm resolving the bug as INVALID.  If you actually think the id attribute's allowed values need to be defined in some other way, please reopen the bug and the editor will look at it in due course (although he'll probably close WONTFIX unless you give very good arguments).
Comment 3 Michael[tm] Smith 2011-08-04 05:06:21 UTC
mass-moved component to LC1