[
Lists Home |
Date Index |
Thread Index
]
Bullard, Claude L (Len) wrote:
> 1. Laissez-faire: send only the message. [...]
1a. Send the schema out of band, just once
(or only when necessary). Receiver checks the message
against *his* copy of the schema, which represents
his current understanding. This is what I do
in current XML publishing: I claim the message
conforms to a separately published DTD (available
on the Web), but it does not contain a DOCTYPE
declaration.
> 2. Schema/DTD travels with message. [...]
Really, the DTD part of a document is a lot like a checksum:
it guarantees self-consistency, not consistency
with anything else. Whenever I get an SGML feed,
I always worry that the new document type is
different from the old document type in a way
hidden by the packaged DTD, since there is a new
DTD with each message.
> 3. Ask the Web: use RDF or some other expert system
> what is needed. Isn't this sort of a dictionary? It
> works as long as you own or accept the ontology of
> others. This is Trust and Verify. Advantages?
This is the same as your case 4 (Java), but using a
declarative language rather than a procedural one.
--
Not to perambulate || John Cowan <jcowan@reutershealth.com>
the corridors || http://www.reutershealth.com
during the hours of repose || http://www.ccil.org/~cowan
in the boots of ascension. \\ Sign in Austrian ski-resort hotel
|