I am having the same problem as the user in thread http://www.mail-archive.com/[email protected]/msg07530.html

I added the latest Xerces jars to my 1.4.2_09 jre/lib/endorsed dir (had to make it first) and I still have the same symptoms.  Basically lots of compiler errors like the following when I use the ant task to generate and compile the bindings:

 [xmlbeans] C:\RAD_workspaces\workspace2\app_project\src\generated\xmlb
eans\com\foo\xmlSchemas\eai\blueValidateGrpAndPcpReq\BlueValidateGrpA
ndPcpParmsDocument.java:19: package schemaorg_apache_xmlbeans.system.sD17B886B7C
6CB4F491C29457F4383A81.TypeSystemHolder does not exist
 [xmlbeans]     public static final org.apache.xmlbeans.SchemaType type = (org.a
pache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.sD17B886B7C6CB4F491C2
9457F4383A81.TypeSystemHolder.typeSystem.resolveHandle("bluevalidategrpandpc
pparms8c1adoctype");
 [xmlbeans]

                             ^


The ant task I'm using to build this looks like this:

        <taskdef name="xmlbeans"
            classname="org.apache.xmlbeans.impl.tool.XMLBean ">
            <classpath>
                <path refid="xml-beans.classpath" />
            </classpath>
        </taskdef>

        <xmlbeans schema="${ src.xsd}"
                  srcgendir="${target.xml-beans}"
                  destfile="../lib/member-magna-xmlbeans.jar"
                  debug="true">
            <classpath>
                <path refid="xml-beans.classpath" />
            </classpath>
        </xmlbeans>

with classpath of

    <path id="xml-beans.classpath">
        <fileset dir="${xml-beans.lib.dir}">
            <include name="*.jar" />
        </fileset>
    </path>

Any ideas?

Reply via email to