Re: Scheme handlers for XSLT in progress.

From: Date: Tue, 04 Nov 2003 14:42:42 +0000
Subject: Re: Scheme handlers for XSLT in progress.
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-5184@lists.php.net to get a copy of this message
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 <http://peanut:8080/tkl5/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


« previous php.internals (#5184) next »