RFC Errata
RFC 5707, "Media Server Markup Language (MSML)", February 2010
Source of RFC: INDEPENDENTSee Also: RFC 5707 w/ inline errata
Errata ID: 4640
Status: Verified
Type: Technical
Publication Format(s) : TEXT
Reported By: Ignacio Bertacchini
Date Reported: 2016-03-16
Verifier Name: Nevil Brownlee
Date Verified: 2017-07-20
Section 16.3.10 says:
<xs:element name="tts" type="smediaType" substitutionGroup="smedia"/>
It should say:
<xs:element name="tts" substitutionGroup="smedia"> <xs:complexType mixed="true"> <xs:complexContent> <xs:extension base="smediaType"> <xs:attribute name="uri" type="xs:string" use="optional"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element>
Notes:
The tts element as is provided does not accept the uri attribute, nor the text content indicated by the RFC. The corrected validation supports commands like the following:
<?xml version="1.0" encoding="UTF-8"?>
<msml version="1.1">
<dialogstart target="conn:AAI_Unique_ID_1" name="sample" type="application/moml+xml">
<play>
<tts uri="file:///somefile.vxml"/>
<tts uri="file:///someotherfile.vxml" iterate="2" xml:lang="en-us"/>
<tts xml:lang="es-ar">text to be read</tts>
<tts>other text</tts>
</play>
</dialogstart>
</msml>