You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by ja...@ws.apache.org on 2004/08/12 02:03:24 UTC

[jira] Closed: (JAXME-20) java.lang.IllegalStateException: Simple type org.apache.ws.jaxme.xs.jaxb.impl.JAXBTypeImpl@27692769 is neither of atomic, list, or union

Message:

   The following issue has been closed.

   Resolver: Jochen Wiedmann
       Date: Wed, 11 Aug 2004 5:02 PM

Restrictions of simple list types didn't have the isList() property
set. Likewise for restrictions of simple union types.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAXME-20

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAXME-20
    Summary: java.lang.IllegalStateException: Simple type org.apache.ws.jaxme.xs.jaxb.impl.JAXBTypeImpl@27692769 is neither of atomic, list, or union
       Type: Task

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: JaxMe

   Assignee: 
   Reporter: Kold Metal

    Created: Tue, 3 Aug 2004 8:45 AM
    Updated: Wed, 11 Aug 2004 5:02 PM
Environment: Windows 2000

Description:
Getting an error when running Ant task.

java.lang.IllegalStateException: Simple type org.apache.ws.jaxme.xs.jaxb.impl.JAXBTypeImpl@27692769 is neither of atomic, list, or union

Below is the build.xml

<?xml version="1.0" encoding="UTF-8"?>
<project name="Ebond" default="generate" basedir=".">
	<!-- Build Properties -->
<target name="taskdef">
  <!--
  Set up the classpath for the generation task.
  Include all the standard jaxme jars.
  -->
  <path id="generate.class.path">
     <pathelement location="C:\Program Files\ws-jaxme-0.3\lib\jaxmexs.jar"/>
     <pathelement location="C:\Program Files\ws-jaxme-0.3\lib\jaxmeapi.jar"/>
     <pathelement location="C:\Program Files\ws-jaxme-0.3\lib\jaxmejs.jar"/>
     <pathelement location="C:\Program Files\ws-jaxme-0.3\lib\jaxme2-rt.jar"/>
     <pathelement location="C:\Program Files\ws-jaxme-0.3\lib\jaxmepm.jar"/>
     <pathelement location="C:\Program Files\ws-jaxme-0.3\lib\jaxme2.jar"/>
 </path>
  <!--
  Defines the generation task using that classpath.
  -->
  <taskdef name="xjc"
    classname="org.apache.ws.jaxme.generator.XJCTask"
    classpathref="generate.class.path"/>
  <!--
  Generate source code.
  The 'schema' attribute gives the path to the schema the sources
  will be generated from.
  The 'target' attribute specifies the base directory that the source
  will be generated into. Sources will be created in subdirectories
  corresponding to the package structure.
  -->
  </target>
  <target name="generate"  depends="taskdef">
  <xjc
    schema="tML-TA.xsd"
    package="com.sbc.asi.cpsosasos.trouble.data" 
    force="true"
    extension="true"
    target="mysrcdir">
        <!--
        The source files to be created. The implictly identifies the package
        to which the sources will belong.
        -->
        <schemaReader classname="org.apache.ws.jaxme.generator.sg.impl.JAXBSchemaReader"/>
        <produces includes="com/sbc/asi/cpsosasos/trouble/data/*.java"/>
  </xjc>
</target>
</project>


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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