W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2001

Re: attribute constraints

From: David Carlisle <davidc@nag.co.uk>
Date: Tue, 9 Oct 2001 14:38:56 +0100
Message-Id: <200110091338.OAA13904@penguin.nag.co.uk>
To: vdv@dyomedea.com
CC: xmlschema-dev@w3.org

> The combination of W3C XML Schema and Schematron (or RELAX NG, W3C XML 
> Schema datatypes and Schematron as being currently discussed on other 
> lists) seems like a good way to leverage on each language for what it is 
> strong at.

yes I agree, but what I meant that I hope to be able to offer people a
DTD, a relaxng shema, a w3c, schema, a schematron, and a hand tuned XSL
stylesheet that validates all kinds of extra openmath-specific stuff.
And probably ooffer a web based form that will do all of these at once
if so desired. Given that, I'm not sure that embedding a bit of the
schematron into the w3c schema adds a lot.

Having said that, I'd characterise "this element takes exactly one
attribute" as somthing that belongs in your level 1 (even though dtd and
W3C Schema can't say that) logically I think relaxng/trex approach of
trying to be able to speak of attributes and child elements in similar
ways would have been a good design principle for a schema language.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
Received on Tuesday, 9 October 2001 09:42:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:54 UTC