W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2006

[whatwg] [WebApps] Entity consumption

From: J. King <jking@dark-phantasy.com>
Date: Fri, 14 Jul 2006 10:54:33 -0400
Message-ID: <op.tcoo07applbshj@briann>
There are two paragraphs at the end of section 8.2.1.1:

  # When an end tag token is emitted, the content model
  # flag must be switched to the PCDATA state.
  #
  # When an end tag token is emitted with attributes,
  # that is a parse error.

They don't seem to make sense in context; are they editing artefacts?

Also, the "anything else" (ie. named entities as opposed to character  
references) case states:

  # Consume the maximum number of characters possible,
  # with the consumed characters case-sensitively matching
  # one of the identifiers in the first column of the
  # entities table.

It isn't quite clear from this what constitutes a consumable character in  
this context.  When looking at the table it's reasonably obvious that the  
range is [A-Za-z], but it might be helpful to have it stated in the main  
text.

-- 
J. King
http://jking.dark-phantasy.com/
Received on Friday, 14 July 2006 07:54:33 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:47 UTC