Re: remote-xpath-queries
Kimbro Staken <[email protected]> Sat, 8 Nov 2003 15:32:36 -0700
| Newsgroups | gmane.comp.web.syncato.general |
|---|---|
| Message-ID | <[email protected]> |
I was trying to post a follow up, but for some reason couldn't. Looks like your site is down right now. There are two problems, the simple one is that you need to remove the whitespace around the content of the remote-xpath-query tag. A more serious problem appears to be with recursive call backs into the same system. You're doing a query on my site for all remote-xpath-query tags and then running those queries from within your system. I then have a query that runs against your site. So the problem is that when you make the original XSL document() request it's inside a C call which holds the Python GIL so any subsequent calls into the system will block until that original XSL call completes. Because of this the subsequent call-back into your system blocks until the original document call times out and the XSL completes releasing the GIL. Ugh, in other words it don't work right. :-) This makes the remote-xpath-query tag a little more risky to use then I would like. So the simple answer is that your system is setup correctly, you just had white space in the tag, but removing the whitespace then results in a hanging request. The quick fix is to not run a query that will recursively access your system. Fun, fun, lots to learn about this kind of interaction. It's funny, you picked what is probably the worst possible query you could do. :-) On Nov 8, 2003, at 4:58 PM, darryl wrote: > kimbro i saw your comment on my weblog. I believe i have the most > recent files that you mentioned i have: > > lib.xsl rev 1.6 > WeblogXslExtension.py rev 1.2 > > There's nothing else that i have to do? > > -darryl > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Syncato-general mailing list > Syncato-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/syncato-general > > Kimbro Staken Software, Consulting and Writing http://www.xmldatabases.org/ Apache Xindice native XML database http://xml.apache.org/xindice XML:DB Initiative http://www.xmldb.org ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/