<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=662270511-08032005><FONT face=Arial
color=#0000ff size=2>I think older releases of Jaxen were very buggy, it's nice
to know the bugs are being fixed.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=662270511-08032005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=662270511-08032005><FONT face=Arial
color=#0000ff size=2>Michael Kay</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=662270511-08032005><FONT face=Arial
color=#0000ff size=2>http://www.saxonica.com/</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Vikas Mane [mailto:vikas@kenati.com]
<BR><B>Sent:</B> 08 March 2005 11:02<BR><B>To:</B> Michael Kay<BR><B>Cc:</B>
jdom-interest@jdom.org<BR><B>Subject:</B> RE: [jdom-interest] getting ,Invalid
XPath expression after UsingJDOM1 ..???<BR></FONT><BR></DIV>
<DIV></DIV>Hi <BR>ThanQ michael for immediate reply :- )<BR>I got ur point ...
but what i wonder is , how it works with the older version of jdom and jaxen
jars.<BR><BR>The o/p expected from xpath is getting all matching NPModule
Elements at any level. <BR><BR>".//NPModule" works for me ..but still i don't
understand reason for the failure of xpath which works with older jar
files.<BR><BR>Thanks <BR>Vik@s <BR><BR><BR>On Tue, 2005-03-08 at 15:28,
Michael Kay wrote:
<BLOCKQUOTE TYPE="CITE"><FONT size=2><I>That's not a valid XPath expression.
"child::" must be followed by a NodeTest. I can't suggest a correction
because I've no idea what the writer of this expression thought it might
mean. Perhaps just child::NPModule - people often seem to throw in a
"//" as magic pixie-dust when they don't know what they're
doing.</FONT><BR><FONT color=#737373 size=3> </FONT><BR><FONT
size=2>Michael Kay<BR><A
href="http://www.saxonica.com/">http://www.saxonica.com/</FONT></A>
<BLOCKQUOTE>
<HR>
<FONT color=#737373 size=2><B>From:</B> jdom-interest-bounces@jdom.org
[mailto:jdom-interest-bounces@jdom.org] <B>On Behalf Of </B>Vikas
Mane<BR><B>Sent:</B> 08 March 2005 08:51<BR><B>To:</B>
jdom-interest@jdom.org<BR><B>Subject:</B> [jdom-interest] getting ,Invalid
XPath expression after Using JDOM1 ..???</FONT><BR><FONT color=#737373
size=3><BR><BR>hi all ,<BR><BR>i have upgraded to JDOM1 but the xpath
which used to run properly is giving exceptions after upgrading to
JDOM1<BR><BR>this is the xpath i'm using ..<BR><BR>"child:://NPModule [
@name='test' and @parent = 'test1']<BR><BR>I get following
exception<BR>org.jdom.JDOMException: Invalid XPath expression:
"child:://NPModule [ @name='config' and @parent = 'kcli']": Expected
<QName> or *<BR><BR>What is the reason?<BR><BR>can any buddy
suggest/reason solution for the same
?<BR><BR>Thanks<BR>Vikas<BR></I></FONT><BR>
<BLOCKQUOTE TYPE="CITE"><PRE><TABLE cellSpacing=0 cellPadding=0 width="100%"><TBODY><TR></TR><TR></TR><TR><TD>-- <BR>Vikas Mane<BR>Kenati Technologies </TD></TR></TBODY></TABLE>
</PRE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE><PRE><TABLE cellSpacing=0 cellPadding=0 width="100%"><TBODY><TR><TD>-- <BR>Vikas Mane <<A href="mailto:vikas@kenati.com">vikas@kenati.com</A>><BR>Kenati Technologies </TD></TR></TBODY></TABLE>
</PRE></BLOCKQUOTE></BODY></HTML>