libnetfilter_conntrack.xsd: Add targetNamespace
This will avoid xsd2ttcn generating a module called NoTargetNamespace
This commit is contained in:
parent
6061691a73
commit
7602503a3a
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.netfilter.org/xml/libnetfilter_conntrack"
|
||||
xmlns:nfct="http://www.netfilter.org/xml/libnetfilter_conntrack">
|
||||
<xs:complexType name="empty_type">
|
||||
</xs:complexType>
|
||||
<xs:simpleType name="hour_type">
|
||||
|
@ -63,22 +64,22 @@
|
|||
</xs:complexType>
|
||||
<xs:complexType name="when_type">
|
||||
<xs:sequence>
|
||||
<xs:element name="hour" type="hour_type"/>
|
||||
<xs:element name="min" type="minute_type"/>
|
||||
<xs:element name="sec" type="second_type"/>
|
||||
<xs:element name="wday" type="wday_type"/>
|
||||
<xs:element name="day" type="mday_type"/>
|
||||
<xs:element name="month" type="month_type"/>
|
||||
<xs:element name="hour" type="nfct:hour_type"/>
|
||||
<xs:element name="min" type="nfct:minute_type"/>
|
||||
<xs:element name="sec" type="nfct:second_type"/>
|
||||
<xs:element name="wday" type="nfct:wday_type"/>
|
||||
<xs:element name="day" type="nfct:mday_type"/>
|
||||
<xs:element name="month" type="nfct:month_type"/>
|
||||
<xs:element name="year" type="xs:integer"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:group name="orig_repl_group">
|
||||
<!-- original or reply tuple -->
|
||||
<xs:sequence>
|
||||
<xs:element name="layer3" type="layer3_type"/>
|
||||
<xs:element name="layer4" type="layer4_type"/>
|
||||
<xs:element name="layer3" type="nfct:layer3_type"/>
|
||||
<xs:element name="layer4" type="nfct:layer4_type"/>
|
||||
<xs:element name="zone" type="xs:integer" minOccurs="0"/>
|
||||
<xs:element name="counters" type="counters_type" minOccurs="0"/>
|
||||
<xs:element name="counters" type="nfct:counters_type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
<xs:group name="indep_group">
|
||||
|
@ -90,16 +91,16 @@
|
|||
<xs:element name="zone" type="xs:integer" minOccurs="0"/>
|
||||
<xs:element name="use" type="xs:integer" minOccurs="0"/>
|
||||
<xs:element name="id" type="xs:integer" minOccurs="0"/>
|
||||
<xs:element name="assured" type="empty_type" minOccurs="0"/>
|
||||
<xs:element name="unreplied" type="empty_type" minOccurs="0"/>
|
||||
<xs:element name="timestamp" type="timestamp_type" minOccurs="0"/>
|
||||
<xs:element name="assured" type="nfct:empty_type" minOccurs="0"/>
|
||||
<xs:element name="unreplied" type="nfct:empty_type" minOccurs="0"/>
|
||||
<xs:element name="timestamp" type="nfct:timestamp_type" minOccurs="0"/>
|
||||
<xs:element name="deltatime" type="xs:integer" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
<xs:complexType name="meta_type">
|
||||
<xs:choice>
|
||||
<xs:group ref="orig_repl_group"/>
|
||||
<xs:group ref="indep_group"/>
|
||||
<xs:group ref="nfct:orig_repl_group"/>
|
||||
<xs:group ref="nfct:indep_group"/>
|
||||
</xs:choice>
|
||||
<xs:attribute name="direction" use="required">
|
||||
<xs:simpleType>
|
||||
|
@ -111,17 +112,17 @@
|
|||
</xs:complexType>
|
||||
<xs:complexType name="flow_type">
|
||||
<xs:sequence>
|
||||
<xs:element name="meta" type="meta_type"/>
|
||||
<xs:element name="meta" type="meta_type"/>
|
||||
<xs:element name="meta" type="meta_type"/>
|
||||
<xs:element name="when" type="when_type" minOccurs="0"/>
|
||||
<xs:element name="meta" type="nfct:meta_type"/>
|
||||
<xs:element name="meta" type="nfct:meta_type"/>
|
||||
<xs:element name="meta" type="nfct:meta_type"/>
|
||||
<xs:element name="when" type="nfct:when_type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="flow" type="flow_type"/>
|
||||
<xs:element name="flow" type="nfct:flow_type"/>
|
||||
<xs:element name="flows">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="flow" type="flow_type" minOccurs="1" maxOccurs="unbounded"/>
|
||||
<xs:element name="flow" type="nfct:flow_type" minOccurs="1" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
|
Loading…
Reference in New Issue