It would be helpful to see credentials.xsd and any other schemas that
are pulled in. I suspect that your elementFormDefault is "qualified" and
"PasswordType" is a complexType that occurs in the same namespace. Can
you please send the schema file(s), or relevant snippets to this list?
--steve
> -----Original Message-----
> From: William Simons [mailto:william.simons_at_childrens.harvard.edu]
> Sent: Monday, October 03, 2005 2:16 PM
> To: users_at_jaxb.dev.java.net
> Subject: JAXB 1 - catalog issues
>
>
> Hi all,
>
> Is this the correct mailing list for JAXB 1 issues too?
>
> I'm trying to use the catalog feature in JAXB and am having
> some strange problems. The error that I get indicate that my
> imported schemas are being loaded more than once.
>
> [xjc] [ERROR] 'PasswordType' is already defined
> [xjc] line 24 of credentials.xsd
>
> [xjc] [ERROR] (related to above error) the first definition
> appears here
> [xjc] line 19 of credentials.xsd
>
>
> I've tried using this feature in jwsdp1.6, 1.5, and 1.4 with
> no success. The exact same schemas work with the JAXB2.0
> weekly build but not the EA release.
>
> Has anyone seen this problem before? A workaround (or a
> pointer) would be fantastic. I can try to create a simple
> test case if necessary...
>
> Thanks,
> Bill Simons
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>