[topicmapmail] Zero or more roleplayers in XTM 1.0.1

Martin Bryan mtbryan@sgml.u-net.com
Thu, 14 Nov 2002 08:55:23 -0000


Marc

> This was a change since 1.0, which required at least one. I am curious
about
> the reason for this change - at first sight having a member element with a
> role specification but with zero role players does not seem to make sense,
but
> since the change was very intentional presumably there is a good reason
which
> I fail to see. Can anybody help? What use could this have:
>
> <association>
>   <member>
>     <roleSpec>
>       <topicRef xlink:href="#role"/>
>     </roleSpec>
>   </member>
> </association>

The zero case allows you to define roles within templates, where you know
they will need to be assigned players later but do not at present know them.

Martin Bryan