Raise exception on empty 'showAs' attribute.

Fixes #442