W3C home > Mailing lists > Public > www-voice@w3.org > October to December 2006

Re: Foreach description discrepancies

From: Max Froumentin <mf@w3.org>
Date: Tue, 19 Dec 2006 12:20:13 +0000
To: Petr Kuba <kuba@optimsys.cz>
Cc: www-voice@w3.org
Message-ID: <m27iwodqma.fsf@ooomph.local>

Petr Kuba <kuba@optimsys.cz> writes:

> Proposed change:
> Remove the elements that cannot appear in executable content from the
> XML Schema.

Here are the changes I suggest to the schema, I haven't checked instances
yet, but I welcome checks from anyone:

- the type "foreach-full.type" is renamed and redefined so that
are no longer allowed: break, emphasis, mark, phoneme, prosody,
say-as, sub, voice and structure. Only "executable.content" remains.

    <xsd:complexType name="foreach-not-in-prompt.type" mixed="true">
        <xsd:documentation>This type is for foreach elements that appear outside of prompts, in executable content</xsd:documentation>
      <xsd:group ref="executable.content" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:attribute name="item" type="RestrictedVariableName.datatype" use="required"/>
      <xsd:attribute name="array" type="Script.datatype" use="required"/>

- the type "foreach-restricted.type" is renamed "foreach-in-prompt.type".
Its definition is unchanged.

Received on Tuesday, 19 December 2006 12:20:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:03:53 UTC