Skip to content

Commit 21b7284

Browse files
committed
Backward compatible fix for recursion of GetZeroConfiguration
1 parent 824ff8c commit 21b7284

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

wsdl/ver10/schema/onvif.xsd

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3169,7 +3169,7 @@ decoding .A decoder shall decode every data it receives (according to its capabi
31693169
</xs:sequence>
31703170
</xs:complexType>
31713171
<!--===============================-->
3172-
<xs:complexType name="NetworkZeroConfiguration">
3172+
<xs:complexType name="NetworkZeroConfigurationEntry">
31733173
<xs:sequence>
31743174
<xs:element name="InterfaceToken" type="tt:ReferenceToken">
31753175
<xs:annotation>
@@ -3186,15 +3186,24 @@ decoding .A decoder shall decode every data it receives (according to its capabi
31863186
<xs:documentation>The zero-configuration IPv4 address(es)</xs:documentation>
31873187
</xs:annotation>
31883188
</xs:element>
3189-
<xs:element name="Extension" type="tt:NetworkZeroConfigurationExtension" minOccurs="0"/>
31903189
</xs:sequence>
31913190
<xs:anyAttribute processContents="lax"/>
31923191
</xs:complexType>
31933192
<!--===============================-->
3193+
<xs:complexType name="NetworkZeroConfiguration">
3194+
<xs:complexContent>
3195+
<xs:extension base="tt:NetworkZeroConfigurationEntry">
3196+
<xs:sequence>
3197+
<xs:element name="Extension" type="tt:NetworkZeroConfigurationExtension" minOccurs="0"/>
3198+
</xs:sequence>
3199+
</xs:extension>
3200+
</xs:complexContent>
3201+
</xs:complexType>
3202+
<!--===============================-->
31943203
<xs:complexType name="NetworkZeroConfigurationExtension">
31953204
<xs:sequence>
31963205
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
3197-
<xs:element name="Additional" type="tt:NetworkZeroConfiguration" minOccurs="0" maxOccurs="unbounded">
3206+
<xs:element name="Additional" type="tt:NetworkZeroConfigurationEntry" minOccurs="0" maxOccurs="unbounded">
31983207
<xs:annotation>
31993208
<xs:documentation>Optional array holding the configuration for the second and possibly further interfaces.</xs:documentation>
32003209
</xs:annotation>

0 commit comments

Comments
 (0)