Add exception handling with decorator for ddi tag attributes.

Also restore showing the xpath of the missing ddi tag.