Just looking at some XML schema artifacts, it looks like <descripcion>
cannot be of type text in this context of the sample message.

Drilling down from <mensajeSalida/respuesta/Respuesta> in your case,
you'll find that through the group reference to the group definition

resultadoValidarFirma

there#s a 'descripcion' element, but not of type 'xs:string'. I hope
this helps.

Regards
Werner


Paco Sanchez wrote:
> Hi ,
> I've generated the java classes from one xsd using the ant task. I've I use
> the castor-anttask 1.2 with a binding file. When I try to unmarshall some
> xml I get the error 
> 
>    "Illegal Text data found as child of: descripcion value "Proceso
> terminado correctamente"
> 
> I've attached the xsd, the binding file  and one xml sample file.
> 
> Thanks in advance,
> 
> http://www.nabble.com/file/p18524517/ws.xsd ws.xsd 
> http://www.nabble.com/file/p18524517/binding-firma.xml binding-firma.xml 
> http://www.nabble.com/file/p18524517/MensajeSalidaEjemplo.xml
> MensajeSalidaEjemplo.xml 
> 
> 
> 

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

    http://xircles.codehaus.org/manage_email


Reply via email to