String text = DOMUtil.getSyntheticAnnotation(content);
if (text != null) {
if (patternAnnotations == null){
patternAnnotations = new XSObjectListImpl();
}
patternAnnotations.addXSObject(traverseSyntheticAnnotation(content, text, attrs, false, schemaDoc));
}
}
if (child !=null) {
reportSchemaError("s4s-elt-must-match.1", new Object[]{"pattern", "(annotation?)", DOMUtil.getLocalName(child)}, child);
}