throws error for invalid qname