users@jaxb.java.net

RE: Schema collides

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

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