An attribute specification found in a start tag or an entity declaration must have been declared for the associated element or notation.

#0235   Markup Error

ISO 8879, 7.9

An attribute specification found in a start tag or an entity declaration must have been declared for the associated element or notation.