Package jmri.util

Class JmriLocalEntityResolver

java.lang.Object
jmri.util.JmriLocalEntityResolver
All Implemented Interfaces:
EntityResolver

public class JmriLocalEntityResolver
extends Object
implements EntityResolver
Entity Resolver to locate JMRI DTDs in the local space.

For historical reasons, JMRI xml files might have DTD definitions of three forms:

  1. SYSTEM "../DTD/decoder-config.dtd"
  2. SYSTEM "layout-config.dtd"
  3. SYSTEM "http://jmri.sourceforce.net/xml/DTD/layout-config.dtd"
Only the last of these is preferred now. The first two refer to local files within the JMRI distributions in the xml/DTD directory.