You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by st...@apache.org on 2015/01/14 15:58:44 UTC

svn commit: r1651691 [1/4] - in /incubator/taverna/site/trunk/content/ns: ./ 2008/ 2008/xml/ 2008/xml/t2flow/ 2010/ 2010/taverna/ 2010/workflowBundle/ 2011/ 2011/data/ 2011/run/ 2012/ 2012/component/ 2012/component/profile/ 2015/

Author: stain
Date: Wed Jan 14 14:58:43 2015
New Revision: 1651691

URL: http://svn.apache.org/r1651691
Log:
http://ns.taverna.org.uk/

Added:
    incubator/taverna/site/trunk/content/ns/
    incubator/taverna/site/trunk/content/ns/.htaccess
    incubator/taverna/site/trunk/content/ns/2008/
    incubator/taverna/site/trunk/content/ns/2008/xml/
    incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/
    incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/README
    incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/externaltoolactivity.xsd
    incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/restactivity.xsd
    incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2activities.xsd
    incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2annotations.xsd
    incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2flow-extended.xsd
    incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2flow.xsd
    incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2layers.xsd
    incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/xpathactivity.xsd
    incubator/taverna/site/trunk/content/ns/2010/
    incubator/taverna/site/trunk/content/ns/2010/.htaccess
    incubator/taverna/site/trunk/content/ns/2010/scufl2.rdf
    incubator/taverna/site/trunk/content/ns/2010/scufl2.ttl
    incubator/taverna/site/trunk/content/ns/2010/taverna/
    incubator/taverna/site/trunk/content/ns/2010/taverna/.htaccess
    incubator/taverna/site/trunk/content/ns/2010/taverna/2.2.rdf
    incubator/taverna/site/trunk/content/ns/2010/taverna/2.2.ttl
    incubator/taverna/site/trunk/content/ns/2010/workflowBundle/
    incubator/taverna/site/trunk/content/ns/2010/workflowBundle/.htaccess
    incubator/taverna/site/trunk/content/ns/2011/
    incubator/taverna/site/trunk/content/ns/2011/data/
    incubator/taverna/site/trunk/content/ns/2011/data/.htaccess
    incubator/taverna/site/trunk/content/ns/2011/run/
    incubator/taverna/site/trunk/content/ns/2011/run/.htaccess
    incubator/taverna/site/trunk/content/ns/2012/
    incubator/taverna/site/trunk/content/ns/2012/.htaccess
    incubator/taverna/site/trunk/content/ns/2012/component/
    incubator/taverna/site/trunk/content/ns/2012/component/profile/
    incubator/taverna/site/trunk/content/ns/2012/component/profile/.htaccess
    incubator/taverna/site/trunk/content/ns/2012/component/profile/ComponentProfile.xsd
    incubator/taverna/site/trunk/content/ns/2015/
    incubator/taverna/site/trunk/content/ns/2015/.htaccess
    incubator/taverna/site/trunk/content/ns/2015/ore.rdf
    incubator/taverna/site/trunk/content/ns/index.html

Added: incubator/taverna/site/trunk/content/ns/.htaccess
URL: http://svn.apache.org/viewvc/incubator/taverna/site/trunk/content/ns/.htaccess?rev=1651691&view=auto
==============================================================================
--- incubator/taverna/site/trunk/content/ns/.htaccess (added)
+++ incubator/taverna/site/trunk/content/ns/.htaccess Wed Jan 14 14:58:43 2015
@@ -0,0 +1,6 @@
+
+AddHandler type-map .var
+AddType text/turtle .ttl
+AddType application/xml .xsd
+AddType application/rdf+xml .rdf .owl
+

Added: incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/README
URL: http://svn.apache.org/viewvc/incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/README?rev=1651691&view=auto
==============================================================================
--- incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/README (added)
+++ incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/README Wed Jan 14 14:58:43 2015
@@ -0,0 +1 @@
+Extracted from https://github.com/myGrid/scufl2/tree/master/scufl2-t2flow/src/main/resources/uk/org/taverna/scufl2/translator/t2flow/xsd commit 4ee87772d3ef53a80dfc2568b17a9950b2ac7a8f on 2013-12-11

Added: incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/externaltoolactivity.xsd
URL: http://svn.apache.org/viewvc/incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/externaltoolactivity.xsd?rev=1651691&view=auto
==============================================================================
--- incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/externaltoolactivity.xsd (added)
+++ incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/externaltoolactivity.xsd Wed Jan 14 14:58:43 2015
@@ -0,0 +1,183 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema elementFormDefault="unqualified"
+
+	xmlns:tool="http://taverna.sf.net/2011/xml/activity/external-tool"
+	xmlns:tav="http://taverna.sf.net/2008/xml/t2flow" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	xmlns:jxb="http://java.sun.com/xml/ns/jaxb" jxb:version="1.0">
+
+	<xsd:annotation>
+		<xsd:appinfo>
+			<!-- See http://docs.rakeshv.org/java/jaxb/users-guide/jaxb-custom.html -->
+
+			<jxb:schemaBindings>
+				<jxb:package name="uk.org.taverna.scufl2.xml.t2flow.externalTool.jaxb" />
+			</jxb:schemaBindings>
+		</xsd:appinfo>
+	</xsd:annotation>
+
+	<xsd:import namespace="http://taverna.sf.net/2008/xml/t2flow"
+		schemaLocation="t2flow.xsd" />
+
+	<xsd:element
+		name="net.sf.taverna.t2.activities.externaltool.ExternalToolActivityConfigurationBean"
+		type="ExternalToolConfig" substitutionGroup="tav:abstractConfigBean" />
+
+	<xsd:element
+		name="net.sf.taverna.t2.activities.usecase.UseCaseActivityConfigurationBean"
+		type="UsecaseConfig" substitutionGroup="tav:abstractConfigBean" />
+
+
+
+	<xsd:complexType name="UsecaseConfig">
+		<xsd:complexContent>
+			<xsd:extension base="tav:AbstractConfigBean">
+				<xsd:sequence>
+					<xsd:element name="repositoryUrl" type="xsd:anyURI" />
+					<xsd:element name="usecaseid" type="xsd:string" />
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+
+	<xsd:complexType name="ExternalToolConfig">
+		<xsd:complexContent>
+			<xsd:extension base="tav:AbstractConfigBean">
+				<xsd:sequence>
+
+					<xsd:choice>
+						<xsd:sequence>
+							<xsd:element name="mechanismType" type="xsd:string" />
+							<xsd:element name="mechanismName" type="xsd:string" />
+							<xsd:element name="mechanismXML" type="xsd:string" />						
+						</xsd:sequence>
+						<xsd:element name="group" type="Group" />					
+					</xsd:choice>
+					<xsd:element name="repositoryUrl" type="xsd:anyURI" minOccurs="0" />
+					<xsd:element name="externaltoolid" type="xsd:string"  />
+
+					<xsd:element name="useCaseDescription" type="UsecaseDescription" />
+					<xsd:element name="edited" type="xsd:boolean" />
+
+				</xsd:sequence>
+			</xsd:extension>
+
+		</xsd:complexContent>
+
+	</xsd:complexType>
+
+	<xsd:complexType name="UsecaseDescription">
+		<xsd:sequence>
+			<xsd:element name="usecaseid" type="xsd:string" />
+			<xsd:element name="group" type="xsd:string" minOccurs="0"/>
+			<xsd:element name="description" type="xsd:string" />
+			<xsd:element name="command" type="xsd:string" />
+			<xsd:element name="test__local" type="xsd:string"
+				minOccurs="0" />
+			<xsd:element name="preparingTimeoutInSeconds" type="xsd:int" />
+			<xsd:element name="executionTimeoutInSeconds" type="xsd:int" />
+			<xsd:element name="tags" />
+			<xsd:element name="REs" />
+			<xsd:element name="queue__preferred" />
+			<xsd:element name="queue__deny" />
+			<xsd:element name="static__inputs" type="StaticInputs" />
+			<xsd:element name="inputs" type="EntryMap" />
+			<xsd:element name="outputs" type="EntryMap" />
+
+			<xsd:element name="includeStdIn" type="xsd:boolean" />
+			<xsd:element name="includeStdOut" type="xsd:boolean" />
+			<xsd:element name="includeStdErr" type="xsd:boolean" />
+			<xsd:element name="validReturnCodes" type="ReturnCodes" />
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="EntryMap">
+		<xsd:sequence>
+			<xsd:element name="entry" minOccurs="0" maxOccurs="unbounded"
+				type="Entry" />
+		</xsd:sequence>
+	</xsd:complexType>
+	
+	<xsd:complexType name="ReturnCodes">
+		<xsd:sequence>
+			<xsd:element name="int" minOccurs="0" maxOccurs="unbounded"
+				type="xsd:int" />
+		</xsd:sequence>
+	</xsd:complexType>
+	
+	<xsd:complexType name="StaticInputs">
+		<xsd:sequence>
+			<xsd:element name="de.uni__luebeck.inb.knowarc.usecases.ScriptInputStatic"
+					type="ScriptInputStatic" minOccurs="0" maxOccurs="unbounded" />
+		</xsd:sequence>
+	</xsd:complexType>
+	
+	<xsd:complexType name="Group">
+		<xsd:sequence>
+			<xsd:element name="invocationGroupName" type="xsd:string" />			
+			<xsd:element name="mechanismType" type="xsd:string" />
+			<xsd:element name="mechanismName" type="xsd:string" />
+			<xsd:element name="mechanismXML" type="xsd:string" />
+		</xsd:sequence>
+	</xsd:complexType>
+	
+
+	<xsd:complexType name="Entry">
+		<xsd:sequence>
+			<xsd:element name="string" type="xsd:string" />
+			<xsd:choice>
+				<xsd:element name="de.uni__luebeck.inb.knowarc.usecases.ScriptInputUser"
+					type="ScriptInputUser" />
+				<xsd:element name="de.uni__luebeck.inb.knowarc.usecases.ScriptOutput"
+					type="ScriptOutput" />
+			</xsd:choice>
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="ScriptInputUser">
+		<xsd:sequence>
+			<xsd:element name="tag" type="xsd:string" />
+			<xsd:element name="file" type="xsd:boolean" />
+			<xsd:element name="tempFile" type="xsd:boolean" />
+			<xsd:element name="binary" type="xsd:boolean" />
+			<xsd:element name="charsetName" type="xsd:string" />
+			<xsd:element name="forceCopy" type="xsd:boolean" />
+			<xsd:element name="list" type="xsd:boolean" />
+			<xsd:element name="concatenate" type="xsd:boolean" />
+			<xsd:element name="mime" />
+		</xsd:sequence>
+	</xsd:complexType>
+	
+	
+	<xsd:complexType name="ScriptInputStatic">
+		<xsd:sequence>
+			<xsd:element name="tag" type="xsd:string" />
+			<xsd:element name="file" type="xsd:boolean" />
+			<xsd:element name="tempFile" type="xsd:boolean" />
+			<xsd:element name="binary" type="xsd:boolean" />
+			<xsd:element name="charsetName" type="xsd:string" />
+			<xsd:element name="forceCopy" type="xsd:boolean" />
+			<xsd:choice>
+				<xsd:element name="content" >
+					<xsd:complexType>
+						<xsd:simpleContent><xsd:extension base="xsd:string">
+							<xsd:attribute name="class" fixed="string" use="optional"/>
+						</xsd:extension>						
+						</xsd:simpleContent>						
+					</xsd:complexType>					
+				</xsd:element>
+				<xsd:element name="url" type="xsd:anyURI" />			
+			</xsd:choice>
+
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="ScriptOutput">
+		<xsd:sequence>
+			<xsd:element name="path" type="xsd:string" />
+			<xsd:element name="binary" type="xsd:boolean" />
+			<xsd:element name="mime" />
+		</xsd:sequence>
+	</xsd:complexType>
+
+</xsd:schema>
\ No newline at end of file

Added: incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/restactivity.xsd
URL: http://svn.apache.org/viewvc/incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/restactivity.xsd?rev=1651691&view=auto
==============================================================================
--- incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/restactivity.xsd (added)
+++ incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/restactivity.xsd Wed Jan 14 14:58:43 2015
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema elementFormDefault="unqualified"
+
+	xmlns:tool="http://taverna.sf.net/2011/xml/activity/rest" xmlns:tav="http://taverna.sf.net/2008/xml/t2flow"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
+	jxb:version="1.0">
+
+	<xsd:annotation>
+		<xsd:appinfo>
+			<!-- See http://docs.rakeshv.org/java/jaxb/users-guide/jaxb-custom.html -->
+
+<!--
+			<jxb:schemaBindings>
+				<jxb:package name="uk.org.taverna.scufl2.xml.t2flow.rest.jaxb" />
+			</jxb:schemaBindings>
+			-->
+		</xsd:appinfo>
+	</xsd:annotation>
+
+	<xsd:import namespace="http://taverna.sf.net/2008/xml/t2flow"
+		schemaLocation="t2flow.xsd" />
+
+	<xsd:element
+		name="net.sf.taverna.t2.activities.rest.RESTActivityConfigurationBean"
+		type="RESTConfig" substitutionGroup="tav:abstractConfigBean" />
+
+
+	<xsd:complexType name="RESTConfig">
+		<xsd:complexContent>
+			<xsd:extension base="tav:AbstractConfigBean">
+				<xsd:sequence>
+					<xsd:element name="httpMethod" type="xsd:string" />
+					<xsd:element name="urlSignature" type="xsd:string" />
+					<xsd:element name="acceptsHeaderValue" type="xsd:string" />
+					<xsd:element name="contentTypeForUpdates" type="xsd:string" />
+					<xsd:element name="outgoingDataFormat" type="xsd:string" />
+					<xsd:element name="sendHTTPExpectRequestHeader" type="xsd:boolean" />
+					<xsd:element name="showRedirectionOutputPort" type="xsd:boolean" />
+                    <xsd:element name="showActualUrlPort" type="xsd:boolean" minOccurs="0" />
+                    <xsd:element name="showResponseHeadersPort" type="xsd:boolean" minOccurs="0" />
+                    
+					<xsd:element name="escapeParameters" type="xsd:boolean" minOccurs="0" />
+					<xsd:element name="otherHTTPHeaders" type="HTTPHeaders" minOccurs="0" />
+					<xsd:element name="activityInputs" type="ActivityInputs" />
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="ActivityInputs">
+		<xsd:sequence>
+			<xsd:element name="entry" minOccurs="0" maxOccurs="unbounded">
+				<xsd:complexType>
+					<xsd:sequence>
+						<xsd:element name="string" type="xsd:string" />
+						<xsd:element name="java-class" type="xsd:string" />
+					</xsd:sequence>
+				</xsd:complexType>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+	
+	
+	<xsd:complexType name="HTTPHeaders">
+		<xsd:sequence>
+			<xsd:element name="list" minOccurs="0" maxOccurs="unbounded">
+				<xsd:complexType>
+					<xsd:sequence>
+						<xsd:element name="string" type="xsd:string" />
+						<xsd:element name="string" type="xsd:string" />
+					</xsd:sequence>
+				</xsd:complexType>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+
+</xsd:schema>

Added: incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2activities.xsd
URL: http://svn.apache.org/viewvc/incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2activities.xsd?rev=1651691&view=auto
==============================================================================
--- incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2activities.xsd (added)
+++ incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2activities.xsd Wed Jan 14 14:58:43 2015
@@ -0,0 +1,511 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema elementFormDefault="unqualified"
+	targetNamespace="http://taverna.sf.net/2008/xml/t2activities"
+	xmlns:activities="http://taverna.sf.net/2008/xml/t2activities"
+	xmlns:tav="http://taverna.sf.net/2008/xml/t2flow" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
+	jxb:version="1.0">
+
+	<xsd:annotation>
+		<xsd:appinfo>
+			<!-- See http://docs.rakeshv.org/java/jaxb/users-guide/jaxb-custom.html -->
+
+			<jxb:schemaBindings>
+				<jxb:package name="uk.org.taverna.scufl2.xml.t2flow.jaxb" />
+			</jxb:schemaBindings>
+		</xsd:appinfo>
+	</xsd:annotation>
+
+	<xsd:import namespace="http://taverna.sf.net/2008/xml/t2flow"
+		schemaLocation="t2flow.xsd" />
+
+	<xsd:complexType name="DataflowConfig">
+		<xsd:annotation>
+			<xsd:documentation>Configuration for the nested dataflow activity.
+				The actual nested dataflow is referenced by uuid to identify the
+				dataflow element of the workflow container.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:attribute name="ref" type="tav:uuid"></xsd:attribute>
+	</xsd:complexType>
+	<xsd:complexType name="ApiConsumerConfig">
+		<xsd:sequence>
+
+			<xsd:element name="apiConsumerName" type="xsd:string" />
+			<xsd:element name="apiConsumerDescription" type="xsd:string" />
+			<xsd:element name="description" type="xsd:string" />
+			<xsd:element name="className" type="xsd:string" />
+			<xsd:element name="methodName" type="xsd:string" />
+			<xsd:element name="parameterNames" type="activities:ApiConsumerParameterNames" />
+
+			<xsd:element name="parameterDimensions"
+				type="activities:ApiConsumerParameterDimensions" />
+			<xsd:element name="parameterTypes" type="activities:ApiConsumerParameterTypes" />
+			<xsd:element name="returnType" type="xsd:string" />
+			<xsd:element name="returnDimension" type="xsd:nonNegativeInteger" />
+			<xsd:element name="isMethodStatic" type="xsd:boolean" />
+			<xsd:element name="isMethodConstructor" type="xsd:boolean" />
+
+			<xsd:element name="classLoaderSharing" type="activities:ClassLoaderSharing" />
+			<xsd:element name="localDependencies" type="activities:LocalDependencies" />
+			<xsd:element name="artifactDependencies" type="activities:ArtifactDependencies" />
+			<xsd:element name="inputs" type="activities:ActivityInputPorts" />
+			<xsd:element name="outputs" type="activities:ActivityOutputPorts" />
+
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="ApiConsumerParameterNames">
+		<xsd:sequence>
+			<xsd:element name="string" type="xsd:string" minOccurs="0"
+				maxOccurs="unbounded" />
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="ApiConsumerParameterDimensions">
+		<xsd:sequence>
+			<xsd:element name="int" type="xsd:nonNegativeInteger"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="ApiConsumerParameterTypes">
+		<xsd:sequence>
+			<xsd:element name="string" type="xsd:string" minOccurs="0"
+				maxOccurs="unbounded" />
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="BeanshellConfig">
+		<xsd:annotation>
+			<xsd:documentation>Configuration for the Beanshell activity.
+			</xsd:documentation>
+		</xsd:annotation>
+		<xsd:all>
+			<xsd:element name="script" type="xsd:string">
+				<xsd:annotation>
+					<xsd:documentation>A Beanshell script</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="dependencies" type="activities:Dependencies" />
+			<xsd:element name="classLoaderSharing" type="activities:ClassLoaderSharing" />
+			<xsd:element name="localDependencies" type="activities:LocalDependencies" />
+			<xsd:element name="artifactDependencies" type="activities:ArtifactDependencies" />
+			<xsd:element name="inputs" type="activities:ActivityInputPorts" />
+			<xsd:element name="outputs" type="activities:ActivityOutputPorts" />
+			<xsd:element name="localworkerName" type="xsd:string"
+						minOccurs="0" />
+		</xsd:all>
+	</xsd:complexType>
+	<xsd:complexType name="StringConstantConfig">
+		<xsd:sequence>
+			<xsd:sequence>
+				<xsd:element name="value" type="xsd:string"></xsd:element>
+			</xsd:sequence>
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="RShellConfig">
+		<xsd:all>
+			<xsd:element name="inputs" type="activities:ActivityInputPorts" />
+			<xsd:element name="outputs" type="activities:ActivityOutputPorts" />
+			<xsd:element name="rVersion" type="xsd:string" minOccurs="0" />
+			<xsd:element name="script" type="xsd:string" />
+			<xsd:element name="connectionSettings" type="activities:RShellConnection" />
+			<xsd:element name="inputSymanticTypes" type="activities:RShellSymanticType" />
+			<xsd:element name="outputSymanticTypes" type="activities:RShellSymanticType" />
+		</xsd:all>
+	</xsd:complexType>
+	<xsd:complexType name="RShellConnection">
+		<xsd:sequence>
+			<xsd:element name="host" type="xsd:string" />
+			<xsd:element name="port" type="xsd:unsignedShort" />
+			<xsd:element name="username" type="xsd:string" minOccurs="0"/>
+			<xsd:element name="password" type="xsd:string" minOccurs="0"/>
+			<xsd:element name="keepSessionAlive" type="xsd:boolean" />
+			<xsd:element name="newRVersion" type="xsd:boolean" default="false" minOccurs="0"/>
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="RShellSymanticType">
+	<xsd:sequence>
+		<xsd:element
+			name="net.sf.taverna.t2.activities.rshell.RShellPortSymanticTypeBean" minOccurs="0" maxOccurs="unbounded">
+
+			<xsd:complexType>
+			<xsd:annotation>
+				<xsd:appinfo>
+					<jxb:class name="RShellPortSymanticTypeBean" />
+				</xsd:appinfo>
+			</xsd:annotation>
+				<xsd:sequence>
+
+					<xsd:element name="name" type="xsd:string" />
+					<xsd:element name="symanticType">
+						<xsd:complexType>
+							<xsd:simpleContent>
+								<xsd:extension base="xsd:string">
+									<xsd:attribute name="reference" type="xsd:string"
+										use="optional" />
+								</xsd:extension>
+							</xsd:simpleContent>
+						</xsd:complexType>
+					</xsd:element>
+				</xsd:sequence>
+			</xsd:complexType>
+		</xsd:element>
+	</xsd:sequence>
+</xsd:complexType>
+
+
+	<xsd:complexType name="WSDLConfig">
+		<xsd:annotation>
+			<xsd:documentation>Configuration for the WSDL activity.
+			</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="wsdl" type="xsd:anyURI">
+				<xsd:annotation>
+					<xsd:documentation>Location of WSDL specification as an URL.
+					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="operation" type="xsd:string">
+				<xsd:annotation>
+					<xsd:documentation>Name of operation within the WSDL specification.
+					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="securityProfile" type="activities:WSDLSecurityProfile"
+				minOccurs="0">
+				<xsd:annotation>
+					<xsd:documentation>Name of 'security profile' to apply.
+					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:simpleType name="WSDLSecurityProfile">
+		<xsd:union memberTypes="activities:StandardWSDLSecurityProfile xsd:string" />
+	</xsd:simpleType>
+
+	<xsd:simpleType name="StandardWSDLSecurityProfile">
+		<xsd:restriction base="xsd:string">
+			<xsd:enumeration value="HTTPDigestAuthN" />
+			<xsd:enumeration value="HTTPBasicAuthNPlainTextPassword" />
+			<xsd:enumeration value="WSSecurityTimestampUsernameTokenDigestPassword" />
+			<xsd:enumeration value="WSSecurityTimestampUsernameTokenPlainTextPassword" />
+			<xsd:enumeration value="WSSecurityUsernameTokenDigestPassword" />
+			<xsd:enumeration value="WSSecurityUsernameTokenPlainTextPassword" />
+		</xsd:restriction>
+	</xsd:simpleType>
+
+	<xsd:complexType name="XMLSplitterConfig">
+		<xsd:all>
+			<xsd:element name="wrappedTypeXML" type="xsd:string" />
+			<xsd:element name="inputs" type="activities:ActivityInputPorts" />
+			<xsd:element name="outputs" type="activities:ActivityOutputPorts" />
+		</xsd:all>
+	</xsd:complexType>
+	<xsd:complexType name="BioMartConfig">
+		<xsd:sequence>
+			<xsd:element name="MartService">
+				<xsd:complexType>
+					<xsd:attribute name="location" type="xsd:anyURI"></xsd:attribute>
+				</xsd:complexType>
+			</xsd:element>
+			<xsd:element name="MartDataset" />
+			<xsd:element name="Query" />
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="BioMobyConfig">
+		<xsd:complexContent>
+			<xsd:extension base="activities:BioMobyObjectConfig">
+				<xsd:sequence>
+					<xsd:element name="category" type="activities:BioMobyCategory">
+					</xsd:element>
+					<xsd:element name="serviceType" type="activities:BioMobyServiceType">
+					</xsd:element>
+					<xsd:element name="secondaries" type="activities:BioMobySecondaries">
+					</xsd:element>
+				</xsd:sequence>
+
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="BioMobyObjectConfig">
+		<xsd:sequence>
+			<xsd:element name="mobyEndpoint" type="xsd:anyURI" />
+			<xsd:element name="serviceName" />
+			<xsd:element name="authorityName" />
+
+		</xsd:sequence>
+	</xsd:complexType>
+
+
+	<xsd:complexType name="BioMobyParserConfig">
+		<xsd:sequence>
+			<xsd:element name="datatypeName" />
+			<xsd:element name="registryEndpoint" type="xsd:anyURI" />
+			<xsd:element name="articleNameUsedByService" />
+
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="SoaplabConfig">
+		<xsd:annotation>
+			<xsd:documentation>Configuration for the SoapLab activity.
+			</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="endpoint" type="xsd:anyURI">
+				<xsd:annotation>
+					<xsd:documentation>Location of Soaplab endpoint as an URL.
+					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="pollingInterval" type="xsd:nonNegativeInteger">
+				<xsd:annotation>
+					<xsd:documentation>Milliseconds between polling for asynchronous
+						service completion. If 0, the synchronous 'waitFor' method is
+						used
+						instead.
+					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="pollingBackoff" type="xsd:double">
+				<xsd:annotation>
+					<xsd:documentation>
+						Multiplication factor to apply to current
+						polling interval (initially "pollingInterval"), gradually
+						increasing the polling interval. It is advisable
+						to keep this close
+						to 1.0, for instance 1.1.
+						The polling interval will however never
+						be larger than the specified
+						"pollingIntervalMax". Must be
+						above 0.0
+						to avoid negative polling
+						intervals.
+					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="pollingIntervalMax" type="xsd:nonNegativeInteger">
+				<xsd:annotation>
+					<xsd:documentation>Maximum polling interval in milliseconds after
+						multiplying with "pollingBackoff". Should be larger than
+						"pollingInterval".
+					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+
+		</xsd:sequence>
+	</xsd:complexType>
+
+
+	<xsd:complexType name="SpreadsheetImportConfig">
+		<xsd:sequence>
+			<xsd:element name="columnRange" type="activities:SpreadsheetRange" />
+			<xsd:element name="rowRange" type="activities:SpreadsheetRange" />
+			<xsd:element name="emptyCellValue" type="xsd:string" />
+			<xsd:element name="columnNames" type="activities:SpreadsheetColumnNames" />
+			<xsd:element name="allRows" type="xsd:boolean" />
+			<xsd:element name="excludeFirstRow" type="xsd:boolean" />
+			<xsd:element name="ignoreBlankRows" type="xsd:boolean" />
+
+			<xsd:element name="emptyCellPolicy" type="activities:SpreadsheetEmptyCellPolicy" />
+			<xsd:element name="outputFormat" type="activities:OutputFormat" />
+			<xsd:element name="csvDelimiter" type="xsd:string" />
+		</xsd:sequence>
+	</xsd:complexType>
+
+
+	<xsd:simpleType name="SpreadsheetEmptyCellPolicy">
+		<xsd:restriction base="xsd:string">
+			<xsd:enumeration value="EMPTY_STRING"></xsd:enumeration>
+			<xsd:enumeration value="USER_DEFINED"></xsd:enumeration>
+			<xsd:enumeration value="GENERATE_ERROR"></xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+
+	<xsd:simpleType name="OutputFormat">
+		<xsd:restriction base="xsd:string">
+			<xsd:enumeration value="PORT_PER_COLUMN"></xsd:enumeration>
+			<xsd:enumeration value="SINGLE_PORT"></xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+
+
+	<xsd:complexType name="SpreadsheetColumnNames">
+		<xsd:sequence>
+			<xsd:element name="entry" type="activities:SpreadsheetColumnNameEntry"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="SpreadsheetColumnNameEntry">
+		<xsd:sequence>
+			<xsd:element name="string" type="xsd:string" minOccurs="2"
+				maxOccurs="2" />
+		</xsd:sequence>
+	</xsd:complexType>
+
+
+
+	<xsd:complexType name="SpreadsheetRange">
+		<xsd:sequence>
+			<xsd:element name="start" type="xsd:nonNegativeInteger" />
+			<xsd:element name="end" type="xsd:nonNegativeInteger" />
+			<xsd:element name="excludes" type="activities:SpreadsheetExcludes" />
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="SpreadsheetExcludes">
+		<xsd:sequence>
+			<xsd:element name="exclude" type="activities:SpreadsheetRange"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xsd:sequence>
+	</xsd:complexType>
+
+
+	<xsd:complexType name="LocalDependencies">
+
+		<xsd:sequence>
+			<xsd:element name="string" type="xsd:string" maxOccurs="unbounded"
+				minOccurs="0">
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="ArtifactDependencies">
+		<xsd:sequence>
+			<xsd:element name="net.sf.taverna.raven.repository.BasicArtifact"
+				type="activities:BasicArtifact" maxOccurs="unbounded" minOccurs="0">
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+
+
+	<xsd:complexType name="Dependencies">
+		<xsd:sequence>
+			<xsd:choice>
+				<xsd:element name="string" type="xsd:string" maxOccurs="unbounded"
+					minOccurs="0">
+				</xsd:element>
+				<xsd:element name="element" type="activities:DependencyElement"
+					maxOccurs="unbounded" minOccurs="0">
+				</xsd:element>
+			</xsd:choice>
+		</xsd:sequence>
+		<xsd:attribute name="class" type="xsd:string" use="optional"></xsd:attribute>
+	</xsd:complexType>
+
+
+	<xsd:complexType name="DependencyElement">
+		<xsd:simpleContent>
+			<xsd:extension base="xsd:string">
+				<xsd:attribute name="class" use="optional" />
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+
+	<xsd:simpleType name="ClassLoaderSharing">
+		<xsd:restriction base="xsd:string">
+			<xsd:enumeration value="workflow" />
+			<xsd:enumeration value="system" />
+		</xsd:restriction>
+	</xsd:simpleType>
+
+	<xsd:complexType name="BasicArtifact">
+		<xsd:sequence>
+			<xsd:element name="groupId" type="xsd:string" />
+			<xsd:element name="artifactId" type="xsd:string" />
+			<xsd:element name="version" type="xsd:string" />
+			<xsd:element name="hashCode" type="xsd:string" minOccurs="0" />
+			<xsd:element name="string" type="xsd:string" minOccurs="0" />
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="ActivityInputPorts">
+		<xsd:sequence>
+			<xsd:element
+				name="net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityInputPortDefinitionBean"
+				minOccurs="0" maxOccurs="unbounded" type="activities:ActivityPortDefinitionBean">
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="ActivityPortDefinitionBean">
+	<xsd:choice minOccurs="1" maxOccurs="unbounded" id="activityPortChoice">
+		<xsd:annotation>
+			<xsd:documentation>
+	These seem to come in any order depending on Activity type and Taverna
+	version (probably some internal hash maps involved) - and instead of
+	trying to model this using xsd:any, xsd:groups and xsd:choice, I just
+	went for an unbounded xsd:choice. Users will have to deal with the following
+	additional constaints:
+
+	These elements are required, maximum 1 occurance: name, depth
+
+	These can occur 0..unbounded times:
+	handledReferenceSchemes, translatedElementType
+
+	The rest are optional, but must maximally appear once.
+
+			</xsd:documentation>
+		</xsd:annotation>
+
+		<xsd:element name="handledReferenceSchemes" type="xsd:string"/>
+		<xsd:element name="translatedElementType" type="xsd:string" />
+		<xsd:element name="name" type="xsd:string" />
+		<xsd:element name="depth" type="xsd:nonNegativeInteger" />
+		<xsd:element name="allowsLiteralValues" type="xsd:boolean" />
+		<xsd:element name="mimeTypes">
+			<xsd:complexType>
+				<xsd:choice>
+					<xsd:element name="string" type="xsd:string" minOccurs="0"
+						maxOccurs="unbounded" />
+					<xsd:element name="element" type="activities:DependencyElement" />
+				</xsd:choice>
+				<xsd:attribute name="class" type="xsd:string" use="optional" />
+			</xsd:complexType>
+		</xsd:element>
+		<xsd:element name="granularDepth" type="xsd:nonNegativeInteger" />
+
+	</xsd:choice>
+</xsd:complexType>
+
+	<xsd:complexType name="ActivityOutputPorts">
+		<xsd:sequence>
+			<xsd:element
+				name="net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityOutputPortDefinitionBean"
+				minOccurs="0" maxOccurs="unbounded" type="activities:ActivityPortDefinitionBean">
+			</xsd:element>
+		</xsd:sequence>
+
+	</xsd:complexType>
+	<xsd:complexType name="BioMobyCategory">
+		<xsd:sequence>
+			<xsd:any namespace="##any" processContents="lax" minOccurs="0"
+				maxOccurs="unbounded" />
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="BioMobyServiceType">
+		<xsd:sequence>
+			<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any"
+				processContents="lax">
+			</xsd:any>
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="BioMobySecondaries">
+		<xsd:sequence>
+			<xsd:element minOccurs="0" maxOccurs="unbounded" name="entry"
+				type="activities:BioMobyEntry">
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="BioMobyEntry">
+		<xsd:sequence>
+			<xsd:element minOccurs="2" maxOccurs="2" name="string"
+				type="xsd:anyType">
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+</xsd:schema>
\ No newline at end of file

Added: incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2annotations.xsd
URL: http://svn.apache.org/viewvc/incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2annotations.xsd?rev=1651691&view=auto
==============================================================================
--- incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2annotations.xsd (added)
+++ incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2annotations.xsd Wed Jan 14 14:58:43 2015
@@ -0,0 +1,144 @@
+<xsd:schema elementFormDefault="unqualified"
+	xmlns:tav="http://taverna.sf.net/2008/xml/t2flow" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:annotations="http://taverna.sf.net/2008/xml/t2flow/annotations"
+	jxb:version="1.0">
+
+	<xsd:annotation>
+		<xsd:appinfo>
+			<!-- See http://docs.rakeshv.org/java/jaxb/users-guide/jaxb-custom.html -->
+
+			<!-- <jxb:schemaBindings> <jxb:package name="uk.org.taverna.scufl2.xml.t2flow.annotations.jaxb" 
+				/> </jxb:schemaBindings> -->
+		</xsd:appinfo>
+	</xsd:annotation>
+
+	<xsd:import namespace="http://taverna.sf.net/2008/xml/t2flow"
+		schemaLocation="t2flow.xsd" />
+
+<!-- Note: JAXB Does not seem to pick up these due to xsd:any in tav:AnnotationBean
+
+ -->
+	<xsd:complexType name="IdentificationAssertion">
+		<xsd:complexContent>
+			<xsd:restriction base="tav:AnnotationBean">
+				<xsd:sequence>
+					<xsd:element name="identification" type="tav:uuid" />
+				</xsd:sequence>
+				<xsd:attribute name="class" form="unqualified"
+					fixed="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion" />
+			</xsd:restriction>
+		</xsd:complexContent>
+	</xsd:complexType>
+	
+	<xsd:complexType name="AbstractTextual" abstract="true">
+		<xsd:complexContent>
+			<xsd:restriction base="tav:AnnotationBean">
+				<xsd:sequence>
+					<xsd:element name="text" type="xsd:string" />
+				</xsd:sequence>
+			</xsd:restriction>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+
+	<xsd:complexType name="Author">
+		<xsd:complexContent>
+			<xsd:restriction base="AbstractTextual">
+				<xsd:sequence>
+					<xsd:element name="text" type="xsd:string" />
+				</xsd:sequence>
+				<xsd:attribute name="class" form="unqualified"
+					fixed="net.sf.taverna.t2.annotation.annotationbeans.Author" />
+
+			</xsd:restriction>
+		</xsd:complexContent>
+	</xsd:complexType>
+	
+	<xsd:complexType name="DescriptiveTitle">
+		<xsd:complexContent>
+			<xsd:restriction base="AbstractTextual">
+				<xsd:sequence>
+					<xsd:element name="text" type="xsd:string" />
+				</xsd:sequence>
+				<xsd:attribute name="class" form="unqualified"
+					fixed="net.sf.taverna.t2.annotation.annotationbeans.DescriptiveTitle" />
+
+			</xsd:restriction>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="ExampleValue">
+		<xsd:complexContent>
+			<xsd:restriction base="AbstractTextual">
+				<xsd:sequence>
+					<xsd:element name="text" type="xsd:string" />
+				</xsd:sequence>
+				<xsd:attribute name="class" form="unqualified"
+					fixed="net.sf.taverna.t2.annotation.annotationbeans.ExampleValue" />
+
+			</xsd:restriction>
+		</xsd:complexContent>
+	</xsd:complexType>
+	<xsd:complexType name="FreeTextDescription">
+		<xsd:complexContent>
+			<xsd:restriction base="AbstractTextual">
+				<xsd:sequence>
+					<xsd:element name="text" type="xsd:string" />
+				</xsd:sequence>
+				<xsd:attribute name="class" form="unqualified"
+					fixed="net.sf.taverna.t2.annotation.annotationbeans.FreeTextDescription" />
+
+			</xsd:restriction>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="HostInstitution">
+		<xsd:complexContent>
+			<xsd:restriction base="AbstractTextual">
+				<xsd:sequence>
+					<xsd:element name="text" type="xsd:string" />
+				</xsd:sequence>
+				<xsd:attribute name="class" form="unqualified"
+					fixed="net.sf.taverna.t2.annotation.annotationbeans.HostInstitution" />
+			</xsd:restriction>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="MimeType">
+		<xsd:complexContent>
+			<xsd:restriction base="AbstractTextual">
+				<xsd:sequence>
+					<xsd:element name="text" type="xsd:string" />
+				</xsd:sequence>
+				<xsd:attribute name="class" form="unqualified"
+					fixed="net.sf.taverna.t2.annotation.annotationbeans.MimeType" />
+			</xsd:restriction>
+		</xsd:complexContent>
+	</xsd:complexType>
+	
+	<xsd:complexType name="Optional">
+		<xsd:complexContent>
+			<xsd:restriction base="tav:AnnotationBean">
+				<xsd:attribute name="class" form="unqualified"
+					fixed="net.sf.taverna.t2.annotation.annotationbeans.Optional" />
+			</xsd:restriction>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+
+	<xsd:complexType name="SemanticAnnotation">
+		<xsd:complexContent>
+			<xsd:restriction base="tav:AnnotationBean">
+				<xsd:sequence>
+					<xsd:element name="mimeType" type="xsd:string" default="text/rdf+n3" />
+					<xsd:element name="content" type="xsd:string" />
+				</xsd:sequence>
+				<xsd:attribute name="class" form="unqualified"
+					fixed="net.sf.taverna.t2.annotation.annotationbeans.SemanticAnnotation" />
+			</xsd:restriction>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+
+</xsd:schema>
+		
\ No newline at end of file

Added: incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2flow-extended.xsd
URL: http://svn.apache.org/viewvc/incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2flow-extended.xsd?rev=1651691&view=auto
==============================================================================
--- incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2flow-extended.xsd (added)
+++ incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2flow-extended.xsd Wed Jan 14 14:58:43 2015
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema targetNamespace="http://taverna.sf.net/2008/xml/t2flow"
+	xmlns:tav="http://taverna.sf.net/2008/xml/t2flow" elementFormDefault="qualified"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:layers="http://taverna.sf.net/2008/xml/t2layers"
+	xmlns:activities="http://taverna.sf.net/2008/xml/t2activities">
+	<xsd:import namespace="http://taverna.sf.net/2008/xml/t2layers"
+		schemaLocation="t2layers.xsd" />
+	<xsd:import schemaLocation="t2annotations.xsd" />
+	<xsd:import namespace="http://taverna.sf.net/2008/xml/t2activities"
+		schemaLocation="t2activities.xsd" />
+	<xsd:import schemaLocation="externaltoolactivity.xsd" />
+	<xsd:import schemaLocation="restactivity.xsd" />
+	<xsd:import schemaLocation="xpathactivity.xsd" />
+
+	<xsd:annotation>
+		<xsd:documentation>
+			Restricting schema of t2flow.xsd that describes the
+			configuration beans for the
+			dispatch stack layers and activities,
+			given the shipped Taverna 2.0/2.1
+			with no additional plugins
+			installed.
		</xsd:documentation>
+	</xsd:annotation>
+	<xsd:redefine schemaLocation="t2flow.xsd">
+		<xsd:complexType name="ConfigBean">
+			<xsd:complexContent>
+				<xsd:restriction base="tav:ConfigBean">
+					<xsd:choice>
+						<xsd:element form="unqualified" name="null">
+							<xsd:annotation>
+								<xsd:documentation>
+									null - meaning no configuration
+								</xsd:documentation>
+							</xsd:annotation>
+						</xsd:element>
+
+
+						<xsd:element form="unqualified"
+							name="net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.RetryConfig"
+							type="layers:RetryConfig">
+						</xsd:element>
+						<xsd:element form="unqualified"
+							name="net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ParallelizeConfig"
+							type="layers:ParallelizeConfig">
+						</xsd:element>
+						<xsd:element form="unqualified"
+							name="net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.LoopConfiguration"
+							type="layers:LoopConfig">
+						</xsd:element>
+
+
+						<xsd:element form="unqualified"
+							name="net.sf.taverna.t2.activities.apiconsumer.ApiConsumerActivityConfigurationBean"
+							type="activities:ApiConsumerConfig">
+						</xsd:element>
+
+						<xsd:element form="unqualified"
+							name="net.sf.taverna.t2.activities.beanshell.BeanshellActivityConfigurationBean"
+							type="activities:BeanshellConfig">
+						</xsd:element>
+						<xsd:element form="unqualified"
+							name="net.sf.taverna.t2.activities.localworker.LocalworkerActivityConfigurationBean"
+							type="activities:BeanshellConfig">
+						</xsd:element>
+						<xsd:element form="unqualified"
+							name="net.sf.taverna.t2.activities.stringconstant.StringConstantConfigurationBean"
+							type="activities:StringConstantConfig">
+						</xsd:element>
+						<xsd:element form="unqualified"
+							name="net.sf.taverna.t2.activities.rshell.RshellActivityConfigurationBean"
+							type="activities:RShellConfig">
+						</xsd:element>
+						<xsd:element form="unqualified"
+							name="net.sf.taverna.t2.activities.wsdl.WSDLActivityConfigurationBean"
+							type="activities:WSDLConfig">
+						</xsd:element>
+						<xsd:element form="unqualified"
+							name="net.sf.taverna.t2.activities.wsdl.xmlsplitter.XMLSplitterConfigurationBean"
+							type="activities:XMLSplitterConfig">
+						</xsd:element>
+						<xsd:element form="unqualified" name="MartQuery"
+							type="activities:BioMartConfig">
+						</xsd:element>
+						<xsd:element form="unqualified"
+							name="net.sf.taverna.t2.activities.biomoby.BiomobyActivityConfigurationBean"
+							type="activities:BioMobyConfig" />
+						<xsd:element form="unqualified"
+							name="net.sf.taverna.t2.activities.biomoby.BiomobyObjectActivityConfigurationBean"
+							type="activities:BioMobyObjectConfig" />
+						<xsd:element form="unqualified"
+							name="net.sf.taverna.t2.activities.biomoby.MobyParseDatatypeActivityConfigurationBean"
+							type="activities:BioMobyParserConfig" />
+
+						<xsd:element form="unqualified"
+							name="net.sf.taverna.t2.activities.spreadsheet.SpreadsheetImportConfiguration"
+							type="activities:SpreadsheetImportConfig" />
+
+						<xsd:element form="unqualified"
+							name="net.sf.taverna.t2.activities.soaplab.SoaplabActivityConfigurationBean"
+							type="activities:SoaplabConfig" />
+
+
+						<xsd:element name="dataflow" type="activities:DataflowConfig" />
+
+						<xsd:element ref="tav:abstractConfigBean" />
+
+					</xsd:choice>
+					<xsd:attribute name="encoding" use="required" type="tav:Encoding" />
+				</xsd:restriction>
+			</xsd:complexContent>
+		</xsd:complexType>
+						
+	</xsd:redefine>
+
+
+	<xsd:simpleType name="Encoding">
+		<xsd:restriction base="xsd:string">
+			<xsd:enumeration value="xstream"></xsd:enumeration>
+			<xsd:enumeration value="dataflow"></xsd:enumeration>
+			<xsd:enumeration value="jdomxml"></xsd:enumeration>
+		</xsd:restriction>
+	</xsd:simpleType>
+
+
+
+</xsd:schema>
\ No newline at end of file

Added: incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2flow.xsd
URL: http://svn.apache.org/viewvc/incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2flow.xsd?rev=1651691&view=auto
==============================================================================
--- incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2flow.xsd (added)
+++ incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2flow.xsd Wed Jan 14 14:58:43 2015
@@ -0,0 +1,893 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema targetNamespace="http://taverna.sf.net/2008/xml/t2flow"
+	elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema"
+	xmlns:tav="http://taverna.sf.net/2008/xml/t2flow" xml:lang="en">
+
+	<annotation>
+		<documentation>
+			<p xmlns='http://www.w3.org/1999/xhtml'>
+				This is a descriptive, informative XML Schema
+				describing
+				the serialisation format of Taverna 2 workflows, as of
+				Taverna 2.0.
+				Such workflows are commonly served with the extension
+				.t2flow and
+				served using the content-type
+				application/vnd.taverna.t2flow+xml
+			</p>
			<p xmlns='http://www.w3.org/1999/xhtml'>
				Stable as of 2009-09-11 by Stian Soiland-Reyes, should correctly
				describe workflows as saved from Taverna 2.0, 2.1 b1 and 2.1 b2, but
				as this schema has been made in retrospect no guarantees are made.
				To test the schema against the examples, try xmllint:
				<code>xmllint --noout --schema t2flow.xsd examples/*t2flow</code>
			</p>
		</documentation>
	</annotation>
+	<element name="workflow" type="tav:Workflow">
+		<annotation>
+			<documentation>The container element for a .t2flow workflow
+				definition. Future versions of Taverna may support other kinds of
+				flows, like control flows, but currently only Dataflows are
+				supported. The Dataflow with role="top" is the main workflows.
			</documentation>
+		</annotation>
+	</element>
+
+	<complexType name="Workflow">
+		<annotation>
+			<documentation>
+				The container of a workflow definition. This schema
+				specifies workflow definitions where version="1" (as
+				used by Taverna
+				2.0) - although this schema also permits
+				any future minor versions
+				like "1.1".
+
+				At least one dataflow must be present, and it must have
+				role="top". Other dataflows would typically be
+				referenced by their id
+				from the nested workflow
+				activity.
+			</documentation>
+		</annotation>
+		<sequence>
+			<element name="dataflow" type="tav:Dataflow" maxOccurs="unbounded"
+				minOccurs="1">
+			</element>
+		</sequence>
+		<attribute use="required" name="version" type="tav:Version1">
+
+		</attribute>
+		<attribute name="producedBy" type="string" use="optional">
+			<annotation>
+				<documentation>Application that produced (ie. saved/serialised) this
+					workflow.
+
+					Example: taverna-2.1-beta-1
+
+					Introduced in Taverna 2.1 Beta
+					1 - if the value is missing it's safe to
+					assume 'taverna-2.0' -
+					although it might also be a workflow saved
+					through another
+					application using the pre 2.1 APIs, such as the
+					Taverna Platform.
+				</documentation>
+			</annotation>
+		</attribute>
+	</complexType>
+
+	<complexType name="Dataflow">
+		<annotation>
+			<documentation>A dataflow, that is a workflow that is data-driven.
+				When running a dataflow, data is pushed onto the inputPorts, leading
+				through the datalinks to the input ports of processors. The output
+				ports of these processors again have datalinks to other processors,
+				and to outputPorts, which are the results of the workflow.
+				Additional control links can be listed under 'conditions', and
+				annotations (descriptions) about the Dataflow under 'annotations'.
+				The "role" attribute should be "top" for the main dataflow, and
+				"nested" for nested dataflows. The uuid-s in "id" can be referenced
+				from a nested dataflow activity.
+			</documentation>
+		</annotation>
+		<sequence>
+			<element name="name" type="string">
+				<annotation>
+					<documentation></documentation>
+				</annotation>
+			</element>
+			<element name="inputPorts" type="tav:AnnotatedGranularDepthPorts">
+				<annotation>
+					<documentation>List of dataflow input ports. Input ports are the
+						"parameters" or inputs to running a workflow and must be described
+						with depth and granular depth.
+					</documentation>
+				</annotation>
+			</element>
+			<element name="outputPorts" type="tav:AnnotatedPorts">
+				<annotation>
+					<documentation>List of output ports of the dataflows. Results are
+						delivered to the output ports, the depth of the output port is
+						calculated at runtime.
+					</documentation>
+				</annotation>
+			</element>
+			<element name="processors" type="tav:Processors">
+				<annotation>
+					<documentation>List of processors. Processors receive, process and
+						produce data and are linked with each other using datalinks.
+					</documentation>
+				</annotation>
+			</element>
+			<element name="conditions" type="tav:Conditions">
+				<annotation>
+					<documentation>List of conditional control link. A control link
+						between processor A and B means that processor B will not run
+						until processor A has finished all it's iterations.
+					</documentation>
+				</annotation>
+			</element>
+			<element name="datalinks" type="tav:Datalinks">
+				<annotation>
+					<documentation>List of datalinks. A datalink goes between ports,
+						for instance from a processor output port to a processor input
+						port. The "source" end of the link can also come from a dataflow
+						input port, and the "sink" end can go to a dataflow output port. A
+						processor output port and a dataflow input port can have several
+						links to different ports, but a processor input port or a dataflow
+						output port can't have several incoming links. However, a
+						processor input port can have several incoming links through a
+						'merge', which will wrap the inputs into an ordered list.
					</documentation>
+				</annotation>
+			</element>
+			<element name="annotations" type="tav:Annotations" maxOccurs="1"
+				minOccurs="0">
+				<annotation>
+					<documentation>List of annotations, ie. descriptions and metadata
+						about the dataflow such as "title" and "author".
+					</documentation>
+				</annotation>
+			</element>
+		</sequence>
+		<attribute name="id" type="tav:uuid" use="required">
+			<annotation>
+				<documentation>A unique identifier for this dataflow (UUID). This id
+					should change whenever a structural change has been done to the
+					dataflow.
+				</documentation>
+			</annotation>
+		</attribute>
+		<attribute name="role" type="tav:role" use="required">
+			<annotation>
+				<documentation>The role of this Dataflow within the Workflow
+					container. The "top" dataflow is the main one, while "nested"
+					dataflows might be referenced by id from activities.
+				</documentation>
+			</annotation>
+		</attribute>
+	</complexType>
+
+	<simpleType name="uuid">
+		<annotation>
+			<documentation>A hex-formatted UUID. (Universial Unique IDentifier).
+				UUIDs should be generated using a random algorithm so that they
+				can't identify the machine who saved the dataflow.
+			</documentation>
+		</annotation>
+		<restriction base="string">
+			<pattern
+				value="[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}">
+			</pattern>
+		</restriction>
+	</simpleType>
+
+	<simpleType name="role">
+		<annotation>
+			<documentation>The role of a dataflow within a workflow.
+			</documentation>
+		</annotation>
+		<restriction base="string">
+			<enumeration value="top"></enumeration>
+			<enumeration value="nested"></enumeration>
+		</restriction>
+	</simpleType>
+
+	<complexType name="Ports">
+		<annotation>
+			<documentation>List of ports.</documentation>
+		</annotation>
+		<sequence>
+			<element name="port" type="tav:Port" maxOccurs="unbounded"
+				minOccurs="0"></element>
+		</sequence>
+	</complexType>
+
+	<complexType name="Processors">
+		<annotation>
+			<documentation>List of processors.</documentation>
+		</annotation>
+		<sequence>
+			<element name="processor" type="tav:Processor" maxOccurs="unbounded"
+				minOccurs="0"></element>
+		</sequence>
+	</complexType>
+
+	<complexType name="Conditions">
+		<annotation>
+			<documentation>List of conditional control links.
+			</documentation>
+		</annotation>
+		<sequence>
+			<element name="condition" type="tav:Condition" maxOccurs="unbounded"
+				minOccurs="0"></element>
+		</sequence>
+	</complexType>
+
+	<complexType name="Datalinks">
+		<annotation>
+			<documentation>List of datalinks between dataflow ports and
+				processors in a workflow.
+			</documentation>
+		</annotation>
+		<sequence>
+			<element name="datalink" type="tav:DataLink" maxOccurs="unbounded"
+				minOccurs="0"></element>
+		</sequence>
+	</complexType>
+
+	<complexType name="Port">
+		<sequence>
+			<element name="name" type="tav:PortName"></element>
+		</sequence>
+	</complexType>
+
+	<complexType name="Processor">
+		<annotation>
+			<documentation>A processor of a dataflow. A processor is a dataflow
+				unit that receives input to its input ports, iterates over it using
+				the iteration strategy stack, and pushes it down the dispatch stack
+				to reach the activities that invokes the actual services. The
+				outputs from the services buble up through the dispatch stack and is
+				pushed out on the output ports, indexed according to the iteration
+				strategy.
			</documentation>
+		</annotation>
+		<sequence>
+			<element name="name" type="tav:ProcessorName">
+				<annotation>
+					<documentation>Name of processor within the dataflow. This name is
+						used to describe datalinks. The name of a processor must be
+						locally unique within a dataflow. (However the name can be reused
+						in a nested dataflow)
+					</documentation>
+				</annotation>
+			</element>
+			<element name="inputPorts" type="tav:DepthPorts">
+				<annotation>
+					<documentation>List of processor input ports. Inputs are described
+						with depth. Inputs served at a lower depth will be wrapped, if it
+						is served at a higher depth the iteration strategy stack will be
+						involved to do the iteration over the input. "Depth" means the
+						granularity of data, single strings are depth 0, a list of strings
+						are depth 1, lists of such lists are depth 2, etc.
+					</documentation>
+				</annotation>
+			</element>
+			<element name="outputPorts" type="tav:GranularDepthPorts">
+				<annotation>
+					<documentation>List of processor output ports. Output ports must be
+						described with both depth and granular depth, although in most
+						cases the two are equal. The "depth" describes the granularity of
+						the final output produced by a data port (assuming no iteration,
+						the additional depth from this is added at runtime). If a
+						processor (and its activity) produces intermediate outputs at
+						lower granularity than the granularDepth can be set to describe at
+						which level the intermediate outputs will be produced. (Note that
+						such a processor would still need to produce the final list of the
+						defined depth in the end).
+					</documentation>
+				</annotation>
+			</element>
+			<element name="annotations" type="tav:Annotations" maxOccurs="1"
+				minOccurs="0">
+				<annotation>
+					<documentation>List of processor annotations, describing this
+						processor. For instance a description could say what is the role
+						of this processor in the dataflow.
+					</documentation>
+				</annotation>
+			</element>
+
+			<element name="activities" type="tav:Activities">
+				<annotation>
+					<documentation>List of activities that is to be invoked by this
+						processor. It is down to the dispatch stack to do the activity
+						selection (typically by the Failover layer) so that in the bottom
+						a single activity is invoked at a time. The activities must have
+						output mapping to be able to populate all of this processors
+						outputPorts, and can have input mapping to use one or more of the
+						input ports. Note that the depth of the mapped activity ports must
+						match the defined depths in the Processor ports.
+					</documentation>
+				</annotation>
+			</element>
+			<element name="dispatchStack" type="tav:DispatchStack">
+				<annotation>
+					<documentation>The dispatch stack. The stack is made out of layers
+						that send jobs down and receive job results (or failure) from
+						below. The typical stack takes care of parallelizing, retries on
+						failure, failover to alternative activities, and handling errors.
+						The elements of the stack can be reordered and replaced for
+						individual processors, for instance if one wants to do failover
+						before retries, or do a customized layer that does service
+						selection at runtime by doing a lookup in a service repository
+						like BioCatalogue.
+					</documentation>
+				</annotation>
+			</element>
+			<element name="iterationStrategyStack" type="tav:IterationStrategyStack">
+				<annotation>
+					<documentation>The stack of iteration strategies. The iteration
+						strategies takes care of iterating when a processor is served with
+						inputs of higher granularity than what it expects. The typical
+						usecase is a single iteration strategy in the stack, and by
+						default a single cross product of all the input ports (meaning
+						all-to-all iteration).
+					</documentation>
+				</annotation>
+			</element>
+		</sequence>
+	</complexType>
+
+	<complexType name="Annotations">
+		<annotation>
+			<documentation>List of annotation chains</documentation>
+		</annotation>
+		<choice maxOccurs="unbounded" minOccurs="0">
+			<element name="annotation_chain" type="tav:AnnotationChain">
+			</element>
+			<element name="annotation_chain_2_2" type="tav:AnnotationChain">
+			</element>
+		</choice>
+	</complexType>
+
+	<complexType name="Activities">
+		<annotation>
+			<documentation>List of activities. The list can be empty, used for
+				"abstract" processors, placeholders until a matching activity is
+				found.
+			</documentation>
+		</annotation>
+		<sequence>
+			<element name="activity" type="tav:Activity" maxOccurs="unbounded"
+				minOccurs="0" />
+		</sequence>
+	</complexType>
+
+	<complexType name="Activity">
+		<annotation>
+			<documentation>An activity is the link between a processor and the
+				actual service. Typical activities can be the WSDL activity that
+				knows how to communicate with WSDL-services, the Beanshell activity
+				that knows how to locally execute a Beanshell script, or a Dataflow
+				activity that knows how to execute a nested dataflow. (Typically
+				included as another dataflow element within this Workflow
+				description).
			</documentation>
+		</annotation>
+		<sequence>
+			<element name="raven" type="tav:Raven" maxOccurs="1"
+				minOccurs="0">
+				<annotation>
+					<documentation>Raven artifact from which the activity
+						implementation class is to be loaded. The version of this artifact
+						is mainly informational, as the currently loaded artifact is
+						preferred.
+					</documentation>
+				</annotation>
+			</element>
+			<element name="class" type="string">
+				<annotation>
+					<documentation>Fully qualified Java class name defining this
+						activity implementation. An instance of this class will be
+						constructed and then configured with the deserialised configBean.
+					</documentation>
+				</annotation>
+			</element>
+			<element name="inputMap" type="tav:Map">
+				<annotation>
+					<documentation>Mapping from the processor's input ports to this
+						activity's input ports (determined at run-time after
+						configuration). Not all processor inputs need to be mapped, and
+						neither does all the activity input ports need a mapping. Notice
+						that this mapping is processorPort -> activityPort , while the
+						order is opposite for outputMap. Each activity have their own
+						mapping, which means that you can have alternative activities with
+						different port names (but same depths). If one of the activities
+						requires additional input ports this can be arrange by having
+						additional processor ports, and only map them in that activity.
+						(If the other activity is invoked those inputs are ignored - but
+						note that they would still be iterated over according ot the
+						iteration strategy).
+					</documentation>
+				</annotation>
+			</element>
+			<element name="outputMap" type="tav:Map">
+				<annotation>
+					<documentation>Mapping from the activity's output ports (determined
+						at run-time after configuration) to the processor's output ports.
+						Not all of the activity's output ports need to be mapped, but all
+						of the processor output ports need to have a mapping. Notice that
+						this mapping is activityPort -> processorPort, while the order is
+						opposite for inputMap.
+					</documentation>
+				</annotation>
+			</element>
+			<element name="configBean" type="tav:ConfigBean">
+				<annotation>
+					<documentation>Serialised configuration bean. After constructing
+						the activity instance of the defined class, this configuration
+						bean is passed as configuration to the activity. The activity
+						input and output ports will be defined at runtime after this
+						configuration. (For some activities the configuration bean
+						includes this port definition, while other calculate the ports by
+						parsing service descriptions, etc).
+					</documentation>
+				</annotation>
+			</element>
+			<element name="annotations" type="tav:Annotations" maxOccurs="1"
+				minOccurs="0">
+				<annotation>
+					<documentation>List of annotations describing this activity.
+					</documentation>
+				</annotation>
+			</element>
+		</sequence>
+	</complexType>
+
+	<complexType name="Raven">
+		<annotation>
+			<documentation>Raven artifact described using typical Maven groupId,
+				artifactId and version. When loading a dataflow this artifact must
+				have already been loaded from one of the plugins.
+			</documentation>
+		</annotation>
+		<sequence>
+			<element name="group" type="string" />
+			<element name="artifact" type="string" />
+			<element name="version" type="string" />
+		</sequence>
+	</complexType>
+
+	<complexType name="Mapping">
+		<annotation>
+			<documentation>A mapping of port names. For instance in an inputMap,
+				where a processor input port "database" is to be mapped to the
+				activity input port "db", an inputMap would be made with
+				from="database" to="db".
+			</documentation>
+		</annotation>
+		<attribute use="required" name="from" type="tav:PortName" />
+		<attribute use="required" name="to" type="tav:PortName" />
+	</complexType>
+
+	<element name="abstractConfigBean" abstract="true"
+		type="tav:AbstractConfigBean" />
+
+	<complexType name="AbstractConfigBean" />
+
+	<complexType name="ConfigBean">
+		<annotation>
+			<documentation>A serialised configuration bean to configure a
+				dispatch layer or activity. Typically the serialisation is done
+				using a Java XML serialisation from libraries such as xstream, and
+				the serialisation is therefore also dependent on the plugin defining
+				the activity or dispatch layer. The alternative schema
+				t2flow-extended.xsd adds descriptions of the most typical activities
+				and dispatch layers.
+			</documentation>
+		</annotation>
+		<sequence>
+			<any namespace="##any" processContents="lax" />
+		</sequence>
+		<attribute name="encoding" type="string" use="required" />
+	</complexType>
+
+	<complexType name="DispatchStack">
+		<annotation>
+			<documentation>List of dispatch layers. This would typically contain
+				at least the Invoke layer to perform the actual invocation of the
+				activity.
+			</documentation>
+		</annotation>
+		<sequence>
+			<element name="dispatchLayer" type="tav:DispatchLayer"
+				maxOccurs="unbounded" minOccurs="0" />
+		</sequence>
+	</complexType>
+
+	<complexType name="DispatchLayer">
+		<annotation>
+			<documentation>A dispatch layer, identified by Java class name.
+			</documentation>
+		</annotation>
+		<sequence>
+			<element name="raven" type="tav:Raven" maxOccurs="1"
+				minOccurs="0">
+				<annotation>
+					<documentation>Raven artifact from which the layer class is to be
+						loaded. The version of this artifact is mainly informational, as
+						the currently loaded artifact is preferred.
+					</documentation>
+				</annotation>
+			</element>
+			<element name="class" type="string">
+				<annotation>
+					<documentation>Fully qualified Java class name defining this
+						dispatch layer. An instance of this class will be constructed and
+						then configured with the deserialised configBean.
+					</documentation>
+				</annotation>
+			</element>
+			<element name="configBean" type="tav:ConfigBean">
+				<annotation>
+					<documentation>A serialised configuration for the dispatch layer.
+						The deserialised version of this bean will be passed to the layer
+						instance after initialisation.
+					</documentation>
+				</annotation>
+			</element>
+		</sequence>
+	</complexType>
+
+	<complexType name="IterationStrategyStack">
+		<sequence>
+			<element name="iteration" type="tav:Iteration"></element>
+		</sequence>
+	</complexType>
+
+	<complexType name="Iteration">
+		<sequence>
+			<element name="strategy" type="tav:TopIterationNode"
+				minOccurs="0" maxOccurs="unbounded" />
+		</sequence>
+	</complexType>
+
+	<complexType name="TopIterationNode">
+		<choice maxOccurs="1" minOccurs="0">
+			<element name="cross" type="tav:CrossProduct" />
+			<element name="dot" type="tav:DotProduct" />
+		</choice>
+	</complexType>
+
+	<complexType name="IterationNode">
+	</complexType>
+
+
+	<complexType name="IterationNodeParent">
+		<complexContent>
+			<extension base="tav:IterationNode">
+				<choice maxOccurs="unbounded" minOccurs="0">
+					<element name="cross" type="tav:CrossProduct" />
+					<element name="dot" type="tav:DotProduct" />
+					<element name="port" type="tav:PortProduct" />
+				</choice>
+			</extension>
+		</complexContent>
+	</complexType>
+
+	<complexType name="CrossProduct">
+		<complexContent>
+			<extension base="tav:IterationNodeParent" />
+		</complexContent>
+	</complexType>
+
+	<complexType name="DotProduct">
+		<complexContent>
+			<extension base="tav:IterationNodeParent" />
+		</complexContent>
+	</complexType>
+
+
+	<complexType name="DepthPort">
+		<complexContent>
+			<extension base="tav:Port">
+				<sequence>
+					<element name="depth" type="nonNegativeInteger"></element>
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
+
+	<complexType name="GranularDepthPort">
+		<complexContent>
+			<extension base="tav:DepthPort">
+				<sequence>
+					<element name="granularDepth" type="nonNegativeInteger">
+					</element>
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
+
+
+
+	<complexType name="GranularDepthPorts">
+		<annotation>
+			<documentation>List of ports that have both depth and granular depth.
+			</documentation>
+		</annotation>
+		<sequence>
+			<element name="port" type="tav:GranularDepthPort" maxOccurs="unbounded"
+				minOccurs="0"></element>
+		</sequence>
+	</complexType>
+
+
+	<complexType name="AnnotatedGranularDepthPort">
+		<complexContent>
+			<extension base="tav:GranularDepthPort">
+				<sequence>
+					<element name="annotations" type="tav:Annotations"
+						maxOccurs="1" minOccurs="0">
+						<annotation>
+							<documentation>
+								List of annotations, describing this port. For
+								instance a description could say what type of data the port
+								expects, and an example annotation could say an example value
+							</documentation>
+						</annotation>
+					</element>
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
+	<complexType name="AnnotatedGranularDepthPorts">
+		<annotation>
+			<documentation>List of annotated ports that have both depth and
+				granular depth.
+			</documentation>
+		</annotation>
+		<sequence>
+			<element name="port" type="tav:AnnotatedGranularDepthPort"
+				maxOccurs="unbounded" minOccurs="0"></element>
+		</sequence>
+	</complexType>
+
+	<complexType name="AnnotatedPort">
+		<complexContent>
+			<extension base="tav:Port">
+				<sequence>
+					<element name="annotations" type="tav:Annotations"
+						maxOccurs="1" minOccurs="0">
+						<annotation>
+							<documentation>
+								List of annotations, describing this port. For
+								instance a description could say what type of data the port
+								expects, and an example annotation could say an example value
+							</documentation>
+						</annotation>
+					</element>
+				</sequence>
+			</extension>
+		</complexContent>
+	</complexType>
+	<complexType name="AnnotatedPorts">
+		<annotation>
+			<documentation>List of annotated ports.
+			</documentation>
+		</annotation>
+		<sequence>
+			<element name="port" type="tav:AnnotatedPort" maxOccurs="unbounded"
+				minOccurs="0"></element>
+		</sequence>
+	</complexType>
+
+
+
+	<complexType name="Map">
+		<annotation>
+			<documentation>0 or more mappings.</documentation>
+		</annotation>
+		<sequence>
+			<element name="map" type="tav:Mapping" maxOccurs="unbounded"
+				minOccurs="0"></element>
+		</sequence>
+	</complexType>
+
+	<complexType name="DataLink">
+		<annotation>
+			<documentation>A link between two dataflow units, from source to
+				link.
+			</documentation>
+		</annotation>
+		<sequence>
+			<element name="sink" type="tav:Link">
+				<annotation>
+					<documentation>The sink of the link - where the data will be
+						flowing to. This must be either a processor input port or a
+						dataflow output port.
+					</documentation>
+				</annotation>
+			</element>
+
+			<element name="source" type="tav:Link">
+				<annotation>
+					<documentation>The source of the link - where the data will be
+						flowing from. This must be a dataflow input port or a processor
+						output port.
+					</documentation>
+				</annotation>
+			</element>
+		</sequence>
+	</complexType>
+
+	<complexType name="Link">
+		<annotation>
+			<documentation>One end of the links in the Datalink. A link goes
+				from/to a port, either a dataflow port or a processor port. If the
+				type is "dataflow", then the "processor" element must not be
+				present, and the port defines a dataflow input (if this link is a
+				source) or output port (if this link is a sink). The must not be
+				more than one DataLink with a sink to the same dataflow output port.
+				If the type is "processor", then the "processor" element must be
+				present, and name a processor in the same dataflow. The port must
+				name a defined processor input port (if this link is a sink) or
+				processor output port (if this link is a source). There must not be
+				more than one DataLink with a sink to the same processor input port.
+				If the type is "merge", this link must be used as a source (merge
+				can't be used with a sink), and is similar to the type of
+				"processor", except that more than one link to the processor is
+				allowed. A "merge" element will be inserted in front of the defined
+				processor input port, and the incoming links will be added to the
+				merge in the order they have been defined in the dataflow.
			</documentation>
+		</annotation>
+		<sequence>
+			<element name="processor" type="tav:ProcessorName" maxOccurs="1"
+				minOccurs="0">
+				<annotation>
+					<documentation>If the type is "processor" or "merge" this element
+						must be present and describe the processor name of this link. If
+						the type is "dataflow" this element must not be present.
					</documentation>
+				</annotation>
+			</element>
+			<element name="port" type="tav:PortName">
+				<annotation>
+					<documentation>If type is "processor" or "merge" this describes a
+						processor input port (if this link is a sink) or output port (if
+						this link is a source).
+					</documentation>
+				</annotation>
+			</element>
+		</sequence>
+
+		<attribute use="required" name="type" type="tav:LinkType"></attribute>
+	</complexType>
+
+	<simpleType name="LinkType">
+		<restriction base="string">
+			<enumeration value="dataflow"></enumeration>
+			<enumeration value="processor"></enumeration>
+			<enumeration value="merge"></enumeration>
+		</restriction>
+	</simpleType>
+
+
+	<complexType name="DepthPorts">
+		<annotation>
+			<documentation>List of ports that have depths.</documentation>
+		</annotation>
+		<sequence>
+			<element name="port" type="tav:DepthPort" maxOccurs="unbounded"
+				minOccurs="0">
+			</element>
+		</sequence>
+	</complexType>
+
+	<complexType name="PortProduct">
+
+		<complexContent>
+			<extension base="tav:IterationNode">
+				<attribute use="required" name="name" type="tav:PortName"></attribute>
+				<attribute use="required" name="depth" type="nonNegativeInteger"></attribute>
+			</extension>
+		</complexContent>
+	</complexType>
+
+	<complexType name="AnnotationChain">
+		<annotation>
+			<documentation>Chain of annotations. Annotations are serialised Java
+				objects, similar to the ConfigBeans.
+			</documentation>
+		</annotation>
+		<sequence>
+			<element name="net.sf.taverna.t2.annotation.AnnotationChainImpl"
+				form="unqualified">
+				<complexType>
+					<sequence>
+						<element name="annotationAssertions" form="unqualified"
+							type="tav:AnnotationAssertionImpl">
+
+						</element>
+					</sequence>
+				</complexType>
+			</element>
+		</sequence>
+		<attribute use="required" name="encoding" type="string"></attribute>
+	</complexType>
+
+	<complexType name="AnnotationAssertionImpl">
+		<sequence>
+			<element name="net.sf.taverna.t2.annotation.AnnotationAssertionImpl"
+				form="unqualified">
+				<complexType>
+					<sequence>
+						<element name="annotationBean" form="unqualified" type="tav:AnnotationBean" />										
+						<element name="date" form="unqualified" type="tav:datetime" />
+						<element name="creators" form="unqualified" />
+						<element name="curationEventList" form="unqualified" />
+					</sequence>
+				</complexType>
+			</element>
+
+		</sequence>
+	</complexType>
+	
+	<complexType name="AnnotationBean">
+		<sequence>
+			<any minOccurs="0" maxOccurs="unbounded" processContents="lax"  />
+		</sequence>
+		<attribute name="class" form="unqualified" />
+	</complexType>
+
+	<simpleType name="datetime">
+		<annotation>
+			<documentation>ISO 8601 datetime with spaces and letter time zones; YYYY-mm-dd hh:mm:ss.nnn TTT
+			</documentation>
+		</annotation>
+		<restriction base="string">
+			<pattern value="\d{4}-\d\d-\d\d \d\d:\d\d:\d\d\.?\d* .*"></pattern>
+		</restriction>
+	</simpleType>
+
+	<simpleType name="Version1">
+		<annotation>
+			<documentation>Version of workflow element covered by this schema -
+				restricted to "1" or "1.x" - for instance "1.2" would be allowed.
+			</documentation>
+		</annotation>
+		<restriction base="string">
+			<pattern value="1(|\..*)"></pattern>
+		</restriction>
+	</simpleType>
+
+	<complexType name="Condition">
+		<annotation>
+			<documentation>A conditional link. The processor named in "target"
+				will not be invoked before the processor named in "control" has
+				finished all its iterations. (Note that the target processor will
+				also wait for any required input data before invoking).
+			</documentation>
+		</annotation>
+		<attribute use="required" name="control" type="tav:ProcessorName"></attribute>
+		<attribute use="required" name="target" type="tav:ProcessorName"></attribute>
+	</complexType>
+
+	<simpleType name="ProcessorName">
+		<annotation>
+			<documentation>Name of a processor within a dataflow. Each processor
+				in the same dataflow need a unique processor name. It is not
+				required, but recommended, to avoid 'special' characters like space,
+				", -, ', \, etc.
+			</documentation>
+		</annotation>
+		<restriction base="string"></restriction>
+	</simpleType>
+
+	<simpleType name="PortName">
+		<annotation>
+			<documentation>Name of a port, either a dataflow input/output port,
+				processor input/output port or a activity input/output port. Port
+				names must be unique for a given grouping of ports. For instance you
+				can't have two input ports on a dataflow with the same name, but you
+				can have two separate dataflows, both having an input port with the
+				same name, or an output port with the same name. In the same way a
+				processor or an activity can have an input port and an output port
+				with the same name (but they are separate ports), but not two input
+				ports or output ports with the same name. It is not required, but
+				recommended, to avoid 'special' characters like space, ", -, ', \,
+				etc.
			</documentation>
+		</annotation>
+		<restriction base="string"></restriction>
+	</simpleType>
+</schema>
\ No newline at end of file

Added: incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2layers.xsd
URL: http://svn.apache.org/viewvc/incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2layers.xsd?rev=1651691&view=auto
==============================================================================
--- incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2layers.xsd (added)
+++ incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/t2layers.xsd Wed Jan 14 14:58:43 2015
@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema targetNamespace="http://taverna.sf.net/2008/xml/t2layers"
+	xmlns:layers="http://taverna.sf.net/2008/xml/t2layers" xmlns:tav="http://taverna.sf.net/2008/xml/t2flow"
+	elementFormDefault="unqualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<xsd:complexType name="RetryConfig">
+		<xsd:annotation>
+			<xsd:documentation>Defines parameters of retries for when an
+				activity fails.
</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="backoffFactor" type="xsd:double">
+				<xsd:annotation>
+					<xsd:documentation>A multiplication factor applied to the previous
+						delay on concurrent delays. Typically this number is quite close
+						to 1.0. A value of 1.0 means to always use the same delay, while a
+						factor of 2.0 means a doubling of delay for each retry. The delay
+						will however never be larger than the specified maxDelay.
+					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="initialDelay" type="xsd:long">
+				<xsd:annotation>
+					<xsd:documentation>
+						Initial delay in milliseconds before the first
+						retry will be performed.
+					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="maxDelay" type="xsd:long">
+				<xsd:annotation>
+					<xsd:documentation>Maximum delay in milliseconds after
+						applying the backoffFactor.</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="maxRetries" type="xsd:nonNegativeInteger">
+				<xsd:annotation>
+					<xsd:documentation>
+						Maximum number of retries. A number of 0 means
+						no retries will be performed.
+					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+	<xsd:complexType name="ParallelizeConfig">
+		<xsd:annotation>
+			<xsd:documentation>Defines maximum number of jobs to run
+				concurrently.</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="maxJobs" type="xsd:nonNegativeInteger"></xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="LoopConfig">
+		<xsd:annotation>
+			<xsd:documentation>Configuration of the loop layer,
+				which can call an activity again on a given condition. The outputs
+				of the activity in the processor that has this layer in it's
+				dispatch stack will be passed to a special conditional activity,
+				described by conditionXML. This conditional activity will determine
+				if the main activity is to be called again, by returning "true" or
+				"false" on it's "loop" output port. If this is the case, the
+				original job will be sent down again in the dispatch stack, possibly
+				with any modified input parameters (if other output ports from the
+				conditional activity matches the original input port names).
			</xsd:documentation>
+		</xsd:annotation>
+		<xsd:sequence>
+			<xsd:element name="conditionXML" type="xsd:string">
+				<xsd:annotation>
+					<xsd:documentation>
+						Activity to invoke to do the conditional
+						checking as escaped XML of the format
+						tav:Activity, typically a Beanshell script. Must
+						have an output port of depth 0 called "loop" -
+						which string value will be checked as a boolean
+						- if it is equal to "true" then the main
+						activity will be invoked again.
+
+						Additional input ports can be defined - if they
+						match any processor input ports then they will
+						receive the processor inputs. If they match any
+						processor output ports they will receive outputs
+						from last invoking the activity.
+
+						Similarly, if output ports are defined, and they
+						match the processor input port, the output from
+						the conditional will replace the original
+						processor input on the next invocation of the
+						real activity. If they match the processor
+						output they will replace the output from the
+						activity.
+        			</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="runFirst" type="xsd:boolean">
+				<xsd:annotation>
+					<xsd:documentation>If true, then the conditional activity will be
+						invoked before calling the "real" activity for the first time,
+						otherwise the real activity will always be called at least once.
+						It is generally not recommended to use runFirst=true unless the
+						conditional activity is able to produce values for all the
+						processor output ports. Also in this case one must be careful with
+						conditional activity input ports that are to be received from
+						calling the activity - they will be null on the first call.
					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+			<xsd:element name="properties" type="layers:Properties">
+				<xsd:annotation>
+					<xsd:documentation>Properties saved by the UI for any
+						auto-generated conditonalXML. Note that these properties are
+						ignored when running the workflow and are only saved for the UI to
+						remember the properties used to generate the conditional activity.
+					</xsd:documentation>
+				</xsd:annotation>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+
+
+
+
+    <xsd:complexType name="Properties">
+    	<xsd:sequence>
+    		<xsd:element name="property" type="layers:Property"
+    			maxOccurs="unbounded" minOccurs="0">
+    		</xsd:element>
+    	</xsd:sequence>
+    </xsd:complexType>
+
+    <xsd:complexType name="Property">
+    	<xsd:attribute name="name" type="xsd:string" use="required"></xsd:attribute>
+    	<xsd:attribute name="value" type="xsd:string" use="required"></xsd:attribute>
+    </xsd:complexType>
+</xsd:schema>
\ No newline at end of file

Added: incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/xpathactivity.xsd
URL: http://svn.apache.org/viewvc/incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/xpathactivity.xsd?rev=1651691&view=auto
==============================================================================
--- incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/xpathactivity.xsd (added)
+++ incubator/taverna/site/trunk/content/ns/2008/xml/t2flow/xpathactivity.xsd Wed Jan 14 14:58:43 2015
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema elementFormDefault="unqualified"
+
+	xmlns:tool="http://taverna.sf.net/2011/xml/activity/xpath" xmlns:tav="http://taverna.sf.net/2008/xml/t2flow"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
+	jxb:version="1.0">
+
+	<xsd:annotation>
+		<xsd:appinfo>
+			<!-- See http://docs.rakeshv.org/java/jaxb/users-guide/jaxb-custom.html -->
+
+			<!-- <jxb:schemaBindings> <jxb:package name="uk.org.taverna.scufl2.xml.t2flow.rest.jaxb"
+				/> </jxb:schemaBindings> -->
+		</xsd:appinfo>
+	</xsd:annotation>
+
+	<xsd:import namespace="http://taverna.sf.net/2008/xml/t2flow"
+		schemaLocation="t2flow.xsd" />
+
+	<xsd:element
+		name="net.sf.taverna.t2.activities.xpath.XPathActivityConfigurationBean"
+		type="XPathConfig" substitutionGroup="tav:abstractConfigBean" />
+
+	<xsd:complexType name="XPathConfig">
+		<xsd:complexContent>
+			<xsd:extension base="tav:AbstractConfigBean">
+				<xsd:sequence>
+					<xsd:element name="xmlDocument" type="xsd:string" />
+					<xsd:element name="xpathExpression" type="xsd:string" minOccurs="0" />
+					<xsd:element name="xpathNamespaceMap" type="XPathNamespaceMap" />
+				</xsd:sequence>
+			</xsd:extension>
+		</xsd:complexContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="XPathNamespaceMap">
+		<xsd:sequence>
+			<xsd:element name="list" minOccurs="0" maxOccurs="unbounded">
+				<xsd:complexType>
+					<xsd:sequence>
+						<xsd:element name="string" type="xsd:string" />
+						<xsd:element name="string" type="xsd:string" />
+					</xsd:sequence>
+				</xsd:complexType>
+			</xsd:element>
+		</xsd:sequence>
+	</xsd:complexType>
+
+</xsd:schema>
\ No newline at end of file

Added: incubator/taverna/site/trunk/content/ns/2010/.htaccess
URL: http://svn.apache.org/viewvc/incubator/taverna/site/trunk/content/ns/2010/.htaccess?rev=1651691&view=auto
==============================================================================
--- incubator/taverna/site/trunk/content/ns/2010/.htaccess (added)
+++ incubator/taverna/site/trunk/content/ns/2010/.htaccess Wed Jan 14 14:58:43 2015
@@ -0,0 +1,22 @@
+Options -MultiViews
+
+RewriteEngine On
+RewriteBase /2010
+
+
+## http://ns.taverna.org.uk/2010/scufl2#
+# Strip /
+RewriteRule ^scufl2/$ scufl2 [R=303]
+# For all terms 
+RewriteRule ^scufl2/.+ scufl2 [R=303]
+#
+RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
+RewriteRule ^scufl2$ scufl2.rdf
+#
+RewriteCond %{HTTP_ACCEPT} text\.+turtle
+RewriteRule ^scufl2$ scufl2.ttl
+#
+RewriteCond %{HTTP_ACCEPT} text/html
+RewriteRule ^scufl2$ http://dev.mygrid.org.uk/wiki/display/developer/Scufl2+Ontology
+# Default
+RewriteRule ^scufl2$ scufl2.ttl