Fix: xsd: urls and paths are not of type name_type but string
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 29 Mar 2016 22:56:23 +0000 (18:56 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 4 Apr 2016 15:55:34 +0000 (11:55 -0400)
[v2] Update commit subject and fix spelling in of commit message.

name_type is upper bounded to 255 which make no sense for a path or url.

Reported-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/mi-lttng-3.0.xsd

index cfccc2a655cbfa9923516ac4956bcad106d925ce..436a9893b3698cafeb8a87eeb2da97a8d26ec6ed 100644 (file)
@@ -372,8 +372,8 @@ THE SOFTWARE.
                        <xs:element name="max_size" type="tns:uint64_type" minOccurs="0" />
                        <xs:element name="name" type="tns:name_type" minOccurs="0" />
                        <xs:element name="session_name" type="tns:name_type" minOccurs="0" />
-                       <xs:element name="ctrl_url" type="tns:name_type" minOccurs="0" />
-                       <xs:element name="data_url" type="tns:name_type" minOccurs="0" />
+                       <xs:element name="ctrl_url" type="xs:string" minOccurs="0" />
+                       <xs:element name="data_url" type="xs:string" minOccurs="0" />
                </xs:all>
        </xs:complexType>
 
@@ -393,7 +393,7 @@ THE SOFTWARE.
        <xs:complexType name="session_type">
                <xs:all>
                        <xs:element name="name" type="tns:name_type" />
-                       <xs:element name="path" type="tns:name_type" minOccurs="0" />
+                       <xs:element name="path" type="xs:string" minOccurs="0" />
                        <xs:element name="enabled" type="xs:boolean" default="false" minOccurs="0" />
                        <xs:element name="snapshot_mode" type="tns:uint32_type" minOccurs="0" />
                        <xs:element name="live_timer_interval" type="tns:uint32_type" minOccurs="0" />
@@ -416,7 +416,7 @@ THE SOFTWARE.
        <xs:complexType name="save_type">
                <xs:all>
                        <xs:element name="session" type="tns:session_type" />
-                       <xs:element name="path" type="tns:name_type" />
+                       <xs:element name="path" type="xs:string" />
                </xs:all>
        </xs:complexType>
 
@@ -424,7 +424,7 @@ THE SOFTWARE.
        <xs:complexType name="load_type">
                <xs:all>
                        <xs:element name="session" type="tns:session_type" />
-                       <xs:element name="path" type="tns:name_type" />
+                       <xs:element name="path" type="xs:string" />
                </xs:all>
        </xs:complexType>
 
This page took 0.034473 seconds and 4 git commands to generate.