Hi, I'm trying to use CodeGen to generate binding and classes from: http://www.opentravel.org/2009A/OTA_HotelAvailRQ.xsd and http://www.opentravel.org/2009A/OTA_HotelAvailRS.xsd and codegen complains about some types missing. I had a quick look at the XSD's and all the CodeGen is complaining about seems to be there :/ The funny thing is that it works more then fine with 2007B, 2008A and 2008B.
Output below: D:\Documents\whyitsnotworking\codegen\2009A\manual_test>java -cp d:\java\jibx\lib\jibx-tools.jar org.jibx.schema.codegen.CodeGen -v OTA_HotelAvailRQ.xsd Output to directory . ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:RoutingHopType' is not defined for 'element' at (line 117, col 6, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:RoutingHopType' is not defined for 'element' at (line 117, col 6, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:RoutingHopType' is not defined for 'element' at (line 240, col 6, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:RoutingHopType' is not defined for 'element' at (line 240, col 6, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) ERROR codegen.CodeGen - Error: Referenced attributeGroup '{http://www.opentravel.org/OTA/2003/05}:SelectedLoyaltyGroup' is not defined for 'attributeGroup' at (line 307, col 53, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced attributeGroup '{http://www.opentravel.org/OTA/2003/05}:SelectedLoyaltyGroup' is not defined for 'attributeGroup' at (line 307, col 53, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:GuestCountType' is not defined for 'element' at (line 318, col 6, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:GuestCountType' is not defined for 'element' at (line 318, col 6, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:MembershipType' is not defined for 'element' at (line 344, col 6, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:MembershipType' is not defined for 'element' at (line 344, col 6, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:GuaranteeType' is not defined for 'element' at (line 360, col 6, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:GuaranteeType' is not defined for 'element' at (line 360, col 6, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:RequiredPaymentsType' is not defined for 'element' at (line 365, col 6, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:RequiredPaymentsType' is not defined for 'element' at (line 365, col 6, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:CancelPenaltiesType' is not defined for 'element' at (line 370, col 6, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:CancelPenaltiesType' is not defined for 'element' at (line 370, col 6, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:HotelReservationIDsType' is not defined for 'element' at (line 393, col 91, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:HotelReservationIDsType' is not defined for 'element' at (line 393, col 91, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:RoutingHopType' is not defined for 'element' at (line 395, col 8, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:RoutingHopType' is not defined for 'element' at (line 395, col 8, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:BookingRulesType' is not defined for 'element' at (line 401, col 8, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:BookingRulesType' is not defined for 'element' at (line 401, col 8, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:GuestCountType' is not defined for 'element' at (line 474, col 75, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:GuestCountType' is not defined for 'element' at (line 474, col 75, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:MembershipType' is not defined for 'element' at (line 614, col 11, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:MembershipType' is not defined for 'element' at (line 614, col 11, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:BookingRulesType' is not defined for 'element' at (line 646, col 11, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:BookingRulesType' is not defined for 'element' at (line 646, col 11, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:RoomStayType' is not defined for 'extension' at (line 611, col 9, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:RoomStayType' is not defined for 'extension' at (line 611, col 9, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:AmountType' is not defined for 'element' at (line 698, col 9, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:AmountType' is not defined for 'element' at (line 698, col 9, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelReservation.xsd) Terminating due to errors in input schemas D:\Documents\whyitsnotworking\codegen\2009A\manual_test>java -cp d:\java\jibx\lib\jibx-tools.jar org.jibx.schema.codegen.CodeGen -v OTA_HotelAvailRS.xsd Output to directory . ERROR codegen.CodeGen - Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:ServiceRPHsType' is not defined for 'element' at (line 1, col 255569, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelCommonTypes.xsd) Error: Referenced type '{http://www.opentravel.org/OTA/2003/05}:ServiceRPHsType' is not defined for 'element' at (line 1, col 255569, in file:///D:/Documents/whyitsnotworking/codegen/2009A/manual_test/OTA_HotelCommonTypes.xsd) Terminating due to errors in input schemas Any suggestions/ideas? Greetings, mat ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users