Re: segfault on xpath queries :P
darryl <[email protected]> Tue, 04 May 2004 11:40:07 -0500
| Newsgroups | gmane.comp.web.syncato.general |
|---|---|
| Message-ID | <[email protected]> |
emf wrote: > On May 4, 2004, at 11:57, darryl wrote: > >> As for using a named parameter for xpath queries. The problem as I >> percieve it is that somewhere along the line (either webware or apache) >> the url's are getting mangled. For example: >> >> http://randomthoughts.vandorp.ca/WK/blog/item//a >> >> *should* yield all links. However by the time it gets to syncato >> syncato sees: >> >> /WK/blog/item/a > > > yes, that's apache normalizing PATH_INFO ... REQUEST_URI keeps the > original information > >> So when you say you've fixed the xpath issue are you referring to the >> patch the other day? > > > yes, my patch should fix it, with the caveats in my second post ;) Can we see the code that goes with the caveats? This is something that Kimbro will have to decide i think. My inclination is to pass xpath as a query parameter like so: http://mycoolblog/WK/blog?q=/item//a ~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