- From: Florent Batard via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 27 Aug 2008 07:56:50 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/resources/schemas In directory hutz:/tmp/cvs-serv27051/resources/schemas Added Files: tasklist-schema.xsd Log Message: new tasklist schema --- NEW FILE: tasklist-schema.xsd --- <?xml version="1.0" encoding="UTF-8"?> <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.w3.org/unicorn/tasklist" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tas="http://www.w3.org/unicorn/tasklist"> <xs:element name="tasklist" type="tas:tasklistType" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> <xs:complexType name="parametersType"> <xs:sequence> <xs:element type="tas:parameterType" name="parameter" maxOccurs="unbounded" minOccurs="0" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> </xs:sequence> </xs:complexType> <xs:complexType name="thenType"> <xs:sequence> <xs:element type="tas:ifType" name="if" maxOccurs="unbounded" minOccurs="0" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> <xs:element type="tas:execType" name="exec" maxOccurs="unbounded" minOccurs="0" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> </xs:sequence> </xs:complexType> <xs:complexType name="taskType"> <xs:sequence> <xs:element type="tas:condsType" name="conds" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> <xs:element type="tas:routineType" name="routine" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> <xs:element type="tas:outputseqType" name="outputseq" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> <xs:element type="tas:parametersType" name="parameters" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> </xs:sequence> <xs:attribute type="xs:string" name="id" use="required"/> </xs:complexType> <xs:complexType name="parameterType" mixed="true"> <xs:sequence> <xs:element type="tas:valueType" name="value" minOccurs="0" maxOccurs="unbounded" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> </xs:sequence> <xs:attribute type="xs:NCName" name="name" use="required"/> <xs:attribute type="tas:tParamType" name="type" use="required"/> <xs:attribute type="xs:string" name="default" use="optional"/> <xs:attribute type="tas:tUi" name="ui" use="optional" default="advanced"/> <xs:attribute type="xs:NCName" name="observer" use="optional"/> </xs:complexType> <xs:complexType name="valueType"> <xs:sequence> <xs:element type="tas:mappedType" name="mapped" maxOccurs="unbounded" minOccurs="0" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> </xs:sequence> <xs:attribute type="xs:string" name="name"/> </xs:complexType> <xs:complexType name="outputseqType"> <xs:sequence> <xs:element type="tas:outputgroupType" name="outputgroup" maxOccurs="unbounded" minOccurs="0" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> </xs:sequence> </xs:complexType> <xs:complexType name="outputgroupType"> <xs:sequence> <xs:element type="xs:string" name="tasksort" maxOccurs="unbounded" minOccurs="0" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> </xs:sequence> <xs:attribute type="xs:byte" name="id" use="optional"/> </xs:complexType> <xs:complexType name="paramType"> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute type="xs:NCName" name="name"/> <xs:attribute type="xs:NCName" name="observer"/> <xs:attribute type="xs:string" name="value"/> </xs:extension> </xs:simpleContent> </xs:complexType> <xs:complexType name="condType"> <xs:sequence> <xs:element name="value" type="xs:string" minOccurs="1" maxOccurs="1" /> </xs:sequence> <xs:attribute type="xs:string" name="id" use="optional"/> <xs:attribute type="xs:string" name="result" use="optional"/> <xs:attribute type="xs:NCName" name="observer" use="optional"/> <xs:attribute type="xs:string" name="type" use="optional"/> </xs:complexType> <xs:complexType name="routineType"> <xs:sequence> <xs:element type="tas:ifType" name="if" maxOccurs="unbounded" minOccurs="0" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> <xs:element type="tas:execType" name="exec" maxOccurs="unbounded" minOccurs="0" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> </xs:sequence> <xs:attribute type="xs:string" name="ref"/> </xs:complexType> <xs:complexType name="ifType"> <xs:sequence> <xs:element type="tas:thenType" name="then" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> <xs:element type="tas:thenType" name="else" maxOccurs="1" minOccurs="0" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> </xs:sequence> <xs:attribute type="xs:string" name="test"/> </xs:complexType> <xs:complexType name="tasklistType"> <xs:sequence> <xs:element type="tas:taskType" name="task" maxOccurs="unbounded" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> </xs:sequence> </xs:complexType> <xs:complexType name="mappedType"> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute type="xs:NCName" name="param" use="required"/> <xs:attribute type="xs:NCName" name="observer" use="required"/> <xs:attribute type="xs:string" name="value"/> <xs:attribute name="inputmethod" use="optional" default="uri direct file"> <xs:simpleType> <xs:list itemType="tas:tInputMethod"/> </xs:simpleType> </xs:attribute> </xs:extension> </xs:simpleContent> </xs:complexType> <xs:complexType name="condsType"> <xs:sequence> <xs:element type="tas:condType" name="cond" maxOccurs="unbounded" minOccurs="0" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> </xs:sequence> </xs:complexType> <xs:complexType name="execType" mixed="true"> <xs:sequence> <xs:element type="tas:paramType" name="param" minOccurs="0" xmlns:tas="http://www.w3.org/unicorn/tasklist"/> </xs:sequence> <xs:attribute type="xs:string" name="id" use="optional"/> <xs:attribute type="xs:string" name="value" use="optional"/> <xs:attribute type="xs:string" name="type" use="optional"/> </xs:complexType> <xs:simpleType name="tInputMethod" xmlns:tas="http://www.w3.org/unicorn/tasklist"> <xs:restriction base="xs:string"> <xs:enumeration value="file"/> <xs:enumeration value="direct"/> <xs:enumeration value="uri"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="tUi" xmlns:tas="http://www.w3.org/unicorn/tasklist"> <xs:restriction base="xs:string"> <xs:enumeration value="none"/> <xs:enumeration value="simple"/> <xs:enumeration value="advanced"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="tParamType" xmlns:tas="http://www.w3.org/unicorn/tasklist"> <xs:restriction base="xs:string"> <xs:enumeration value="checkbox"/> <xs:enumeration value="checkboxlist"/> <xs:enumeration value="dropdown"/> <xs:enumeration value="textarea"/> <xs:enumeration value="textfield"/> <xs:enumeration value="radio"/> </xs:restriction> </xs:simpleType> </xs:schema>
Received on Wednesday, 27 August 2008 07:57:24 UTC