[Bug 8590] New: can empty string be a valid keyword?

http://www.w3.org/Bugs/Public/show_bug.cgi?id=8590

           Summary: can empty string be a valid keyword?
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://dev.w3.org/html5/spec/Overview.html#keywords-and-
                    enumerated-attributes
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: brutzman@nps.edu
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


2.4.3 Keywords and enumerated attributes

states

"Note:  The empty string can be a valid keyword."

This statement doesn't make much sense since an
empty string is not a word per se, and so it can't be
a keyword either.  Further, an empty string isn't
allowed as an enumeration value in XML Schema
enumeration lists, so it is not clear how to
represent it in such a context.

Presumably an empty string might be a way of changing
the value of a nillable attribute which otherwise has
an originally defined default value.

Perhaps better phrasing is

"Note:  The empty string can be a valid attribute value
for determining state in this context."


-- 
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 Sunday, 3 January 2010 18:56:52 UTC