|
Request for help in getting results of FindBugs stylesheets to validate: msg#00071java.findbugs.general
I'm now trying to validate the results of applying each of the FindBugs style sheets and part of our nightly smoke test. I've encountered a few problems. XML stylesheets isn't an area of expertise of mine, so I'd appreciate any help. For default.xsl: We have: <tr class="detailrow{position() mod 2}"> <td/> <td> <p id="{$warningId}" style="display: none;"> <a href="#{@type}">Bug type <xsl:value-of select="@type"/> (click for details)</a> <xsl:for-each select="./*/Message"> <br/><xsl:value-of select="text()"/> </xsl:for-each> </p> </td> </tr> The problem here is that when this is applied to <Message>In method org.apache.bcel.generic.Type.<static initializer>()</Message> it generates: <br/>In method org.apache.bcel.generic.Type.<static initializer>() which won't validate. This problem doesn't seem to come up for the other style sheets, although the way in which they include the Message element in the resulting html looks identical. Any ideas? Second question: default.xsl and fancy.xsl use <xsl:output method="xml" ... while plain.xsl and summary.xsl use <xsl:output method="html" ... Should they all be consistent? Bill
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Exception running findbugs ant task, Bill Pugh |
|---|---|
| Next by Date: | fusing line numbers for fb markers in Eclipse plugin, Eugene Kuleshov |
| Previous by Thread: | FindBugs Ant Task Enhancement, Scott Wolk |
| Next by Thread: | fusing line numbers for fb markers in Eclipse plugin, Eugene Kuleshov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |