if (obj instanceof XmlObjectBase) {
XmlObjectBase source = (XmlObjectBase)obj;
reader = source.newCursorForce().newXMLStreamReader(options);
} else {
XmlTokenSource source = (XmlTokenSource)obj;
reader = source.newCursor().newXMLStreamReader(options);
}
SchemaType st = (SchemaType)part.getProperty(SchemaType.class.getName());
if (st != null && !st.isDocumentType()) {
if (StringUtils.isEmpty(part.getConcreteName().getNamespaceURI())) {