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

Using the XML JSTL tag <x:transform ..> can cause

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.1 Final
    • 2.0 Final
    • taglibs
    • None
    • Linux
      Relates to the version of Xalan-J installed and Xerces (somehow)

    Description

      Declaring
      <%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %>

      and using
      <x:transform ... >

      inside a paragraph JSP caused an Exception ...

      java.lang.IllegalStateException: can't declare any more prefixes in this context

      See related bug here

      http://issues.apache.org/bugzilla/show_bug.cgi?id=30258

      Resolution is to download the latest Xalan-J from apache/jakarta,
      I downloaded 2.6.0 xalan-j

      Untar it and
      copy

      bin/xalan.jar
      bin/xercesImpl.jar
      bin/xml-apis.jar

      from the xalan-j tar file to

      $CATALINA_HOME/common/endorsed

      for both the author and public instances.

      Perhaps the libraries need to be upgraded in the distribution.
      (it could be the version of JSTL used also .. but I haven't upgraded that)

      Updating the jar's did not seem to break anything and all
      (including the admin) interface appears to be working from initial tests.
      (have added config elements etc quite happily..

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              scharles Sameer Charles
              rbuckland Ramon Buckland
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD