[relaxng-user] trang and xsd-friendly schemas

David Carlisle davidc at nag.co.uk
Mon Sep 13 13:50:03 ICT 2004


  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


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:

More information about the relaxng-user mailing list