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 mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
