FpML Issues Tracker

280: Coding scheme codes require a maximum length

February 1, 2007

closed

Block

Always

Coding Scheme

Admin

mgratacos

Summary

The length of a code value in an FpML coding scheme is undefined. This needs to be defined for implementations.

I propose the code should have a maximum length of 20 chars.

There should be a Schematron check on the code values in the build system.

Notes:

  • matthew

    02/06/07 2:21 pm

    “Anthony B. Coates (Miley Watts)”
    06/02/2007 13:26

    To
    “Matthew D. Rawlings”
    cc

    Subject
    Facets & genericode

    Hi Matthew. You asked me a while back (by phone, I think) about how to
    encode data type facets in genericode. At the time I said that I would
    add it as a requirement. However, much to my embarrassment, I’ve realised
    (while working on the genericode 1.0 documentation) that I already added
    support.

    A “Column” definition contains a “Data” definition, and that allows
    “Parameter” elements to be specified. These are the genericode
    generalisation of facets. Set the “ShortName” attribute of the
    “Parameter” element to be the facet name (e.g. “length”), and set the
    element content to be the facet value, e.g.

    3

    Apologies that I didn’t realise this earlier.

    Cheers, Tony.

  • mgratacos

    02/06/07 3:49 pm

    There should be a constrain at the schema level. It should be tackled by the AWG.

  • mgratacos

    03/21/07 11:25 am

    This requires implementation at two levels:
    * Schema
    * Genericode files

  • matthew

    04/04/07 12:08 pm

    To be clear, this needs to be on the scheme files.

    This is needed for the SWIFTNet CUG.

  • mgratacos

    07/12/07 2:45 pm

    This has been implemented at the genericode files. It has been committed to the trunk.

    The new parameter element will be added to all genericode files: 60

  • Leave an update

    You must be logged in to post an update.