added primitive check for cross_domain_policy value validation