Title: Message
I'm confused.  I thought that selectNodes only accepts XPath.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Thielen
Sent: Tuesday, December 09, 2003 10:47 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [dom4j-dev] Major bug

Hi;
 
If I call Node.selectNodes("select * from demo where demoId = 6"), it will return an iterator the returns true for hasNext(). But when you call next() it throws an exception.
 
Any idea how to test for this?
 
thanks - dave
 
ps - I know this is sql and not xpath - but I have a program where I can get both sql and xml so I try the xml first and if it fails I try the sql.

Reply via email to