Bug #1489
closedinvalid attribute eml produced
0%
Description
the data creation wizard is producing invalid eml for ratio and interval
attributes. the unit element is required.
<error>
cvc-complex-type.2.4.a: Invalid content starting with element 'precision'. One
of '{"":unit}' is expected.
</error>
<attribute id="1082049978760">
<attributeName>att2</attributeName>
<attributeLabel>att2</attributeLabel>
<attributeDefinition>att2</attributeDefinition>
<measurementScale>
<ratio>
<precision>1</precision>
<numericDomain>
<numberType>integer</numberType>
</numericDomain>
</ratio>
</measurementScale>
</attribute>
<attribute id="1082049978761">
<attributeName>att3</attributeName>
<attributeLabel>att3</attributeLabel>
<attributeDefinition>att3</attributeDefinition>
<measurementScale>
<interval>
<precision>.1</precision>
<numericDomain>
<numberType>real</numberType>
</numericDomain>
</interval>
</measurementScale>
</attribute>
Updated by Dan Higgins over 20 years ago
Bug fixed; lookup in list used the formated text (initial caps, etc) rather than
the actual text in unitDictionary. Thus resulted in the complete skipping of
unit tag and resulting invalid eml.