"William F. Hammond" wrote: [...] > So an xml-aware browsing client should: > > 1. Look for the first document instance tag as described above. > 2. If that matches exactly the string '<html xmlns="', then the > xml parser should be called. yes, this is the way I think it should be done. For editing tools, I think there's a little bit more to it; see also: silent recovery from errors considered harmful From: Dan Connolly (connolly@w3.org) Date: Mon, Aug 28 2000 http://lists.w3.org/Archives/Public/www-amaya/2000JulSep/0237.html > This is hardly "sniffing". > > And it's not a big performance hit. > > What better way is there for telling a client that something served as > "text/html" needs to go through the xml parser when it is given that > some extant widely distributed clients won't handle xhtml when served > as "text/xml" whether they are within spec or not. > > -- Bill -- Dan Connolly, W3C http://www.w3.org/People/Connolly/Received on Friday, 2 February 2001 13:06:46 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:38:44 GMT