Re: which one is faster
| From: | Andy McKenzie | Date: | Wed, 06 Oct 2010 13:21:41 +0000 |
| Subject: | Re: which one is faster | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-308504@lists.php.net to get a copy of this message | ||
On Wed, Oct 6, 2010 at 9:03 AM, Robert Cummings <robert@interjinn.com> wrote:
> On 10-10-06 08:52 AM, Peter Lind wrote:
>>
>> Where exactly do you get the part about double quotes from? Can't seem
>> to locate it in the any of the relevant specs (xhtml or xml). Also,
>> never seen an xml or xhtml validator choke on single quotes.
>
> http://www.w3.org/TR/xhtml1/#h-4.2
>
> Cheers,
> Rob.
I don't see that it explicitly states a requirement for double quotes
there -- it certainly implies it, but the text never says anything
about either double-quotes being required or single-quotes being
disallowed.
Full text: "All attribute values must be quoted, even those which
appear to be numeric."
Is there a statement somewhere in the document that says quotes are
always double-quotes?
-Alex