diff --git a/README.md b/README.md index 6d0ea8d4..f7360aa3 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,7 @@ The following settings are supported: Since 0.8.0: * `xml.codeLens.enabled`: Enable/disable XML CodeLens. Default is `false`. * `xml.symbols.excluded`: Disable document symbols (Outline) for the given file name patterns. Updating file name patterns does not automatically reload the Outline view for the relevant file(s). Each file must either be reopened or changed, in order to trigger an Outline view reload. +* `xml.validation.schemaVersion`: Set the XML Schema version to use. Defaults to `1.0`. More detailed info in the [Wiki](https://github.com/redhat-developer/vscode-xml/wiki/Preferences). diff --git a/package.json b/package.json index 248a2540..70f06f95 100644 --- a/package.json +++ b/package.json @@ -243,6 +243,17 @@ "description": "Enable/disable schema based validation. Ignored if \"xml.validation.enabled\": false.", "scope": "window" }, + "xml.validation.schemaVersion": { + "type": "string", + "enum": [ + "1.0", + "1.1", + "1.0EX" + ], + "default": "1.0", + "description": "The XML Schema version to use.", + "scope": "window" + }, "xml.symbols.enabled": { "type": "boolean", "default": true,