Menu

#1330 XSLT script to produce colorized reports

3.0.1
closed-fixed
None
9
2015-01-11
2014-11-19
Jolkdarr
No

A XSLT script allowing to produce eye-candy reports has been attached.
Generated from plain.xsl.
Should be included in the distribution.

1 Attachments

Related

Bugs: #1330

Discussion

  • Tagir Valeev

    Tagir Valeev - 2015-01-10

    Hello!

    I tried to use your XSLT script with Saxon-HE 9.6.0.2N from Saxonica. It reports the following errors:

    Warning: at xsl:stylesheet on line 23 column 51 of color.xsl:
      Running an XSLT 1 stylesheet with an XSLT 2 processor
    Warning: at xsl:variable on line 304 column 56 of color.xsl:
      SXWN9001: A variable with no following sibling instructions has no effect
    Warning: at xsl:variable on line 307 column 59 of color.xsl:
      SXWN9001: A variable with no following sibling instructions has no effect
    Error on line 46 of color.xsl:
      SEPM0009: Values of 'standalone' and 'omit-xml-declaration' conflict
    Values of 'standalone' and 'omit-xml-declaration' conflict
    

    Shouldn't this be corrected? Or I should use some other XSLT software?

     
    • Jolkdarr

      Jolkdarr - 2015-01-11

      Hello Tagir

      I agree with you: error shall be fixed and warnings should be processed.
      I provide a new version of the script file (still in XSLT 1.0).
      Tested with Saxon-HE 9.6.0.3J without any relevant error.

      Note: The first warning you got is due to the difference of XSLT format.
      It's not actually a problem to fix.

      Best regards
      Brahim Djoudi

      Hello!

      I tried to use your XSLT script with Saxon-HE 9.6.0.2N from Saxonica.
      It reports the following errors:

      Warning: at xsl:stylesheet on line 23 column 51 of color.xsl:
      Running an XSLT 1 stylesheet with an XSLT 2 processor
      Warning: at xsl:variable on line 304 column 56 of color.xsl:
      SXWN9001: A variable with no following sibling instructions has no effect
      Warning: at xsl:variable on line 307 column 59 of color.xsl:
      SXWN9001: A variable with no following sibling instructions has no effect
      Error on line 46 of color.xsl:
      SEPM0009: Values of 'standalone' and 'omit-xml-declaration' conflict
      Values of 'standalone' and 'omit-xml-declaration' conflict

      Shouldn't this be corrected? Or I should use some other XSLT software?


      [bugs:#1330] http://sourceforge.net/p/findbugs/bugs/1330 XSLT
      script to produce colorized reports

      Status: open
      Group: 3.x
      Created: Wed Nov 19, 2014 10:41 AM UTC by Jolkdarr
      Last Updated: Wed Nov 19, 2014 10:41 AM UTC
      Owner: nobody

      A XSLT script allowing to produce eye-candy reports has been attached.
      Generated from plain.xsl.
      Should be included in the distribution.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/findbugs/bugs/1330/
      https://sourceforge.net/p/findbugs/bugs/1330

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/
      https://sourceforge.net/auth/subscriptions

       

      Related

      Bugs: #1330

  • Tagir Valeev

    Tagir Valeev - 2015-01-11
    • status: open --> closed-fixed
    • assigned_to: Tagir Valeev
    • Group: 3.x --> 3.0.1
     
  • Tagir Valeev

    Tagir Valeev - 2015-01-11

    Ok. Gradients are weird to my opinion, but it's probably a matter of taste. Committed:

    https://code.google.com/p/findbugs/source/detail?r=a08bfe400c1ff7ebddd2d1447460b2589e913cc2

    Note that I simply committed this file to src/xsl. Seems that it's enough to include it into the distribution. Correct me if I'm wrong.

     

Log in to post a comment.