Joe Hocker Verizon Call Center Services Mobile: +1 (773) 306-9137 Home Office: +1 (773) 384-3029 Work Email: [EMAIL PROTECTED] Personal Email: [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 10:02 PM To: [EMAIL PROTECTED] Subject: dom4j-user digest, Vol 1 #583 - 4 msgs Send dom4j-user mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/dom4j-user or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of dom4j-user digest..." Today's Topics: 1. Major bug (David Thielen) 2. Writing some additions to dom4j (David Thielen) 3. RE: [dom4j-dev] Major bug (David Hooker) 4. RE: [dom4j-dev] Major bug (david ) --__--__-- Message: 1 From: "David Thielen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Date: Tue, 9 Dec 2003 21:46:51 -0700 Subject: [dom4j-user] Major bug This is a multi-part message in MIME format. ------=_NextPart_000_004F_01C3BE9D.F41007A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi; If I call Node.selectNodes("select * from demo where demoId =3D 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. ------=_NextPart_000_004F_01C3BE9D.F41007A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi;</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>If I call Node.selectNodes("select * = from demo=20 where demoId =3D 6"), it will return an iterator the returns true for = hasNext().=20 But when you call next() it throws an exception.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Any idea how to test for = this?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>thanks - dave</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>ps - I know this is sql and not xpath - = but I have=20 a program where I can get both sql and xml so I try the xml first and if = it=20 fails I try the sql.</FONT></DIV></BODY></HTML> ------=_NextPart_000_004F_01C3BE9D.F41007A0-- --__--__-- Message: 2 From: "David Thielen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Date: Tue, 9 Dec 2003 21:46:49 -0700 Subject: [dom4j-user] Writing some additions to dom4j This is a multi-part message in MIME format. ------=_NextPart_000_004B_01C3BE9D.F328DBF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi; I really need to additions to dom4j (what the file encoding is and does = a node exist). If I write these is there someone who knows dom4j well = enough who can check them and bless them for a new build? thanks - dave ------=_NextPart_000_004B_01C3BE9D.F328DBF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2> <DIV> <DIV><FONT face=3DArial size=3D2>Hi;</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I really need to additions to dom4j = (what the file=20 encoding is and does a node exist). If I write these is there someone = who knows=20 dom4j well enough who can check them and bless them for a new=20 build?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>thanks -=20 dave</FONT></DIV></DIV></FONT></DIV></BODY></HTML> ------=_NextPart_000_004B_01C3BE9D.F328DBF0-- --__--__-- Message: 3 Date: Wed, 10 Dec 2003 09:42:51 -0600 From: "David Hooker" <[EMAIL PROTECTED]> To: "David Thielen" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Subject: [dom4j-user] RE: [dom4j-dev] Major bug This is a multi-part message in MIME format. ------_=_NextPart_001_01C3BF34.46FC0F1C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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; =20 If I call Node.selectNodes("select * from demo where demoId =3D 6"), it will return an iterator the returns true for hasNext(). But when you call next() it throws an exception. =20 Any idea how to test for this? =20 thanks - dave =20 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. ------_=_NextPart_001_01C3BF34.46FC0F1C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <TITLE>Message</TITLE> <META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><SPAN class=3D322084215-10122003><FONT face=3DArial color=3D#0000ff = size=3D2>I'm=20 confused. I thought that selectNodes <STRONG>only</STRONG> accepts = XPath.</FONT></SPAN></DIV> <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px"> <DIV></DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr = align=3Dleft><FONT=20 face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20 [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] <B>On Behalf Of = </B>David=20 Thielen<BR><B>Sent:</B> Tuesday, December 09, 2003 10:47 = PM<BR><B>To:</B>=20 [EMAIL PROTECTED];=20 [EMAIL PROTECTED]<BR><B>Subject:</B> [dom4j-dev] Major=20 bug<BR><BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>Hi;</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>If I call Node.selectNodes("select * = from demo=20 where demoId =3D 6"), it will return an iterator the returns true for = hasNext().=20 But when you call next() it throws an exception.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Any idea how to test for = this?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>thanks - dave</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>ps - I know this is sql and not xpath = - but I=20 have a program where I can get both sql and xml so I try the xml first = and if=20 it fails I try the sql.</FONT></DIV></BLOCKQUOTE></BODY></HTML> ------_=_NextPart_001_01C3BF34.46FC0F1C-- --__--__-- Message: 4 Date: Wed, 10 Dec 2003 12:01:23 -0700 From: "david " <[EMAIL PROTECTED]> Reply-To: <[EMAIL PROTECTED]> To: "David Thielen" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, "David Hooker" <[EMAIL PROTECTED]> Subject: [dom4j-user] RE: [dom4j-dev] Major bug I thought so to. But selectNodes() will return an iterator when given a select, the iterator will return true for hasNext(), but it throws an exception on the first call to next(). - dave ---------- Original Message ---------------------------------- From: "David Hooker" <[EMAIL PROTECTED]> Date: Wed, 10 Dec 2003 09:42:51 -0600 >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. > > > --__--__-- _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user End of dom4j-user Digest ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user