PhpStorm 2021.2 Help

Code Inspections in XSLT

This topic lists all PhpStorm code inspections available in XSLT.

You can toggle specific inspections or change their severity level on the Editor | Inspections page of the IDE settings Ctrl+Alt+S.

Inspection

Description

Default Severity

Incorrect declaration



Reports a discrepancy in the declaration of an XSLT variable, parameter, or named template:

  • Duplicate declarations

  • Illegal identifiers



Powered by XPathView + XSLT-Support

Error Error

Incorrect template invocation



Reports one of the following problems in an invocation of a named XSLT template: a missing argument, passing an argument that is not declared by the template, or passing an argument for a certain parameter more than once .

Parameters declared with a default value are optional and therefore ignored.

Powered by XPathView + XSLT-Support

Error Error

Shadowed variable



Reports a shadowed XSLT variable.

Powered by XPathView + XSLT-Support

Warning Warning

Unused variable or parameter



Reports a local variable parameter that id never used.

Powered by XPathView + XSLT-Support

Warning Warning

Last modified: 01 December 2021