Bug 1073885

Summary: Warning while loading xml file with <biarchonly> element
Product: [Fedora] Fedora Reporter: Pavol Babinčák <pbabinca>
Component: libcompsAssignee: Jindrich Luza <jluza>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jluza
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-07 09:04:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
yumgroups with biarchonly XML element
none
Minimal reproducer
none
Changes between original and new XML none

Description Pavol Babinčák 2014-03-07 12:13:35 UTC
Created attachment 871866 [details]
yumgroups with biarchonly XML element

Description of problem:
I'm trying to load yumgroups.xml from CentOS 4.9 with python bindings. Warning is issued on <biarchonly> XML element and doesn't seem to be processed any further.

Version-Release number of selected component (if applicable):
libcomps-0.1.6-3.fc21.x86_64
python-libcomps-0.1.6-3.fc21.x86_64
python-2.7.5-11.fc20.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Download attached yumgroups-biarchonly.py and yumgroups-biarchonly.xml
2. Run yumgroups-biarchonly.py script with Python interpreter
3. Run diff -u yumgroups-biarchonly.xml yumgroups-new.xml

Actual results:
Script prints following warning:
'false' found between elements at line:14 column :21

Diff shows missing XML element (see attached yumgroups_biarchonly_new.diff).

Expected results:
No warning issued & biarchonly element preserved.

Comment 1 Pavol Babinčák 2014-03-07 12:14:18 UTC
Created attachment 871867 [details]
Minimal reproducer

Comment 2 Pavol Babinčák 2014-03-07 12:14:58 UTC
Created attachment 871868 [details]
Changes between original and new XML