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

Re: Application of Postel's Law to XML (as Re: Trust andcontro

  • From: Liam R E Quin <liam@w3.org>
  • To: Amelia A Lewis <amyzing@talsever.com>
  • Date: Mon, 04 Feb 2013 13:28:39 -0500

Re:  Application of Postel's Law to XML (as Re: Trust andcontro
On Mon, 2013-02-04 at 12:09 -0500, Amelia A Lewis wrote:
> On Mon, 4 Feb 2013 16:57:33 +0000, Costello, Roger L. wrote:
> > I want to fully understand what it means to apply Postel's Law to XML.
> 
> So far as I can see, XML's insistence on well-formedness is a direct 
> contradiction to Postel's Law. It mandates that receivers be rigorous. 

If you take it that way, most Web servers contravene it - they are not
strict in what they put out, being willing to serve up content as
text/html that is not valid, or application/xml that is no well-formed.

The maxim came from the development of low-level protocols and should
not really be applied as a "best practice" to higher layers. When you
have something like TCP/IP or even FTP, a certain amount of tolerance
does help, but the software was never expected to handle total garbage
and make the best of it that it could.  An example for TCP/IP would be
accepting "trailing packet headers", a variant used because the DEC VAX
at the time wasn't fast enough to analyze network packets in real time
to know whether it should save them. It's a known and documented variant
and it made sense to support it widely.  But TCP/IP systems still reject
packets with bad checksums or incorrect length fields, and demand
retransmission.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.