-
Notifications
You must be signed in to change notification settings - Fork 28
Fixing Common Errors
Drew Lewis edited this page Jan 28, 2026
·
3 revisions
This usually means that you have placed an <answer> within a <statement>. Unfortunately, this error doesn't tell you where the problem occurs, so it can be hard to find. You can use the following command in the terminal to list all of the places where <answer>s are neither a child of an <activity> or of a <task>:
python scripts/xpath_wrapper.py --query "//answer[not(parent::activity or parent::task)]" source/*/source/*/*.ptx