]> granicus.if.org Git - php/commitdiff
Adding a note here for my future self so I won't
authorRasmus Lerdorf <rasmus@php.net>
Sat, 10 Jan 2015 00:36:21 +0000 (16:36 -0800)
committerRasmus Lerdorf <rasmus@php.net>
Sat, 10 Jan 2015 00:36:21 +0000 (16:36 -0800)
need to look into this again

ext/dom/tests/node_textcontent.phpt

index a731a264aa9bf2b74fba299ffdc9e7e69cbaa658..f7312885ba3271b7b25c933ac3d8e1fda4c76c15 100644 (file)
@@ -4,7 +4,14 @@ Testing reading and writing to DOMNode::textContent
 <?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
+/*
+ If this test is failing it is because the libxml2 library being used does
+ not have this bug fix from 2009:
 
+   https://github.com/GNOME/libxml2/commit/f3c06692e0d200ae0d35b5b3c31de8c56aa99ac6
+
+ The workaround if you are being hit by this is to add a <!DOCTYPE html> tag
+*/
 $html = <<<HTML
 <div id="test"><span>hi there</span></div>
 HTML;