Fix: remove duplicate elements definition in mi_lttng.xsd
authorJonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Fri, 25 Jul 2014 14:03:28 +0000 (10:03 -0400)
committerJonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Fri, 25 Jul 2014 14:21:29 +0000 (10:21 -0400)
The presence of a *duplicate* elements can lead to ambiguity when
validating when using java validator. This is a mostly rebasing error.

src/common/mi_lttng.xsd

index a54e6bfbf189b6393ea852f3d9566fe387726863..f63065c398de007d7c19d9efe3f7419a6bfded8e 100644 (file)
@@ -437,7 +437,6 @@ THE SOFTWARE.
        <xs:complexType name="output_type">
                <xs:choice>
                        <xs:element name="domains" type="domains_type" minOccurs="0" />
-                       <xs:element name="session" type="session_type" minOccurs="0" />
                        <xs:element name="sessions" type="sessions_type" minOccurs="0" />
                        <xs:element name="session" type="session_type" minOccurs="0" />
                        <xs:element name="snapshot_action" type="snapshot_action_type" minOccurs="0" />
@@ -450,7 +449,6 @@ THE SOFTWARE.
                        <xs:element name="channels" type="channels_type" minOccurs="0" />
                        <xs:element name="events" type="event_list_type" minOccurs="0" />
                        <xs:element name="channel" type="channel_type" minOccurs="0" />
-                       <xs:element name="channels" type="channels_type" minOccurs="0" />
                </xs:choice>
        </xs:complexType>
 
This page took 0.025944 seconds and 4 git commands to generate.