Also, output UNKNOWN_PREFIX ('?') instead of writing a nul character when the attribute prefix is unknown.