if(!lex<string_constant>())throw_syntax_error("expected a quoted string constant in attribute selector for "+name.to_string());
if(!lex<string_constant>()&&!lex<identifier>())throw_syntax_error("expected a string constant or identifier in attribute selector for "+name.to_string());