[jsdl-wg] (param sweep) Teleconf action list progress

geoff geoff.williams at comlab.ox.ac.uk
Sun Mar 15 16:28:09 CDT 2009


Hi all,

I've made some changes locally from the 11th March teleconf action list
but would like to run through progress - and apologies I didn't get it
done before the weekend:

ACTION 1) Geoff to modify one of the substring substitution examples so
that the strings are not be the same length after substitution

I propose to modify 3.1.5 Example 3 to :

> Example 3
> The following example shows a valid use of multiple DocumentNodes matching disjoint [item]s in a single JSDL template element. A nested sweep modifies the output filenames so that the output of each individual sweep instance can be identified.
> <jsdl:JobDefinition>
>    <jsdl:JobDescription>
>       <jsdl:Application>
>          <jsdl-posix:POSIXApplication>
>             <jsdl-posix:Executable>
>                /bin/some_exe
>             </jsdl-posix:Executable>
>             <jsdl-posix:Argument>-output</jsdl-posix:Argument>
>             <jsdl-posix:Argument>out.XX.YY.ZZ.dat</jsdl-posix:Argument>
>          </jsdl-posix:POSIXApplication>
>       </jsdl:Application>
>    </jsdl:JobDescription>
>    <sweep:Sweep>
>       <sweep:Assignment>
>          <sweep:DocumentNode>
>             <sweep:NamespaceBinding 
>                   ns="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"
>                   prefix="jsdl-posix" />
>             <sweep:Match>
>                substring(/*//jsdl-posix:Argument[2], 5, 2)
>             </sweep:Match>
>          </sweep:DocumentNode>
>          <sweepfunc:Values>
>             <sweepfunc:Value>1</sweepfunc:Value>
>             <sweepfunc:Value>02</sweepfunc:Value>
>          </sweepfunc:Values>
>       </sweep:Assignment>
>       <sweep:Sweep>
>          <sweep:Assignment>
>             <sweep:DocumentNode>
>                <sweep:NamespaceBinding 
>                     ns="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"
>                     prefix="jsdl-posix" />
>                <sweep:Match>
>                   substring(/*//jsdl-posix:Argument[2], 8, 2)
>                </sweep:Match>
>             </sweep:DocumentNode>
>             <sweepfunc:Values>
>                <sweepfunc:Value>10</sweepfunc:Value>
>                <sweepfunc:Value>11</sweepfunc:Value>
>             </sweepfunc:Values>
>          </sweep:Assignment>
>          <sweep:Sweep>
>             <sweep:Assignment>
>                <sweep:DocumentNode>
>                   <sweep:NamespaceBinding 
>                     ns="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix"
>                     prefix="jsdl-posix" />
>                   <sweep:Match>
>                      substring-after(/*//jsdl-posix:Argument[2], 'Y.')
>                   </sweep:Match>
>                </sweep:DocumentNode>
>                <sweepfunc:Values>
>                   <sweepfunc:Value>a9.dat</sweepfunc:Value>
>                   <sweepfunc:Value>a10.dat</sweepfunc:Value>
>                </sweepfunc:Values>
>             </sweep:Assignment>
>          </sweep:Sweep>
>       </sweep:Sweep>
>    </sweep:Sweep>
> </jsdl:JobDefinition>
> The above yields the following 8 jobs:
> /bin/some_exe -output out.1.10.a9.dat
> /bin/some_exe -output out.1.10.a10.dat
> /bin/some_exe -output out.1.11.a9.dat
> /bin/some_exe -output out.1.11.a10.dat
> /bin/some_exe -output out.02.10.a9.dat
> /bin/some_exe -output out.02.10.a10.dat
> /bin/some_exe -output out.02.11.a9.dat
> /bin/some_exe -output out.02.11.a10.dat

Please note the inclusion of use of fn:substring-after() for an example
use.
Please also note that I have added a wiki page (
http://forge.ogf.org/sf/wiki/do/viewPage/projects.jsdl-wg/wiki/ParameterSweepExtensionSubstringUsage
) giving examples of fn:substring(), fn:substring-before() and
fn:substring-after() use. Please take a look at the examples, especially
example 3 which highlights the potential for unexpected results.

ACTION 2) Andreas will send Geoff sample replacement text.

I've made changes to the XPath text as per Andreas's input.

ACTION 3) Donal will review data type text and suggest a revision by the
end of the week

n/a

ACTION 4): Geoff to modify schema URIs

Done

ACTION 5) Geoff to add OGF Copyright to the schemas.

I had a look at the JSDL specification and they are not including the
Copyright or Intellectual Property text in the schemas, only in the
specification. Please confirm that we need to duplicate the copyright
and IP in each of the schemas as they're already in the specification
document in chapters 12 and 10 respectively.

Thanks,

gef


More information about the jsdl-wg mailing list