Bug 1073885 - Warning while loading xml file with <biarchonly> element
Summary: Warning while loading xml file with <biarchonly> element
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libcomps
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jindrich Luza
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-07 12:13 UTC by Pavol Babinčák
Modified: 2014-10-07 09:04 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-10-07 09:04:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
yumgroups with biarchonly XML element (824 bytes, text/xml)
2014-03-07 12:13 UTC, Pavol Babinčák
no flags Details
Minimal reproducer (177 bytes, text/x-python)
2014-03-07 12:14 UTC, Pavol Babinčák
no flags Details
Changes between original and new XML (759 bytes, patch)
2014-03-07 12:14 UTC, Pavol Babinčák
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.