small fix to enable resolving external entities included in the DTD; external entities are now resolved successfully by DBEntityResolver using the specified system ids and thus there no need of registering the relative system ids, This is because EntityResolver uses its internal implementation to map the relative system ids to the files on the current file system; for example external entity declared in the DTD as: <!ENTITY % resource SYSTEM "./eml-resource.dtd"> is resolved to "file:///opt/tomcat/webapps/bojilova/dtd/eml-resource.dtd" which is the right location of eml-resource.dtd file.
small fix to enable resolving external entities included in the DTD;
external entities are now resolved successfully by DBEntityResolver using the specified system ids
and thus there no need of registering the relative system ids,
This is because EntityResolver uses its internal implementation to map the relative system ids to the
files on the current file system; for example external entity declared in the DTD as:
<!ENTITY % resource SYSTEM "./eml-resource.dtd">
is resolved to "file:///opt/tomcat/webapps/bojilova/dtd/eml-resource.dtd"
which is the right location of eml-resource.dtd file.