sbmlteam / sbml-specifications

The specification documents for SBML.
6 stars 3 forks source link

3.5.3 The metaIdRef attribute #306

Closed sbmlsecretary closed 2 years ago

sbmlsecretary commented 8 years ago

The paragraph starting at page 8, line 4 "Note that..." is not clear to me. Of course, referenced objects must be normal model components. What is the problem here being addressed?

Reported by: andreas-draeger

Original Ticket: sbml/sbml-specifications//308

sbmlsecretary commented 8 years ago

With hierarchy, there can be other Model objects in the same document, and since metaIDs must be unique across the whole document, you could theoretically have cross-Model references with a metaIdRef attribute. We are explicitly calling this out as illegal here.

Original comment by: luciansmith

sbmlsecretary commented 8 years ago

Ok, now it makes sense. Thanks for clarifying.

Original comment by: andreas-draeger

sbmlsecretary commented 8 years ago

Do you think the specification also needs some sort of clarification, or do you think it's OK?

Original comment by: luciansmith

sbmlsecretary commented 8 years ago

Maybe it would be slightly better to write it like this:

Note that even if used in conjunction with the HierarchicalModel Composition package, this attribute is not allowed to reference elements from that reside within other Model objects in the same SBML Document. Referenced elements must be normal members of the parent Model containing the Member object, and submodel elements may be normally accessed by creating replacements.

Original comment by: andreas-draeger

sbmlsecretary commented 8 years ago

Original comment by: luciansmith

sbmlsecretary commented 8 years ago

Done! This change is now incorporated into SVN, and will be part of the forthcoming release candidate.

Original comment by: luciansmith

sbmlsecretary commented 8 years ago

Original comment by: luciansmith