On Fri, Nov 1, 2013 at 8:30 PM, drago01 <drago01@gmail.com> wrote:
On Fri, Nov 1, 2013 at 8:27 PM, Tim Lauridsen <tim.lauridsen@gmail.com> wrote:
>
> On Fri, Nov 1, 2013 at 3:26 PM, Matthias Clasen <mclasen@redhat.com> wrote:
>>
>> Great, thanks for doing that.
>>
>> Noticed while quickly looking over the file:
>>
>> - it is not valid xml: & needs to be escaped as &amp;
>>
>> - 'gui' is not a great term to use. I'd suggest rewording the first
>> sentence maybe as 'Yum extender is a graphical package management
>> application, ...'
>>
>> - Instead of 'categories' I would say 'criteria' in 'Browse packages
>> by...'. Categories already has (too many) meanings...
>
>
> Cleaned up the appdata xml
>
> https://github.com/timlau/yumex/blob/master/misc/yumex.appdata.xml
>
> but I get errors from  appdata-validate
>
> $ appdata-validate yumex.appdata.xml
> yumex.appdata.xml 1 problems detected:
> • markup invalid        : Error on line 1 char 1: Document must begin with
> an element (e.g. <book>)
>
> Can see what the problem is :(

That's odd ... have not looked at the code of appdata-validate (where
is its upstream?) but seems like it complains about the xml header
(i.e. the "<?xml ...") line.
--

https://github.com/hughsie/appdata-tools

Tim