Projects
home:rottame:vhosts-ng:php73
php7
php7-xml-libxml213.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php7-xml-libxml213.patch of Package php7 (Revision 14)
Currently displaying revision
14
,
Show latest
ext/xml: fix entity handling with libxml2 >= 2.13 (PEAR install fails with "Invalid tag order in <dependencies>, found <_content>"). Backport of php-src 67259e451d5d58b4842776c5696a66d74e157609 (GH-14834). --- a/ext/xml/compat.c +++ b/ext/xml/compat.c @@ -377,7 +377,7 @@ if (ret == NULL) ret = xmlGetDocEntity(parser->parser->myDoc, name); - if (ret == NULL || (parser->parser->instate != XML_PARSER_ENTITY_VALUE && parser->parser->instate != XML_PARSER_ATTRIBUTE_VALUE)) { + if (ret == NULL || parser->parser->instate == XML_PARSER_CONTENT) { if (ret == NULL || ret->etype == XML_INTERNAL_GENERAL_ENTITY || ret->etype == XML_INTERNAL_PARAMETER_ENTITY || ret->etype == XML_INTERNAL_PREDEFINED_ENTITY) { /* Predefined entities will expand unless no cdata handler is present */ if (parser->h_default && ! (ret && ret->etype == XML_INTERNAL_PREDEFINED_ENTITY && parser->h_cdata)) {
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.