Well, that is the meaning of the RuntimeException you're getting. I don't use maven and don't know much about it, so I can't help you, but it would appear that this is an environment issue.
Where did you get this xbean_xpath-2.1.0.jar? The xbean_xpath.jar that comes with the XMLBeans binary distribution is named xbean_xpath.jar, not xbean_xpath-[number].jar. Is this one for XMLBeans 2.4.0? You have to have XMLBeans 2.4.0 to use Saxon 9. Check your xbean_xpath.jar to see if the dates are 6/20/2008. -----Original Message----- From: Shawn Bernard [mailto:[email protected]] Sent: Friday, January 02, 2009 3:45 PM To: [email protected] Subject: Re: " FAILED on declare namespace" error I'm including all those dependencies in maven - that was one of the first things that I checked. I'm using xbean_xpath-2.1.0.jar along with saxon9.jar and saxon9-dom.jar. One of the problems that I found with saxon9 is that I couldn't find it in any public maven repository, which makes it a little more difficult. -S On Jan 2, 2009, at 3:37 PM, Wing Yew Poon wrote: > Shawn, > that indicates that you're missing the Saxon stuff on your classpath. > You need the glue code XMLBeans supplies (xbean_xpath.jar) along > with saxon9.jar and saxon9-dom.jar. > Also, to clarify, it would seem that this is not a build problem, > this is a runtime problem. So it is your runtime classpath that is > at issue. > - Wing Yew > > -----Original Message----- > From: Shawn Bernard [mailto:[email protected]] > Sent: Friday, January 02, 2009 2:10 PM > To: Shawn Bernard > Cc: [email protected] > Subject: Re: " FAILED on declare namespace" error > > Oops, forgot the error: > > java.lang.RuntimeException: Trying XBeans path engine... Trying > XQRL... Trying delegated path engine... FAILED on declare namespace > om='http://schema.mydomain.com/'; $this/om:table-co...@table- > name='Address'] > [java] at > org.apache.xmlbeans.impl.store.Path.getCompiledPath(Path.java:173) > [java] at > org.apache.xmlbeans.impl.store.Path.getCompiledPath(Path.java:130) > [java] at > org.apache.xmlbeans.impl.store.Cursor._selectPath(Cursor.java:902) > [java] at > org.apache.xmlbeans.impl.store.Cursor.selectPath(Cursor.java:2634) > [java] at > org > .apache > .xmlbeans.impl.values.XmlObjectBase.selectPath(XmlObjectBase.java:462) > ... > > Thanks again, > > -S > > On Jan 2, 2009, at 2:08 PM, Shawn Bernard wrote: > >> I'm using xmlbeans along with saxon9 on a project that is currently >> using ant, but I'm switching to maven2. Everything works fine in >> the ant build, but for some reason, I'm getting the following error >> when trying to build with maven2. >> >> I've googled the error, and it looked at first to be a missing >> dependency, but I've tried adding a whole slew of different >> dependencies, and I'm still getting the error. >> >> Any ideas? >> >> -S > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

