Topic
  • 2 replies
  • Latest Post - ‏2013-09-09T14:42:25Z by Martin Siegenthaler
Martin Siegenthaler
Martin Siegenthaler
3 Posts

Pinned topic What is the XMLParse() parm's trigger separator?

‏2013-09-07T03:27:18Z |

I'm getting the following error when attempting to specify two triggers on an XMLParse()


CDISP9168E The number of trigger values that are expected is 2, but the number that was found is 1.  

This is the code ...

    (stream<HitN_env_type> output0; stream<HitN_appdata_type> output1) = XMLParse(input0) {
       param trigger : "/HitN/env|/HitN/appdata";
             parsing : permissive;  // log and ignore errors
             flatten : elements;
       output output0 : s = s;
              output1 : s = s;       
    }

I have tried to separate the triggers with :  '|', ';', ','

Thanks in advance.

  • hnasgaard
    hnasgaard
    200 Posts
    ACCEPTED ANSWER

    Re: What is the XMLParse() parm's trigger separator?

    ‏2013-09-09T13:22:51Z  

    Try param trigger : "/HitN/env", "/HitN/appdata";


    The trigger param takes a list of rstrings, one per trigger.

  • hnasgaard
    hnasgaard
    200 Posts

    Re: What is the XMLParse() parm's trigger separator?

    ‏2013-09-09T13:22:51Z  

    Try param trigger : "/HitN/env", "/HitN/appdata";


    The trigger param takes a list of rstrings, one per trigger.

  • Martin Siegenthaler
    Martin Siegenthaler
    3 Posts

    Re: What is the XMLParse() parm's trigger separator?

    ‏2013-09-09T14:42:25Z  
    • hnasgaard
    • ‏2013-09-09T13:22:51Z

    Try param trigger : "/HitN/env", "/HitN/appdata";


    The trigger param takes a list of rstrings, one per trigger.

    Yep, that is it.

    thanks

    Obvious after it's revealed - not before.