Revert "PJSIP_CONTACT: add missing argument documentation"
authorJoshua Colp <jcolp@digium.com>
Wed, 11 Dec 2019 13:01:32 +0000 (07:01 -0600)
committerJoshua Colp <jcolp@digium.com>
Wed, 11 Dec 2019 13:01:32 +0000 (07:01 -0600)
This reverts commit 7e3015d77913accad9b1dcd200ceec30e52bf445.

Reason for revert: Regression in XML validation.

validity error : Content model of enumlist is not determinist:
(configOptionToEnum | (configOptionToEnum , enum+) | enum+)

As we are preparing to do releases and this is not critical
I am reverting this for now until resolved.

Change-Id: I30c2295f9d7f0a0475674ee77071a7ebabf5b83f

doc/appdocsxml.dtd
funcs/func_pjsip_contact.c

index 9f00ee5..21f1b9d 100644 (file)
   <!ATTLIST option implies CDATA "">
   <!ATTLIST option hasparams CDATA "">
 
-  <!ELEMENT enumlist (configOptionToEnum|(configOptionToEnum,enum+)|enum+)>
+  <!ELEMENT enumlist (configOptionToEnum|enum+)>
   <!ELEMENT enum (para|note|warning|parameter|enumlist|info|xi:include)*>
   <!ATTLIST enum name CDATA "">
 
index 9d4ba68..91f2f77 100644 (file)
                                        <configOptionToEnum>
                                                <xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='contact']/configOption)"/>
                                        </configOptionToEnum>
-                                       <enum name="rtt">
-                                               <para>The RTT of the last qualify</para>
-                                       </enum>
-                                       <enum name="status">
-                                               <para>Status of the contact</para>
-                                       </enum>
                                </enumlist>
                        </parameter>
                </syntax>