ID:               42366
 User updated by:  dannie dot stanley at gmail dot com
 Reported By:      dannie dot stanley at gmail dot com
 Status:           Open
 Bug Type:         *Compile Issues
 Operating System: RHEL3
 PHP Version:      5.2.3
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to