powered by Jive Software

Should a custom PacketExtension always return 'x' for element name?

Is this a convention for extensions that should always be followed for some reason? Or does it not matter what I use as the element name? I’m guessing it doesn’t as long as I register the right element name with the ProviderManager …


You guessed correctly. Extensions can return any element you want, as long as you register the element & namespace with the ProviderManager.