Hello , I look into the source code in package ‘org.jivesoftware.smackx.pubsub’ of sub project ‘smack-extensions’. It seems class ‘Affiliation’ is the element extension of ‘’, but the Affiliation.getElementName() return “subscription”(inconsistent with ‘affiliation’). I’m not so sure whether it should be fixed.