Source XHTML docs served as "text/html"

(Source) XHTML documents served as "text/html" - may be treated as XML
by a GRDDL-aware agent...?

I can't remember if this has come up already, either way I couldn't
see anywhere in the docs it was covered. I've a feeling trying to deal
with it normatively in the text might be a rathole because RFC 3023 is
a bit ratty. But perhaps a test case is in order?

Although strictly speaking this seems to violate authoritative
metadata, pragmatically it probably makes sense based on existing
precedent (and use in the wild) -
[[
XHTML Documents which follow the guidelines set forth in Appendix C,
"HTML Compatibility Guidelines" may be labeled with the Internet Media
Type "text/html" [RFC2854], as they are compatible with most HTML
browsers.
]]
http://www.w3.org/TR/xhtml1/#media

There are test cases nearby already:
http://www.w3.org/2001/sw/grddl-wg/td/multipleRepresentations
(note there's a typo in the <h1> of that doc)

Maybe have that served as both "application/xhtml+xml" as well as "text/html"?

Cheers,
Danny.

-- 

http://dannyayers.com

Received on Saturday, 2 June 2007 08:17:44 UTC