A single character string containing a filename of an SBML file,
or an object of class sbmlPtr as returned by
openSBMLfile.
Value
If argument sbmlf is an object of class character,the
function returns TRUE, if no infos, warnings, errors or fatals
have been found. Otherwise a the value returned is a list.
infosInfos
warningsWarnings
errorsErrors
fatalsFatals
Each entry of one of these lists is again a list containing the message id,
line and column number of the SBML file generating the message and the
corresponding message text.
If argument sbmlf is an object of class sbmlPtr,
the function returns the number of errors found in the SBML document.
Details
The given SBML file is validated by the libSBML function
checkConsistency. Errors are retrieved by the libSBML function
getError and returned as list.
References
Bornstein, B. J., Keating, S. M., Jouraku, A., and Hucka M. (2008)
LibSBML: An API Library for SBML. Bioinformatics24,
880--881.