Re: Caveats for Web-friendly service description

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 UTC