public ResourceImplementation read(XMLStreamReader reader) throws ContributionReadException, XMLStreamException {
// Read an <implementation.resource> element
// Create and initialize the resource implementation model
ResourceImplementation implementation = null;
// Read the location attribute specifying the location of the resources
String location = reader.getAttributeValue(null, "location");
if (location != null) {
implementation = implementationFactory.createResourceImplementation();
implementation.setLocation(location);
implementation.setUnresolved(true);
} else {
error("LocationAttributeMissing", reader);
//throw new ContributionReadException(MSG_LOCATION_MISSING);
}