On Thu, Feb 9, 2012 at 9:00 PM, Supun Kamburugamuva <email@example.com>
May be using a service providers is not a good idea. Lately we have not used this approach for registering things because of its sun specific nature. We use the synapse.properties file for registering the XPath extensions. It is a best place for placing this kind of extensions because we are not going to develop lot of endpoints like we do for mediators.
yes seems like synapse.properties is the better option of the two....