-
Methods Method Description com.sun.xml.xsom.XSDeclaration.isAnonymous() use the isGlobal method, which always returns the opposite of this function. Or the isLocal method.com.sun.xml.xsom.XSElementDecl.listSubstitutables() this method allocates a new array every time, so it could be inefficient when working with a large schema. UseXSElementDecl.getSubstitutables()instead.com.sun.xml.xsom.XSSchema.getSourceDocument() Since this method always returns null, if you are calling this method fromXSSchemaand not fromXSComponent, there's something wrong with your code.