PyCharm 2016.2 Help

Default XML Schemas

File | Settings | Languages and Frameworks | Schemas and DTDs | Default XML Schema for Windows and Linux
PyCharm | Preferences | Languages and Frameworks | Schemas and DTDs | Default XML Schema for OS X
Ctrl+Alt+S

settings

On this page:

Default HTML Language Level

Normally, an HTML or an XHTML file has the <!DOCTYPE> declaration which states the language level of the used in the source code from the file. This language level is used as a standard against which the contents of the file are validated. If an HTML or an XHTML file does not have a <!DOCTYPE> declaration, the contents of the file will be validated against the default standard (schema). In the Default HTML Language Level area, choose the default schema to validate HTML and XHTML files without a <!DOCTYPE> declaration. The available options are:

  • HTML 4 or HTML 5: Choose one of these options to have files treated as HTML 4 or HTML 5 and validated against one of these standards.
  • Other doctype: Choose this option to have HTML files by default validated agains a custom DTD or schema and specify the URL of the DTD or schema to be used.

    Note that code completion is available in this field: press Ctrl+Space to see the list of suggested URLs.

    defaultHtmlLangLevel

Default XML Schema Version

In this area, choose the XSD (XML Schema Definition) Schema to validate XML files. The available options are:

See Also

Last modified: 29 August 2016