[alicebot-archcomm] Shortcut elements, and the <sr/> tag

Jonathan Roewen alicebot-archcomm@list.alicebot.org
Fri, 18 Jul 2003 13:44:55 +1200


Hi Guys,

It's been a while since any major discussion has happened here....

Anyways, I was thinking about the semantics of the <sr/> tag, and how it is
simply a shortcut for <srai><star index="1"/></srai>. Also, as far as I am
aware, it doesn't support the index attribute.

With regard to some other tags, who use empty content to define their
semantics to become a shortcut tag include person, and gender.  Maybe it is
time to either a) remove all shortcut elements (creating implicit content
for a tag with empty content can be confusing), or b) make the shortcut tags
more well defined, ie: tags who can contain content, and does not generate
any effects/content if the tag contains empty content, should support being
used as a shortcut element.  Also, all shortcut elements should support the
index attribute.

Secondly, I propose that the <sr/> tag be deprecated, as using a unified
approach to defining shortcut elements would make <srai/> the equivalent
replacement to <sr/>. Or, if shortcut elements are to be removed completely,
then <sr/> should be removed for the same reason.

Regards,

Jon