mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
13 lines
429 B
HTML
13 lines
429 B
HTML
<html>
|
|
<body>
|
|
Reports comparisons of the <code>name()</code> function with a string that contains a colon (<code>:</code>). Such usages
|
|
usually indicate a hardcoded namespace prefix in the comparison. As a result, the code will break when run against XML that
|
|
uses another prefix for the same namespace.
|
|
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
<xsl:if test="name() = 'xlink:href'">...<xsl:if>
|
|
</code></pre>
|
|
|
|
</body>
|
|
</html> |