Bug 289601
Summary: | yum doesn't handle bad xml very gracefully | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Máirín Duffy <duffy> |
Component: | yum | Assignee: | James Antill <james.antill> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.1 | CC: | bkearney, jhutar, jneedle, jturner |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-05-19 14:52:51 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 226169 | ||
Bug Blocks: |
Description
Máirín Duffy
2007-09-13 17:56:03 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. This should be fixed in the current yum-metadata-parser RHEL-5.2 errata. Yeh, there's very little we can do about actual bad XML ... AIUI, because it's libxml that dies then. I had assumed that this BZ referred to things using & and > etc. So ... Máirín Duffy ... do you know what this BZ is about ?:) Hmm, milkbones - that's mine, so I guess this is mine to respond to. This was an intermittent error - can't reproduce it any more, but the GLIB-Warning messages were definitely Very Ugly and something that screamed "Bug me!", and this clone was in response to Jeremy's assertion that "This is definitely fixed in current code", so we wanted to make sure it got into the RHEL5 stream at some point. Sure, we can't do much about bogus XML, but when you start getting errors that say stuff like "This indicates a bug in someone's code." you should expect bug reports. yeh, that's fine, and hopefully we've gotten rid of those messages now ... and in the latest code we don't do those messages for bad XML, but we do traceback which is almost as ugly :). For reference: Bad XML is just not XML, explicit bias from the XML spec designer team (the the HTML parsing horror stories if you disagree :-) http://www.w3.org/TR/REC-xml/#dt-fatal Daniel Reminder: This bug includes the 'RHTS' QA Whiteboard Keyword. Don't forget to add 'RHTSdone' to the QA Whiteboard along with a comment describing where the RHTS test can be found once the RHTS test has been written. Otherwise, if an RHTS will not be created, please remove RHTS from the qa whiteboard. |