From userkimberly77@example.net Wed Apr 02 16:22:37 2008 Return-Path: <userkimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 95394 invoked from network); 2 Apr 2008 16:22:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 16:22:37 -0000 Received: (qmail 44285 invoked by uid 500); 2 Apr 2008 16:22:05 -0000 Delivered-To: kimberly77@example.net Received: (qmail 44263 invoked by uid 500); 2 Apr 2008 16:22:05 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:kimberly77@example.net> List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> Reply-To: kimberly77@example.net List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list kimberly77@example.net Received: (qmail 44248 invoked by uid 99); 2 Apr 2008 16:22:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 09:22:05 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO an-out-0708.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 16:21:23 +0000 Received: by an-out-0708.google.com with SMTP id d23so705688and.56 for <kimberly77@example.net>; Wed, 02 Apr 2008 09:21:35 -0700 (PDT) Received: by 83.161.120.155 with SMTP id z17mr23019895anh.79.1207153294914; Wed, 02 Apr 2008 09:21:34 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.google.com with ESMTPS id 34sm2266838agc.32.283.161.120.155.21.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Apr 2008 09:21:33 -0700 (PDT) Message-ID: <kimberly77@example.net> Date: Wed, 02 Apr 2008 12:23:46 -0400 From: Tom Purcell <kimberly77@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20070728) MIME-Version: 1.0 To: kimberly77@example.net Subject: XQueryXPath Sample Error Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.java: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(XBeansXQuery.java:112) [java] at org.apache.xmlbeans.impl.store.Query$SaxonQueryImpl$SaxonQueryEngine.cursorExecute(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.java:74) [java] at org.apache.xmlbeans.samples.xquery.XQueryXPath.executeQueries(XQueryXPath.java:75) [java] at org.apache.xmlbeans.samples.xquery.XQueryXPath.main(XQueryXPath.java:54) [java] Java Result: 1 --------------------------------------------------------------------- To unsubscribe, e-mail: kimberly77@example.net For additional commands, e-mail: kimberly77@example.net From userkimberly77@example.net Wed Apr 02 18:00:54 2008 Return-Path: <userkimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 64981 invoked from network); 2 Apr 2008 18:00:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 18:00:53 -0000 Received: (qmail 96926 invoked by uid 500); 2 Apr 2008 18:00:52 -0000 Delivered-To: kimberly77@example.net Received: (qmail 96903 invoked by uid 500); 2 Apr 2008 18:00:52 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:kimberly77@example.net> List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> Reply-To: kimberly77@example.net List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list kimberly77@example.net Received: (qmail 96888 invoked by uid 99); 2 Apr 2008 18:00:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 11:00:52 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO repmmg02.bea.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 18:00:01 +0000 Received: from repmmr02.bea.com (repmmr02.bea.com [83.161.120.155]) by repmmg02.bea.com (Switch-3.3.0/Switch-3.2.7) with ESMTP id m32I0K4o032254 for <kimberly77@example.net>; Wed, 2 Apr 2008 11:00:20 -0700 Received: from repbex01.amer.bea.com (repbex01.bea.com [83.161.120.155]) by repmmr02.bea.com (Switch-3.3.0/Switch-3.2.7) with ESMTP id m32I0I35020356 for <kimberly77@example.net>; Wed, 2 Apr 2008 11:00:19 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: RE: XQueryXPath Sample Error Date: Wed, 2 Apr 2008 11:00:18 -0700 Message-ID: <kimberly77@example.net> In-Reply-To: <kimberly77@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: XQueryXPath Sample Error Thread-Index: AciU3cPCPjyq4tK/RpyFAR5krlktzAADXI2Q References: <kimberly77@example.net> From: "Wing Yew Poon" <kimberly77@example.net> To: <kimberly77@example.net> x-BEA-PMX-Instructions: AV x-BEA-MM: Internal-To-External X-Virus-Checked: Checked by ClamAV on apache.org 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:kimberly77@example.net] Sent: Wednesday, April 02, 2008 9:24 AM To: kimberly77@example.net 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: kimberly77@example.net For additional commands, e-mail: kimberly77@example.net 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: kimberly77@example.net For additional commands, e-mail: kimberly77@example.net From userkimberly77@example.net Wed Apr 02 18:49:59 2008 Return-Path: <userkimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 91220 invoked from network); 2 Apr 2008 18:49:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 18:49:59 -0000 Received: (qmail 96250 invoked by uid 500); 2 Apr 2008 18:49:56 -0000 Delivered-To: kimberly77@example.net Received: (qmail 96226 invoked by uid 500); 2 Apr 2008 18:49:56 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:kimberly77@example.net> List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> Reply-To: kimberly77@example.net List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list kimberly77@example.net Received: (qmail 96195 invoked by uid 99); 2 Apr 2008 18:49:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 11:49:56 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO an-out-0708.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 18:49:14 +0000 Received: by an-out-0708.google.com with SMTP id d23so720598and.56 for <kimberly77@example.net>; Wed, 02 Apr 2008 11:49:20 -0700 (PDT) Received: by 83.161.120.155 with SMTP id 11mr23458749anj.10.1207162159936; Wed, 02 Apr 2008 11:49:19 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.google.com with ESMTPS id 36sm2528478agc.9.283.161.120.155.49.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Apr 2008 11:49:18 -0700 (PDT) Message-ID: <kimberly77@example.net> Date: Wed, 02 Apr 2008 14:51:31 -0400 From: Tom Purcell <kimberly77@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20070728) MIME-Version: 1.0 To: kimberly77@example.net Subject: Re: XQueryXPath Sample Error References: <kimberly77@example.net> <kimberly77@example.net> In-Reply-To: <kimberly77@example.net> Content-Type: multipart/alternative; boundary="------------090806070508000202000201" X-Virus-Checked: Checked by ClamAV on apache.org --------------090806070508000202000201 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:kimberly77@example.net] > Sent: Wednesday, April 02, 2008 9:24 AM > To: kimberly77@example.net > 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: kimberly77@example.net > For additional commands, e-mail: kimberly77@example.net > > > 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: kimberly77@example.net > For additional commands, e-mail: kimberly77@example.net > > > --------------090806070508000202000201 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Wing Yew<br> <br> I got the current svn check out and build from source to work. The binary download was running with the Saxon jars downloaded from <a href="http://prdownloads.sourceforge.net/saxon/saxonb8-6-1.zip?download">http://prdownloads.sourceforge.net/saxon/saxonb8-6-1.zip?download</a> as directed on the XMLBeans page: <a href="http://xmlbeans.apache.org/sourceAndBinaries/index.html">http://xmlbeans.apache.org/sourceAndBinaries/index.html.</a><br> <br> I copied the Saxon jars from the svn check out to the binary download and still got the same problem. <br> <br> So:&nbsp;&nbsp; <br> <ul> <li>svn co works</li> <li>Binary download fails<br> </li> </ul> <br> Thanks<br> Tom<br> &nbsp;<br> <br> Wing Yew Poon wrote: <blockquote cite="mid:kimberly77@example.net" type="cite"> <pre wrap="">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 [<a class="moz-txt-link-freetext" href="mailto:kimberly77@example.net">mailto:kimberly77@example.net</a>] Sent: Wednesday, April 02, 2008 9:24 AM To: <a class="moz-txt-link-abbreviated" href="mailto:kimberly77@example.net">kimberly77@example.net</a> 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: <a class="moz-txt-link-abbreviated" href="mailto:kimberly77@example.net">kimberly77@example.net</a> For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:kimberly77@example.net">kimberly77@example.net</a> 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: <a class="moz-txt-link-abbreviated" href="mailto:kimberly77@example.net">kimberly77@example.net</a> For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:kimberly77@example.net">kimberly77@example.net</a> </pre> </blockquote> </body> </html> --------------090806070508000202000201-- From userkimberly77@example.net Wed Apr 02 19:44:28 2008 Return-Path: <userkimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 21797 invoked from network); 2 Apr 2008 19:44:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 19:44:28 -0000 Received: (qmail 96115 invoked by uid 500); 2 Apr 2008 19:44:24 -0000 Delivered-To: kimberly77@example.net Received: (qmail 96107 invoked by uid 500); 2 Apr 2008 19:44:24 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:kimberly77@example.net> List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> Reply-To: kimberly77@example.net List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list kimberly77@example.net Received: (qmail 96096 invoked by uid 99); 2 Apr 2008 19:44:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 12:44:24 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO SYSSDEX.syys.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 19:43:33 +0000 Received: from syssrex.syys.com ([83.161.120.155]) by SYSSDEX.syys.com with Microsoft SMTPSVC2397770910); Wed, 2 Apr 2008 12:43:59 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C894F9.E4D28884" Subject: Factory.parse(string) errror Date: Wed, 2 Apr 2008 12:43:58 -0700 Message-ID: <kimberly77@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Factory.parse(string) errror Thread-Index: AciU+d/TjsIl1GRxTY2r//K2efjb4A== From: "Vo, Khanh" <kimberly77@example.net> To: <kimberly77@example.net> X-OriginalArrivalTime: 02 Apr 2008 19:43:59.0629 (UTC) FILETIME=[E562E3D0:01C894F9] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C894F9.E4D28884 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, =20 I've trying to execute Document.Factory.parse(string) and am getting the following errors. I'm new to XMLBeans. I ran: scomp -out workflow.jar -src . dynamicworkflow2.xsd and generated the java source. =20 Exception in thread "main" kimberly77@example.net$Factory.parse(WorkflowDocument.java:109) at com.syys.harps.action.TestXPDL.XPDL(TestXPDL.java:55) at com.syys.harps.action.TestXPDL.main(TestXPDL.java:78) Caused by: java.lang.RuntimeException: Cannot load SchemaTypeSystem. Unable to load class with name schemaorg_apache_xmlbeans.system.s6795CA4E2209DBFFCE06966196DB34BD.TypeS ystemHolder. Make sure the generated binary files are on the classpath. at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:783) at noNamespace.WorkflowDocument.<clinit>(WorkflowDocument.java:19) ... 3 more Caused by: java.lang.ClassNotFoundException: schemaorg_apache_xmlbeans.system.s6795CA4E2209DBFFCE06966196DB34BD.TypeS kimberly77@example.net$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:769) ... 4 more =20 Thanks for the help Khanh ------_=_NextPart_001_01C894F9.E4D28884 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DProgId content=3DWord.Document> <meta name=3DGenerator content=3D"Microsoft Word 10"> <meta name=3DOriginator content=3D"Microsoft Word 10"> <link rel=3DFile-List href=3D"cid:kimberly77@example.net"> <!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:DoNotRelyOnCSS/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:SpellingState>Clean</w:SpellingState> <w:GrammarState>Clean</w:GrammarState> <w:DocumentKind>DocumentEmail</w:DocumentKind> <w:EnvelopeVis/> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline; text-underline:single;} span.EmailStyle17 {mso-style-type:personal-compose; mso-style-noshow:yes; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; font-family:Arial; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:Arial; color:windowtext;} span.SpellE {mso-style-name:""; mso-spl-e:yes;} span.GramE {mso-style-name:""; mso-gram-e:yes;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 10]> <style> /* Style Definitions */=20 table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman";} </style> <![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple = style=3D'tab-interval:.5in'> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hello,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>I&#8217;ve trying to <span class=3DGramE>execute<span style=3D'mso-spacerun:yes'>&nbsp; </span><span = class=3DSpellE>Document.Factory.parse</span></span>(string) and am getting the following errors.<span = style=3D'mso-spacerun:yes'>&nbsp; </span>I&#8217;m new to <span class=3DSpellE>XMLBeans</span>.<span style=3D'mso-spacerun:yes'>&nbsp; </span>I ran: <span = class=3DSpellE>scomp</span> -out <span class=3DSpellE>workflow.jar</span> -<span = class=3DSpellE><span class=3DGramE>src</span></span><span class=3DGramE> .</span> <span = class=3DGramE>dynamicworkflow2.xsd</span> and generated the java source.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>Exception in thread &quot;main&quot; <span = class=3DSpellE>java.lang.ExceptionInInitializerError</span><o:p></o:p></s= pan></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><span class=3DGramE>at</span> <span = class=3DSpellE>noNamespace.WorkflowDocument$Factory.parse</span>(Workflow= Document.java:109)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><span class=3DGramE>at</span> <span = class=3DSpellE>com.syys.harps.action.TestXPDL.XPDL</span>(TestXPDL.java:5= 5)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><span class=3DGramE>at</span> <span = class=3DSpellE>com.syys.harps.action.TestXPDL.main</span>(TestXPDL.java:7= 8)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>Caused by: <span = class=3DSpellE>java.lang.RuntimeException</span>: Cannot load <span class=3DSpellE>SchemaTypeSystem</span>. <span = class=3DGramE>Unable to load class with name = schemaorg_apache_xmlbeans.system.s6795CA4E2209DBFFCE06966196DB34BD.TypeSy= stemHolder.</span> Make sure the generated binary files are on the <span = class=3DSpellE>classpath</span>.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><span class=3DGramE>at</span> <span = class=3DSpellE>org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader</spa= n>(XmlBeans.java:783)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><span class=3DGramE>at</span> <span = class=3DSpellE>noNamespace.WorkflowDocument</span>.&lt;<span class=3DSpellE>clinit</span>&gt;(WorkflowDocument.java:19)<o:p></o:p></sp= an></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>... 3 more<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>Caused by: <span = class=3DSpellE>java.lang.ClassNotFoundException</span>: schemaorg_apache_xmlbeans.system.s6795CA4E2209DBFFCE06966196DB34BD.TypeSy= stemHolder<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><span class=3DGramE>at</span> = java.net.URLClassLoader$1.run(URLClassLoader.java:200)<o:p></o:p></span><= /font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><span = style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style=3D'mso-spacerun:yes'>&nbsp;</span><span = class=3DGramE>at</span> <span class=3DSpellE>java.security.AccessController.doPrivileged</span>(Native = Method)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><span class=3DGramE>at</span> <span = class=3DSpellE>java.net.URLClassLoader.findClass</span>(URLClassLoader.ja= va:188)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><span class=3DGramE>at</span> <span = class=3DSpellE>java.lang.ClassLoader.loadClass</span>(ClassLoader.java:30= 6)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><span class=3DGramE>at</span> <span = class=3DSpellE>sun.misc.Launcher$AppClassLoader.loadClass</span>(Launcher= .java:268)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><span class=3DGramE>at</span> <span = class=3DSpellE>java.lang.ClassLoader.loadClass</span>(ClassLoader.java:25= 1)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><span class=3DGramE>at</span> <span = class=3DSpellE>org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader</spa= n>(XmlBeans.java:769)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>... 4 more<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>Thanks for the help<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>Khanh<o:p></o:p></span></font></p> </div> </body> </html> =00 ------_=_NextPart_001_01C894F9.E4D28884-- From userkimberly77@example.net Wed Apr 02 19:59:34 2008 Return-Path: <userkimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 31807 invoked from network); 2 Apr 2008 19:59:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 19:59:33 -0000 Received: (qmail 13120 invoked by uid 500); 2 Apr 2008 19:59:33 -0000 Delivered-To: kimberly77@example.net Received: (qmail 12763 invoked by uid 500); 2 Apr 2008 19:59:33 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:kimberly77@example.net> List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> Reply-To: kimberly77@example.net List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list kimberly77@example.net Received: (qmail 12751 invoked by uid 99); 2 Apr 2008 19:59:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 12:59:33 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO edm-goa-exch-0.gov.ab.ca) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 19:58:41 +0000 Received: from goamail.gov.ab.ca ([83.161.120.155]) by edm-goa-exch-0.gov.ab.ca with Microsoft SMTPSVC2397770910); Wed, 2 Apr 2008 13:58:58 -0600 Received: from ahwfc02.fujitsu.health.gov.ab.ca ([83.161.120.155]) by goamail.gov.ab.ca with Microsoft SMTPSVC2397770910); Wed, 2 Apr 2008 13:58:58 -0600 Content-class: urn:content-classes:message Subject: RE: Factory.parse(string) errror MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C894FB.FCE6811A" Date: Wed, 2 Apr 2008 13:58:48 -0600 Message-ID: <kimberly77@example.net> X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: <kimberly77@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Factory.parse(string) errror Thread-Index: AciU+d/TjsIl1GRxTY2r//K2efjb4AAAbnIg From: "Clarance Howatt" <kimberly77@example.net> To: <kimberly77@example.net> X-OriginalArrivalTime: 02 Apr 2008 19:58:58.0072 (UTC) FILETIME=[FCE66980:01C894FB] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C894FB.FCE6811A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am assuming that you have aready checked to ensure that the generated class is in the jar and that this jar is on you classpath. =20 I think you might be missing the generated xsb files. Make sure that the directory schemaorg_apache_xmlbeans is in your jar file and that it contains these xsb files. =20 C. =20 ________________________________ From: Vo, Khanh [mailto:kimberly77@example.net]=20 Sent: Wednesday, April 02, 2008 1:44 PM To: kimberly77@example.net Subject: Factory.parse(string) errror =20 Hello, =20 I've trying to execute Document.Factory.parse(string) and am getting the following errors. I'm new to XMLBeans. I ran: scomp -out workflow.jar -src . dynamicworkflow2.xsd and generated the java source. =20 Exception in thread "main" kimberly77@example.net$Factory.parse(WorkflowDocument.java:109) at com.syys.harps.action.TestXPDL.XPDL(TestXPDL.java:55) at com.syys.harps.action.TestXPDL.main(TestXPDL.java:78) Caused by: java.lang.RuntimeException: Cannot load SchemaTypeSystem. Unable to load class with name schemaorg_apache_xmlbeans.system.s6795CA4E2209DBFFCE06966196DB34BD.TypeS ystemHolder. Make sure the generated binary files are on the classpath. at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:783) at noNamespace.WorkflowDocument.<clinit>(WorkflowDocument.java:19) ... 3 more Caused by: java.lang.ClassNotFoundException: schemaorg_apache_xmlbeans.system.s6795CA4E2209DBFFCE06966196DB34BD.TypeS kimberly77@example.net$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:769) ... 4 more =20 Thanks for the help Khanh ------_=_NextPart_001_01C894FB.FCE6811A Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:Arial; color:windowtext;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>I am assuming that you have aready = checked to ensure that the generated class is in the jar and that this jar is on = you classpath.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>I think you might be missing the = generated &nbsp;xsb files. &nbsp;Make sure that the directory = schemaorg_apache_xmlbeans is in your jar file and that it contains these xsb = files.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>C.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1> </span></font></div> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font = size=3D2 face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Vo, = Khanh [mailto:kimberly77@example.net] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, April = 02, 2008 1:44 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> = kimberly77@example.net<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> = Factory.parse(string) errror</span></font><o:p></o:p></p> </div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hello,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>I&#8217;ve trying to execute&nbsp; = Document.Factory.parse(string) and am getting the following errors.&nbsp; I&#8217;m new to XMLBeans.&nbsp; I = ran: scomp -out workflow.jar -src . dynamicworkflow2.xsd and generated the java = source.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>Exception in thread &quot;main&quot; = java.lang.ExceptionInInitializerError<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at noNamespace.WorkflowDocument$Factory.parse(WorkflowDocument.java:109)<o:p= ></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at = com.syys.harps.action.TestXPDL.XPDL(TestXPDL.java:55)<o:p></o:p></span></= font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at = com.syys.harps.action.TestXPDL.main(TestXPDL.java:78)<o:p></o:p></span></= font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>Caused by: java.lang.RuntimeException: Cannot load = SchemaTypeSystem. Unable to load class with name schemaorg_apache_xmlbeans.system.s6795CA4E2209DBFFCE06966196DB34BD.TypeSy= stemHolder. Make sure the generated binary files are on the = classpath.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at = org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:783)<= o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at noNamespace.WorkflowDocument.&lt;clinit&gt;(WorkflowDocument.java:19)<o:p= ></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... 3 = more<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>Caused by: java.lang.ClassNotFoundException: schemaorg_apache_xmlbeans.system.s6795CA4E2209DBFFCE06966196DB34BD.TypeSy= stemHolder<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at = java.net.URLClassLoader$1.run(URLClassLoader.java:200)<o:p></o:p></span><= /font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at = java.security.AccessController.doPrivileged(Native = Method)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at = java.net.URLClassLoader.findClass(URLClassLoader.java:188)<o:p></o:p></sp= an></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at = java.lang.ClassLoader.loadClass(ClassLoader.java:306)<o:p></o:p></span></= font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)<o:p></o:p><= /span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at = java.lang.ClassLoader.loadClass(ClassLoader.java:251)<o:p></o:p></span></= font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:769)<= o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... 4 = more<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>Thanks for the help<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>Khanh<o:p></o:p></span></font></p> </div> </body> </html> ------_=_NextPart_001_01C894FB.FCE6811A-- From userkimberly77@example.net Wed Apr 02 20:56:02 2008 Return-Path: <userkimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 67721 invoked from network); 2 Apr 2008 20:56:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 20:56:01 -0000 Received: (qmail 23369 invoked by uid 500); 2 Apr 2008 20:56:01 -0000 Delivered-To: kimberly77@example.net Received: (qmail 23348 invoked by uid 500); 2 Apr 2008 20:56:01 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:kimberly77@example.net> List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> Reply-To: kimberly77@example.net List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list kimberly77@example.net Received: (qmail 23337 invoked by uid 99); 2 Apr 2008 20:56:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 13:56:01 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO smtpoutm.mac.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 20:55:18 +0000 Received: from mac.com (asmtp006-s [83.161.120.155]) by smtpoutm.mac.com (Xserve/smtpout013/MantshX 4.0) with ESMTP id m32KtUdc020183 for <kimberly77@example.net>; Wed, 2 Apr 2008 13:55:30 -0700 (PDT) Received: from [83.161.120.155] ([83.161.120.155]) (authenticated bits=0) by mac.com (Xserve/asmtp006/MantshX 4.0) with ESMTP id m32KtKI3026455 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for <kimberly77@example.net>; Wed, 2 Apr 2008 13:55:21 -0700 (PDT) Message-Id: <kimberly77@example.net> From: Steven Crosley <kimberly77@example.net> To: kimberly77@example.net Content-Type: multipart/alternative; boundary=Apple-Mail-344--918230446 Mime-Version: 1.0 (Apple Message framework v919.2) Subject: How do I set a string element of a type object? Date: Wed, 2 Apr 2008 15:55:19 -0500 X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-344--918230446 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi, I'm trying to set an element value that is a complex type, but I had to add an attribute to the element so I can no longer call it like this: book.setTitle(rs.getString("title")); I now get this message: The method setTitle(TitleType) in the type Book is not applicable for the arguments (String) So, how do I convert the String to the TitleType object? My XSD looks something like this: <xs:element type="tns:titleType" name="title"/> <xs:complexType name="titleType"> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute type="xs:boolean" name="lost"/> </xs:extension> </xs:simpleContent> </xs:complexType> Thanks, Steven --Apple-Mail-344--918230446 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable <html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; "><font class=3D"Apple-style-span" = face=3D"Arial">Hi,</font><div><font class=3D"Apple-style-span" = face=3D"Arial"><br></font></div><div><font class=3D"Apple-style-span" = face=3D"Arial">I'm trying to set an element value that is a complex = type, but I had to add an attribute to the element so I can no longer = call it like this:</font></div><div><font class=3D"Apple-style-span" = face=3D"Arial"><br></font></div><div><div style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal = normal normal 11px/normal Monaco; "><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: = 12px;">book.setTitle(rs.getString(</span></font><span style=3D"color: = #2a00ff"><font class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: = 12px;">"title"</span></font></span><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 12px;">));</span></font></div><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: = 12px;"><br></span></font></div><div style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal = normal normal 11px/normal Monaco; "><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 12px;">I now get this = message:</span></font></div><div style=3D"margin-top: 0px; margin-right: = 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal = 11px/normal Monaco; "><font class=3D"Apple-style-span" face=3D"Arial" = size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: = 12px;"><br></span></font></div><div style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal = normal normal 11px/normal Monaco; "><div style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal = normal normal 11px/normal Monaco; "><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 12px;">The method setTitle(TitleType) in the type = Book is&nbsp;</span></font></div><div style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal = normal normal 11px/normal Monaco; "><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 12px;">&nbsp;not applicable for the arguments = (String)</span></font></div><div style=3D"margin-top: 0px; margin-right: = 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal = 11px/normal Monaco; "><br></div><div style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal = normal normal 11px/normal Monaco; "><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 12px;">So, how do I convert the String to the = TitleType object?</span></font></div><div style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal = normal normal 11px/normal Monaco; "><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 12px;"><br></span></font></div><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: 12px;">My XSD looks = something like this:</span></font></div><div style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal = normal normal 11px/normal Monaco; "><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 12px;"><br></span></font></div><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span = class=3D"Apple-tab-span" style=3D"white-space:pre"><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: 12px;"> = </span></font></span><font class=3D"Apple-style-span" face=3D"Arial" = size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: = 12px;">&lt;xs:element type=3D"tns:titleType" = name=3D"title"/></span></font></div><div><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 12px;"><br></span></font></div></div><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: = 12px;"><br></span></font></div><div style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal = normal normal 11px/normal Monaco; "><div style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal = normal normal 11px/normal Monaco; "><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 12px;">&nbsp;&nbsp;</span></font><span = class=3D"Apple-tab-span" style=3D"white-space:pre"><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: 12px;"> = </span></font></span><font class=3D"Apple-style-span" face=3D"Arial" = size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: = 12px;">&lt;xs:complexType name=3D"titleType"></span></font></div><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: 12px;">&nbsp;&nbsp; = &nbsp;</span></font><span class=3D"Apple-tab-span" = style=3D"white-space:pre"><font class=3D"Apple-style-span" face=3D"Arial" = size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: 12px;"> = </span></font></span><font class=3D"Apple-style-span" face=3D"Arial" = size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: = 12px;">&lt;xs:simpleContent></span></font></div><div style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: = normal normal normal 11px/normal Monaco; "><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: 12px;">&nbsp;&nbsp; = &nbsp; &nbsp;</span></font><span class=3D"Apple-tab-span" = style=3D"white-space:pre"><font class=3D"Apple-style-span" face=3D"Arial" = size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: 12px;"> = </span></font></span><font class=3D"Apple-style-span" face=3D"Arial" = size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: = 12px;">&lt;xs:extension base=3D"xs:string"></span></font></div><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: 12px;">&nbsp;&nbsp; = &nbsp; &nbsp; &nbsp;</span></font><span class=3D"Apple-tab-span" = style=3D"white-space:pre"><font class=3D"Apple-style-span" face=3D"Arial" = size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: 12px;"> = </span></font></span><font class=3D"Apple-style-span" face=3D"Arial" = size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: = 12px;">&lt;xs:attribute type=3D"xs:boolean" = name=3D"lost"/></span></font></div><div style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal = normal normal 11px/normal Monaco; "><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 12px;">&nbsp;&nbsp; &nbsp; &nbsp;</span></font><span = class=3D"Apple-tab-span" style=3D"white-space:pre"><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: 12px;"> = </span></font></span><font class=3D"Apple-style-span" face=3D"Arial" = size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: = 12px;">&lt;/xs:extension></span></font></div><div style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: = normal normal normal 11px/normal Monaco; "><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: 12px;">&nbsp;&nbsp; = &nbsp;</span></font><span class=3D"Apple-tab-span" = style=3D"white-space:pre"><font class=3D"Apple-style-span" face=3D"Arial" = size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: 12px;"> = </span></font></span><font class=3D"Apple-style-span" face=3D"Arial" = size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: = 12px;">&lt;/xs:simpleContent></span></font></div><div style=3D"margin-top:= 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: = normal normal normal 11px/normal Monaco; "><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: = 12px;">&nbsp;&nbsp;</span></font><span class=3D"Apple-tab-span" = style=3D"white-space:pre"><font class=3D"Apple-style-span" face=3D"Arial" = size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: 12px;"> = </span></font></span><font class=3D"Apple-style-span" face=3D"Arial" = size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: = 12px;">&lt;/xs:complexType> &nbsp;</span></font></div></div><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: = 12px;"><br></span></font></div><div style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal = normal normal 11px/normal Monaco; "><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 12px;"><br></span></font></div><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><font = class=3D"Apple-style-span" face=3D"Arial" size=3D"3"><span = class=3D"Apple-style-span" style=3D"font-size: = 12px;">Thanks,</span></font></div><div style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal = normal normal 11px/normal Monaco; "><font class=3D"Apple-style-span" = face=3D"Arial" size=3D"3"><span class=3D"Apple-style-span" = style=3D"font-size: 12px;">Steven</span></font></div><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; font: normal normal normal 11px/normal Monaco; = "><br></div></div></div></body></html>= --Apple-Mail-344--918230446-- From userkimberly77@example.net Wed Apr 02 21:27:33 2008 Return-Path: <userkimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 83945 invoked from network); 2 Apr 2008 21:27:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 21:27:33 -0000 Received: (qmail 98637 invoked by uid 500); 2 Apr 2008 21:27:32 -0000 Delivered-To: kimberly77@example.net Received: (qmail 98613 invoked by uid 500); 2 Apr 2008 21:27:32 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:kimberly77@example.net> List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> Reply-To: kimberly77@example.net List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list kimberly77@example.net Received: (qmail 98602 invoked by uid 99); 2 Apr 2008 21:27:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 14:27:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO repmmg02.bea.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 21:26:51 +0000 Received: from repmmr02.bea.com (repmmr02.bea.com [83.161.120.155]) by repmmg02.bea.com (Switch-3.3.0/Switch-3.2.7) with ESMTP id m32LR0YI012148 for <kimberly77@example.net>; Wed, 2 Apr 2008 14:27:00 -0700 Received: from repbex01.amer.bea.com (repbex01.bea.com [83.161.120.155]) by repmmr02.bea.com (Switch-3.3.0/Switch-3.2.7) with ESMTP id m32LQx1v004732 for <kimberly77@example.net>; Wed, 2 Apr 2008 14:26:59 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: RE: XQueryXPath Sample Error Date: Wed, 2 Apr 2008 14:26:58 -0700 Message-ID: <kimberly77@example.net> In-Reply-To: <kimberly77@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: XQueryXPath Sample Error Thread-Index: AciU8lv9kj3yUYlYSRufhPaVuVQ5IAAFLqtw References: <kimberly77@example.net> <kimberly77@example.net> <kimberly77@example.net> From: "Wing Yew Poon" <kimberly77@example.net> To: <kimberly77@example.net> x-BEA-PMX-Instructions: AV x-BEA-MM: Internal-To-External X-Virus-Checked: Checked by ClamAV on apache.org Tom, you did not say which version of XMLBeans you have the binary distribution for. If you're using the latest version, 2.3.0, you should use Saxon 8.8. This is stated on the XMLBeans home page. Unfortunately the page you cite was not updated. If you're using XMLBeans 2.2.0, using Saxon 8.6.1 should work. Make sure you have saxon8.jar and saxon8-dom.jar in your classpath. - Wing Yew ________________________________ From: Tom Purcell [mailto:kimberly77@example.net] Sent: Wednesday, April 02, 2008 11:52 AM To: kimberly77@example.net Subject: Re: XQueryXPath Sample Error 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:kimberly77@example.net] Sent: Wednesday, April 02, 2008 9:24 AM To: kimberly77@example.net 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: kimberly77@example.net For additional commands, e-mail: kimberly77@example.net 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: kimberly77@example.net For additional commands, e-mail: kimberly77@example.net 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: kimberly77@example.net For additional commands, e-mail: kimberly77@example.net From userkimberly77@example.net Wed Apr 02 21:41:23 2008 Return-Path: <userkimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 90332 invoked from network); 2 Apr 2008 21:41:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 21:41:23 -0000 Received: (qmail 22794 invoked by uid 500); 2 Apr 2008 21:41:22 -0000 Delivered-To: kimberly77@example.net Received: (qmail 22775 invoked by uid 500); 2 Apr 2008 21:41:21 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:kimberly77@example.net> List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> Reply-To: kimberly77@example.net List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list kimberly77@example.net Received: (qmail 22764 invoked by uid 99); 2 Apr 2008 21:41:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 14:41:21 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO rn-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 21:40:40 +0000 Received: by rn-out-0910.google.com with SMTP id i50so1895332rne.11 for <kimberly77@example.net>; Wed, 02 Apr 2008 14:40:51 -0700 (PDT) Received: by 83.161.120.155 with SMTP id z20mr5334936rvm.293.1207172451237; Wed, 02 Apr 2008 14:40:51 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.google.com with ESMTPS id i35sm6786831wxd.4.283.161.120.155.40.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Apr 2008 14:40:48 -0700 (PDT) Message-ID: <kimberly77@example.net> Date: Wed, 02 Apr 2008 17:42:53 -0400 From: Tom Purcell <kimberly77@example.net> User-Agent: Thunderbird 83.161.120.155 (X11/20070728) MIME-Version: 1.0 To: kimberly77@example.net Subject: Re: XQueryXPath Sample Error References: <kimberly77@example.net> <kimberly77@example.net> <kimberly77@example.net> <kimberly77@example.net> In-Reply-To: <kimberly77@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 2.3.0. I downloaded it yesterday. Wing Yew Poon wrote: > Tom, > you did not say which version of XMLBeans you have the binary > distribution for. > If you're using the latest version, 2.3.0, you should use Saxon 8.8. > This is stated on the XMLBeans home page. > Unfortunately the page you cite was not updated. > If you're using XMLBeans 2.2.0, using Saxon 8.6.1 should work. Make sure > you > have saxon8.jar and saxon8-dom.jar in your classpath. > - Wing Yew > > ________________________________ > > From: Tom Purcell [mailto:kimberly77@example.net] > Sent: Wednesday, April 02, 2008 11:52 AM > To: kimberly77@example.net > Subject: Re: XQueryXPath Sample Error > > > 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:kimberly77@example.net] > Sent: Wednesday, April 02, 2008 9:24 AM > To: kimberly77@example.net > 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: kimberly77@example.net > For additional commands, e-mail: kimberly77@example.net > > > 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: kimberly77@example.net > For additional commands, e-mail: kimberly77@example.net > > > > > > 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: kimberly77@example.net > For additional commands, e-mail: kimberly77@example.net > > > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberly77@example.net For additional commands, e-mail: kimberly77@example.net From userkimberly77@example.net Wed Apr 02 22:06:14 2008 Return-Path: <userkimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 3221 invoked from network); 2 Apr 2008 22:06:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 22:06:14 -0000 Received: (qmail 78444 invoked by uid 500); 2 Apr 2008 22:06:14 -0000 Delivered-To: kimberly77@example.net Received: (qmail 78086 invoked by uid 500); 2 Apr 2008 22:06:13 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Post: <mailto:kimberly77@example.net> List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> Reply-To: kimberly77@example.net List-Id: <user.xmlbeans.apache.org> Delivered-To: mailing list kimberly77@example.net Received: (qmail 77822 invoked by uid 99); 2 Apr 2008 22:06:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 15:06:12 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO SYSSDEX.syys.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 22:05:21 +0000 Received: from syssrex.syys.com ([83.161.120.155]) by SYSSDEX.syys.com with Microsoft SMTPSVC2397770910); Wed, 2 Apr 2008 15:05:41 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8950D.B10F9728" Subject: RE: Factory.parse(string) errror Date: Wed, 2 Apr 2008 15:05:41 -0700 Message-ID: <kimberly77@example.net> In-Reply-To: <kimberly77@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Factory.parse(string) errror Thread-Index: AciU+d/TjsIl1GRxTY2r//K2efjb4AAAbnIgAARoeFA= From: "Vo, Khanh" <kimberly77@example.net> To: <kimberly77@example.net> X-OriginalArrivalTime: 02 Apr 2008 22:05:41.0652 (UTC) FILETIME=[B0FCA540:01C8950D] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C8950D.B10F9728 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello Clarance, =20 I just check my jar file and the schemaorg_apache_xmlbeans directory is not in my jar file. =20 One thing that I didn't mentioned was that I did get an error message when I ran :=20 scomp -out workflow.jar -src . dynamicworkflow2.xsd =20 =20 BUILD FAILED scomp -out workflow.jar -src . dynamicworkflow2.xsd Time to build schema type system: 1.442 seconds Time to generate code: 0.421 seconds java.io.IOException: CreateProcess: C:\work-5095\harps\trunk\workflow\dynamicwf\ xsl\javac @C:\DOCUME~1\KHANHV~1\LOCALS~1\Temp\javac6477 error=3D2 null java.io.IOException: CreateProcess: C:\work-5095\harps\trunk\workflow\dynamicwf\ xsl\javac @C:\DOCUME~1\KHANHV~1\LOCALS~1\Temp\javac6477 kimberly77@example.net(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile(CodeGenUtil .java:231) at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.j ava:1154) at org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java :373) BUILD FAILED =20 Not sure why it is getting IO errors. =20 Khanh =20 =20 =20 =20 -----Original Message----- From: Clarance Howatt [mailto:kimberly77@example.net]=20 Sent: Wednesday, April 02, 2008 12:59 PM To: kimberly77@example.net Subject: RE: Factory.parse(string) errror =20 I am assuming that you have aready checked to ensure that the generated class is in the jar and that this jar is on you classpath. =20 I think you might be missing the generated xsb files. Make sure that the directory schemaorg_apache_xmlbeans is in your jar file and that it contains these xsb files. =20 C. =20 ________________________________ From: Vo, Khanh [mailto:kimberly77@example.net]=20 Sent: Wednesday, April 02, 2008 1:44 PM To: kimberly77@example.net Subject: Factory.parse(string) errror =20 Hello, =20 I've trying to execute Document.Factory.parse(string) and am getting the following errors. I'm new to XMLBeans. I ran: scomp -out workflow.jar -src . dynamicworkflow2.xsd and generated the java source. =20 Exception in thread "main" kimberly77@example.net$Factory.parse(WorkflowDocument.java:109) at com.syys.harps.action.TestXPDL.XPDL(TestXPDL.java:55) at com.syys.harps.action.TestXPDL.main(TestXPDL.java:78) Caused by: java.lang.RuntimeException: Cannot load SchemaTypeSystem. Unable to load class with name schemaorg_apache_xmlbeans.system.s6795CA4E2209DBFFCE06966196DB34BD.TypeS ystemHolder. Make sure the generated binary files are on the classpath. at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:783) at noNamespace.WorkflowDocument.<clinit>(WorkflowDocument.java:19) ... 3 more Caused by: java.lang.ClassNotFoundException: schemaorg_apache_xmlbeans.system.s6795CA4E2209DBFFCE06966196DB34BD.TypeS kimberly77@example.net$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:769) ... 4 more =20 Thanks for the help Khanh ------_=_NextPart_001_01C8950D.B10F9728 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DProgId content=3DWord.Document> <meta name=3DGenerator content=3D"Microsoft Word 10"> <meta name=3DOriginator content=3D"Microsoft Word 10"> <link rel=3DFile-List href=3D"cid:kimberly77@example.net"> <link rel=3DEdit-Time-Data href=3D"cid:kimberly77@example.net"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:DoNotRelyOnCSS/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:SpellingState>Clean</w:SpellingState> <w:GrammarState>Clean</w:GrammarState> <w:DocumentKind>DocumentEmail</w:DocumentKind> <w:EnvelopeVis/> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:1627421319 2397770910 8 0 66047 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline; text-underline:single;} span.EmailStyle17 {mso-style-type:personal; mso-style-noshow:yes; font-family:Arial; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:Arial; color:windowtext;} span.EmailStyle18 {mso-style-type:personal; mso-style-noshow:yes; font-family:Arial; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:Arial; color:navy;} span.EmailStyle19 {mso-style-type:personal-reply; mso-style-noshow:yes; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; font-family:Arial; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:Arial; color:navy;} span.SpellE {mso-style-name:""; mso-spl-e:yes;} span.GramE {mso-style-name:""; mso-gram-e:yes;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 10]> <style> /* Style Definitions */=20 table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman";} </style> <![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple = style=3D'tab-interval:.5in'> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Hello <span = class=3DSpellE>Clarance</span>,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>I just check my jar file and the = <span class=3DSpellE>schemaorg_apache_xmlbeans</span> directory is not in my = jar file.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>One thing that I didn&#8217;t = mentioned was that I did get an error message when I <span class=3DGramE>ran = :</span> <o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DSpellE><span class=3DGramE><font = size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial; color:navy'>scomp</span></font></span></span><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial;color:navy'> -out <span class=3DSpellE>workflow.jar</span> -<span class=3DSpellE>src</span> . = dynamicworkflow2.xsd<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>BUILD = FAILED<o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DSpellE><span class=3DGramE><font = size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial; color:navy'>scomp</span></font></span></span><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial;color:navy'> -out <span class=3DSpellE>workflow.jar</span> -<span class=3DSpellE>src</span> . = dynamicworkflow2.xsd<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Time to build schema type system: = 1.442 seconds<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Time to generate code: 0.421 = seconds<o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DSpellE><font size=3D2 color=3Dnavy = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy'>java.io.IOExcepti= on</span></font></span><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial; color:navy'>: <span class=3DSpellE>CreateProcess</span>: C:\work-5095\harps\trunk\workflow\dynamicwf\<o:p></o:p></span></font></p>= <p class=3DMsoNormal><span class=3DSpellE><font size=3D2 color=3Dnavy = face=3DArial><span lang=3DES-TRAD = style=3D'font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:= ES-TRAD'>xsl\javac</span></font></span><font size=3D2 color=3Dnavy = face=3DArial><span lang=3DES-TRAD = style=3D'font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:= ES-TRAD'> @C<span = class=3DGramE>:\</span>DOCUME~1\KHANHV~1\LOCALS~1\Temp\javac6477 error=3D2<o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 color=3Dnavy = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy'>null</span></font= ></span><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial; color:navy'><o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DSpellE><font size=3D2 color=3Dnavy = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy'>java.io.IOExcepti= on</span></font></span><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial; color:navy'>: <span class=3DSpellE>CreateProcess</span>: C:\work-5095\harps\trunk\workflow\dynamicwf\<o:p></o:p></span></font></p>= <p class=3DMsoNormal><span class=3DSpellE><font size=3D2 color=3Dnavy = face=3DArial><span lang=3DES-TRAD = style=3D'font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:= ES-TRAD'>xsl\javac</span></font></span><font size=3D2 color=3Dnavy = face=3DArial><span lang=3DES-TRAD = style=3D'font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:= ES-TRAD'> @C<span = class=3DGramE>:\</span>DOCUME~1\KHANHV~1\LOCALS~1\Temp\javac6477 error=3D2<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = lang=3DES-TRAD style=3D'font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:= ES-TRAD'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span></span></font><span class=3DGramE><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial; color:navy'>at</span></font></span><font size=3D2 color=3Dnavy = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy'> <span = class=3DSpellE>java.lang.ProcessImpl.create</span>(Native Method)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><span = style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class=3DGramE>at</span> <span = class=3DSpellE>java.lang.ProcessImpl</span>.&lt;init&gt;(Unknown Source)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><span = style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class=3DGramE>at</span> <span = class=3DSpellE>java.lang.ProcessImpl.start</span>(Unknown Source)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><span = style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class=3DGramE>at</span> <span = class=3DSpellE>java.lang.ProcessBuilder.start</span>(Unknown Source)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><span = style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class=3DGramE>at</span> <span = class=3DSpellE>java.lang.Runtime.exec</span>(Unknown Source)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><span = style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class=3DGramE>at</span> <span = class=3DSpellE>java.lang.Runtime.exec</span>(Unknown Source)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><span = style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class=3DGramE>at</span> <span = class=3DSpellE>org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile<= /span>(<span class=3DSpellE>CodeGenUtil</span><o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>.java:231)<o:p></o:p></span></font><= /p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><span = style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class=3DGramE>at</span> <span = class=3DSpellE>org.apache.xmlbeans.impl.tool.SchemaCompiler.compile</span= >(<span class=3DSpellE>SchemaCompiler.j</span><o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 color=3Dnavy = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy'>ava:</span></font= ></span><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial; color:navy'>1154)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><span = style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class=3DGramE>at</span> <span = class=3DSpellE>org.apache.xmlbeans.impl.tool.SchemaCompiler.main</span>(<= span class=3DSpellE>SchemaCompiler.java</span><o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 color=3Dnavy = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial;color:navy'>:373</span></font= ></span><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial; color:navy'>)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>BUILD = FAILED<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Not sure why it is getting IO = errors.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Khanh<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font
{'source': 'Apache Software Foundation Public Mail Archives'}