Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMV2 validation exception when using branch probabilities with underscores. #1647

philip-alldredge opened this Issue Nov 20, 2018 · 0 comments


None yet
3 participants
Copy link

philip-alldredge commented Nov 20, 2018


Branch probabilities are allowed to have underscores without affecting meaning. However, OSATE parses the branch probability's real value as a double which causes an exception.

Expected and Current Behavior

No exception should be thrown and the calculation show proceed.

Steps to Reproduce

Enter a branch probability containing an underscore. Validation error occurs.

package emv_test2
	annex EMV2 {**
		error behavior state_machine
			sensor_failure: error event;
			normal: initial state;
			recovering: state;
			failed: state;
			new_transition: normal -[sensor_failure]-> (recovering with 0.2_0, failed with 0.8_0);
		end behavior;
end emv_test2;


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.