rewrite of rule to allow chaining (patch from Ryan Gustafson)

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4938 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch
2007-01-12 19:00:51 +00:00
parent 1c7f22237f
commit 74acaa7dd8

View File

@ -62,8 +62,10 @@ onload=calcDays;
<properties>
<property name="xpath">
<value>
<![CDATA[ //descendant::*[
self::JspScriptlet or (self::Element and string:upper-case(@Name)="JSP:SCRIPTLET") ]
<![CDATA[
//JspScriptlet
|
//Element[ string:upper-case(@Name)="JSP:SCRIPTLET" ]
]]>
</value>
</property>