Skip to content

Multiple 'annotation.documentation' tag support in diagram #8

@axel3rd

Description

@axel3rd

This is a following of #4. This issue is very minor ... and this is for being very pernickety.

Currently, only first documention tag is displayed in diagram (on v1.0), but annotation tag could contain more that one documentation with source|lang attributes.

For sample, if you are opening Maven schema, it explicit the problem.

This snippet represents the use case :

<xs:annotation>
  <xs:documentation source="version">1.0</xs:documentation>
  <xs:documentation xml:lang="fr" source="doc">Documentation française</xs:documentation>
  <xs:documentation xml:lang="en" source="doc">English documentation</xs:documentation>
  <xs:documentation>This feature is wonderful !</xs:documentation>
</xs:annotation>

Perhaps these attributes could be used for produce :

 1.0 (version)
 Documentation française (fr, doc)
 English documentation (en, doc)
 This feature is wonderful !

It is better to have the source at the end, because could a an URI so a little long text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions