Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5184 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95822 invoked by uid 1010); 4 Nov 2003 14:42:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 95675 invoked from network); 4 Nov 2003 14:42:45 -0000 Received: from unknown (HELO peanut) (213.150.43.10) by pb1.pair.com with SMTP; 4 Nov 2003 14:42:45 -0000 Received: from peanut ([127.0.0.1] helo=indexdata.dk ident=adam) by peanut with esmtp (Exim 3.35 #1 (Debian)) id 1AH2OK-0002Yv-00; Tue, 04 Nov 2003 15:42:44 +0100 Message-ID: <3FA7BAE2.2090103@indexdata.dk> Date: Tue, 04 Nov 2003 15:42:42 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: da, en-us, en MIME-Version: 1.0 To: Adam Dickmeiss CC: Christian Stocker , internals@lists.php.net References: <3FA23826.8080807@indexdata.dk> <3FA23BA9.8080407@bitflux.ch> <3FA24588.5080307@indexdata.dk> <3FA27D83.9050502@bitflux.ch> <3FA7B4DB.3010107@indexdata.dk> In-Reply-To: <3FA7B4DB.3010107@indexdata.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Scheme handlers for XSLT in progress. From: adam@indexdata.dk (Adam Dickmeiss) Adam Dickmeiss wrote: > Christian Stocker wrote: > >> Just as an update to this question >> >> According to Adam, the stream-wrapper support in ext/xsl seems to >> have the same possibilities as the schemes support in the former >> sablotron extension. But he will further look into it and keep us/me >> updated about the outcome ;) >> > I've wrapped made a stream class with methods stream_open, > stream_read, stream_tell, stream_eof, stream_seek, stream_stat, > stream_close. When I use this handler from within XSLT I get : > *Warning*: xsltprocessor::importStylesheet() > [function.importStylesheet > ]: > tkl_file_stream::url_stat is not implemented! in > */home/adam/proj/httpd/htdocs/tkl5/xsl-ex2.php* on line *70* > What's url_stat supposed to do? Prototype? Looking at the PHP source, I decided to use: function url_stat ($path) { return array(); } with satisfactory results, so far. -- Adam > > -- Adam >