Hello all,

by default, the mapping from XML values to a Java 1.5 enum is case sensitive. 
That's reasonable in general because an "upper case" enum class is in fact 
something different than the same-named enum class in lower case.

At the moment, I am in the situation that the XML files to be unmarshalled 
contain lower case values and the Java business model contains the 
corresponding enums, but in upper case.

Is there a straightforward method to let JiBX accept the lower case values and 
map them to the corresponding upper case enums? Unfortunately, it is not 
possible for me to align the schema instances and the business model.

Any help would be appreciated.

Johannes Mueller

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to