// there was no xml-element-decl for this method in XML, so use the annotation
XmlElementDecl elementDecl = (XmlElementDecl) helper.getAnnotation(next, XmlElementDecl.class);
url = elementDecl.namespace();
localName = elementDecl.name();
scopeClass = elementDecl.scope();
if (!elementDecl.substitutionHeadName().equals("")) {
String subHeadLocal = elementDecl.substitutionHeadName();
String subHeadNamespace = elementDecl.substitutionHeadNamespace();
if (subHeadNamespace.equals("##default")) {
subHeadNamespace = namespaceInfo.getNamespace();
}