Hi, I also tried the example today and got the same error. (used the saxonb9-0-0-4j package) However only jdk1.5 is available at my workstation - could the raise the problem?
Best Christian JIRA [EMAIL PROTECTED] wrote: > > Wing Yew Poon commented on XMLBEANS-383: > ---------------------------------------- > > I ran the sample using saxonb9-0-0-4j. It works fine for me. > When XMLBeans 2.4.0 was released, it was tested using the then-current > Saxon release, saxonb9-0-0-4j. > Can you try it with that release and see? > >> >> I try the example XQueryXPath with the following versions: >> XMLBeans 2.4.0 >> saxonb9-1-0-2j. >> I'm able to build the project ant build without any failueres. >> The tests however fails: >> unning ExecQuery.selectEmpsByStateCursor >> Exception in thread "main" java.lang.IllegalArgumentException: Sender can >> only handle document or element nodes >> at net.sf.saxon.event.Sender.send(Sender.java:174) >> ...... > > -- View this message in context: http://www.nabble.com/-jira--Created%3A-%28XMLBEANS-383%29-XQueryXPath-example-fails-to-run.-tp19915743p20159284.html Sent from the Xml Beans - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]