Class XMLHandler

java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.forgerock.util.xml.XMLHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class XMLHandler extends DefaultHandler
This is a custom XML handler to load the dtds from the classpath This should be used by all the xml parsing document builders to set the default entity resolvers. This will avoid to have the dtds having specified in a fixed directory that will get replaced during installation This will need to specify the dtds as follows jar://com/sun/identity/sm/sms.dtd Bundle all the dtds along with the jar files and