Larry Leszczynski wrote:
> 
> On Thu, 09 Jul 2009 12:48 -0700, "Sean McAfee" <[email protected]> wrote:
>> On Thu, Jul 9, 2009 at 3:39 PM, Larry Leszczynski
>>>
>>> but this is:
>>>
>>>   <meta name="some key" content="some value">
>>>
>> Er... Reference?  My understanding is that XHTML is XML, and XML allows
>> either type of quote, ergo XHTML allows either type of quote.
> 
> You are correct, Sean, the spec says both are allowed (despite many
> references on the web to the contrary) - my bad.  The examples in:
> 
>    http://www.w3.org/TR/xhtml1/
> 
> having to do with quoting all use double quotes, but both single and
> double validate just fine.

The spec also says that the name attribute is an NMTOKEN
<http://www.w3.org/TR/xhtml1/#C_8> so a valid element is, e.g.:

  <meta name="some_key" content="some value">

Cheers, Dave

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to