else if (name == SchemaNames.SIMPLETYPE) {
else if (name == SchemaNames.SIMPLE_TYPE) {
    public void startElement(String name, AttributeList atts)        throws SAXException    {                if (skipAll) return;                String rawName = name;                //-- handle namespaces        processNamespaces(atts);        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;                        //-- backward compatibility, we'll need to         //-- remove this at some point        if ((!foundSchemaDef) && (idx < 0)) {            if (defaultNS == null) {                defaultNS = XSD_NAMESPACE;                namespace = XSD_NAMESPACE;                System.out.println("No namespace declaration has been " +                    "found for " + name);                System.out.print("   * assuming default namespace of ");                System.out.println(XSD_NAMESPACE);            }        }        //-- end of backward compatibility                //-- check namespace        if (!XSD_NAMESPACE.equals(namespace)) {            throw new SAXException(rawName +                 " has not been declared in the XML Schema namespace");        }                //-- Do delagation if necessary        if (unmarshaller != null) {            unmarshaller.startElement(name, atts);            ++depth;            return;        }                                //-- use VM internal String of name        name = name.intern();                        if (name == SchemaNames.SCHEMA) {                        if (foundSchemaDef)                illegalElement(name);                            foundSchemaDef = true;            init(atts);            return;        }                //-- <type>        if (name == SchemaNames.COMPLEXTYPE) {            unmarshaller                 = new ComplextypeUnmarshaller(_schema, atts, _resolver);        }         //-- <element>        else if (name == SchemaNames.ELEMENT) {            unmarshaller                 = new ElementUnmarshaller(_schema, atts, _resolver);        }        //-- <simpletype>        else if (name == SchemaNames.SIMPLETYPE) {            unmarshaller                 = new SimpletypeUnmarshaller(_schema, atts, _resolver);        }        else {            //-- we should throw a new Exception here            //-- but since we don't support everything            //-- yet, simply add an UnknownDef object            System.out.print(name);            System.out.print(" elements are either currently unsupported ");            System.out.println("or not valid schema elements.");            unmarshaller = new UnknownUnmarshaller(name);        }                unmarshaller.setDocumentLocator(getDocumentLocator());            } //-- startElement