configurationengine/source/plugins/common/ConeCommandPlugin/commandplugin/xsd/commandml.xsd
changeset 3 e7e0ae78773e
equal deleted inserted replaced
2:87cfa131b535 3:e7e0ae78773e
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <xs:schema 
       
     3 	xmlns:xs="http://www.w3.org/2001/XMLSchema" 
       
     4 	targetNamespace="http://www.s60.com/xml/commandml/1" 
       
     5 	xmlns:commandml="http://www.s60.com/xml/commandml/1" 
       
     6 	elementFormDefault="qualified">
       
     7 	
       
     8 	<xs:complexType name="tagType">
       
     9 		<xs:attribute name="name" type="xs:string" use="required"/>
       
    10 		<xs:attribute name="value" type="xs:string"/>
       
    11 	</xs:complexType>
       
    12 	
       
    13 	<xs:complexType name="filterType">
       
    14 		<xs:attribute name="severity" type="xs:string"/>
       
    15 		<xs:attribute name="condition" type="xs:string"/>
       
    16 		<xs:attribute name="input" type="xs:string"/>
       
    17         <xs:attribute name="formatter" type="xs:string"/>
       
    18 	</xs:complexType>
       
    19 
       
    20 	
       
    21 	<xs:complexType name="pipeType">
       
    22 		<xs:attribute name="name" type="xs:string" use="required"/>
       
    23         <xs:attribute name="value" type="xs:string" use="required"/>
       
    24 	</xs:complexType>
       
    25     
       
    26     <xs:complexType name="argumentType">
       
    27         <xs:attribute name="value" type="xs:string" use="required"/>
       
    28 	</xs:complexType>
       
    29 	
       
    30     <xs:complexType name="commandType">
       
    31 		<xs:choice minOccurs="0" maxOccurs="unbounded">
       
    32 			<xs:element name="argument" type="commandml:argumentType"/>
       
    33             <xs:element name="pipe" type="commandml:pipeType"/>
       
    34             <xs:element name="filter" type="commandml:filterType"/>
       
    35 		</xs:choice>
       
    36 		<xs:attribute name="executable" type="xs:string" use="required"/>
       
    37         <xs:attribute name="cwd" type="xs:string"/>
       
    38         <xs:attribute name="shell" type="xs:string"/>
       
    39         <xs:attribute name="bufsize" type="xs:string"/>
       
    40         <xs:attribute name="env" type="xs:string"/>
       
    41 	</xs:complexType>
       
    42     
       
    43     <xs:complexType name="conditionType">
       
    44 		<xs:choice minOccurs="0" maxOccurs="unbounded">
       
    45 			<xs:element name="command" type="commandml:commandType"/>
       
    46 		</xs:choice>
       
    47 		<xs:attribute name="value" type="xs:string" use="required"/>
       
    48 	</xs:complexType>
       
    49 	
       
    50 	<xs:element name="commandml">
       
    51         <xs:complexType>
       
    52             <xs:choice minOccurs="0" maxOccurs="unbounded">
       
    53                 <xs:element name="tag" type="commandml:tagType"/>
       
    54                 <xs:element name="condition" type="commandml:conditionType"/>
       
    55                 <xs:element name="command" type="commandml:commandType"/>
       
    56             </xs:choice>
       
    57         </xs:complexType>
       
    58     </xs:element>
       
    59 		
       
    60 </xs:schema>