Try making the schema location in <import ....> a full URI of either file: or http: type. Perhaps the relative directory path isn't working the same way in Xerces 2 as in Xerces 1.
Jeff ----- Original Message ----- From: "Th�bault, M�d�rick" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 05, 2002 6:42 AM Subject: Xerces1.4.4 and xerces 2.x Hello, Here i sthe deal. Here are two xsds. First <xs:schema targetNamespace="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:response="http://myhost/TruckTrace" xmlns:request="http://myhost/TruckTrace" elementFormDefault="qualified" attributeFormDefault="qualified"> <xs:import namespace="http://myhost/TruckTrace" schemaLocation="TruckTraceRequest.xsd"/> <xs:import namespace="http://myhost/TruckTrace" schemaLocation="TruckTraceResponse.xsd"/> ... </xs:schema> With our words and what we understood, the first is referencing the second. ... But with xerces 2.2.1 we keep getting this error : "src-resolve: Cannot resolve the name 'response:truckResponse' to a(n) element declaration component." --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
