protected void add(XsESchema pSyntaxSchema, Object pChild) throws SAXException {
XSSchema mySchema = getSchema();
XSContext data = getData();
XSObjectFactory factory = data.getXSObjectFactory();
if (pChild instanceof XsEAnnotation) {
XsEAnnotation annotation = (XsEAnnotation) pChild;
mySchema.add(factory.newXSAnnotation(mySchema, annotation));
} else if (pChild instanceof XsETopLevelSimpleType) {
XsETopLevelSimpleType type = (XsETopLevelSimpleType) pChild;
mySchema.add(factory.newXSType(mySchema, type));
} else if (pChild instanceof XsTComplexType) {