System.out.println("warning: top-level complextype with no name.");
System.out.println("warning: top-level complexType with no name.");
    public void endElement(String name) throws SAXException {                        if (skipAll) return;                String rawName = name;                //-- handle namespaces        String namespace = null;        int idx = name.indexOf(':');        if (idx >= 0 ) {            String prefix = name.substring(0,idx);            name = name.substring(idx+1);            namespace = (String)namespaces.get(prefix);        }        else namespace = defaultNS;                //-- Do delagation if necessary        if ((unmarshaller != null) && (depth > 0)) {            unmarshaller.endElement(name);            --depth;            return;        }                        //-- use internal JVM String        name = name.intern();                                if (name == SchemaNames.SCHEMA) return;                        //-- check for name mismatches        if ((unmarshaller != null)) {            if (!name.equals(unmarshaller.elementName())) {                String err = "error: missing end element for ";                err += unmarshaller.elementName();                throw new SAXException(err);            }        }        else {            String err = "error: missing start element for " + name;            throw new SAXException(err);        }                //-- call unmarshaller.finish() to perform any necessary cleanup        unmarshaller.finish();                if (name == SchemaNames.COMPLEXTYPE) {            Complextype complextype = null;            complextype = ((ComplextypeUnmarshaller)unmarshaller).getComplextype();            _schema.addComplextype(complextype);            if (complextype.getName() != null) {                _resolver.addResolvable(complextype.getReferenceId(), complextype);            }            else {                System.out.println("warning: top-level complextype with no name.");            }        }        else if (name == SchemaNames.SIMPLETYPE) {            Simpletype simpletype = null;            simpletype = ((SimpletypeUnmarshaller)unmarshaller).getSimpletype();            _schema.addSimpletype(simpletype);            _resolver.addResolvable(simpletype.getReferenceId(), simpletype);        }        else if (name == SchemaNames.ELEMENT) {            ElementDecl element = null;            element = ((ElementUnmarshaller)unmarshaller).getElement();            _schema.addElementDecl(element);        }        unmarshaller = null;    } //-- endElement