[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RE: RELAX NG and type derivation [Was:] XQuery and DTD/Sch
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@r... 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|