Declarative constraints for XML documents

Mike Spreitzer spreitze at
Wed Aug 18 15:58:53 BST 1999

> I'm not sure that XSL is the place to enforce constraints
> since it's for
> style.  Constraints also probably shouldn't live in the XML document
> since they don't participate in the information space, but
> act upon it.
> Perhaps, in the same way that a document points to a schema
> and a style
> sheet, there should be a pointer to a set of methods that
> would describe
> these constraints or any other operations.

Declarative constraints are what schemas are for!  The W3C's XML Schema
Working Group has already accepted as a requirement the ability to put
"application-specific constraints" into schemas (see Structural
requirement 5 in
<>).  Let's not
architect things that are "schema-like" but "not schemas"; let's make
schemas able to say what we need them to say.


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list