| <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><xsl:if test="name() = 'xlink:href'">...<xsl:if></code> |
| </p> |
| |
| <p id="footer">Powered by XPathView + XSLT-Support</p> |
| </body> |
| </html> |