users@jaxb.java.net

Errors during XJC task

From: Srikanth R Chinthala <csr_1978_at_yahoo.com>
Date: Tue, 6 Apr 2010 07:01:42 -0700 (PDT)

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.