Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-discuss » Comp question: violating the 'fallback' rule
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Lucian Smith


Posts: 183
Registered:
July 2008
Comp question: violating the 'fallback' rule 29 Jun '11 11:45 Go to previous message

One of the principles we established for the relationship between Level 3
core and Level 3 packages is that if you strip out the package
information, the remainder of the model must be syntactically valid, if
not semantically understandable.

If this principle was applied to packages, it would mean that if you had
multiple packages, and stripped just one of them, the remainder of the
model must again be syntactically valid.

As currently written, this is not true for 'comp', and I need your input
as to whether this is OK or not, and how I should structure validation
rules accordingly.

The issue is that I have Replacement and Deletion objects in comp that
need to point to other-package-defined constructs. As an example, if you
wanted to make a hierarchically composed spatial model, you would need to
be able to refer to the Geometry objects in the submodels, to say they
should be replaced or deleted.

So, assuming you referred to that Geometry object by its metaID, you might
have a ReplacedElement object that looked like:

<comp:replacedElement comp:metaIdRef="sphere1" comp:submodelRef="A" comp:identical="true"/>

The problem is that if you stripped out the spatial package information,
suddenly you are left with a dangling reference: 'sphere1' no longer
refers to anything you can parse.

In my opinion, it would make things entirely too complicated to do the
usual indirection we do to accomplish the 'fallback principle' for core.
Do you all agree? And if you do, how would you recommend I write the
validation rules for the 'metaIdRef' attribute?

-Lucian
____________________________________________________________
To manage your sbml-discuss list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/sbml-discuss

For a web interface to the sbml-discuss mailing list, visit
http://sbml.org/Forums/

For questions or feedback about the sbml-discuss list,
contact sbml-team@caltech.edu

      

SubjectPosterDate
Read Message   Comp question: violating the 'fallback' rule  Lucian Smith29 Jun '11 11:45
Read Message   Re: Comp question: violating the 'fallback' rule Nicolas Le Novere29 Jun '11 14:32
Read Message   Re: [sbml-comp] Comp question: violating the 'fall... Sarah Keating01 Jul '11 03:00
Read Message   Re: Comp question: violating the 'fallback' rule Sarah Keating01 Jul '11 03:00
Read Message   Re: [sbml-comp] Comp question: violating the 'fall... myers01 Jul '11 07:27
Read Message   Re: [sbml-comp] Comp question: violating the 'fall... Stefan.Hoops01 Jul '11 08:39
Read Message   Re: [sbml-comp] Comp question: violating the 'fall... Lucian Smith01 Jul '11 10:47
Read Message   Re: [sbml-comp] Comp question: violating the 'fall... Lucian Smith01 Jul '11 10:24
Read Message   Re: [sbml-comp] Comp question: violating the 'fall... myers01 Jul '11 12:54
Read Message   Re: [sbml-comp] Comp question: violating the 'fall... Lucian Smith01 Jul '11 14:16
Read Message   Re: [sbml-comp] Comp question: violating the 'fall... myers02 Jul '11 08:00
Read Message   Re: [sbml-comp] Comp question: violating the 'fall... Lucian Smith02 Jul '11 13:46
Previous Topic:BioUML - 0.9.2 (beta)
Next Topic:Re: [sbml-comp] Comp question: violating the 'fallback' rule
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.