[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Resolved: (XMLBEANS-257) binary download is missing a
From:       "Radu Preotiuc-Pietro (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2006-03-31 0:41:54
Message-ID: 2022335579.1143765714672.JavaMail.jira () ajax
[Download RAW message or body]

     [ http://issues.apache.org/jira/browse/XMLBEANS-257?page=all ]
     
Radu Preotiuc-Pietro resolved XMLBEANS-257:
-------------------------------------------

    Resolution: Won't Fix

Unfortunately, the svalidate script needs a STAX parser, but the jar you downloaded \
does not have an Apache-stlye license (I don't think), so we can't include it in the \
binary distribution for legal reasons. You of course should have no problems getting \
it and using it the way you did. And I actually did not notice and casing problems in \
the 'validate' and 'svalidate' scripts, so it must have been already fixed.

> 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/jsr173_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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic