else
{
// found all but last one: we must be appending.
// but where to append?
QNameSet delimiters = _parent._user.get_element_ending_delimiters(name);
for (insertindex = lastfoundat + 1; insertindex < _childElementTypeStores.size(); insertindex++)
{
TestTypeStore store = (TestTypeStore)_childElementTypeStores.get(insertindex);
if (delimiters.contains(store._name))
break; // insertindex is wherever the first delimiter is found
}
// if not found, insertindex is one past the end.
}