Complete cart indicator should be either true or false.
cbc:ActionCode
( ( not(contains(normalize-space(.),' ')) and contains( ' true false ',concat(' ',normalize-space(.),' ') ) ) )