[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Microsoft's deeply cynical appeal to"standards compliance"

  • From: Benjamin Franz <snowhare@n...>
  • To: XML-DEV <xml-dev@l...>
  • Date: Fri, 26 Oct 2001 08:26:01 -0700 (PDT)

backward compatibility guidelines microsoft
On Fri, 26 Oct 2001, Bjoern Hoehrmann wrote:

> * Ann Navarro wrote:
> >
> >Contrary to popular myth, XHTML doesn't necessarily need "direct support"
> >at all. Following the backward compatibility guidelines one can write fully
> >valid XHTML documents that display in nearly any browser, especially the
> >most recent ones without any trouble.
> >
> >There's no impossible conformance requirements at all.
>
> XHTML documents delivered as text/html must be parsed as HTML documents,
> not as XML documents, thus SGML rules apply. Consider a simple case like
>
>   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

[snip]

DOCTYPE: XHTML 1.0 Strict

In an argument between Content-Type: (a HTTP protocal layer declaration)
and DOCTYPE (an explicit declaration _within_ the document as to what it
is that exists even when a document is NOT being delivered via the web),
DOCTYPE wins. If you consider 'Content-Type' to be _advisory_ rather than
_canonical_, it works fine.

Given that 'text/html' has been used since HTML pretty much consisted of
'whatever Mosaic/CERN linemode/lynx' would accept' and never changed as
HTML went from no number to 'whatever Netscape/Microsoft would accept' to
2.0 to 3.2 to 4.0, claiming to know what 'text/html' "is" is more than
somewhat questionable in _any_ context.

XHTML works fine in practice. I have used it routinely for well over a
year (I even have an 'XHTML compatibility' guidelines page posted on my
company intranet for it). XHTML aware browsers 'get it' automatically,
HTML browsers are (with vanishingly few exceptions) NOT SGML parsers and
so 'get it' as well.

-- 
Benjamin Franz

 "Code as if whoever maintains your code is a violent
  psychopath who knows where you live."
                    -- Nancy Lebovitz, the button lady



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.