Forrest
  1. Forrest
  2. FOR-984

validate-sitemap target fails relaxng validation on some JDK 1.6: missing datatypes

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8, 0.9
    • Fix Version/s: 0.9
    • Labels:
      None

      Description

      Doing 'forrest' fails at the validate-sitemap task. Missing the RELAX NG datatype library ...

      validate-sitemap:
      D:\apache-forrest-0.8rc\main\webapp\resources\schema\relaxng\sitemap-v06.rng:72:31:
      error: datatype library "http://www.w3.org/2001/XMLSchema-datatypes" not recognized

      People should be able to work around that by editing their forrest.properties configuration to expose the "forrest.validate.sitemap" property and set it to "false". Might need to do the same for the "forrest.validate.stylesheets" property.

      1. log.txt
        15 kB
        Schumarer

        Activity

        Schumarer created issue -
        Schumarer made changes -
        Field Original Value New Value
        Attachment log.txt [ 12355436 ]
        David Crossley made changes -
        Affects Version/s 0.9 [ 12310041 ]
        Fix Version/s 0.9 [ 12310041 ]
        David Crossley made changes -
        Description Hi,
        This problem is quite easy to reproduce. First, install Sun's JDK 1.6 (whatever version until 1.6.0_01-b06 ) define your %JAVA_HOME% on that JDK.

        When you seed a new projet, there is no problem and it works.

        When you do a "forrest run", it works too, but when you do a "forrest" it doesn't work anymore. I'll try to attach a full log.
        Doing 'forrest' fails at the validate-sitemap task. Missing the RELAX NG datatype library ...

        validate-sitemap:
        D:\apache-forrest-0.8rc\main\webapp\resources\schema\relaxng\sitemap-v06.rng:72:31:
        error: datatype library "http://www.w3.org/2001/XMLSchema-datatypes" not recognized

        People should be able to work around that by editing their forrest.properties configuration to expose the "forrest.validate.sitemap" property and set it to "false". Might need to do the same for the "forrest.validate.stylesheets" property.

        Summary Forrest doesn't work properly with Sun's JDK 1.6 validate-sitemap target fails relaxng validation on some JDK 1.6: missing datatypes
        David Crossley made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Schumarer
          • Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development