sbmlteam / jsbml

JSBML is a community-driven project to create a free, open-source, pure Java™ library for reading, writing, and manipulating SBML files (the Systems Biology Markup Language) and data streams. It is an alternative to the mixed Java/native code-based interface provided in libSBML.

Home Page:https://sbml.org/software/jsbml/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

processUnknownAttribute() needing to be called explicitly in SpatialParser

bhavyejain opened this issue · comments

Handling of unknown attributes is already done in SBMLReader

But to get the UnknownPackageAttributeValidationFunction working for spatial, it had to be added explicitly in SpatialParser. This should not have been required.

if(!isAttributeRead) {
super.processUnknownAttribute(attributeName, SpatialConstants.namespaceURI, value, prefix, contextObject);
}

The problem can be tested by running tests for the rule spatial-20401 from SpatialSpeciesPluginConstraints.