Hi there.
JAXB will not be able to parse anything wrapped in a CDATA declaration: the XML parser will always report the string.
If you want to parse this, you need to do the following:
Run JAXB on the original schema, which will specify the content of "test" as a string or "any" (it has to, otherwise it cannot contain a CDATA declaration!)
Run JAXB on the secondary schema, which defines the content of the "test" element.
At runtime, you need to parse the XML document using JAXB, then navigate to the "test" element and parse that element again using JAXB. There won't be another way.
Hope this helps.