Yes, that was it.  Thank you very much.

Malia

-----Original Message-----
From: Pavani Mukthipudi [mailto:[EMAIL PROTECTED]
Sent: Monday, May 20, 2002 11:14 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Programmer's assertion error



> I get this error when I try to use XPathAPI.getNodeIterator method:
> 
> java.lang.RuntimeException: Programmer's assertion in getNextStepPos:
> unknown stepType: -1
> 
> The code snippet is:
> 
>           NodeIterator ni = XPathAPI.selectNodeIterator(root,
> "//xsl:[EMAIL PROTECTED] =='"+ xp +"']");     
> 

It could because of the '=='. It's not a valid XPath expression.
It should be "//xsl:[EMAIL PROTECTED] ='"+ xp +"']"

-Pavani

-- 

Pavani Mukthipudi
Sun Microsystems, Inc.

Phone: 91-80-2298989/87390

Reply via email to