@Override
    public void endDocument() throws SAXException {
        super.endDocument();
        if (mPackageName == null || mPackageName.length() == 0)
            throw new InvalidPackConfiguration(FILENAME, "No package name defined!");
        
        if (!mSawKeyboardsMetadata && !mSawDictionariesMetadata && !mSawThemesMetadata)
            throw new InvalidPackConfiguration(FILENAME, "Pack defines no plugins!");
        //last verifications
        verifyMetaDataAndReciever(mKeyboardClass, mSawKeyboardsMetadata, "Keyboard");
        verifyMetaDataAndReciever(mDictionaryClass, mSawDictionariesMetadata, "Dictionary");
        verifyMetaDataAndReciever(mThemeClass, mSawThemesMetadata, "Theme");
    }