Defect #109

Extend libxml workaround to other versions

Added by Anonymous 476 days ago. Updated 449 days ago.

Status:Fixed Start:2008-11-23
Priority:High Due date:
Assigned to:Ryan Parman % Done:

0%

Category:Parser
Target version:1.1.3
Affected Version:

1.1.2

PHP Version:

5.2.6

mbstring enabled:

No

iconv enabled:

No

Affected Revision:

1021

cURL enabled:

No

zlib enabled:

No


Description

Fedora 9's libxml2-2.7.2-2 package appears to need the same workaround for the standard XML entities as SimplePie already contains for libxml2 2.7.0/2.7.1. I've attached a patch.

Curiously, the LIBXML_VERSION reported by PHP is less than the 2.7.0/2.7.1 versions.

libxml272.patch - Include LIBXML_VERSION 20632 in the workaround check (682 Bytes) Anonymous, 2008-11-23 10:31


Related issues

related to Defect #101 Work-around bug in libxml 2.7.0/2.7.1 of parsing of predefined entities Verified 2008-10-07
related to Defect #120 libxml workaround has broken test cases Fixed 2009-01-31

Associated revisions

Revision 1025
Added by Geoffrey Sneddon 450 days ago

Apply libxml bug workaround to all versions. Fixes #109.

History

Updated by Ryan Parman 476 days ago

  • Project changed from 3 to SimplePie 1.x

Updated by Ryan Parman 476 days ago

  • Category set to Parser
  • Status changed from Unconfirmed to New
  • Assigned to set to Ryan Parman
  • Priority changed from Medium to High
  • Target version set to 1.1.3
  • cURL enabled set to No
  • zlib enabled set to No

SimplePie 2 doesn't exist, so you can't file bugs against it. Moving to SimplePie 1.x and triaging.

Updated by Geoffrey Sneddon 476 days ago

I think the problem is that PHP reports whatever version it was compiled against, which sucks if it is dynamically linked and upgraded.

Updated by Geoffrey Sneddon 453 days ago

I am, on the whole, tempted to just remove the if statement and just take the perf. hit on every install.

Updated by Geoffrey Sneddon 450 days ago

  • Status changed from New to Fixed

Applied in changeset r1025.

Updated by Geoffrey Sneddon 449 days ago

  • Subject changed from Extend libxml workaround to another version to Extend libxml workaround to other versions

Also available in: Atom PDF