• Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • 2.5.0.CR3
    • None
    • WebSphere -> EAP
    • None

      Websphere jsp files could have empty import attribute and won't fail while JBoss EAP verifies this and complains about it in deployment process. It is good to check this in a rule like:

      <rule id="jsp-empty-imports">
      <when>
      <filecontent filename="{*}.jsp" pattern="import={emptyString}" />
      </when>
      <perform>
      <hint message="Empty imports definition in a jsp" effort="1"
      severity="mandatory">
      <message>Empty import definitions in .jsp or .jspf files will fail in compilation time. It is needed to remove them.</message>
      </hint>
      </perform>
      <where param="emptyString">
      <matches pattern="(&quot;&quot;)" />
      </where>
      </rule>
      

            ozizka_jira Ondrej Zizka (Inactive)
            rmarting@redhat.com Roman Martin Gil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: