_name = parser.getQNameIgnoreDefaultNs(getAttribute("name")); if (_name == null) { _name = parser.getQNameIgnoreDefaultNs(EMPTYSTRING); }
final String name = getAttribute("name"); if (name.length() > 0) { if (!XMLChar.isValidQName(name)){ ErrorMsg err = new ErrorMsg(ErrorMsg.INVALID_QNAME_ERR, name, this); parser.reportError(Constants.ERROR, err); } } _name = parser.getQNameIgnoreDefaultNs(name); if (_name == null) { _name = parser.getQNameIgnoreDefaultNs(EMPTYSTRING); }
    public void parseContents(Parser parser) {	// Get the name of these decimal formatting symbols	_name = parser.getQNameIgnoreDefaultNs(getAttribute("name"));	if (_name == null) {	    _name = parser.getQNameIgnoreDefaultNs(EMPTYSTRING);	}	// Check if a set of symbols has already been registered under this name	SymbolTable stable = parser.getSymbolTable();	if (stable.getDecimalFormatting(_name) != null) {	    reportWarning(this, parser, ErrorMsg.SYMBOLS_REDEF_ERR,		_name.toString());	}	else {	    stable.addDecimalFormatting(_name, this);	}    }