Re: segfault on xpath queries :P

darryl <[email protected]> Mon, 03 May 2004 23:56:42 -0700
Newsgroups gmane.comp.web.syncato.general
Message-ID <[email protected]>
emf wrote:

> for the moment I'm using the filesystem database. I have six files 
> loaded into the db. If I request the files themselves, I get them; if 
> I try to do any xpath query I get a segfault.
>
> I copied the xpath.py test from the libxml2-python library and used it 
> on my files; every one of them ran fine.
>
> I'm not quite sure what to do at this point; I'm not quite sure where 
> it's falling down.
>
> I am using the latest syncato (I just did a cvs up, still cores) and 
> the latest libxml2 (2.6.9).
>
> my data files (96k gzipped) are here: http://mindlace.net/tmp/roland.tgz
>
> I would really appreciate some feedback on this, if only where I 
> should go for additional debugging.
>
> Thanks,
> -- 

I have no idea what your problem is, BUT i think kimbro's idea of 
passing the xpath in via
a named parameter is the way to go.

I've also found that while trying to use mod_rewrite to proxy to another 
apache install
is causing issues with item titles ending in a "?" Webware is now 
intrepreting that as a query parameter....

-darryl

-- 
http://randomthoughts.vandorp.ca/syncato/WK/blog



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click