Project

General

Profile

Actions

Bug #1489

closed

invalid attribute eml produced

Added by Chad Berkley about 20 years ago. Updated about 20 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
morpho - general
Target version:
Start date:
04/15/2004
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1489

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>

Actions #1

Updated by Dan Higgins about 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.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 1489

Actions

Also available in: Atom PDF