reader.registerMultiMapping(new InputSource(getClass().getResourceAsStream("/mapping.xml")));
reader.registerMultiMapping(getBetwixtMapping());
    protected BeanReader getReader() throws IntrospectionException, SAXException, IOException    {        BeanReader reader = new BeanReader();        reader.getXMLIntrospector().getConfiguration().setAttributesForPrimitives(true);        reader.getXMLIntrospector().getConfiguration().setWrapCollectionsInElement(false);        reader.getXMLIntrospector().getConfiguration().setElementNameMapper(new HyphenatedNameMapper());        reader.setValidating(isValidateXml());        if (isUseInternalDtd())        {            reader.setEntityResolver(new LocalEntityResolver());        }        reader.registerMultiMapping(new InputSource(getClass().getResourceAsStream("/mapping.xml")));        return reader;    }