isotope half-lives that are in units of years.
The year not being an SI unit, is represented as units:y and not
siUnits:y.
Thanks Kashyap!
CCMAIL:cniehaus@gmx.de
CCMAIL:ewoerner@kde.org
CCMAIL:kashthealien@gmail.com
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=910780
if (attrs.localName(i) == "units") {
if ( attrs.value(i) == "siUnits:s" ) {
d->currentUnit = ChemicalDataObject::s;
- } else if ( attrs.value(i) == "siUnits:y" ) {
+ } else if ( attrs.value(i) == "units:y" ) {
d->currentUnit = ChemicalDataObject::y;
} else {
d->currentUnit = ChemicalDataObject::noUnit;