orbit/**< the quantumorbit of the element */,
period/**< the period of the element */,
date/**< date of discovery of the element. When 0, the element has been known in ancient times. */,
- discoverer/** The name of the discoverer(s) */,
+ discoverers/** The name of the discoverers, separated by semicolomns */,
relativeAbundance/** The abundance, relative to 100 */
};
inPeriodTableBlock_(false),
inNameOrigin_(false),
inDiscoveryDate_(false),
+ inDiscoverers_(false),
inPeriod_(false)
{
}
inNameOrigin_ = true;
else if (attrs.value(i) == "bo:discoveryDate")
inDiscoveryDate_ = true;
+ else if (attrs.value(i) == "bo:discoverers")
+ inDiscoverers_ = true;
else if (attrs.value(i) == "bo:period")
inPeriod_ = true;
}
type = ChemicalDataObject::date;
inDiscoveryDate_ = false;
}
+ else if (inDiscoverers_) {
+ value = ch;
+ type = ChemicalDataObject::discoverers;
+ inDiscoverers_ = false;
+ }
else if (inPeriod_) {
value = ch.toInt();
type = ChemicalDataObject::period;