You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by "Bagepalli, Kiran" <kb...@informatica.com> on 2004/08/23 23:11:17 UTC

XPath syntax

I have a question regarding validity of the XPath.
If I have a predicate [A=] Xalan says it is valid(even without a RHS
after the =). If I evaluate it evaluates to true.

Can somebody shed some light on this. Should this not say this
expression is invalid?

Thanks
Kiran


Re: XPath syntax

Posted by da...@us.ibm.com.
Hi Kiran,

Yes, it should report an invalid expression.  There are some known 
limitations in the XPath parser, and this is one of them.

Please feel free to file a bug report.

Thanks!

Dave





"Bagepalli, Kiran" <kb...@informatica.com>
08/23/2004 02:11 PM
Please respond to xalan-c-users
 
        To:     <xa...@xml.apache.org>
        cc:     (bcc: David N Bertoni/Cambridge/IBM)
        Subject:        XPath syntax

I have a question regarding validity of the XPath.
If I have a predicate [A=] Xalan says it is valid(even without a RHS
after the =). If I evaluate it evaluates to true.

Can somebody shed some light on this. Should this not say this
expression is invalid?

Thanks
Kiran