Of course, if an element of this undeclared type actually showed up in the document, that would be an error - a validity error, to be precise.
Back-link to spec