-
Notifications
You must be signed in to change notification settings - Fork 87
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
xosc.ParseOpenScenario
expects optional Event/startTrigger
#182
Comments
Could you provide an example? The only optional is the ConditionGroup when it comes to triggers, not Conditions. |
I'm talking about <Event name="Event" priority="skip">
<Action name="Action">
</Action>
</Event> However, parsing it should fail since |
xosc.ParseOpenScenario
expects optional Event/startCondition
xosc.ParseOpenScenario
expects optional Event/startTrigger
Aha, now it's clearer. Thanks. I'll fix that. |
https://github.com/pyoscx/scenariogeneration/tree/parsing_act_issue |
The change should not work since it still calls |
Sorry for the late update, now there is a new push in the same branch. |
In OpenScenario V1.2
Event/startTrigger
is optional and set to the start condition of the enclosing Act if missing. The current implementation ofxosc.ParseOpenScenario
fails if this child element is missing.Edit: corrected wrong child name
The text was updated successfully, but these errors were encountered: