Custom DateTime types in glue XSD

Hi, In the current xml schema[1] the datetime types are customised to enforced specific pattern (similar to UTC). Doing this would make schema less intuitive for the xml binding libraries, first in terms of validation and secondly a desired formatted string has to be crafted. Interestingly the default xsd "datetime" type already allows both UTC and ISO8601. It is then up to the service developers to which date interchangeable format do they want to use. If you agree and foresee less changes on your side, I can update the given schema to use xsd:dateTime instead of glue:DateTime_t. If necessary or unclear, we can discuss this in our meeting tomorrow. [1] https://github.com/OGF-GLUE/XSD/blob/master/schema/GLUE2.xsd Cheers, Shiraz -- Ahmed Shiraz Memon Federated Systems and Data Jülich Supercomputing Centre (JSC) Phone: +49 2461 61 6899 Fax: +49 2461 61 6656 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Kennen Sie schon unsere app? http://www.fz-juelich.de/app

glue-wg-bounces@ogf.org [mailto:glue-wg-bounces@ogf.org] On Behalf Of Shiraz Memon said:
In the current xml schema[1] the datetime types are customised to enforced specific pattern (similar to UTC).
I think I'm confused - the schema itself specifies ISO8601, but restricted to the UTC timezone. Is it that restriction you want to change? Stephen -- Scanned by iCritical.

On Wed, Nov 7, 2012 at 10:48 AM, <stephen.burke@stfc.ac.uk<mailto:stephen.burke@stfc.ac.uk>> wrote: glue-wg-bounces@ogf.org<mailto:glue-wg-bounces@ogf.org> [mailto:glue-wg-bounces@ogf.org<mailto:glue-wg-bounces@ogf.org>] On Behalf Of Shiraz Memon said:
In the current xml schema[1] the datetime types are customised to enforced specific pattern (similar to UTC).
I think I'm confused - the schema itself specifies ISO8601, but restricted to the UTC timezone. Is it that restriction you want to change? The aim is to remove the pattern defined below, and use xsd:dateTime instead: <simpleType name="DateTime_t"> <restriction base="xs:dateTime"> <pattern value="\d{4}-\d\d-\d\dT\d\d:\d\d:\d\dZ"/> </restriction> </simpleType> Stephen -- Scanned by iCritical. Shiraz -- Ahmed Shiraz Memon Federated Systems and Data Jülich Supercomputing Centre (JSC) Phone: +49 2461 61 6899 Fax: +49 2461 61 6656 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Kennen Sie schon unsere app? http://www.fz-juelich.de/app

What is the progress on this issue? changes will trigger some actions for the software I'm developing... On 2012-11-07 15:30, Shiraz Memon wrote:
On Wed, Nov 7, 2012 at 10:48 AM, <stephen.burke@stfc.ac.uk <mailto:stephen.burke@stfc.ac.uk>> wrote:
glue-wg-bounces@ogf.org <mailto:glue-wg-bounces@ogf.org> [mailto:glue-wg-bounces@ogf.org <mailto:glue-wg-bounces@ogf.org>] On Behalf Of Shiraz Memon said: > In the current xml schema[1] the datetime types are customised to enforced specific pattern (similar to UTC).
I think I'm confused - the schema itself specifies ISO8601, but restricted to the UTC timezone. Is it that restriction you want to change?
The aim is to remove the pattern defined below, and use xsd:dateTime instead:
<simpleType name="DateTime_t">
<restriction base="xs:dateTime">
<pattern value="\d{4}-\d\d-\d\dT\d\d:\d\d:\d\dZ"/>
</restriction> </simpleType>
Stephen
-- Scanned by iCritical.
Shiraz
-- Ahmed Shiraz Memon Federated Systems and Data Jülich Supercomputing Centre (JSC)
Phone: +49 2461 61 6899 Fax: +49 2461 61 6656
------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------
Kennen Sie schon unsere app? http://www.fz-juelich.de/app
_______________________________________________ glue-wg mailing list glue-wg@ogf.org https://www.ogf.org/mailman/listinfo/glue-wg
-- Florido Paganelli Lund University - Particle Physics ARC Middleware EMI Project

On Wed, Nov 7, 2012 at 10:54 AM, Florido Paganelli <florido.paganelli@hep.lu.se<mailto:florido.paganelli@hep.lu.se>> wrote: On 2012-11-07 10:14, Shiraz Memon wrote: Hi, [...] If necessary or unclear, we can discuss this in our meeting tomorrow. tomorrow? I guess I missed something... reminder? Here I mean "next meeting", it could be tomorrow ;) Cheers, Shiraz thanks -- Florido Paganelli Lund University - Particle Physics ARC Middleware EMI Project _______________________________________________ glue-wg mailing list glue-wg@ogf.org<mailto:glue-wg@ogf.org> https://www.ogf.org/mailman/listinfo/glue-wg -- Ahmed Shiraz Memon Federated Systems and Data Jülich Supercomputing Centre (JSC) Phone: +49 2461 61 6899 Fax: +49 2461 61 6656 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Kennen Sie schon unsere app? http://www.fz-juelich.de/app

Dear All, I am going to update the glue 2.0 xsd [1] while replacing the customised/restricted timestamp with the default xsd timestamp type. As a matter of fact it will slightly affect the given xml schema adopters, i.e. using xsd:dateTime instead of DateTime_t. Should you have any objections, please let me know. [1] https://github.com/OGF-GLUE/XSD/blob/master/schema/GLUE2.xsd Cheers, Shiraz On Wed, Nov 7, 2012 at 10:14 AM, Shiraz Memon <a.memon@fz-juelich.de<mailto:a.memon@fz-juelich.de>> wrote: Hi, In the current xml schema[1] the datetime types are customised to enforced specific pattern (similar to UTC). Doing this would make schema less intuitive for the xml binding libraries, first in terms of validation and secondly a desired formatted string has to be crafted. Interestingly the default xsd "datetime" type already allows both UTC and ISO8601. It is then up to the service developers to which date interchangeable format do they want to use. If you agree and foresee less changes on your side, I can update the given schema to use xsd:dateTime instead of glue:DateTime_t. If necessary or unclear, we can discuss this in our meeting tomorrow. [1] https://github.com/OGF-GLUE/XSD/blob/master/schema/GLUE2.xsd Cheers, Shiraz -- Ahmed Shiraz Memon Federated Systems and Data Jülich Supercomputing Centre (JSC) Phone: +49 2461 61 6899<tel:%2B49%202461%2061%206899> Fax: +49 2461 61 6656<tel:%2B49%202461%2061%206656> -- Ahmed Shiraz Memon Federated Systems and Data Jülich Supercomputing Centre (JSC) Phone: +49 2461 61 6899 Fax: +49 2461 61 6656 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Kennen Sie schon unsere app? http://www.fz-juelich.de/app
participants (3)
-
Florido Paganelli
-
Shiraz Memon
-
stephen.burke@stfc.ac.uk