It is not required to define the attribute
scope in
every element definition. If the
scope is not defined for
the element definition, ElementFactory uses a default value. The default
scope value
is
singleton, and you can use the following code to change
the default value:
<string id="defaultScope" value="prototype" />
Note: You
must define it in your TagProvider, together with your element definition.
And you must use defaultScope as the id.
For more
information about scope, see Scope.