On Wed, Feb 25, 2009 at 16:45, Stian Soiland-Reyes
<[email protected]> wrote:

> There is not yet any official XSD for the serialisation format of
> Taverna 2, but attached is my current draft to give you an idea and
> something to play with. Let me know if this is interesting and I'll
> try to complete the schema.

Slightly updated version now available from:

http://code.google.com/p/taverna/source/browse/taverna#taverna/dev/xsd/trunk/t2flow


Note that this still struggles with iteration strategies as I need to
introduce some magic with "choices" to handle the possible
combinations here.


: st...@mira ~/Documents/svnmoving/xsd/t2flow;xmllint --noout --schema
t2flow.xsd examples/big.t2flow
examples/big.t2flow:170: element cross: Schemas validity error :
Element '{http://taverna.sf.net/2008/xml/t2flow}cross': This element
is not expected. Expected is (
{http://taverna.sf.net/2008/xml/t2flow}NewElement ).
examples/big.t2flow:177: element processor: Schemas validity error :
Element '{http://taverna.sf.net/2008/xml/t2flow}processor': This
element is not expected.
examples/big.t2flow:2: element dataflow: Schemas validity error :
Element '{http://taverna.sf.net/2008/xml/t2flow}dataflow': Missing
child element(s). Expected is (
{http://taverna.sf.net/2008/xml/t2flow}annotations ).
examples/big.t2flow fails to validate


Feel free to report any other non-validating workflows or issues with
the schema.

After fixing these issues I'll add some documentation to explain the
various elements. This should roughly explain the structure of a
serialised dataflow.

-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
taverna-hackers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-hackers
Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq

Reply via email to