MathMLParser.getXMLnamespaceSBML());
} else {
// TODO: We could just remove all references to units
// instead of throwing this exception. What is better? Loss
// of information or exception?
throw new SBMLException(
"math element contains numbers that refer to unit definitions and therefore requires at least SBML Level 3");
}
}
document.appendChild(math);
} else {