Fixed parsing of numeric attributes