users@jaxb.java.net

Re: Errors during XJC task

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Tue, 6 Apr 2010 20:25:10 +0200

I've reproduced the error, which is justified. The missing Type names are
not
defined in the Schema where they ought to be according to the prefix oa:,
or anywhere else.

Is the set of .xsd files you have attached at
http://old.nabble.com/file/p28152247/oagis.zip
the correct set of the original schema files?

-W


On Tue, Apr 6, 2010 at 4:01 PM, Srikanth R Chinthala <csr_1978_at_yahoo.com>wrote:

>
> Hi,
>
> I am trying to compile a schema with xjc ant task to generate java
> artifacts
> but the task fails with several errors saying that Cannot resolve the name
> 'xxx' to a(n) 'type definition' component. I checked the schema in XML Spy
> and Eclipse but they don't complain on its Well-Formedness and Validity.
>
> I am attaching the entire source of the schemas as a zip file (oagis.zip).
> I
> am trying to compile oagis/USS/3.0/Developer/BODs/GetMaterialLot.xsd schema
> and getting several errors like:
>
> [xjc] [ERROR] src-resolve: Cannot resolve the name
> 'oa:SegmentResponseBaseType' to a(n) 'type definition' component.
> [xjc] line 57 of
> file:/C:/oagis/USS/3.0/Developer/Nouns/ProductionPerformance.xsd
> [xjc] [ERROR] src-resolve: Cannot resolve the name
> 'oa:ShipmentHeaderBaseType' to a(n) 'type definition' component.
> [xjc] line 8 of
> file:/C:/oagis/USS/3.0/Common/Components/LogisticsComponents.xsd
> [xjc] [ERROR] src-resolve: Cannot resolve the name
> 'oa:ActualResourceGroup' to a(n) 'group'
> ....................
>
> Could anyone please let me know why JAXB is not able to recognize these
> components.
>
> Thanks, http://old.nabble.com/file/p28152247/oagis.zip oagis.zip
> --
> View this message in context:
> http://old.nabble.com/Errors-during-XJC-task-tp28152247p28152247.html
> Sent from the java.net - jaxb users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>