RFC Errata
RFC 5707, "Media Server Markup Language (MSML)", February 2010
Source of RFC: INDEPENDENTSee Also: RFC 5707 w/ inline errata
Errata ID: 4171
Status: Verified
Type: Technical
Publication Format(s) : TEXT
Reported By: Mistake in Schema
Date Reported: 2014-11-11
Verifier Name: Nevil Brownlee
Date Verified: 2014-12-22
Section 16.3.4 says:
<xs:element name="record" substitutionGroup="primitive"> <xs:complexType> <xs:complexContent> <xs:extension base="primitiveType"> <xs:choice minOccurs="0"> <xs:element ref="play" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="tonegen" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="recordexit"> <xs:complexType> <xs:group ref="sendType"/> </xs:complexType> </xs:element> </xs:choice>
It should say:
<xs:element name="record" substitutionGroup="primitive"> <xs:complexType> <xs:complexContent> <xs:extension base="primitiveType"> <xs:choice minOccurs="0"> <xs:element ref="play" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="tonegen" minOccurs="0" maxOccurs="unbounded"/> </xs:choice> <xs:element name="recordexit"> <xs:complexType> <xs:group ref="sendType"/> </xs:complexType> </xs:element>
Notes:
Example in section 13.3 shows both <play> and <recordexit> within <record>
but the schema doesn't allows this
Sec 13.3 example
<?xml version="1.0" encoding="UTF-8"?>
<msml version="1.1">
<dialogstart target="conn:12345" name="12345">
<record prespeech="3s" postspeech="5s" maxtime="60s" termkey="#"
dest="file://record.wav" format="g729">
<play barge="true">
<audio uri="file://prompt.wav"/>
</play>
<recordexit>
<send target="source" event="done"
namelist="record.len record.end"/>
</recordexit>
</record>
</dialogstart>
</msml>