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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to