RE: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/xmlwriter/tests 007.phpt OO_007.phpt
| From: | Dmitry Stogov | Date: | Mon, 25 Jun 2007 17:41:28 +0000 |
| Subject: | RE: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/xmlwriter/tests 007.phpt OO_007.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-44951@lists.php.net to get a copy of this message | ||
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:jani.taskinen@sci.fi]
> Sent: Monday, June 25, 2007 9:11 PM
> To: Antony Dovgal
> Cc: Dmitry Stogov; php-cvs@lists.php.net
> 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&b"
> >> xmlns:ns1="urn:ns1" att2="double" single'"
> >> ns1:att2="<>"'&"
> >> xmlns:ns1="urn:ns1">
> >> + <ns1:child1 ns1:att1="a&b" att2="double"
> >> single'"
> >> ns1:att2="<>"'&"
> >> xmlns:ns1="urn:ns1">
> >> <chars>special characters:
> >> <>"'&</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&b"
> >> xmlns:ns1="urn:ns1" att2="double" single'"
> >> ns1:att2="<>"'&"
> >> xmlns:ns1="urn:ns1">
> >> + <ns1:child1 ns1:att1="a&b" att2="double"
> >> single'"
> >> ns1:att2="<>"'&"
> >> xmlns:ns1="urn:ns1">
> >> <chars>special characters:
> >> <>"'&</chars>
> >> </ns1:child1>
> >> </root>
> >>
> >
> >
>