Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5185 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85673 invoked by uid 1010); 4 Nov 2003 15:28:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 85649 invoked from network); 4 Nov 2003 15:28:21 -0000 Received: from unknown (HELO amf.hotels-on-air.de) (217.194.75.126) by pb1.pair.com with SMTP; 4 Nov 2003 15:28:21 -0000 Received: from bitflux.ch ([10.10.30.241]) by amf.hotels-on-air.de (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id hA4FSJO0002470; Tue, 4 Nov 2003 16:28:19 +0100 Message-ID: <3FA7C594.3020607@bitflux.ch> Date: Tue, 04 Nov 2003 16:28:20 +0100 User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adam Dickmeiss CC: 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> <3FA7BAE2.2090103@indexdata.dk> In-Reply-To: <3FA7BAE2.2090103@indexdata.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavis-milter (http://amavis.org/) Subject: Re: [PHP-DEV] Scheme handlers for XSLT in progress. From: chregu@bitflux.ch (Christian Stocker) On 11/4/03 3:42 PM, Adam Dickmeiss wrote: > 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. Yep, it's supposed to have the same format as the array returned by fstat(). But an empty array is ok ;) chregu > > -- Adam > > > > >> >> -- Adam >> > -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB