#42366 [Fbk->Opn]: xmlwriter fails "make test"

From: Date: Wed, 22 Aug 2007 10:19:55 +0000
Subject: #42366 [Fbk->Opn]: xmlwriter fails "make test"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-116457@lists.php.net to get a copy of this message
ID: 42366 User updated by: dannie dot stanley at gmail dot com Reported By: dannie dot stanley at gmail dot com -Status: Feedback +Status: Open Bug Type: Unknown/Other Function Operating System: RHEL3 PHP Version: 5.2.3 New Comment: I have compiled against: libxml2-2.6.29 libxslt-1.1.21 I believe both of those are the latest. Previous Comments: ------------------------------------------------------------------------ [2007-08-22 08:06:05] jani@php.net What is the libxml version you have linked PHP with? ------------------------------------------------------------------------ [2007-08-21 20:47:19] dannie dot stanley at gmail dot com Example diff of file with the problem: --- /tmp/ootest.txt 2007-08-21 16:17:11.000000000 -0400 +++ ext/xmlwriter/tests/OO_007.exp 2007-08-21 16:38:59.000000000 -0400 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <root> - <ns1:child1 ns1:att1="a&amp;b" att2="double&quot; single'" ns1:att2="&lt;&gt;&quot;'&amp;" xmlns:ns1="urn:ns1"> + <ns1:child1 xmlns:ns1="urn:ns1" ns1:att1="a&amp;b" xmlns:ns1="urn:ns1" att2="double&quot; single'" ns1:att2="&lt;&gt;&quot;'&amp;" xmlns:ns1="urn:ns1"> <chars>special characters: &lt;&gt;&quot;'&amp;</chars> </ns1:child1> -</root> +</root> \ No newline at end of file ------------------------------------------------------------------------ [2007-08-21 20:39:04] dannie dot stanley at gmail dot com Description: ------------ Two of the tests for xmlwriter fail. The expected output seems to be incorrect. The expected output files * ext/xmlwriter/tests/OO_007.exp * ext/xmlwriter/tests/007.exp Have the xmlns:ns1 attribute repeated 3 times. The output provided from the test only has that attribute listed one time, which seems to be valid. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42366&edit=1

« previous php.bugs (#116457) next »