compat 1.8
fix @attributes array with content
add some more spec
update README