rspec/rules/S1928/html/rule.adoc

42 lines
725 B
Plaintext
Raw Normal View History

== Why is this an issue?
2021-04-28 16:49:39 +02:00
This rule checks that the disallowed tag libraries are not used.
=== Noncompliant code example
2021-04-28 16:49:39 +02:00
Using the default parameter for this rule, "http://java.sun.com/jstl/sql":
2022-02-04 17:28:24 +01:00
[source,html]
2021-04-28 16:49:39 +02:00
----
<%@ taglib uri="http://java.sun.com/jstl/sql" prefix="prefixOfTag" > <!-- Noncompliant -->
<jsp:directive.taglib uri="http://java.sun.com/jstl/sql" prefix="prefixOfTag" /> <!-- Noncompliant -->
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
Remove the use of "xxx".
=== Parameters
.tagLibs
****
----
http://java.sun.com/jstl/sql
----
Comma-separated list of URIs of disallowed taglibs
****
endif::env-github,rspecator-view[]