W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2003

parsing of attributes

From: Per Bothner <per@bothner.com>
Date: Sat, 10 May 2003 16:27:20 -0700
To: public-qt-comments@w3.org
Message-id: <3EBD8AD8.5060704@bothner.com>

Three problems/questions in the latest draft:

(1) AttributeValue and AttributeContentValue should be
"re-factored" to:

   AttributeValue ::=
     ('"' (EscapeQuot | AttributeValueContent |
           QuoteAttributeContentChar)* '"')
   | ("'" (EscapeApos | AttributeValueContent |
           AposAttributeContentChar)* "'")

   AttributeValueContent ::=
     CharRef
   | "{{"
   | "}}"
   | EnclosedExpr
   | PredefinedEntityRef

(2) QuoteAttributeContentChar and AposAttributeContentChar
exclude '<'.  Why?

(3) A.2.2 lexical rules: The QUOT_ATTRIBUTE_CONTENT State
"This state is the same as QUOT_ATTRIBUTE_CONTENT" should
be "same as APOS_ATTRIBUTE_CONTENT".
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/
Received on Saturday, 10 May 2003 19:26:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:24 GMT