*/
public static String componentPath(OpenAttrBase comp) {
StringBuffer buff = new StringBuffer();
StringBuffer segment = new StringBuffer();
OpenAttrBase node = comp;
while (node != null && node.type() != SchemaBase.SCHEMA_TYPE) {
segment.append(node.name());
String name;
OpenAttrBase parent = node.getParent();
if (node instanceof INamed && (name = ((INamed)node).getName()) != null) {
segment.append("[@name=");