OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [ubl-dev] Datetime and ISO 8601


Hi,

Seems to me you have valid date, but the element is dateTime
Therefore you need to fill hours, minutes,seconds and UTC offset.

e.g. 2004-11-20T15:59:47+02:00 would be a valid dateTime.
The UTC offset represent the timezone, which is +02:00 e.g. in Finland.

If the element would be just about the date as 
"<cbc:RequestedDeliveryDate>" then your current date would be good.

Hope this clears things out.

Best regards,

-- 
Paavo Kotinurmi
University teacher/researcher
Helsinki University of Technology
Software Business and Engineering Institute
P.O. Box 9210, 02015 HUT, Finland 
Paavo.Kotinurmi@hut.fi || http://www.soberit.hut.fi/~pkotinur/



Pedro Alves wrote:

>
>    Hello. 
>
>
>    I had a validation error on a document:
>
><cbc:RequestedDeliveryDateTime>2004-11-20</cbc:RequestedDeliveryDateTime>
>
>    msv gives the following error:
>
>"2004-11-20" does not satisfy the "dateTime" type
>
>
>    But sxc documentation states:
>
>For times use an ISO 8601 compliant format that includes the UTC offset
>
>    And according to ISO 8601, that is a valid format.
>
>
>
>    Am I missing something?
>
>
>    Thanks
>
>
>
>  
>





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]