<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>43673</bug_id>
          
          <creation_ts>2022-08-31 16:40:03 +0300</creation_ts>
          <short_desc>Неправильный yandex-browser.appdata.xml</short_desc>
          <delta_ts>2022-11-02 18:15:15 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>yandex-browser-stable</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="aleksei.yanlin@yandex.ru">yabro</assigned_to>
          <cc>aleksei.yanlin</cc>
    
    <cc>rider</cc>
    
    <cc>yabro</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>214318</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2022-08-31 16:40:03 +0300</bug_when>
    <thetext>ERROR: Failed to parse XML file ./usr/share/appdata/yandex-browser.appdata.xml from package yandex-browser-stable: XML declaration allowed only at the start of the document, line 2, column 6 (yandex-browser.appdata.xml, line 2)

Удалите первую строку:
--- /usr/share/appdata/yandex-browser.appdata.xml~      2022-08-10 15:03:38.000000000 +0300
+++ /usr/share/appdata/yandex-browser.appdata.xml       2022-08-31 16:39:30.420292429 +0300
@@ -1,4 +1,3 @@
-&lt;!-- Copyright 2017 The Chromium Authors --&gt;
 &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
 &lt;component type=&quot;desktop&quot;&gt;
   &lt;id&gt;yandex-browser.desktop&lt;/id&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>214335</commentid>
    <comment_count>1</comment_count>
    <who name="Алексей Янлин">aleksei.yanlin</who>
    <bug_when>2022-08-31 18:12:09 +0300</bug_when>
    <thetext>А это нормально, что при парсинге XML учитываются комментарии ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>214390</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2022-09-01 16:55:59 +0300</bug_when>
    <thetext>(Ответ для Алексей Янлин на комментарий #1)
&gt; А это нормально, что при парсинге XML учитываются комментарии ?

Нарушение стандарта: https://www.w3.org/TR/xml/#sec-prolog-dtd

Definition: XML documents should begin with an XML declaration which specifies the version of XML being used.] For example, the following is a complete XML document, well-formed but not valid:

&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;greeting&gt;Hello, world!&lt;/greeting&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>214535</commentid>
    <comment_count>3</comment_count>
    <who name="Алексей Янлин">aleksei.yanlin</who>
    <bug_when>2022-09-05 18:06:18 +0300</bug_when>
    <thetext>https://www.w3.org/TR/xml/#dt-comment
Comments may appear anywhere in a document outside other markup

стандарт вроде позволяет</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>216866</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2022-11-02 18:15:15 +0300</bug_when>
    <thetext>yandex-browser-stable-22.9.3.920-alt1 -&gt; sisyphus:

 Wed Nov 02 2022 Vasiliy Tsukanov &lt;palar@altlinux&gt; 22.9.3.920-alt1
 - browser updated to 22.9.3
 Mon Sep 05 2022 Vasiliy Tsukanov &lt;palar@altlinux&gt; 22.7.3.817-alt3
 - removed comment at yandex-browser.appdata.xml (closes: 43673)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>