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

List:       xmlbeans-dev
Subject:    [jira] Created: (XMLBEANS-257) binary download is missing a library
From:       "Mike Schwartz (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2006-03-27 16:14:36
Message-ID: 1988221814.1143476076012.JavaMail.jira () ajax
[Download RAW message or body]

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