Re: Improving 7.3 (was Re: Alternative approach for key/keyref)

From
James Clark <>
Date
2001-07-27T00:25:37+00:00
ID
00b501c1162f$f38a84e0$
Thread
Re: Improving 7.3 (was Re: Alternative approach for key/keyref)
> For example, a single grammar can have two patterns as below:
>
> <element name="foo">
>   <list>
>     <keyRef name="k"><data type="short"/></key>
>   </list>
> </element>
>
> and
>
> <element name="foo">
>   <list>
>     <keyRef name="k"><data type="short"/></keyRef>
>     <keyRef name="k"><data type="short"/></keyRef>
>   </list>
> </element>
>
> In my understanding, they do *not* make this schema key-ambiguous.  But do
we really
> need this?  We can even have <choice> or <group> between <list> and
<key>/<keyRef>.

I think disallowing this would make things more complicated not simpler.

James