Article:
  Understanding JAXB: Java Binding Customization
Subject:   How to avoid duplicate bindings in multiple schema files
Date:   2004-05-30 01:21:56
From:   fla
Response to: How to avoid duplicate bindings in multiple schema files

I found out through other mailing list that if I specify a package name for xjc, it is applied to schemas imported as well. Using an external binding doesn't resolve this problem. There are a couple of options:
a) Let xjc use derived package name from each schema's target namespace.
b) Use inline binding for each schema file to specify desired package name.


Frank

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • How to avoid duplicate bindings in multiple schema files
    2004-05-30 10:56:19  hashimisayed [View]

    I am glad you solved your problem.