Selon Brian Beck <[EMAIL PROTECTED]>:

>
> Brian Beck wrote:
> > Found it.  Forgot to add mochi:format to the DTD attribute list.
>
> For anyone else who runs into this, here's a comment from the top of
> the Sortable Tables HTML:
>
> Technically we should be using this:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"; [<!ATTLIST th
> mochi:format CDATA #IMPLIED>]>
>
> However, that will only work if the document is served with a
> Content-Type of "application/xhtml+xml".  Browsers don't parse the tag
> right otherwise.

Indeed. They don't because if you send XHTML with text/html, browsers think you
send them HTML and not XML.

http://www.hixie.ch/advocacy/xhtml


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to