Wing Yew

I got the current svn check out and build from source to work. The binary download was running with the Saxon jars downloaded from http://prdownloads.sourceforge.net/saxon/saxonb8-6-1.zip?download as directed on the XMLBeans page: http://xmlbeans.apache.org/sourceAndBinaries/index.html. <http://xmlbeans.apache.org/sourceAndBinaries/index.html>

I copied the Saxon jars from the svn check out to the binary download and still got the same problem.

So:
   * svn co works
   * Binary download fails


Thanks
Tom


Wing Yew Poon wrote:
Tom,
what versions of XMLBeans and Saxon are you using?
and what saxon jars do you have on your classpath?
- Wing Yew

-----Original Message-----
From: Tom Purcell [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2008 9:24 AM
To: [email protected]
Subject: XQueryXPath Sample Error

Hello
I downloaded the binary and tried to run the XQueryXPath sample but got an error. So I did the svn co and built form source but I get the same error. I'm running on Linux (suse 10.2) with jdk5 (build 1.5.0_14-b03). Any thoughts? (output below)

Thanks
Tom

run:
     [echo] ============================== running XQueryXPath
     [java] Running ExecQuery.selectEmpsByStateCursor
     [java]
     [java] Exception in thread "main" java.lang.NoSuchFieldError:
current
[java] at net.sf.saxon.dom.NodeWrapper$ChildEnumeration.next(NodeWrapper.java:1150
)
[java] at net.sf.saxon.value.SingletonNode.getItemType(SingletonNode.java:72) [java] at net.sf.saxon.expr.TypeChecker.testConformance(TypeChecker.java:516) [java] at net.sf.saxon.instruct.Bindery.useGlobalParameter(Bindery.java:102) [java] at net.sf.saxon.instruct.GlobalParam.evaluateVariable(GlobalParam.java:37) [java] at net.sf.saxon.expr.VariableReference.evaluateVariable(VariableReference.j
ava:244)
[java] at net.sf.saxon.expr.VariableReference.iterate(VariableReference.java:217) [java] at net.sf.saxon.expr.ItemChecker.iterate(ItemChecker.java:114) [java] at net.sf.saxon.expr.PathExpression.iterate(PathExpression.java:742) [java] at net.sf.saxon.expr.PathExpression.iterate(PathExpression.java:742) [java] at net.sf.saxon.sort.DocumentSorter.iterate(DocumentSorter.java:66) [java] at net.sf.saxon.expr.ForExpression.iterate(ForExpression.java:514) [java] at net.sf.saxon.query.XQueryExpression.iterator(XQueryExpression.java:199) [java] at net.sf.saxon.query.XQueryExpression.evaluate(XQueryExpression.java:119) [java] at org.apache.xmlbeans.impl.xquery.saxon.XBeansXQuery.execQuery(XBeansXQuer
y.java:112)
[java] at org.apache.xmlbeans.impl.store.Query$SaxonQueryImpl$SaxonQueryEngine.cur
sorExecute(Query.java:345)
[java] at org.apache.xmlbeans.impl.store.Query$SaxonQueryImpl.cursorExecute(Query.
java:243)
[java] at org.apache.xmlbeans.impl.store.Query.cursorExecQuery(Query.java:48) [java] at org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1336) [java] at org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1331) [java] at org.apache.xmlbeans.impl.store.Cursor.execQuery(Cursor.java:3839) [java] at org.apache.xmlbeans.samples.xquery.ExecQuery.updateWorkPhone(ExecQuery.j
ava:74)
[java] at org.apache.xmlbeans.samples.xquery.XQueryXPath.executeQueries(XQueryXPat
h.java:75)
[java] at org.apache.xmlbeans.samples.xquery.XQueryXPath.main(XQueryXPath.java:54)
     [java] Java Result: 1


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Notice:  This email message, together with any attachments, may contain 
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
entities,  that may be confidential,  proprietary,  copyrighted  and/or legally 
privileged, and is intended solely for the use of the individual or entity 
named in this message. If you are not the intended recipient, and have received 
this message in error, please immediately return this by email and then delete 
it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to