Skip to content

Circular references #20

@Juul

Description

@Juul

It is possible to create, serialize and deserialize a Collection that includes DnaComponents that have SequenceAnnotations whose subComponents refer back to the original DnaComponent.

The serializer doesn't complain or fail.

The problem is that circular references do not make sense for DNA. This could cause problems. E.g. you can imagine a web service crashing when someone gives it an SBOL file that has been crafted to contain circular references. Even though the deserializer wouldn't fail, the code interpreting the resulting data structure may not realize that it has to watch out for circular references and loop/recurse forever.

I'm adding this issue to libSBOLcore as well, since it should be a restriction in the data model which the XML serializer enforces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions