Karl Swedberg wrote:
> Hi Sam,
> 
> You're using the HTML 5 doctype with the xmlns attribute in the <html> 
> tag. Is that intentional?

Yes.

>> <!DOCTYPE html>
>> <html xmlns="http://www.w3.org/1999/xhtml";>
> 
> If you either remove the xmlns attribute ...
> 
>     <!DOCTYPE html>
>     <html>
> 
> ... or use the xhtml dtd ...
> 
>     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
>     <html xmlns="http://www.w3.org/1999/xhtml";>
> 
> ... it appears to work just fine.

My guess is that you made this change on your machine, and tested it 
using "text/html" as the mime type.  If so, you needn't have made any 
change at all, the key is difference is the mime type which causes 
browsers to trigger XHTML mode.

$ curl url -s -I -H 'Accept:application/xhtml+xml' \
   http://intertwingly.net/stories/2009/01/14/test13.html | \
   grep -i content-type
Content-Type: application/xhtml+xml;charset=utf-8

> --Karl

- Sam Ruby

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to