Hello,
I'm new to castor.

I'm trying to use the source generator for mapping an xsd to java classes.

In my xsd I need to define a simple type in this way:

<xs:element name="separatore_campo">
 <xs:simpleType>
   <xs:restriction base="xs:string">
     <xs:enumeration value=","/>
     <xs:enumeration value=";"/>
     <xs:enumeration value="tab"/>
   </xs:restriction>
 </xs:simpleType>
</xs:element>

I run the source generator I obtain a Separatore_campoType that doesn't contain a comma value; in this way I can't use a comma as delimiter for my xml! It's comma a key word for Castor?It's possible to use a comma with some escape character?

Thank's in advance
Barbara


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

   http://xircles.codehaus.org/manage_email

Reply via email to