commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Kesselman <>
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? 

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? 

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:   <>
For additional commands, e-mail: <>

View raw message