FpML Issues Tracker

299: AccountReference should be empty

February 7, 2007

closed

Major

Always

Schema

Admin

mgratacos

Summary

The AccountReference type should have an element type of empty. Today it is defined as an implicit string because no type is given.

Reference to an account.

Notes:

  • matthew

    03/05/07 4:12 pm

  • matthew

    03/05/07 4:21 pm

    Telephone me.

    The problem with this definition is that the type of AccountReference is xsd:string because the default is not overridden.

    For example, the following is valid:

    IrrelevantContent

    This should be invalid because the type should be defined as empty. The Empty type is already defined in Shared.xsd as:



    A special type meant to be used for elements with no content and not attributes.

    So AccountReference should be defined as:



    Reference to an account.






  • mgratacos

    03/05/07 4:25 pm

    Thanks. I am on a meeting. The Empty type has the same problem though, right?

  • matthew

    03/05/07 4:54 pm

    Marc – you added Empty type at my request many years ago. Empty Type does not suffter from this problem because it has no content at all.

  • mgratacos

    03/05/07 5:07 pm

    The same change will be applied to all XYReference types. They should all be an extension of Empty.

  • Leave an update

    You must be logged in to post an update.