perfsonar-dev - Re: [pS-dev] treating the time right in the schema
Subject: perfsonar development work
List archive
- From: Roman Lapacz <>
- To: "Jeff W. Boote" <>
- Cc: , maxim <>,
- Subject: Re: [pS-dev] treating the time right in the schema
- Date: Mon, 10 Dec 2007 12:21:37 +0100
Jeff W. Boote wrote:
Roman Lapacz wrote:
Jeff W. Boote wrote:
My simplistic approach was going to be to support something like this for current time parameters:Hi,
<nmwg:parameter name="startTime" type="nmtime">
<nmtm:time> <!-- see nmtime.rnc --> </nmtm:time>
</nmwg:parameter>
java ma service already supports something like this:
<nmwg:parameter name="startTime">
<nmtm:time type="ISO" value="2007-08-10T10:40:00Z"/>
</nmwg:parameter>
<nmwg:parameter name="endTime">
<nmtm:time type="ISO" value="2007-08-10T11:45:00Z"/>
</nmwg:parameter>
I agree with you that we should start using nmtm time element(s).
So, are you just using the type of the child element to determine if you should look for the 'type' attribute of parameter? (I know you use 'type' for "unix" at least...)
I use the type of time element to know the format of value attribute.
examples for unix type:
<nmwg:parameter name="endTime">
<nmtm:time type="unix" value="1197285497"/>
</nmwg:parameter>
or
<nmwg:parameter name="startTime">1186735200</nmwg:parameter>
That second example is default one (unix type is default so you don't have to use time element ... but of course you can)
Roman
- RE: [pS-dev] treating the time right in the schema, (continued)
- RE: [pS-dev] treating the time right in the schema, maxim, 12/07/2007
- Re: [pS-dev] treating the time right in the schema, Jeff W. Boote, 12/07/2007
- RE: [pS-dev] treating the time right in the schema, maxim, 12/07/2007
- Re: [pS-dev] treating the time right in the schema, Roman Lapacz, 12/10/2007
- Re: [pS-dev] treating the time right in the schema, Jason Zurawski, 12/10/2007
- Re: [pS-dev] treating the time right in the schema, Roman Lapacz, 12/10/2007
- RE: [pS-dev] treating the time right in the schema, maxim, 12/07/2007
- Re: [pS-dev] treating the time right in the schema, Jeff W. Boote, 12/07/2007
- Re: [pS-dev] treating the time right in the schema, Jeff W. Boote, 12/07/2007
- Re: [pS-dev] treating the time right in the schema, Roman Lapacz, 12/10/2007
- Re: [pS-dev] treating the time right in the schema, Jeff W. Boote, 12/06/2007
- RE: [pS-dev] treating the time right in the schema, maxim, 12/06/2007
- Re: [pS-dev] treating the time right in the schema, Jason Zurawski, 12/06/2007
Archive powered by MHonArc 2.6.16.