Re: attribute constraints

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

David

_____________________________________________________________________
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