Fixed lang validation
Added missing priority attribute specs in DTD
Added xmlns validation
Small fixes in dtd.rb