FpML Issues Tracker

447: Add time offset to validation examples

August 15, 2007

closed

Minor

Always

Examples/Test Cases

Admin

iyermakova

Summary

For example valid-eqd-7-01.xml should change the content from:

2002-04-21-00:00 2002-05-21-00:00 2002-06-21-00:00

To:

2002-04-21-00:00Z 2002-05-21-00:00Z 2002-06-21-00:00Z

For the path /FpML/trade/equityOption/equityExercise/equityBermudaExercise/bermudaExerciseDates/date

Notes:

  • h_mcallister

    08/15/07 3:27 pm

    No: 2002-04-21-00:00 and 2002-04-21Z are equivalent representations, 2002-04-21-00:00Z is non-conformant.

    From the W3C Schema Recommendation Part 2 Datatypes, 3.2.7.3 Timezones:
    “The lexical representation of a timezone is a string of the form: ((‘+’ | ‘-‘) hh ‘:’ mm) | ‘Z’ …
    ‘+00:00’, ‘-00:00’, and ‘Z’ all represent the same zero-length duration timezone, UTC; ‘Z’ is its canonical representation.”

  • matthew

    08/15/07 3:44 pm

    Harry is correct. I need to splash out on a bigger screen or better eyes.

    I thought the 21:00:00 was 9pm.

    This would be a little better.
    2002-04-21Z
    2002-05-21Z
    2002-06-21Z

  • iyermakova

    08/18/07 5:05 am

    Substituted zero-length duration time-zone (‘+00:00’, ‘-00:00’) offset with its canonical representation (‘Z’).

  • iyermakova

    08/18/07 5:06 am

    Substituted (‘+00:00’, ‘-00:00’) offset with its canonical representation (‘Z’). The change is committed to the trunk

  • Leave an update

    You must be logged in to post an update.