I have 2 optons for a valid response to my test case. I ask for and entire object model, the CPE has 2 valid responses. 1st. Response gives me the object model. 2nd. If the CPE cannot ...
1) Create 2 assertions, first a script assertion, then a schema-compliance assertion 2) In the script, check for the 9004 condition and enable/disable the second assertion dynamically from there. Since the assertions are processed in the order they are defined, the schema-compliance wont be evaluated if it has been disabled.