[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Issue: redefinition without the original
> I don't think the proposal addressed this issue.
>
> Your example seems to be mixing two different issues. Consider just:
>
> A.rng
> <grammar>
> <include href="B.rng">
> <define name="foo"> ... </define>
> </include>
> </grammar>
>
> B.rng
> <grammar/>
>
> If the user has done this, then they have probably made a mistake. On the
> other hand the semantics are clear. We can either make this an error or
> suggest that implementations give a warning. Please open an issue on this
> one.
The following example might be more complex:
A.rng:
<grammar>
<include href="B.rng"/>
<include href="C.rng">
<define name="foo"> .... </define>
</include>
</grammar>
B.rng:
<grammar>
<define name="foo"> ... </define>
</grammar>
C.rng:
<grammar/>
I prefer to allow this because this restriction is difficult to
implement.
--
Kohsuke KAWAGUCHI +1 650 786 0721
Sun Microsystems kohsuke.kawaguchi@eng.sun.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC