From cf73b762112730acfd4f7b11594a30a2b49e2443 Mon Sep 17 00:00:00 2001 From: Otto Urpelainen Date: Thu, 13 May 2021 23:21:34 +0300 Subject: Add validation for duplicate license xml elements AppStream license syntax allows constructs of form "LICENSE1 AND LICENSE2". It is possible to confuse this with writing multiple license xml elements in a metainfo file. In order to spot this type of error, duplicate detection is added for xml elements metadata_license and project_license. --- data/tests/broken.appdata.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'data') diff --git a/data/tests/broken.appdata.xml b/data/tests/broken.appdata.xml index 1603848..e4c3148 100644 --- a/data/tests/broken.appdata.xml +++ b/data/tests/broken.appdata.xml @@ -4,6 +4,7 @@ GPLv3+ BSD CC1 + CC1 GNU Power Statistics. Observe power management. -- cgit v1.2.1