Kohsuke KAWAGUCHI wrote:
>
> > Sounds interesting. A "computationally non-trivial nice-to-have" would
> > be combine="restrict". This would be the same as replace, but it would
> > be an error if the new content model was not a strict subset of the
> > current content model.
>
> Well, it's a challenge, to say the least.
I think that this is a very difficult problem. XML Schema has adopted very ugly
conditions so as to make it easier. XDuce has introduced an extremely smart
(but not always fast) algorithm for this purpose. I do not want to introduce
such a difficult problem to RELAX NG.
Cheers,
Makoto