Layers, again (was Re: fixing (just) namespaces and validation)
Rick Jelliffe
ricko at allette.com.au
Sat Sep 11 08:14:23 BST 1999
From: Simon St.Laurent <simonstl at simonstl.com
>No, you don't have the choice of applying _validation_ at whatever
level
>you like - currently, you have the choice of applying it or not
applying it
>during the parser.
It seems a bit strange to say on the one hand that "XML is too
monolithic" and at the same time that namespaces should not be a
separate layer and should be folded into the base spec. Which is not to
say that it is an impossible view.
However, I don't understand the quoted paragraph: who has the choice of
validation? The recipient of a document can choose validation only by
installing a validating parser; the generator of a document can only
choose validation the same way! The instructions needed for a document
to *instruct* a system as to what kind of validity may be required are
missing from any XML spec: the standalone declaration is advisory.
Without such a mechanism, validity cannot be part of schemata: a
document cannot assert that it should be valid (according to a DTD or
any other schematic) before it is used. I think this is a hole that
should be plugged.
Rick Jelliffe
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list