*/
public String translatePropertyName(String name, NamespaceResolver resolver)
throws IllegalNameException, UnknownPrefixException {
QName qName = QName.fromJCRName(name, resolver);
try {
return qName.toJCRName(this);
} catch (NoPrefixDeclaredException e) {
// should never happen actually, because we create yet unknown
// uri mappings on the fly.
throw new IllegalNameException("Internal error.", e);
}