QName containedSchemaType = convertIdlToSchemaType(containedType);
XMLEventFactory factory = XMLEventFactory.newInstance();
attributes = new ArrayList<Attribute>();
attributes.add(factory.createAttribute(new QName(W3CConstants.NU_SCHEMA_XSI, "type"),
ANY_TYPE_PREFIX + ":"
+ containedSchemaType.getLocalPart()));
namespaces = new ArrayList<Namespace>();
namespaces.add(factory.createNamespace(ANY_TYPE_PREFIX,
containedSchemaType.getNamespaceURI()));