Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with "abstract" elements while using JAXB

Status
Not open for further replies.

nvallard

Programmer
Jun 1, 2004
4
US
I’m trying to map an XML schema to an 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 has experienced the same problem and what might be a possible solution.

Thanks for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top