if (types[i].equals(principal)) {
found = true;
if ("property".equals(principal)) {
printer.writeElement("D", null, principal,
XMLPrinter.OPENING);
PropertyName property = ace.getProperty();
String nsURI = property.getNamespaceURI();
if ("DAV:".equals(nsURI)) {
printer.writeElement("D", null,
property.getLocalName(),
XMLPrinter.NO_CONTENT);
} else {
printer.writeElement("Z", nsURI,
property.getLocalName(),
XMLPrinter.NO_CONTENT);
}
printer.writeElement("D", null, principal,
XMLPrinter.CLOSING);
} else {