OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] RE: RELAX NG and type derivation [Was:] XQuery and DTD/Sch

[ Lists Home | Date Index | Thread Index ]

Jeni Tennison scripsit:

> Couldn't <concur> be used to provide (very powerful and loosely
> coupled) derivation by restriction if it was reintroduced to RELAX NG?

The trick would be to see just how to specify those restrictions.
RNG is basically about expressing what is allowed, not what is forbidden,
although restrictions like "element/attribute not allowed" can be
expressed by name exceptions, and simple type restrictions by
data exceptions, I don't see how to restrict things like
frequency of occurrence easily.

I have proposed the return of concur, as well as WXS-style
min/max quantification, for RNG 2.0.

-- 
John Cowan           http://www.ccil.org/~cowan        jcowan@reutershealth.com
To say that Bilbo's breath was taken away is no description at all.  There are
no words left to express his staggerment, since Men changed the language that
they learned of elves in the days when all the world was wonderful. --The Hobbit




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS