Re: remote-xpath-queries
darryl <[email protected]> Sat, 08 Nov 2003 16:39:13 -0800
| Newsgroups | gmane.comp.web.syncato.general |
|---|---|
| Message-ID | <[email protected]> |
That's cool, that's how we figure stuff out right? Anyways yes, my site was down. I had to go in and delete all items with those remote-xpath-queries as everytime the site tried to render it brought the site down with some tracebacks. I'm going to try again though..... -darryl > 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/ > _______________________________________________ > Syncato-general mailing list > Syncato-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/syncato-general ------------------------------------------------------- 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/