Reworked PropertyUnitData.xml causes errors

Description

I've made a reworked PropertyUnitData.xml to correct several wrong symbols used for basic units (f.ex "gram" is given as "gm", which actually means "gram-meter"; a unit of energy, instead of the correct "g"), and adding UCUM notation for all units. However, the Archetype Editor won't accept the file, giving an error when adding a Quantity element:

System.ArgumentException: The given name 'Property' matches at least two names in the collection object with different namespaces.
at System.Data.DataTableCollection.get_Item(String name)
at ArchetypeEditor.Main.get_PhysicalPropertiesTable()
at ArchetypeEditor.QuantityConstraintControl.SetControlValues(Boolean isState)
at ArchetypeEditor.ConstraintControl.ShowConstraint(Boolean isState, Constraint c)
at ArchetypeEditor.ArchetypeNodeConstraintControl.ShowConstraint(Boolean isSingle, Boolean isState, Boolean isMandatory, ArchetypeNode node, FileManagerLocal fileManager)
at ArchetypeEditor.TabPageStructure.ShowDetailPanel(ArchetypeNode node, EventArgs e)
at ArchetypeEditor.EntryStructure.SetCurrentItem(ArchetypeNode node)
at ArchetypeEditor.TreeStructure.tvTree_AfterSelect(Object sender, TreeViewEventArgs e)

Attaching a screenshot showing the error message, and the new PropertyUnitData.xml file.

Environment

None

Reporter

Silje Ljosland Bakke

Labels

Priority

Major
Configure