Class TopicMapDTDEntityResolver

java.lang.Object
net.ontopia.topicmaps.xml.TopicMapDTDEntityResolver
All Implemented Interfaces:
EntityResolver

public class TopicMapDTDEntityResolver extends Object implements EntityResolver
INTERNAL: SAX entity resolver that only follows doctype declarations referencing the ISO 13250 and XTM 1.0 DTDs using public ids if the references actually point to something that can be accessed. If not an empty input source is returned instead.

This behaviour is activated for references to system ids ending in '.dtd' and to the following public ids:

   "-//TopicMaps.Org//DTD XML Topic Map (XTM) 1.0//EN"
   "+//IDN ontopia.net//DTD Topic Map Interchange Format (Strict 1.0)//EN"
 
Since:
2.0.3