Message Text
Collection scopes, directory scopes, and path-namespaces cannot be declared in child extraction templates, bad node:: variable1
Cause
Collection scopes, directory scopes, and path-namespaces cannot be declared in child extraction templates.
Response
Move the collection scopes, directory scopes and the path-namespaces to the top-level template.