ximion / appstream

Tools and libraries to work with AppStream metadata
http://www.freedesktop.org/wiki/Distributions/AppStream/
GNU Lesser General Public License v2.1
210 stars 115 forks source link

Clarify whether multiple `developer` tags is allowed #606

Closed cbm755 closed 7 months ago

cbm755 commented 7 months ago

The validator thinks it is not:

flatpak run org.freedesktop.appstream.cli validate --strict --pedantic --explain foo.bar.metainfo.xml 
E: foo.bar:35: tag-duplicated developer
   This tag must only appear once in this context. Having multiple tags of this kind is not valid.

✘ Validation failed: errors: 1

But the docs loosely imply (to me anyway) that multiple developer tags might be ok:

Every developer element must have a name tag as child, which contains a translatable name for the respective developer.

"Every developer element" and "respective developer" both sounds like more than one thing (to me).


If its not allowed, the docs should say so explicitly. If it is allowed, than the linter is incorrect.

cbm755 commented 7 months ago

Forgot to include:

$ flatpak run org.freedesktop.appstream.cli validate --version
AppStream version: 1.0.2