Next in thread → Next in month →

Re: [xml-dev] Service Constraints

From
John Cowan <>
To
Andrew Welch <>
Date
2011-04-11T15:08:30Z
ID
<>
Thread
Re: [xml-dev] Service Constraints
Andrew Welch scripsit:

> The extreme flip side is an XSD where everything is optional, which
> doesn't do anyone any good,

Actually, it can.  $EMPLOYER provides an interface of the form "Tell me
all you know about a real-world entity with the following properties".
Both request and reply use the same all-is-optional schema.  Obviously,
if the request contains only obscure properties, you may get back no
results; likewise, it's possible that the properties you supply are all
we know, so we echo them back to you.

But without the schema, there would be no agreement about which
properties are available, or how they are denoted.

-- 
What asininity could I have uttered     John Cowan <>
that they applaud me thus?              http://www.ccil.org/~cowan
        --Phocion, Greek orator
Next in thread → Next in month →