You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by Santhosh Karunakaran <sa...@hp.com> on 2006/09/25 16:15:32 UTC
Re: [jira] Created: (XMLBEANS-257) binary download is missing a library needed for svalidate
Mike Schwartz (JIRA <xm...@...> writes:
>
> binary download is missing a library needed for svalidate
> ---------------------------------------------------------
>
> Key: XMLBEANS-257
> URL: http://issues.apache.org/jira/browse/XMLBEANS-257
> Project: XMLBeans
> Type: Bug
> Components: Validator
> Versions: Version 2
> Reporter: Mike Schwartz
> Priority: Minor
>
> I downloaded xmlbeans from
http://apache.seekmeup.com/xmlbeans/binaries/xmlbeans-2.0.0.tgz, set
> my XMLBEANS_HOME and XMLBEANS_LIB directories, and tried to run svalidate -
it throws
> javax.xml.stream.FactoryConfigurationError, complaining that Provider
> com.bea.xml.stream.MXParserFactory not found. This was happening because
jsr173_ri.jar wasn't
> included in the lib directory of the binary download. I found that lib on
the Net and put it in place, and
> svalidate works.
>
> (I had the same problem under Linux and Windows.)
>
> Also, the bin/validate command has an upper/lowercase problem:
>
>
cp=$XMLBEANS_LIB/xbean.jar:$XMLBEANS_LIB/jsr173_api.jar:$XMLBEANS_LIB/j
sr173_ri.jar
>
> case "`uname`" in
> CYGWIN*)
> CP=`cygpath -w -p $CP`
> ;;
> esac
>
> java -classpath $CP
org.apache.xmlbeans.impl.tool.StreamInstanceValidator $*
>
> I think you want "CP" everywhere that "cp" is set.
> - Mike Schwartz
> Local Matters, Inc.
>
Hi,
Can you let me know where i can find jsr173_ri.jar
Thanks
Santhosh
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org