I had the same issue while creating a module for EhCache in jboss 7.1.1.Final.
In the end I used the following dependency (because it was asking first for "org/xml/sax/helpers" then for "javax/xml/parsers", "javax/naming", and so on...)
<module name="javax.api"/>