I tried the attached schema and converter code and it seems to work OK.
Could you try this with yours? Also, which version of JWSDP are you
using? ("xjc.sh -version")
> I guess this is because "" (empty string) is a legal value for Character
> but not for Integer, but my code in parseInteger check for "" and return
> null, so I dont see why this is not allowed by the Unmarshaller.
But a "string" is not a legal value for java.lang.Character. Could you
check if your datatype converter is being invoked?
regards,
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net
- application/octet-stream attachment: test.xml
- application/octet-stream attachment: test.xsd