XSchema validity (was: root element)

Michael Kay M.H.Kay at eng.icl.co.uk
Fri Jul 3 15:04:20 BST 1998


>I meant the barfing semantics.  Valid was clearly a poor
choice of words.

This is going to get worse. Perhaps we should use:

well-formed: as defined in XML 1.0 (loosely, matching tags
etc)

valid: as defined in XML 1.0 (loosely, conforms to its own
DTD)

conforms to XYZ: conforms to the rules of standard XYZ (e.g.
XML-Namespace). This may of course be an
application-oriented (anti-barfing) standard

obeys ABC: conforms to the constraints specified in XSchema
ABC

These are predicates that can be applied to any XML document
including, of course, an XSchema. For an XSchema [document]
to be conformant to the XSchema standard if must be
well-formed, it must be valid under the XSchema DTD, and it
must meet additional constraints described in the text of
the XSchema standard.

An interesting question: is it an objective to allow all
[reasonable] "conformance" rules for an application to be
expressed as XSchema constraints?

Mike Kay


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/
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