DvQuantity.units missing facets

Bug #798673 reported by Tim Cook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Constraint Definition Designer
Fix Released
High
CDD Developers

Bug Description

The facets for normalizedString should be added to DvQuantity.units.

Revision history for this message
Tim Cook (timothywayne-cook) wrote :

Actually the datatype should be set to DvCodedString with maxOccurs set to unbounded.

Changed in cdd:
status: Confirmed → Fix Committed
Revision history for this message
Tim Cook (timothywayne-cook) wrote :

maxOccurs should be set to 1. The optional DvCodedStrings are listed as enumerations when modelling.

Changed in cdd:
status: Fix Committed → In Progress
Revision history for this message
Tim Cook (timothywayne-cook) wrote :

Comment 2 isn't stated very clearly.

Each option that can be selected for units must have a DvCodedString bubble pasted onto the value element.

When the CCD (XML Schema) is created. These will then be created as a group/choice.

Example (w/o expanding all of the DvCodedString elements):

<xs:group name="unitsgroup">
<xs:choice>
   <DvcodedString1>
   <DvcodedString2>
   <DvcodedString3>
</xs:choice>
</xs:group>

Then in the DvQuantity units place it will reference the group: <xs:group ref="unitsgroup">

This forces the enduser to select one and only one option from the group.

Changed in cdd:
status: In Progress → Fix Committed
Changed in cdd:
assignee: Tim Cook (timothywayne-cook) → CDD Developers (cdd-dev)
Changed in cdd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.