W3C home > Mailing lists > Public > www-voice@w3.org > April to June 2003

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

From: Krause, Stefan <Stefan.Krause@Scansoft.com>
Date: Tue, 1 Apr 2003 15:56:47 +0200
Message-ID: <BBF29C9B95E52E4DB5C29A0ACC94E83B088601@ac-exch1.eu.scansoft.com>
To: "'jmurphy@themurph.net'" <jmurphy@themurph.net>
Cc: "'www-voice@w3.org'" <www-voice@w3.org>

I've just seen that all the '<' and '>' were escaped in my original
mail. This version is more readable:

---------------------

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 08:56:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 October 2006 12:48:58 GMT