Re: [Chicken-users] Need help on sxpath/txpath

2011-01-29 Thread Daishi Kato
At Fri, 28 Jan 2011 16:45:06 +0100, Peter Bex wrote: I suck at xpath so I have no idea. You could try the SSAX mailinglist... Before trying the ssax ML, I looked the code again. Because I didn't find big difference in ssax code, I assumed this is a chicken-specific bug. And, found it! Yes,

Re: [Chicken-users] Need help on sxpath/txpath

2011-01-29 Thread Peter Bex
On Sat, Jan 29, 2011 at 09:32:10PM +0900, Daishi Kato wrote: And, found it! Yes, Peter. In release/3/sxml-tools/extras/string-utils.scm, (define (substring? pattern str) (string-contains str pattern)) However, in release/4/sxpath/trunk/chicken/[st]xpath.scm, (define substring?

Re: [Chicken-users] Need help on sxpath/txpath

2011-01-29 Thread Daishi Kato
At Sat, 29 Jan 2011 13:46:20 +0100, Peter Bex wrote: On Sat, Jan 29, 2011 at 09:32:10PM +0900, Daishi Kato wrote: And, found it! Yes, Peter. In release/3/sxml-tools/extras/string-utils.scm, (define (substring? pattern str) (string-contains str pattern)) However, in

Re: [Chicken-users] Need help on sxpath/txpath

2011-01-29 Thread Alan Post
On Sat, Jan 29, 2011 at 09:32:10PM +0900, Daishi Kato wrote: At Fri, 28 Jan 2011 16:45:06 +0100, Peter Bex wrote: I suck at xpath so I have no idea. You could try the SSAX mailinglist... Before trying the ssax ML, I looked the code again. Because I didn't find big difference in ssax code,

Re: [Chicken-users] Need help on sxpath/txpath

2011-01-28 Thread Daishi Kato
Hi, I digged into the problem a little more and found something. In 4.6.0, this is somewhat working: #;24 ((sxpath //table/tr[td[a[contains(href,'amp;abc=123amp;')]]]) (html-sxml htmltabletrtda href=\/xxx/yyy/?zzzamp;abc=123amp;\yyy/a/tdtr/table/html)) ((tr (td (a (@ (href

Re: [Chicken-users] Need help on sxpath/txpath

2011-01-28 Thread Peter Bex
On Fri, Jan 28, 2011 at 11:27:26PM +0900, Daishi Kato wrote: Hi, I digged into the problem a little more and found something. In 4.6.0, this is somewhat working: #;24 ((sxpath //table/tr[td[a[contains(href,'amp;abc=123amp;')]]]) (html-sxml htmltabletrtda

Re: [Chicken-users] Need help on sxpath/txpath

2011-01-28 Thread Daishi Kato
At Fri, 28 Jan 2011 15:34:09 +0100, Peter Bex wrote: On Fri, Jan 28, 2011 at 11:27:26PM +0900, Daishi Kato wrote: Hi, I digged into the problem a little more and found something. In 4.6.0, this is somewhat working: #;24 ((sxpath //table/tr[td[a[contains(href,'amp;abc=123amp;')]]])

Re: [Chicken-users] Need help on sxpath/txpath

2011-01-28 Thread Peter Bex
On Sat, Jan 29, 2011 at 12:11:26AM +0900, Daishi Kato wrote: It probably is not a chicken-specific problem because the sxpath egg includes an unmodified copy of SSAX. Looked at: diff -rw release/3/sxml-tools/sxml-tools/ release/4/sxpath/trunk/sxml-tools/ but, I'm not sure is there's

Re: [Chicken-users] Need help on sxpath/txpath

2011-01-16 Thread Peter Bex
On Sun, Jan 16, 2011 at 03:49:41PM +0900, Daishi Kato wrote: Hi, I'm porting one of my projects from chicken-3.2.0 to chicken-4.6.0. (And thus found a bug in http-client.) It seems like the previous sxpath doesn't work on the new one. Could anybody help how I can fix this? The sxpath

Re: [Chicken-users] Need help on sxpath/txpath

2011-01-16 Thread Daishi Kato
Here you go. --daishi CHICKEN (c)2008-2010 The Chicken Team (c)2000-2007 Felix L. Winkelmann Version 4.6.0 linux-unix-gnu-x86 [ manyargs dload ptables ] compiled 2011-01-11 on spirits (Linux) #;1 (use sxpath htmlprag utils) ; loading /usr/local/chicken-4.6.0/lib/chicken/5/sxpath.import.so ... ;

[Chicken-users] Need help on sxpath/txpath

2011-01-15 Thread Daishi Kato
Hi, I'm porting one of my projects from chicken-3.2.0 to chicken-4.6.0. (And thus found a bug in http-client.) It seems like the previous sxpath doesn't work on the new one. Could anybody help how I can fix this? The sxpath worked on chicken-3.2.0 is something like the following: ((sxpath