Inspectopedia Help

XPath

Hardcoded namespace prefix  

Reports comparisons of the name() function with a string that contains a colon (:).

Implicit type conversion  

Reports implicit conversions between the predefined XPath-types STRING, NUMBER, BOOLEAN, and NODESET.

Redundant type conversion  

Reports unnecessary type conversions.

Unknown element or attribute name  

Reports names of elements or attributes that are used in an XPath-expression but are missing in the associated XML files and are not defined in the referenced schemas.

XPath predicate with index 0  

Reports usages of 0 in a predicate index or in a comparison with the function position().

Last modified: 18 June 2024