Re: cvs: php4 /ext/xslt/tests xslt_setopt.phpt

From: Date: Fri, 25 Oct 2002 22:48:25 +0000
Subject: Re: cvs: php4 /ext/xslt/tests xslt_setopt.phpt
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-90121@lists.php.net to get a copy of this message
At 22:36 25-10-2002, Ilia A. wrote:
I've just tried the latest version of the xslt tests and ext/xslt/tests/xslt_setopt.phpt test fails. The failure is the result of expected output needing some non-ascii character after PHP QA. Where is this character comming from, the xml & xslt style sheets do not seem to have any non-ascii data in them.
It does work for me. It's an entity test, and it's in public.xml - ®, which is ISO-8859-1. I can take an ASCII char of course. I think this only works when libiconv support is built-in to Sablotron, as it uses UTF-8 internally and relies on iconv for the conversions. This is a little hard to test for though. There are 2 possibilities: 1) we can use config.m4 to register a preprocessor symbol, then provide 'iconv' in some function like xslt_features() 2) we can ask the Sablotron guys to provide the information, so that it's available at runtime, via an API function. This is the most reliable option. In any case, did you provide --with-iconv-dir, so I'm 100% sure this is the problem?
Ilia On October 25, 2002 03:17 pm, Melvyn Sopacua wrote:
msopacua              Fri Oct 25 15:17:15 2002 EDT
Added files:
    /php4/ext/xslt/tests      xslt-001.phpt xslt_process-001.phpt
                              xslt_process-002.phpt xslt_set_object.phpt
                              xslt_set_scheme_handlers-001.phpt
                              xslt_setopt.phpt bug17791.phpt bug17931.phpt
                              xslt.phpt
Modified files:
    /php4/ext/xslt/tests      skipif.inc
Log: Tests renamed Remove dl() from skipif, for potential problems accross platforms and versions.
Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua

« previous php.dev (#90121) next »