Closed sidt4 closed 1 year ago
Currently, we just get a "XML data contains unknown tag" error message, without the actual tag name when running "appstream-util validate-strict".
"appstream-util validate-strict"
$ appstream-util validate-strict --nonet org.gnome.Nautilus.appdata.xml org.gnome.Nautilus.appdata.xml: FAILED: .. • tag-invalid : XML data contains unknown tag .. Validation of files failed
With this commit, we now display a warning for each unknown tag.
(appstream-util:289727): As-WARNING **: 14:12:10.446: Unknown tag: <recommends>
I don't think g_warning is a good idea to show the user -- and in general I think appstreamcli does a much better job anyway.
Okay.
Currently, we just get a "XML data contains unknown tag" error message, without the actual tag name when running
"appstream-util validate-strict"
.With this commit, we now display a warning for each unknown tag.