Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
axel3rd opened this issue Feb 27, 2016 · 3 comments
Closed

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

axel3rd opened this issue Feb 27, 2016 · 3 comments

Comments

@axel3rd
Copy link

axel3rd commented Feb 27, 2016

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.

@dgis
Copy link
Owner

dgis commented Feb 28, 2016

Thank you, I will add it for the next version;-)

dgis added a commit that referenced this issue Feb 10, 2017
- Fix the URL escaping in the import (#11).
- Add the attributes of an element with the option -a for text output only.
@dgis
Copy link
Owner

dgis commented Feb 10, 2017

It should work now!

@dgis dgis closed this as completed Feb 10, 2017
@axel3rd
Copy link
Author

axel3rd commented Feb 10, 2017

Thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants