commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Kesselman <kesh...@us.ibm.com>
Subject Quick question/comment re JXPath
Date Mon, 02 Dec 2002 23:12:28 GMT
Question: Apologies if this is on the website, but I didn't see it if 
so... Is there a good summary of how the XPath axes are mapped in JXPath? 
Specifically:

a)  I know bean property equals child, but... is there a concept of 
Parent? Ancestor? Sibling? Or did you just declare that you're supporting 
only a subset of XPath without those axes?

b) You've got an example which uses //. Given that bean relationships may 
be arbitrary graphs rather than directed trees, how does JXPath prevent 
that from potentially becoming an infinite recursion? 
(a.getB().getC().getA().getB().getC()....)


Comment: Something odd is happening to styling of the JXPath pages; half 
the time, they're displaying with a dark blue background; some of the 
lettering shows up as white and some as black, with links in blue. The 
result is pretty near unreadable. The OTHER half the time, they show up 
with standard black-text-on-white-background. I haven't been able to find 
a reliable pattern, though entering the URI directly appears to be more 
likely to cause trouble than following a link from another page. 
Admittedly, I'm viewing the pages with Netscape 4.75, which probably 
doesn't have the most robust CSS engine in the world... but I haven't seen 
this effect before; you may want to look at the generated HTML and see if 
you can figure out what's provoking it.



______________________________________
Joe Kesselman  / IBM Research

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message