blob: fe62e29c3d14a2b5cdfcb5c20b10e166899fd180 [file] [log] [blame]
<html>
<head>
<style type="text/css">
body, table {
font-family: Verdana, sans-serif;
font-size: 100%;
padding-left: 2mm;
}
#footer {
font-size: 95%;
padding-top: 10px;
}
</style>
</head>
<body>
<p>
This inspection checks for comparisons of the <tt>name()</tt>-function against strings that contain a ":" - which
usually indicates a hardwired namespace-prefix in the comparison. Such code will break when run against XML that
uses a different prefix for the same namespace.
</p>
<p>Example:</p>
<p>
<code>&lt;xsl:if test="name() = 'xlink:href'">...&lt;xsl:if></code>
</p>
<p id="footer">Powered by XPathView + XSLT-Support</p>
</body>
</html>