I’m trying to map XML schema to Java object using Java Architecture for XML Binding (JAXB ) . When I’m trying to run the binding compiler, I am getting the following error
[xjc] [ERROR] In "strict" mode, the following schema feature is not allowed (See App E.2).Use the "-extension" switch:
[xjc] "abstract" attribute of <element> is not supported
It seems like an abstract element and it’s substitution type are not supported by the compiler.
Please let me know if anybody experienced the same problem and what might be a solution.
Thanks for your help!
[xjc] [ERROR] In "strict" mode, the following schema feature is not allowed (See App E.2).Use the "-extension" switch:
[xjc] "abstract" attribute of <element> is not supported
It seems like an abstract element and it’s substitution type are not supported by the compiler.
Please let me know if anybody experienced the same problem and what might be a solution.
Thanks for your help!