Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3824

Generated TLDs are invalid

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Neutral
    • None
    • None
    • build, taglibs

    Description

      We currently can't deploy our webapps as-is with JBoss6, because there's a problem with the TLDs we currently generate:

      ...
      <tlib-version>1.2.3</tlib-version>
      ...
      

      ... is not valid as per the 2.0 taglib xsd which expects a plain decimal for this value, such as "123" (http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd)

      It is otoh valid with 2.1, where the version type has been revised: http://java.sun.com/xml/ns/javaee/jsp_2_1.xsd

      Fixing XDoclet's web plugin should not be too complicated, but it might not be as easy to get a release out in due time. I'll try to contact the developers...

      See:

      Another option would to use a different tool: http://code.google.com/p/tld-generator/ for example could be interested. It looks like you just need to drop it in the build-time classpath. It might be a little less flexible (in that it requires the version number to be passed as an annotation parameter, for example), but probably patchable. It also seems to be currently fixed on the jsp 2.1 api.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD