marcelo melo wrote:
    @XmlAttribute
    protected String[] erros = new String[]{};

Is the schema fixed or can you change this to an @XmlElement instead of an attribute? An array-typed field mapped with XmlAttribute corresponds to an <xsd:list> in the schema, which means a whitespace-separated list of simple type values - that's why it's splitting your string on whitespace.

Ian

--
Ian Roberts               | Department of Computer Science
[EMAIL PROTECTED]  | University of Sheffield, UK

Reply via email to