[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: [jira] Created: (XMLBEANS-383) XQueryXPath example fails to run.
From: "Dirk Joosen (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date: 2008-10-10 10:25:44
Message-ID: 1339257117.1223634344494.JavaMail.jira () brutus
[Download RAW message or body]
XQueryXPath example fails to run.
----------------------------------
Key: XMLBEANS-383
URL: https://issues.apache.org/jira/browse/XMLBEANS-383
Project: XMLBeans
Issue Type: Bug
Components: Samples
Affects Versions: Version 2.4
Environment: Mac osX 10.5
Reporter: Dirk Joosen
Fix For: Version 2.4
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)
at net.sf.saxon.event.Sender.send(Sender.java:50)
at net.sf.saxon.Configuration.buildDocument(Configuration.java:2973)
at org.apache.xmlbeans.impl.xquery.saxon.XBeansXQuery.execQuery(XBeansXQuery.java:83)
at org.apache.xmlbeans.impl.store.Query$DelegateQueryImpl$DelegateQueryEngine.cursorExecute(Query.java:384)
at org.apache.xmlbeans.impl.store.Query$DelegateQueryImpl.cursorExecute(Query.java:282)
at org.apache.xmlbeans.impl.store.Query.cursorExecQuery(Query.java:80)
at org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1336)
at org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1331)
at org.apache.xmlbeans.impl.store.Cursor.execQuery(Cursor.java:3839)
at org.apache.xmlbeans.samples.xquery.ExecQuery.updateWorkPhone(ExecQuery.java:75)
at org.apache.xmlbeans.samples.xquery.XQueryXPath.executeQueries(XQueryXPath.java:75)
at org.apache.xmlbeans.samples.xquery.XQueryXPathTest.main(XQueryXPathTest.java:29)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic