Skip to content

[BUG] Support anonymous Characteristics and Constraints #279

@atextor

Description

@atextor

How: List of performed steps

Try to load an Aspect Model with an anonymous Characteristic, e.g.,

@prefix samm: <urn:samm:org.eclipse.esmf.samm:meta-model:2.2.0#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix : <urn:samm:com.examples:1.0.0#> .

:AspectWithAnon a samm:Aspect ;
   samm:properties ( :property1 ) ;
   samm:operations ( ) ;
   samm:events ( ) .

:property1 a samm:Property ;
   samm:characteristic [
      a samm:Characteristic ;
      samm:dataType xsd:string ;
   ] .

What: Actual result vs expected result
Expected: Model is loaded and can be edited
Actual: Loading fails. It's also not possible to manually create an unnamed Characteristic in the context of a Property.

Where: (e.g. component, version, url, your system info)
AME 5.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    acknowledgedHas been viewed by one of the maintainers and is ready for further work, discussion or other steps.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions