Add support for element declarations, and parse XML version according to the 1.0 specs edition 5