bioserv-comment

 View Only

Public review comments for WSBD-v1.0-csprd01A.1.1 Modality

  • 1.  Public review comments for WSBD-v1.0-csprd01A.1.1 Modality

    Posted 10-26-2016 16:14
    Comment type [editorial | technical] ? technical

    Impact [major | minor] ? minor

    There are two issues with the Modality value:
    1. Within the schema definition, the enumerated values for Scent and DNA
    are repeated, this needs to be corrected.
    2. The specification says "If an implementation is exposing an unlisted
    modality, it /may/ use another value." In practice, because the xsd
    declares enumerations, the implementing language may not be able to
    process any value not in the list. For example, in Java, an Enum is
    declared with all of the corresponding allowed values. When XML is
    unmarshalled into an Enum type, there is NO way to store a value that
    has not been enumerated. The resulting object will be null (if it
    doesn't fail entirely)


    ---
    This email has been checked for viruses by Avast antivirus software.
    https://www.avast.com/antivirus