{"action":"created","issue":{"url":"https://api.github.com/repos/php/php-src/issues/1408","labels_url":"https://api.github.com/repos/php/php-src/issues/1408/labels{/name}","comments_url":"https://api.github.com/repos/php/php-src/issues/1408/comments","events_url":"https://api.github.com/repos/php/php-src/issues/1408/events","html_url":"https://github.com/php/php-src/pull/1408","id":94292687,"number":1408,"title":"Fix #70029: nodeValue of DOMElement list content of children nodes","user":{"login":"cmb69","id":2306138,"avatar_url":"https://avatars.githubusercontent.com/u/2306138?v=3","gravatar_id":"","url":"https://api.github.com/users/cmb69","html_url":"https://github.com/cmb69","followers_url":"https://api.github.com/users/cmb69/followers","following_url":"https://api.github.com/users/cmb69/following{/other_user}","gists_url":"https://api.github.com/users/cmb69/gists{/gist_id}","starred_url":"https://api.github.com/users/cmb69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmb69/subscriptions","organizations_url":"https://api.github.com/users/cmb69/orgs","repos_url":"https://api.github.com/users/cmb69/repos","events_url":"https://api.github.com/users/cmb69/events{/privacy}","received_events_url":"https://api.github.com/users/cmb69/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/php/php-src/labels/bugfix","name":"bugfix","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-10T11:51:08Z","updated_at":"2015-09-05T00:04:30Z","closed_at":"2015-09-05T00:04:30Z","pull_request":{"url":"https://api.github.com/repos/php/php-src/pulls/1408","html_url":"https://github.com/php/php-src/pull/1408","diff_url":"https://github.com/php/php-src/pull/1408.diff","patch_url":"https://github.com/php/php-src/pull/1408.patch"},"body":"According to the W3C DOM Core Level 3 specification [DOMElement::nodeValue is\r\nsupposed to yield null](http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-F68D080), but currently the DOM extension yield the result of\r\ncalling xmlNodeGetContent(), what is the concatenation of the values of the\r\nchildren of the element. This patch fixes the non standard behavior.\r\n\r\nDue to the obvious BC break it might be best to apply the patch only against master (i.e. PHP 7)."},"comment":{"url":"https://api.github.com/repos/php/php-src/issues/comments/137883182","html_url":"https://github.com/php/php-src/pull/1408#issuecomment-137883182","issue_url":"https://api.github.com/repos/php/php-src/issues/1408","id":137883182,"user":{"login":"php-pulls","id":1406938,"avatar_url":"https://avatars.githubusercontent.com/u/1406938?v=3","gravatar_id":"","url":"https://api.github.com/users/php-pulls","html_url":"https://github.com/php-pulls","followers_url":"https://api.github.com/users/php-pulls/followers","following_url":"https://api.github.com/users/php-pulls/following{/other_user}","gists_url":"https://api.github.com/users/php-pulls/gists{/gist_id}","starred_url":"https://api.github.com/users/php-pulls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-pulls/subscriptions","organizations_url":"https://api.github.com/users/php-pulls/orgs","repos_url":"https://api.github.com/users/php-pulls/repos","events_url":"https://api.github.com/users/php-pulls/events{/privacy}","received_events_url":"https://api.github.com/users/php-pulls/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T00:04:30Z","updated_at":"2015-09-05T00:04:30Z","body":"**Comment on behalf of cmb at php.net:**\n\n[Applied](http://git.php.net/?p=php-src.git;a=commit;h=25a52d98d7cb2d4f3b3636eac45c71a1ae03c760)."}}