From: <fbe...@us...> - 2010-12-17 21:15:04
|
Revision: 12342 http://sbml.svn.sourceforge.net/sbml/?rev=12342&view=rev Author: fbergmann Date: 2010-12-17 21:14:58 +0000 (Fri, 17 Dec 2010) Log Message: ----------- - fixed omission, that would have allowed both the l3v1 and l2v4 namespace to be used simultaneously, while at the same time prohibiting any other namespace combinations. Modified Paths: -------------- trunk/libsbml/src/sbml/SBase.cpp Modified: trunk/libsbml/src/sbml/SBase.cpp =================================================================== --- trunk/libsbml/src/sbml/SBase.cpp 2010-12-17 20:43:56 UTC (rev 12341) +++ trunk/libsbml/src/sbml/SBase.cpp 2010-12-17 21:14:58 UTC (rev 12342) @@ -2580,6 +2580,7 @@ if (xmlns->hasURI(SBML_XMLNS_L2V4)) { + if (numNS > 0) return false; ++numNS; declaredURI.assign(SBML_XMLNS_L2V4); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |