[xml] Input callbacks called multiply...
- From: Matt Sergeant <matt sergeant org>
- To: <xml gnome org>
- Subject: [xml] Input callbacks called multiply...
- Date: Thu, 15 Mar 2001 19:06:18 +0000 (GMT)
I've managed to get the input IO callbacks working calling perl subs, but
for some reason the read() sub gets called multiple times, despite having
returned "short" and returning zero. Here's my debugging information:
match
open foo.xml
read, asked for: 4000, returning: [20] <foo>Text here</foo>
read, asked for: 3980, returning: [0]
read, asked for: 3980, returning: [0]
read, asked for: 3980, returning: [0]
read, asked for: 3980, returning: [0]
read, asked for: 3980, returning: [0]
read, asked for: 3980, returning: [0]
read, asked for: 3980, returning: [0]
read, asked for: 3980, returning: [0]
read, asked for: 3980, returning: [0]
read, asked for: 3980, returning: [0]
read, asked for: 3980, returning: [0]
read, asked for: 3980, returning: [0]
read, asked for: 3980, returning: [0]
close
I mean, it works, but it's a lot of callbacks when I've already returned
zero!
--
<Matt/>
/|| ** Founder and CTO ** ** http://axkit.com/ **
//|| ** AxKit.com Ltd ** ** XML Application Serving **
// || ** http://axkit.org ** ** XSLT, XPathScript, XSP **
// \\| // ** mod_perl news and resources: http://take23.org **
\\//
//\\
// \\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]