if (mTypeId != null)
{
// look up the type and raise error if there is no such type defined
StructuralType type =
(StructuralType)mExecutionState.getUsedProcessingElements().getType(mTypeId);
mType = new STypeReference(
mExecutionState.getNamespaceManager().resolve(mTypeId),
type.getSType());
}
if (mArraySize != -1)
{