[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Need help on sxpath/txpath
From: |
Daishi Kato |
Subject: |
Re: [Chicken-users] Need help on sxpath/txpath |
Date: |
Sat, 29 Jan 2011 00:11:26 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) Emacs/21.4 Mule/5.0 (SAKAKI) |
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,'&abc=123&')]]]")
> > (html->sxml "<html><table><tr><td><a
> > href=\"/xxx/yyy/?zzz&abc=123&\">yyy</a></td><tr></table></html>"))
> > ((tr (td (a (@ (href "/xxx/yyy/?zzz&abc=123&")) "yyy"))))
> >
> > So, I replaced @href with href.
> > Is it correct? Maybe not.
> > I assume the sxpath egg is incorrect.
> >
> > Can anybody tell if this is a chicken-specific problem, or
> > of sxml-tools at sourceforge?
>
> 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 such a big difference.
Furthermode, it's hardly understandable that the newer version is incorrect.
I don't know what to do... Confirm if it's really a bug against XPath spec?
Best,
Daishi
- [Chicken-users] Need help on sxpath/txpath, Daishi Kato, 2011/01/16
- Re: [Chicken-users] Need help on sxpath/txpath, Peter Bex, 2011/01/16
- Re: [Chicken-users] Need help on sxpath/txpath, Daishi Kato, 2011/01/16
- Re: [Chicken-users] Need help on sxpath/txpath, Daishi Kato, 2011/01/28
- Re: [Chicken-users] Need help on sxpath/txpath, Peter Bex, 2011/01/28
- Re: [Chicken-users] Need help on sxpath/txpath,
Daishi Kato <=
- Re: [Chicken-users] Need help on sxpath/txpath, Peter Bex, 2011/01/28
- Re: [Chicken-users] Need help on sxpath/txpath, Daishi Kato, 2011/01/29
- Re: [Chicken-users] Need help on sxpath/txpath, Peter Bex, 2011/01/29
- Re: [Chicken-users] Need help on sxpath/txpath, Daishi Kato, 2011/01/29
- Re: [Chicken-users] Need help on sxpath/txpath, Alan Post, 2011/01/29