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

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 []
Sent: Thursday, April 11, 2002 7:05 AM
Subject: The mark tag My comment on SSML working draft 5 April 2002.


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=""
   <p id="marks">
         We would like
         <span id="congrats">
            to extend our warmest congratulations
         to the members of the Voice Browser Working Group!
      <s id="really">
         Really, we would.
         Go from <span id="here" /> here, to <span id="there" /> there!

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.


Received on Friday, 8 August 2003 20:11:53 UTC