In org.apache.xerces.impl.xs.traversers.XSDSimpleTypeTraverser

 should this instanceof be instanceof XSSimpleTypeDecl ?

XSSimpleType traverseLocal(Element elmNode,
           XSDocumentInfo schemaDoc,
           SchemaGrammar grammar) {

       // General Attribute Checking
Object[] attrValues = fAttrChecker.checkAttributes(elmNode, false, schemaDoc);
       String name = genAnonTypeName(elmNode);
XSSimpleType type = getSimpleType (name, elmNode, attrValues, schemaDoc, grammar);
       if(type instanceof XSSimpleTypeDefinition)
           ((XSSimpleTypeDecl)type).setAnonymous(true);
       fAttrChecker.returnAttrArray(attrValues, schemaDoc);

       return type;
}


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to