Skip to content

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Aug 7, 2018

We work around this peculiarity of libxml by using xmlNodeSetContent(),
which does not exhibit this behavior. This also saves us from manually
calculating the string length.

We work around this peculiarity of libxml by using xmlNodeSetContent(),
which does not exhibit this behavior.  This also saves us from manually
calculating the string length.
@cmb69
Copy link
Member Author

cmb69 commented Aug 7, 2018

See https://bugs.php.net/76712 for further info.

@cmb69
Copy link
Member Author

cmb69 commented Aug 22, 2018

If there are no objections, I'll apply this patch on the weekend.

@php-pulls
Copy link

Comment on behalf of cmb at php.net:

Applied via 692e5d5.

@php-pulls php-pulls closed this Aug 25, 2018
@cmb69 cmb69 deleted the fix-76712 branch August 25, 2018 12:34
@carusogabriel
Copy link
Contributor

Looks like this tests is failing on GCOV for some reason :(

http://gcov.php.net/viewer.php?version=PHP_HEAD&func=tests&file=ext%2Fsimplexml%2Ftests%2Fbug76712.phpt

@cmb69
Copy link
Member Author

cmb69 commented Sep 16, 2018

Thanks! Might be due to the libxml2 version? We should keep an eye on this.

@carusogabriel
Copy link
Contributor

@cmb69 Dunno. Maybe adding the output of phpinfo() somewhere at GCOV, as suggested in https://bugs.php.net/bug.php?id=60360 might help us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants