Schema mapping limitations
Some features or keywords are not mapped by the current XML binding and the value types of some schema types are lost.
Unmapped schema features and keywords
Some schema features or keywords are not mapped by the current XML binding. These keywords are correctly parsed but they are not processed and not translated into XOM dynamic classes or XML objects:
key, keyref, unique
abstract, block
blockDefault, finalDefault
any, anyAttribute
skip, lax, strict
processContents
Lost value types
The following schema types are mapped without errors to java.lang.Object by the current XML binding but the original value type is lost at runtime:
anySimpleType
anyType
If you want to process such elements with their original value types (for example, by assignation), you need to cast them to your required value.