_name = AttributeValue.create(this, name, parser);
if (name.length() > 0) { _isLiteral = Util.isLiteral(name); if (_isLiteral) { if (!XMLChar.isValidNCName(name)) { ErrorMsg err = new ErrorMsg(ErrorMsg.INVALID_NCNAME_ERR, name, this); parser.reportError(Constants.ERROR, err); } } _name = AttributeValue.create(this, name, parser); } else reportError(this, parser, ErrorMsg.REQUIRED_ATTR_ERR, "name");
    public void parseContents(Parser parser) {	final String name  = getAttribute("name");	_name = AttributeValue.create(this, name, parser);	if (name.equals("xml")) {	    reportError(this, parser, ErrorMsg.ILLEGAL_PI_ERR, "xml");	}	parseChildren(parser);    }