Re: trang and xsd-friendly schemas
David Carlisle <[email protected]> Mon, 13 Sep 2004 13:50:03 +0100
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
Sebastian
James' idea is elegant, but I don't think it solves the problem of
interleave, because
the outer schema will be more restrictive. ie if it says
a = x, y, z
whereas the inner one says
a = x & y & z
Yes but you could make your outer one something less restrictive and
xsd/dtd-friendly such as (x|y|z)* or even something equivalent and
xsd/dtd-friendly such as (x,((y,z?)|(z,y?))|y,((x,z?)|(z,x?))... etc
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________