I think anySimpleType is the built-in xsd:anySimpleType. Here is the definition http://www.w3.org/TR/xmlschema-2/#built-in-datatypes. It seems to be the top-level element of any simple type. Is there anything else I could help ?
On Wed, May 20, 2009 at 5:00 PM, Werner Guttmann <[email protected]> wrote: > No problem. What does the type definition for anySimpleType look like, > iima ? And if I can, I'd like to avoid having to look at big XML schemas > at this point in time. > > Cheers > Werner > > Gustavo de Sá Carvalho Honorato wrote: >> Hi Werner, >> >> thank you for your quick answer. Here is the schema fragment >> corresponding to ParamPrototype: >> >> <complexType name="paramPrototype"> >> <attribute name="name" type="string" use="required"/> >> <attribute name="value" type="anySimpleType" use="required"/> >> </complexType> >> >> I think this should be enough, but just in case, the full schema could >> be found in http://www.ncl.org.br/NCL3.0/ or more specifically in >> http://www.ncl.org.br/NCL3.0/#NCL%203.0%20Linking. >> >> Regards, >> Gustavo >> >> On Wed, May 20, 2009 at 4:10 PM, Werner Guttmann >> <[email protected]> wrote: >>> 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 >>> >>> >>> >> >> --------------------------------------------------------------------- >> 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 > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

