← Back to team overview

cdd-dev team mailing list archive

[Bug 798673] Re: DvQuantity.units missing facets

 

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

-- 
You received this bug notification because you are a member of CDD
Developers, which is subscribed to Constraint Definition Designer.
https://bugs.launchpad.net/bugs/798673

Title:
  DvQuantity.units missing facets

Status in MLHIM Constraint Definition Designer:
  Fix Committed

Bug description:
  The facets for normalizedString should be added to DvQuantity.units.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cdd/+bug/798673/+subscriptions


References