users@jaxb.java.net

RE: Schema collides

From: Lulseged Zerfu <lulseged.zerfu_at_ericsson.com>
Date: Fri, 11 Jun 2010 09:58:42 +0200

Hi
urn.ietf.params.xml.ns.resource.lists.xsd declares list-type
urn.oma.xml.poc.list.service.xsd declares list-type

I get error when I compile these schemas. Because they declare same type in both schemas.

Lulseged

________________________________
From: Lulseged Zerfu [mailto:lulseged.zerfu_at_ericsson.com]
Sent: den 11 juni 2010 09:55
To: users_at_jaxb.dev.java.net
Subject: RE: Schema collides

Hi

 Were you able to compile these schemas?

Lulseged

________________________________
From: Wolfgang Laun [mailto:wolfgang.laun_at_gmail.com]
Sent: den 11 juni 2010 09:53
To: users_at_jaxb.dev.java.net
Subject: Re: Schema collides

On 11 June 2010 09:29, Lulseged Zerfu <lulseged.zerfu_at_ericsson.com<mailto:lulseged.zerfu_at_ericsson.com>> wrote:
I am using IETF and OMA(Open Mobile Alliance) schemas to build up my applications. Unfortunately, this two bodies declare same type in their schemas.

No they don't: urn.oma.xml.poc.list.service.xsd imports urn.ietf.params.xml.ns.resource.lists.xsd (and
urn:ietf:params:xml:ns:common-policy), fetching the .xsd's from the net. Just forget your local copy of urn.ietf.params.xml.ns.resource.lists.xsd and just xjc compile urn.oma.xml.poc.list.service.xsd.

-W