W3C home > Mailing lists > Public > www-voice@w3.org > July to September 2003

RE: The mark tag My comment on SSML working draft 5 April 2002.

From: Daniel Burnett <burnett@nuance.com>
Date: Fri, 8 Aug 2003 17:04:03 -0700
Message-ID: <ED834EE1FDD6C3468AB0F5569206E6E91AF306@MPB1EXCH02.nuance.com>
To: <Stijn.Vandamme@rug.ac.be>
Cc: <www-voice@w3.org>

Dear Adhemar,

Thank you for your review of last year's specification draft.

We have officially Rejected this request.
Here's our response:

>>> We have two responses to this. First, we use a special element
>>> rather than allowing every "id" attribute to act as a mark
>>> because it could be expensive to stream back an event for every
>>> "id" you encounter during production, especially for a small-
>>> footprint device using a network-based synthesis processor.
>>> Second, we use a "name" attribute on the mark element because
>>> that's a better description of what it is. If you'll notice,
>>> the schema actually uses ID as the type. In short, XML id's
>>> are generally used as anchors for external references *into*
>>> a document -- you can never have too many -- while
>>> <mark name= ...> is primarily used to convey information back
>>> while processing the document.

If you believe we have not adequately addressed your request,
please let us know as soon as possible.  If we do not hear
from you within 14 days, we will take this as tacit acceptance.

Again, thank you for your input.

-- Dan Burnett
Synthesis Team Leader, VBWG

-----Original Message-----
From: Stijn "Adhemar" Vandamme [mailto:Stijn.Vandamme@rug.ac.be]
Sent: Thursday, April 11, 2002 7:05 AM
To: www-voice@w3.org
Subject: The mark tag My comment on SSML working draft 5 April 2002.


Hello,

Why does the SSML need a mark-tag with name-attribute to place a marker
into the text/tag sequence and contain text that is used to reference a
special sequence of tags and text, either for internal reference within
the SSML document, or externally by another document?

Can some-one explain to me why this can't be done with an id-attribute in
an arbitrary tag, like in many other XML specifications (e.g. XHTML)?

If no the text that should be referenced is not enclosed in a tag yet, I
suggest using a span-tag, for consistency with XHTML.

I give an example:

<?xml version="1.0" encoding="ISO-8859-1"?>
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis"
 xml:lang="en-US">
   <p id="marks">
      <s>
         We would like
         <span id="congrats">
            to extend our warmest congratulations
         </span>
         to the members of the Voice Browser Working Group!
      </s>
      <s id="really">
         Really, we would.
      </s>
   </p>
   <p>
      <s>
         Go from <span id="here" /> here, to <span id="there" /> there!
      </s>
   <p>
</speak>

Herein, a full paragraph, a part of a sentence, a full sentence and two
"moments" are marked, using an id-attribute in a p-tag or an s-tag when
available, and in a span-tag otherwise.

Just my question and comment.

Adhemar.
Received on Friday, 8 August 2003 20:11:53 GMT

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