2006/unicorn/conf/tasklist tasklist.rdf,NONE,1.1 tasklist.xml,NONE,1.1

Update of /sources/public/2006/unicorn/conf/tasklist
In directory hutz:/tmp/cvs-serv3626/conf/tasklist

Added Files:
	tasklist.rdf tasklist.xml 
Log Message:


--- NEW FILE: tasklist.rdf ---
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE owl [
	<!ENTITY ucn "http://www.w3.org/unicorn">
	<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns">
	<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema">
	<!ENTITY xs "http://www.w3.org/2001/XMLSchema">
	]>

<rdf:RDF
	xmlns:rdf="&rdf;#"
	xmlns:rdfs="&rdfs;#"
	xmlns:ucn="&ucn;#"
	xmlns:xs="&xs;"
	xmlns="&ucn;#"
	xml:base="&ucn;#"
	>

	<ucn:Task ucn:reference="appc">
		<ucn:longName xml:lang="en">Check HTML Compatibility Guidelines for XHTML 1.0</ucn:longName>
	</ucn:Task>

	<ucn:Task ucn:reference="css">
		<ucn:longName xml:lang="en">Check CSS Style Sheets</ucn:longName>
		<ucn:description xml:lang="en">This task will call the  CSS observer.</ucn:description>
		<ucn:description xml:lang="fr">Cette tache appele l'observeur CSS.</ucn:description>
		<ucn:hasParameter>
			<ucn:Radio ucn:reference="warning" ucn:default="0" ucn:observer="css-validator">
				<ucn:longName xml:lang="en">Warning</ucn:longName>
				<ucn:longName xml:lang="fr">Alerte</ucn:longName>
			</ucn:Radio>
		</ucn:hasParameter>
		<ucn:hasParameter>
			<ucn:DropDown ucn:reference="profile" ucn:default="css2" ucn:observer="css-validator">
				<ucn:longName xml:lang="en">Profile</ucn:longName>
				<ucn:longName xml:lang="fr">Profil</ucn:longName>
			</ucn:DropDown>
		</ucn:hasParameter>
		<ucn:hasParameter>
			<ucn:CheckBoxList ucn:reference="usermedium" ucn:default="all" ucn:observer="css-validator">
				<ucn:longName xml:lang="en">User Medium</ucn:longName>
				<ucn:longName xml:lang="fr">Medium</ucn:longName>
			</ucn:CheckBoxList>
		</ucn:hasParameter>
		<ucn:hasParameter>
			<ucn:Parameter ucn:reference="output">
				<ucn:longName xml:lang="en">Output</ucn:longName>
				<ucn:longName xml:lang="fr">Sortie</ucn:longName>
			</ucn:Parameter>
		</ucn:hasParameter>
	</ucn:Task>
	
	<ucn:Task ucn:reference="markup">
		<ucn:longName xml:lang="en">Validate Markup (HTML, etc.)</ucn:longName>
		<ucn:description xml:lang="en">This task will call the  Markup observer.</ucn:description>
		<ucn:description xml:lang="fr">Cette tache appele l'observateur de markup.</ucn:description>
		<ucn:hasParameter>
			<ucn:Parameter ucn:reference="doctype">
				<ucn:longName xml:lang="en">Doctype</ucn:longName>
				<ucn:longName xml:lang="fr">Doctype</ucn:longName>
			</ucn:Parameter>
		</ucn:hasParameter>
		<ucn:hasParameter>
			<ucn:Parameter ucn:reference="charset">
				<ucn:longName xml:lang="en">Charset</ucn:longName>
				<ucn:longName xml:lang="fr">Charset</ucn:longName>
			</ucn:Parameter>
		</ucn:hasParameter>
		<ucn:hasParameter>
			<ucn:Parameter ucn:reference="output">
				<ucn:longName xml:lang="en">Output</ucn:longName>
				<ucn:longName xml:lang="fr">Sortie</ucn:longName>
			</ucn:Parameter>
		</ucn:hasParameter>
	</ucn:Task>

	<ucn:Task ucn:reference="conformance">
		<ucn:longName xml:lang="en">General Conformance Check</ucn:longName>
		<ucn:description xml:lang="en">This task will do as much observations as possible.</ucn:description>
		<ucn:hasParameter>
			<ucn:Parameter ucn:reference="warning">
				<ucn:longName xml:lang="en">Warning</ucn:longName>
				<ucn:longName xml:lang="fr">Alerte</ucn:longName>
			</ucn:Parameter>
		</ucn:hasParameter>
		<ucn:hasParameter>
			<ucn:Radio ucn:reference="output">
				<ucn:longName xml:lang="en">Output</ucn:longName>
				<ucn:longName xml:lang="fr">Sortie</ucn:longName>
				<ucn:hasValue>
					<ucn:Value ucn:value="output">
						<ucn:hasMapping ucn:parameter="output" ucn:observer="markup-validator" ucn:value="ucn" />
						<ucn:hasMapping ucn:parameter="output" ucn:observer="css-validator" ucn:value="ucn" />
						<ucn:hasMapping ucn:parameter="output" ucn:observer="appc-checker" ucn:value="xml" />
					</ucn:Value>
				</ucn:hasValue>
			</ucn:Radio>
		</ucn:hasParameter>
	</ucn:Task>
	
	<ucn:Task ucn:reference="calculator">
		<ucn:longName xml:lang="en">Calculator</ucn:longName>
		<ucn:description xml:lang="en">An observer who evaluate simple arithmetic operations.</ucn:description>

		<ucn:hasParameter>
			<ucn:CheckBox ucn:reference="x2" ucn:default="unchecked">
				<ucn:longName xml:lang="en">x2</ucn:longName>
				<ucn:longName xml:lang="fr">x2</ucn:longName>
			</ucn:CheckBox>
		</ucn:hasParameter>
	</ucn:Task>
	
	<ucn:Task ucn:reference="multithreading">
		<ucn:longName xml:lang="en">multithreading</ucn:longName>
		<ucn:description xml:lang="en">An observer who sleeps during 10s. It's to test multi-threading.</ucn:description>
	</ucn:Task>

</rdf:RDF>

--- NEW FILE: tasklist.xml ---
<?xml version="1.0" ?>

<!--
   3 priorites : low, medium (defaut), high

   si meme priorite : execution en ~parallele
   si priorites differents : + faibles ne s'executent que si les plus forts ont TOUS reussi

   one-of: cas special de subtasks : mimetypes disjoints
   observateur identique : dans une task (evite de recopier les mimetypes)
   
   visible : indique si la tache est selectionnable par l'utilisateur (ou simplement une tache "raccourci")
             defaut: true
  
   une subtask est remplacee par la liste d'observateurs et de parametres de la task correspondante (un peu comme un include)
   
  dans une version future, on reflechira a la possibilite de supprimer un parametre lors d'un include, ou d'en fusionner
  deux portant des noms differents
  
   NB1: dans cet exemple, seule la premiere tache est decrite "completement", les autres n'ont aucun parametre
   NB2: le schema et les documents associes ne permettent pas d'exprimer la totalite des contraintes. Par exemple,
           les boucles d'include devront etre verifiees, de meme que les listes de mimetypes doivent correspondre
           a celles supportees par les observateurs, ...
-->
<tasklist xmlns="http://www.w3.org/unicorn/tasklist"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.w3.org/unicorn/tasklist file:./task.xsd">

	<task id="conformance">
		<subtasks>
			<observation ref="markup-validator">
				<handle mimetype="application/mathml+xml" priority="high" />
				<handle mimetype="application/smil+xml" priority="high" />
				<handle mimetype="application/xhtml+xml" priority="high" />
				<handle mimetype="image/svg+xml" priority="high" />
				<handle mimetype="text/html" priority="high" />
			</observation>
			<observation ref="css-validator">
				<handle mimetype="application/xhtml+xml" priority="low" />
				<handle mimetype="image/svg+xml" priority="low" />
				<handle mimetype="text/css" priority="high" />
				<handle mimetype="text/html" priority="low" />
			</observation>
			<observation ref="appc-checker">
				<handle mimetype="text/html" priority="medium" />
			</observation>
		</subtasks>
		<parameters>
			<parameter name="output" type="radio" default="ucn" ui="none">
				<value name="ucn">
					<mapped param="output" observer="appc-checker" value="xml" />
					<mapped param="output" observer="css-validator" value="ucn" />
					<mapped param="output" observer="markup-validator" value="ucn" />
				</value>
			</parameter>
			<parameter name="warning" type="radio" default="0" observer="css-validator" ui="none" />
		</parameters>
	</task>
	<task id="css">
		<subtasks>
			<observation ref="css-validator">
				<handle mimetype="application/xhtml+xml" />
				<handle mimetype="image/svg+xml" />
				<handle mimetype="text/css" priority="high" />
				<handle mimetype="text/html" priority="medium" />
			</observation>
		</subtasks>
		<parameters>
			<parameter name="profile" type="dropdown" default="css2" observer="css-validator" />
			<parameter name="output" type="radio" default="ucn" observer="css-validator" ui="none" />
			<parameter name="usermedium" type="checkboxlist" default="all" observer="css-validator" />
			<parameter name="warning" type="radio" default="0" observer="css-validator" />
			<!--<parameter name="toto" ui="simple" type="textfield">
				<value>
					<mapped param="titi" observer="css-validator" />
				</value>
			</parameter>-->
		</parameters>
	</task>

	<task id="markup">
		<subtasks>
			<observation ref="markup-validator">
				<handle mimetype="application/mathml+xml" priority="high" />
				<handle mimetype="application/smil+xml" priority="high" />
				<handle mimetype="application/xhtml+xml" priority="high" />
				<handle mimetype="image/svg+xml" priority="high" />
				<handle mimetype="text/html" priority="high" />
			</observation>
		</subtasks>
		<parameters>
			<parameter name="charset" type="dropdown" default="(detect automatically)" observer="markup-validator" />
			<parameter name="doctype" type="dropdown" default="Inline" observer="markup-validator" />
			<parameter name="output" type="radio" default="ucn" observer="markup-validator" ui="none" />
		</parameters>
	</task>
	<task id="appc">
		<subtasks>
			<observation ref="appc-checker">
				<handle mimetype="text/html" priority="high" />
			</observation>
		</subtasks>
		<parameters>
			<parameter name="output" type="radio" default="xml" observer="appc-checker" ui="none" />
		</parameters>
	</task>
	
	<task id="calculator">
		<subtasks>
			<observation ref="calculator">
				<handle mimetype="text/plain" priority="high" />
			</observation>
		</subtasks>
		<parameters>
			<parameter name="x2" type="checkbox" default="unchecked" ui="simple"> 

				<value name="unchecked">
					<mapped param="x2" observer="calculator" value="0" />
				</value>
				
				<value name="on">
					<mapped param="x2" observer="calculator" value="1" />
				</value>
			</parameter>
		</parameters>
	</task>

	<task id="multithreading">
		<subtasks>
			<observation ref="sleeper1">
				<handle mimetype="text/plain" priority="high" />
			</observation>
			
			<observation ref="sleeper2">
				<handle mimetype="text/plain" priority="high" />
			</observation>
			
			<observation ref="sleeper3">
				<handle mimetype="text/plain" priority="high" />
			</observation>
		</subtasks>
	</task>

</tasklist>

Received on Thursday, 29 November 2007 10:50:42 UTC