_name = parser.getQName(name); _name.clearDefaultNamespace();
setName(parser.getQName(name));
    public void parseContents(Parser parser) {	// Parse attributes name and select (if present)	final String name = getAttribute("name");	if (name.length() > 0) {	    _name = parser.getQName(name);	    _name.clearDefaultNamespace();	}        else {	    reportError(this, parser, ErrorMsg.NREQATTR_ERR, "name");        }	// check whether variable/param of the same name is already in scope	if (parser.lookupVariable(_name) != null) {	    ErrorMsg msg = new ErrorMsg(ErrorMsg.VARREDEF_ERR, _name, this);	    parser.reportError(Constants.ERROR, msg);	}		final String select = getAttribute("select");	if (select.length() > 0) {	    _select = parser.parseExpression(this, "select", null);	}	// Children must be parsed first -> static scoping	parseChildren(parser);	// Add a ref to this param to its enclosing construct	final SyntaxTreeNode parent = getParent();	if (parent instanceof Stylesheet) {	    _isLocal = false;	    ((Stylesheet)parent).addParam(this);	    //!! check for redef	    parser.getSymbolTable().addParam(this);	}	else if (parent instanceof Template) {	    _isLocal = true;	    ((Template)parent).hasParams(true);	}    }