Hi,

without fragments of the XML schema in question (preferably the ones
that highlight the problem at hand), this will be hard to answer. WHy
don't you show us the definition for ParamPrototype and AnySimpleType ?

Regards
Werner

Gustavo de Sá Carvalho Honorato wrote:
> Hi,
> 
> I'm having a problem in Java source code generation from a XML Schema.
> All classes was generated correctly except for one class named
> ParamPrototype which references a undefined class named AnySimpleType,
> like the sample above. Can someone please tell me how can I fix this
> problem?
> 
> My castorgeneration.properties
> org.exolab.castor.builder.javaVersion=5.0
> org.exolab.castor.builder.automaticConflictResolution=true
> org.exolab.castor.builder.primitivetowrapper=true
> 
> 
> /*
>  * This class was automatically generated with
>  * <a href="http://www.castor.org";>Castor 1.1.2.1</a>, using an XML
>  * Schema.
>  * $Id$
>  */
> 
> package br.pucrio.serg.ncl.parser;
> 
> /**
>  * Class ParamPrototype.
>  *
>  * @version $Revision$ $Date$
>  */
> @SuppressWarnings("serial")
> public class ParamPrototype implements java.io.Serializable {
> 
> 
>       //--------------------------/
>      //- Class/Member Variables -/
>     //--------------------------/
> 
>     /**
>      * Field _name.
>      */
>     private java.lang.String _name;
> 
>     /**
>      * Field _value.
>      */
>     private AnySimpleType _value;
> 
> 
>       //----------------/
>      //- Constructors -/
>     //----------------/
> 
>     public ParamPrototype() {
>         super();
>     }
> 
> 
>       //-----------/
>      //- Methods -/
>     //-----------/
> 
>     /**
>      * Returns the value of field 'name'.
>      *
>      * @return the value of field 'Name'.
>      */
>     public java.lang.String getName(
>     ) {
>         return this._name;
>     }
> 
>     /**
>      * Returns the value of field 'value'.
>      *
>      * @return the value of field 'Value'.
>      */
>     public AnySimpleType getValue(
>     ) {
>         return this._value;
>     }
> 
>     /**
>      * Sets the value of field 'name'.
>      *
>      * @param name the value of field 'name'.
>      */
>     public void setName(
>             final java.lang.String name) {
>         this._name = name;
>     }
> 
>     /**
>      * Sets the value of field 'value'.
>      *
>      * @param value the value of field 'value'.
>      */
>     public void setValue(
>             final AnySimpleType value) {
>         this._value = value;
>     }
> 
> }
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to