Re: alias attribute of the ruleref element - current SRGS spec

Jim,

Thank you for your comment on SRGS. I'm sorry for the delay in
replying.

(This is the reply from the Voice Browser Working Group to
http://lists.w3.org/Archives/Public/www-voice/2002JulSep/0027.html)

Alias names were removed from the spec because the group had the
impression that this feature didn't add any value. In fact, if you
want to have a shorthand name for a uri you can just define a rule
that does nothing more than declaring an "alias name", for example:

<rule id="myAlias">
    <ruleref uri="http://www.example.com/some-very-long-path"/>
</rule>

If you put this "alias declaration" into your grammar you can replace
each occurrence of
<ruleref uri="http://www.example.com/some-very-long-path#rule"/>
with
<ruleref uri="#myAlias"/>

Whatever syntax you use for an alias declaration, you will always
have to write at least the full uri and its alias name. In the group's
opinion the (very small) overhead caused by the usage of the rule and
the ruleref elements didn't justify the introduction of a separate
element and attribute for aliases.

If you have any further questions, please feel free to ask.

Regards,
Stefan Krause (ScanSoft)
on behalf of the Voice Browser Working Group

Received on Tuesday, 1 April 2003 03:05:20 UTC