mySchema.add(factory.newXSElement(mySchema, element));
} else if (pChild instanceof XsTAttribute) {
XsTAttribute attribute = (XsTAttribute) pChild;
mySchema.add(factory.newXSAttribute(mySchema, attribute));
} else if (pChild instanceof XsENotation) {
XsENotation notation = (XsENotation) pChild;
mySchema.add(factory.newXSNotation(mySchema, notation));
} else {
Locator locator = (pChild instanceof XsObject) ?
((XsObject) pChild).getLocator() : pSyntaxSchema.getLocator();
throw new LocSAXException("Unknown child type: " + pChild.getClass().getName() +