public Object load(InputStream in) throws IOException {
        try {
            
            // Added by larynx 25.06.2011
            // Android needs the namespace aware flag set to true 
            // Kirill 30.06.2011
            // Now, hack is applied for both desktop and android to avoid
            // checking with JmeSystem.
            SAXParserFactory factory = SAXParserFactory.newInstance();
            factory.setNamespaceAware(true);
            XMLReader xr = factory.newSAXParser().getXMLReader();  
                         
            xr.setContentHandler(this);
            xr.setErrorHandler(this);
            InputStreamReader r = new InputStreamReader(in);
            xr.parse(new InputSource(r));
            if (animClips == null) {
                animClips = new ArrayList<AnimClip>();
            }
            AnimData data = new AnimData(armature, animClips);
            armature = null;
            animClips = null;
            return data;
        } catch (SAXException | ParserConfigurationException ex) {
            IOException ioEx = new IOException("Error while parsing Ogre3D dotScene");
            ioEx.initCause(ex);
            fullReset();
            throw ioEx;
        }
        
    }
Reset the SkeletonLoader in case an error occurred while parsing XML.
This allows future use of the loader even after an error.
jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/SkeletonLoader.java