Interesting. May be it depends on libxml version (I use 2.6.29).
I'll try to look into it tomorrow.

Dmitry.

> -----Original Message-----
> From: Jani Taskinen [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 25, 2007 9:11 PM
> To: Antony Dovgal
> Cc: Dmitry Stogov; [email protected]
> Subject: Re: [PHP-CVS] cvs: php-src(PHP_5_2) 
> /ext/xmlwriter/tests 007.phpt OO_007.phpt
> 
> 
> And for me too..
> 
> --Jani
> 
> Antony Dovgal kirjoitti:
> > This fix broke the tests for me.
> > 
> > On 25.06.2007 10:45, Dmitry Stogov wrote:
> >> dmitry        Mon Jun 25 06:45:57 2007 UTC
> >>
> >>   Modified files:              (Branch: PHP_5_2)
> >>     /php-src/ext/xmlwriter/tests    007.phpt OO_007.phpt   Log:
> >>   Fixed tests
> >>     
> >> 
> http://cvs.php.net/viewvc.cgi/php-src/ext/xmlwriter/tests/007.phpt?r1
> >> =1.1.2.3&r2=1.1.2.3.2.1&diff_format=u
> >>
> >> Index: php-src/ext/xmlwriter/tests/007.phpt
> >> diff -u php-src/ext/xmlwriter/tests/007.phpt:1.1.2.3
> >> php-src/ext/xmlwriter/tests/007.phpt:1.1.2.3.2.1
> >> --- php-src/ext/xmlwriter/tests/007.phpt:1.1.2.3    Mon Dec 12 
> >> 21:21:11 2005
> >> +++ php-src/ext/xmlwriter/tests/007.phpt    Mon Jun 25 
> 06:45:57 2007
> >> @@ -7,7 +7,7 @@
> >>  ?>
> >>  --FILE--
> >>  <?php -/* $Id: 007.phpt,v 1.1.2.3 2005/12/12 21:21:11 
> tony2001 Exp $ 
> >> */
> >> +/* $Id: 007.phpt,v 1.1.2.3.2.1 2007/06/25 06:45:57 dmitry Exp $ */
> >>  
> >>  $xw = xmlwriter_open_memory();
> >>  xmlwriter_set_indent($xw, TRUE);
> >> @@ -32,7 +32,7 @@
> >>  --EXPECT--
> >>  <?xml version="1.0" encoding="UTF-8"?>
> >>  <root>
> >> -   <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">
> >> +   <ns1:child1 ns1:att1="a&amp;b" 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> 
> >> 
> http://cvs.php.net/viewvc.cgi/php-src/ext/xmlwriter/tests/OO_007.phpt
> >> ?r1=1.1.2.3&r2=1.1.2.3.2.1&diff_format=u
> >>
> >> Index: php-src/ext/xmlwriter/tests/OO_007.phpt
> >> diff -u php-src/ext/xmlwriter/tests/OO_007.phpt:1.1.2.3
> >> php-src/ext/xmlwriter/tests/OO_007.phpt:1.1.2.3.2.1
> >> --- php-src/ext/xmlwriter/tests/OO_007.phpt:1.1.2.3    Mon Dec 12 
> >> 21:21:11 2005
> >> +++ php-src/ext/xmlwriter/tests/OO_007.phpt    Mon Jun 25 
> 06:45:57 2007
> >> @@ -7,7 +7,7 @@
> >>  ?>
> >>  --FILE--
> >>  <?php -/* $Id: OO_007.phpt,v 1.1.2.3 2005/12/12 21:21:11 tony2001 
> >> Exp
> >> $ */
> >> +/* $Id: OO_007.phpt,v 1.1.2.3.2.1 2007/06/25 06:45:57 
> dmitry Exp $ 
> >> +*/
> >>  
> >>  $xw = new XMLWriter();
> >>  $xw->openMemory();
> >> @@ -33,7 +33,7 @@
> >>  --EXPECT--
> >>  <?xml version="1.0" encoding="UTF-8"?>
> >>  <root>
> >> -   <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">
> >> +   <ns1:child1 ns1:att1="a&amp;b" 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>
> >>
> > 
> > 
> 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to