File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes JAxB for XSDs with inheritance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JAxB for XSDs with inheritance" Watch "JAxB for XSDs with inheritance" New topic

JAxB for XSDs with inheritance

B Mampilli
Ranch Hand

Joined: Aug 05, 2002
Posts: 61

I have 4 XSDs that have inheritance. For example: A.XSD ->B.XSD - C.XSD ->D.XSD.

When I am trying to generate the Java classes for this, it is not generating the same. However, when I do it for XSDs without inheritance, the corresponding Java classes get created.

I wanted to know if JaxB supports the creation of JAva classes for XSDs with inheritance.

Bonson Mampilli

Jan Cumps

Joined: Dec 20, 2006
Posts: 2565

Bonson ,

I moved this topic to our XML and Related Technologies forum.

OCUP UML fundamental and ITIL foundation
I agree. Here's the link:
subject: JAxB for XSDs with inheritance
It's not a secret anymore!