Re: Re: cvs: php-src /ext/dom/tests dom005.phpt
| From: | Christian Stocker | Date: | Thu, 30 Oct 2003 14:25:17 +0000 |
| Subject: | Re: Re: cvs: php-src /ext/dom/tests dom005.phpt | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5113@lists.php.net to get a copy of this message | ||
On 10/30/03 1:53 PM, Ilia Alshanetsky wrote:
On October 30, 2003 03:10 am, Christian Stocker wrote:i used the str_replace approach at the output for now. Will eventually change it to the EXPECTREGEX approach chregu -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECBMy system (libxml2-2.6.0 on Mac OS X 10.3) outputs lowercase html in the doctype.. I don't know, if libxml2 changed that on purpose. But both doctypes seem to validate... I'll ask on their mailinglist. To make the test work again, should we just str_replace("DOCTYPE html","DOCTYPE HTML",...) for the test? Or is their a better way to make it work with both outputs?If both are valid responses we can use regular expression to allow both.