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

Re: Postel's "Law": A question for liberal parsers


Re:  Postel's "Law": A question for liberal parsers

On Jan 15, 2004, at 2:41 PM, Bob Wyman wrote:
>
>     I would like to be "conservative" in what I generate, but the
> problem is that as an intermediary, I'm being fed a lot of stuff that
> was generated "liberally". So, I'm in a bind... One interpretation of
> Postel's law would say that I should do my best to output proper RSS
> V2.0 while being liberal about what I accept. However, another set of
> rules (i.e. intermediaries should minimize how much they muck with
> content passing through...) would force me to generate non-conforming
> feeds. How do I solve this dilemma?
>
I think the term "Service Oriented Architecture" might help organize 
your thoughts: What service are you providing?  Do you offer more than 
one?  How can the "customer" tell you about the service(s) they wish to 
receive from you?.  If you have the technical means, you could offer a 
raw but routed feed and a filtered, routed feed.  Even a semantically 
cleaned up feed, as long as you document the rules (e.g., "we'll use 
the current date as the starting point for any guesses about an 
ambiguous date.")  It depends on what problems your consumers are 
trying to solve with the data you provide.

  Likewise, consider whatever you do as an experiment, sortof like 
Amazon offering both a REST and SOAP/WSDL interface to their services.  
Learn from the successes and failures of the people downstream (and 
whatever success or failure you have in convincing upstream people to 
clean up their data).  And let the rest of us know what you learn!

Don't worry too much about Postel's "Laws" or any of this other stuff. 
I'm sure plenty of people will give you opposing advice (or 
authoritative declarations that you are totally wrong, broken, and 
clueless) no matter which you do or what combinations you offer.  My 
only advice is to remember that you are exploring the unknown; nobody 
REALLY knows what will work, what will break, and which of today's 
standards and best practices will be taken seriously 5 or 10 years from 
now.  It's possible that doing the expedient thing to keep customers 
happy will pollute the memespace and keep XML/RSS/Atom/whatever from 
reaching its full potential.  It's certain, however, that it won't 
reach its full potential if it is stillborn for lack of ability to 
solve real problems for real people.



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.