public void parseContents(Parser parser) {
// Get the required attributes and parser XPath expressions
final String name = getAttribute("name");
if (!XML11Char.isXML11ValidQName(name)){
ErrorMsg err = new ErrorMsg(ErrorMsg.INVALID_QNAME_ERR, name, this);
parser.reportError(Constants.ERROR, err);
}
// Parse key name and add to symbol table
_name = parser.getQNameIgnoreDefaultNs(name);