Dotfuscator uses XML formatted documents for the configuration and mapping files. When loaded, these documents are validated according to the Document Type Definitions (DTDs) specified in the
doctype. In order to perform the validation, Dotfuscator must be able to access the relevant DTD.
Dotfuscator takes the following steps to locate DTDs:
- If the DTD URI specifies a local file, Dotfuscator searches for it in the indicated location. If it is not found, an error occurs.
- If the DTD URI specifies a web resource, Dotfuscator first searches its cache for a file with the same name as that specified in the URI. Dotfuscator keeps its cache in the %ProgramData%\PreEmptive Solutions\Common directory.
- If not found, Dotfuscator accesses the URI to obtain the DTD. If found, Dotfuscator caches the DTD so subsequent requests will not need to access the network. If the DTD is not found, or if Dotfuscator is unable to retrieve it from the network, an error occurs.