Attributes attributes) throws SAXException {
DerivableHTTPMessageEntity entity = createEntity();
// Initialise the entity from the attributes.
SetterFinder finder = new SetterFinder(setters);
int length = attributes.getLength();
for (int i = 0; i < length; i += 1) {
String namespaceURI = attributes.getURI(i);
if (namespaceURI.equals("")) {
String localName = attributes.getLocalName(i);
Setter setter = finder.findAttributeSetter(localName);
if (setter == null) {
forwardError(dynamicProcess,
"Invalid attribute '" + localName + "'");
}