<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
<?xml-stylesheet type="text/xsl" href="workflow.xsl" ?>  
<wf:workflow xmlns="http://www.w3.org/1999/xhtml"
             xmlns:wf="http://eprints.org/ep2/workflow">

    <wf:flow>
        <wf:stage ref="upload" />
        <wf:stage ref="metadata">
        </wf:stage>
        <wf:stage ref="verify" />
    </wf:flow>

    <wf:stage name="upload">
        <wf:title><wf:phrase ref="lib/submissionform:title_upload" /></wf:title>
        <wf:short-title>Upload</wf:short-title>
        <wf:component type="component/blister" />
        <wf:component type="component/uploader"/>
    </wf:stage>
    
    <wf:stage name="metadata">
        <wf:title>Metadata Entry</wf:title>
        <wf:short-title>Metadata</wf:short-title>

        <wf:component type="component/blister" />
        
        <wf:component type="component/default">
		<wf:value name="maxlength">10</wf:value>
		<wf:value name="field">title</wf:value>
	</wf:component> 
        <wf:component type="component/default"><wf:value name="field">creators</wf:value></wf:component>
        <wf:component type="component/multi"><wf:array name="components"><wf:array><wf:value name="field">publication</wf:value><wf:value name="maxlength">45</wf:value></wf:array><wf:array><wf:value name="field">volume</wf:value><wf:value name="maxlength">3</wf:value></wf:array><wf:array><wf:value name="field">number</wf:value><wf:value name="maxlength">3</wf:value></wf:array><wf:array><wf:value name="field">pages</wf:value><wf:value name="maxlength">10</wf:value></wf:array><wf:array><wf:value name="field">issn</wf:value><wf:value name="maxlength">10</wf:value></wf:array></wf:array></wf:component> 
        <wf:component type="component/default"><wf:value name="field">date_issue</wf:value></wf:component>
        <wf:component type="component/default"><wf:value name="field">date_sub</wf:value></wf:component>
        <wf:component type="component/default"><wf:value name="field">id_number</wf:value></wf:component>
        <wf:component type="component/default"><wf:value name="field">official_url</wf:value></wf:component>
        <!--<wf:component type="component/default"><wf:value name="field">status</wf:value></wf:component>-->
        <wf:component type="component/default"><wf:value name="field">ispublished</wf:value></wf:component>
        <wf:component type="component/default"><wf:value name="field">refereed</wf:value></wf:component>
        <wf:component type="component/default"><wf:value name="field">abstract</wf:value></wf:component>
        <wf:component type="component/default"><wf:value name="field">referencetext</wf:value></wf:component>
        <wf:component type="component/default"><wf:value name="field">keywords</wf:value></wf:component>
        <wf:component type="component/default"><wf:value name="field">subjects</wf:value></wf:component>
        <wf:component type="component/default"><wf:value name="field">note</wf:value></wf:component>
        <wf:component type="component/default"><wf:value name="field">suggestions</wf:value></wf:component>

        <!-- Adds in remaining fields -->
        <!--<wf:component type="remainder" />-->
    </wf:stage>
    
    <wf:stage name="verify">
        <wf:title><wf:pin ref="lib/submissionform:title_verify" /></wf:title>
        <wf:short-title>Verify</wf:short-title>
        <wf:component type="component/blister" />
        <!--<wf:component type="component/preview"/>-->
    
    </wf:stage>
</wf:workflow>
