ImportSDOLoader: DataTypeImpl not found in XSDEcoreBuilder.typeToTypeObjectMap causes NPE (surfaced as IllegalArgumentException) --------------------------------------------------------------------------------------------------------------------------------
Key: TUSCANY-676 URL: http://issues.apache.org/jira/browse/TUSCANY-676 Project: Tuscany Issue Type: Bug Components: Java SDO Implementation Reporter: Chris Wall Attachments: medrec.zip, xsdecorebuilder_npe.zip During SDO import of WSDL, elements of the following complex type are not found when validated against available SDO datatypes within the XSD layer (XSDEcoreBuilder). Downstream this causes an NPE. It could be that the comparison between the type and the key is not properly implemented. See the attached zip containing debug screenshots. <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="java:com.bea.proto.webservice" xmlns:xs=" http://www.w3.org/2001/XMLSchema"> <xs:complexType name="Patient"> <xs:sequence> <xs:element minOccurs="1" name="Id" nillable="true" type="xs:int"/> <xs:element minOccurs="1" name="Dob" nillable="true" type="xs:dateTime"/> <xs:element minOccurs="1" name="FirstName" nillable="true" type="xs:string"/> <xs:element minOccurs="1" name="Gender" nillable="true" type="xs:string"/> <xs:element minOccurs="1" name="LastName" nillable="true" type="xs:string"/> <xs:element minOccurs="1" name="MiddleName" nillable="true" type="xs:string"/> <xs:element minOccurs="1" name="Phone" nillable="true" type="xs:string"/> <xs:element minOccurs="1" name="Ssn" nillable="true" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:schema> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]