I updated the schema on /ns/ to match https://github.com/apache/incubator-taverna-language/blob/master/taverna-scufl2-t2flow/src/main/resources/org/apache/taverna/scufl2/translator/t2flow/xsd/t2flow.xsd
And I believe this fixed this issue for you. Would you be OK to give a brief introduction on the list on what you do not would like to do with the t2flow xsd..? To whom it may concern, I downloaded the schema (xsd) of the t2flow from ' http://taverna.incubator.apache.org/ns/2008/xml/t2flow/'. I checked with xmllint if a t2flow generated with taverna workbench 2.5.4 is right using the schema.xsd I downloaded but it fails. I found the following error: adminuser@linux-fftx:~/Downloads/Pharmacokinetic> xmllint --noout --schema t2flow.xsd dataflow.t2flow dataflow.t2flow:1: element lastPredictedDepth: Schemas validity error : Element '{http://taverna.sf.net/2008/xml/t2flow}lastPredictedDepth': This element is not expected. Expected is ( { http://taverna.sf.net/2008/xml/t2flow}annotations ). dataflow.t2flow:1: element lastPredictedDepth: Schemas validity error : Element '{http://taverna.sf.net/2008/xml/t2flow}lastPredictedDepth': This element is not expected. Expected is ( { http://taverna.sf.net/2008/xml/t2flow}annotations ). dataflow.t2flow:1: element lastPredictedDepth: Schemas validity error : Element '{http://taverna.sf.net/2008/xml/t2flow}lastPredictedDepth': This element is not expected. Expected is ( { http://taverna.sf.net/2008/xml/t2flow}annotations ). dataflow.t2flow fails to validate Is that schema valid for t2flow generated with taverna 2.5.4? Best regards, Simone. ----- Messaggio inoltrato ----- Da: "Simone Bnà" <[email protected]> A: "Stian Soiland-Reyes" <[email protected]> Cc: "support" <[email protected]> Inviato: Venerdì, 21 agosto 2015 12:14:49 Oggetto: Re: t2flow xml schema Dear Stian, I checked with xmllint if a t2flow generated with taverna workbench 2.5.4 is right using the schema.xsd you provide me but it fails. I found the following error: adminuser@linux-fftx:~/Downloads/Pharmacokinetic> xmllint --noout --schema t2flow.xsd dataflow.t2flow dataflow.t2flow:1: element lastPredictedDepth: Schemas validity error : Element '{http://taverna.sf.net/2008/xml/t2flow}lastPredictedDepth': This element is not expected. Expected is ( { http://taverna.sf.net/2008/xml/t2flow}annotations ). dataflow.t2flow:1: element lastPredictedDepth: Schemas validity error : Element '{http://taverna.sf.net/2008/xml/t2flow}lastPredictedDepth': This element is not expected. Expected is ( { http://taverna.sf.net/2008/xml/t2flow}annotations ). dataflow.t2flow:1: element lastPredictedDepth: Schemas validity error : Element '{http://taverna.sf.net/2008/xml/t2flow}lastPredictedDepth': This element is not expected. Expected is ( { http://taverna.sf.net/2008/xml/t2flow}annotations ). dataflow.t2flow fails to validate Is that schema valid for t2flow generated with taverna 2.5.4? Best regards, Simone. ----- Original Message ----- From: "Stian Soiland-Reyes" <[email protected]> To: "Simone Bnà" <[email protected]> Cc: "support" <[email protected]> Sent: Friday, August 21, 2015 11:17:18 AM Subject: Re: t2flow xml schema You can find the schema here: http://taverna.incubator.apache.org/ns/2008/xml/t2flow/ If you are using Java you might like the Taverna Language API http://taverna.incubator.apache.org/download/language/ You might be interested in discussing your usage of the xsd on the dev@ mailing list - see http://taverna.incubator.apache.org/community/ On 21 Aug 2015 10:00, "Simone Bnà" < [email protected] > wrote: To whom it may concern, I write you to know where can I download the t2flow XML schema (xsd format) for Taverna 2.5. Thanks, Best regards, Simone. -- Simone Bnà, PhD C++ Software Developer, CINECA Via Magnanelli 6/3, 40033 Casalecchio di Reno, Italy office: +39-0516171938 email: [email protected]/[email protected] -- Simone Bnà, PhD C++ Software Developer, CINECA Via Magnanelli 6/3, 40033 Casalecchio di Reno, Italy office: +39-0516171938 email: [email protected]/[email protected] -- Simone Bnà, PhD C++ Software Developer, CINECA Via Magnanelli 6/3, 40033 Casalecchio di Reno, Italy office: +39-0516171938 email: [email protected]/[email protected]
