OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

s-ramp message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Commented: (SRAMP-1) Representing Relationships


    [ http://tools.oasis-open.org/issues/browse/SRAMP-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=28250#action_28250 ] 

Kurt Stam  commented on SRAMP-1:
--------------------------------

It turns out that in my UMLs a lot of the 'Navigability' relationships are lost, compared to the UMLs in the spec document. For example look at the core model and look the relation between DerivedArtifactType and DocumentArtifactType.

The reason why this is lost is that in the xsd the relation is mapped using a reference to 'target':

<!--
        Relationship target artifact's UUID. Used by all types of
        relationships
    -->
<xsd:complexType name="target">
  <xsd:simpleContent>
    <xsd:extension base="xsd:string">
      <xsd:anyAttribute namespace="##any" />
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

This allows you to set a UUID of the document you are referencing in the String value (as well as additional attributes), but it breaks the 'referenced object' relationship.

The conclusion must be that the UMLs in the document do no map to the xsds. It looks like this level of indirection was introduced on purpose after the creation of the UMLs.

1. It'd be nice to understand why this was introduced, if done intentionally.
2. It'd also be nice to understand where the attributes on Target can be used for. 

> Representing Relationships
> --------------------------
>
>                 Key: SRAMP-1
>                 URL: http://tools.oasis-open.org/issues/browse/SRAMP-1
>             Project: OASIS SOA Repository Artifact Model and Protocol (S-RAMP) TC
>          Issue Type: Improvement
>          Components: Foundation
>    Affects Versions: 1.0
>         Environment: N/A
>            Reporter: Vincent Brunssen
>            Assignee: Kurt Stam 
>             Fix For: 1.0
>
>
> This was Issue-001 from the contributed issues document.
> The relationships as described in the Foundation Document may or may not be able to be fully represented in schema.  The relationships need to be looked in to and evaluated to make sure that all relationships defined in the foundation document and possibly the atom document can be properly described in the XML Schemas.  If they can not be properly described then we may need to explore other mechanism to better model these relationships.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]