RFC Errata
RFC 4235, "An INVITE-Initiated Dialog Event Package for the Session Initiation Protocol (SIP)", November 2005
Note: This RFC has been updated by RFC 7463, RFC 8996
Source of RFC: sipping (rai)
Errata ID: 4237
Status: Reported
Type: Technical
Publication Format(s) : TEXT
Reported By: Xiaofeng Xu
Date Reported: 2015-01-19
Section 4.4 says:
<xs:complexType name="participant"> <xs:sequence> <xs:element name="identity" type="tns:nameaddr" minOccurs="0" maxOccurs="1"/> <xs:element name="target" minOccurs="0" maxOccurs="1"> <xs:complexType> <xs:sequence> <xs:element name="param" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:attribute name="pname" type="xs:string" use="required"/> <xs:attribute name="pval" type="xs:string" use="required"/> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="uri" type="xs:string" use="required"/> </xs:complexType> </xs:element> <xs:element name="session-description" type="tns:sessd" minOccurs="0" maxOccurs="1"/> <xs:element name="cseq" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1"/> <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType>
It should say:
<xs:complexType name="participant"> <xs:sequence> <xs:element name="identity" type="tns:nameaddr" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="target" minOccurs="0" maxOccurs="1"> <xs:complexType> <xs:sequence> <xs:element name="param" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:attribute name="pname" type="xs:string" use="required"/> <xs:attribute name="pval" type="xs:string" use="required"/> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="uri" type="xs:string" use="required"/> </xs:complexType> </xs:element> <xs:element name="session-description" type="tns:sessd" minOccurs="0" maxOccurs="1"/> <xs:element name="cseq" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1"/> <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType>
Notes:
The identity element is defined as maxOccurs="1" in the XML schema. However, in the section 4.1.6 of RFC4235, it says "Note that multiple identities (for example a sip: URI and a tel: URI) could be included if they all correspond to the participant". This seems to contradict with the XML schema.