W3C home > Mailing lists > Public > public-web-http-desc@w3.org > June 2005

Re: Caveats for Web-friendly service description

From: Stefan Tilkov <stefan.tilkov@innoq.com>
Date: Sun, 5 Jun 2005 09:11:42 +0200
Message-Id: <11B06B50-82AD-4D67-AAE2-AE8863AABE6C@innoq.com>
To: public-web-http-desc@w3.org
On Jun 1, 2005, at 4:29 PM, Marc Hadley wrote:

> ... if the representation is relatively simple and the description  
> includes parameters then the schema can be ignored when processing  
> a received representation (you just apply the XPaths and grab the  
> information you're interested in). However in order to produce a  
> document you need access to something that describes the format  
> you're expected to produce in some detail.
>

If the application follows Postel's law and treats incoming messages  
(requests) differently from outgoing messages (responses), does this  
need to be reflected in the description languages? Is something as  
strict as XSD a good choice to describe what you send while something  
more flexible such as Schematron is better to describe what you'll  
accept?

Stefan

--
Stefan Tilkov, stefan.tilkov@innoq.com, http://www.innoq.com
innoQ Deutschland GmbH, Halskestr. 17, D-40880 Ratingen, Germany
Phone: +49 170 471 2624  Fax: +49 2102 77160-1
ICQ: 177869128, AIM: stefantilkov, Weblog: http://www.innoq.com/blog/st/
Received on Sunday, 5 June 2005 07:11:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:19:11 GMT