public XmlMetaData(Schema schema) throws Exception {
public XmlMetaData(Reader xsdReader) throws Exception {
    public XmlMetaData(Schema schema) throws Exception {        paths = new Stack();        keyFields = new HashMap();        keyNameToPath = new HashMap();        keyNameToField = new HashMap();        keyrefFields = new HashMap();        keyrefFieldToKey = new HashMap();        clsNameMap = new HashMap();        keyNames = new HashMap();        xpathToRegex = new HashMap();        referenceElements = new HashMap();        buildRefsMap(schema);        filterReferenceElements();        LOG.info("clsNameMap: " + clsNameMap);        LOG.info(toString());    }