Re: key/keyref problem

> Part II:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Aung:
> >> How about this: should this work? (how/why?)
> >> C:
> >> <root>
> >> <element name="a">
> >>         <key   name="A">
> >> </element>
> >> <element name="b">
> >>         <keyref   refer="A">
> >> </element>
> >> </root>
>
> Priscilla:
> > No, because the key and keyref have to be defined in the same element,
> or
> the key has to be defined in a child element.  Neither is the case here.

> ht:
> Not quite, Priscilla -- since <b> is unconstrained, in a valid
> instance an <a> might occur inside it, so the above is OK.

Could you give me an example of a valid instance that shows the above is
ok?
- Ki

Received on Wednesday, 22 August 2001 17:59:12 UTC