Bug 998344

Summary: zypper -x products outputs invalid XML
Product: [openSUSE] openSUSE Tumbleweed Reporter: Cédric Bosdonnat <cbosdonnat>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Cédric Bosdonnat 2016-09-12 09:12:39 UTC
the zypper -x products command dumps such an output:

<product name="openSUSE" version="20160830" release="0" epoch="0" arch="x86_64" vendor="openSUSE" summary="openSUSE Tumbleweed" repo="@System" productline="openSUSE" registerrelease="" shortname="openSUSE" flavor="ftp" isbase="true" installed="true"><registerflavor/><descriptionopenSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.</description></product>

This is not a valid XML, the <description> start tag is missing its '>'.
Comment 1 Michael Andres 2016-09-12 09:23:25 UTC
Unfortunately an incomplete patch escaped into libzypp-16.2.2.

It's fixed in libzypp-16.2.3