diff --git a/src/settings/settings.ts b/src/settings/settings.ts index c73ce545..8072dead 100644 --- a/src/settings/settings.ts +++ b/src/settings/settings.ts @@ -215,6 +215,7 @@ export function getXMLSettings(javaHome: string | undefined, logfile: string, ex xml['xml']['logs']['file'] = logfile; xml['xml']['useCache'] = true; xml['xml']['java']['home'] = javaHome; + xml['xml']['validation']['resolveExternalEntities'] = workspace.getConfiguration('files').get('resolveExternalEntities', false); xml['xml']['format']['trimFinalNewlines'] = workspace.getConfiguration('files').get('trimFinalNewlines', true); xml['xml']['format']['trimTrailingWhitespace'] = workspace.getConfiguration('files').get('trimTrailingWhitespace', false); xml['xml']['format']['insertFinalNewline'] = workspace.getConfiguration('files').get('insertFinalNewline', false);