[MAGNOLIA-258] Using the XML JSTL tag <x:transform ..> can cause Created: 29/Dec/04  Updated: 02/Jun/05  Resolved: 02/Jun/05

Status: Closed
Project: Magnolia
Component/s: taglibs
Affects Version/s: 2.0 Final
Fix Version/s: 2.1 Final

Type: Bug Priority: Minor
Reporter: Ramon Buckland Assignee: Sameer Charles
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux
Relates to the version of Xalan-J installed and Xerces (somehow)


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 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..



 Comments   
Comment by Sameer Charles [ 10/May/05 ]

Ramon, have you tested this with the latest built?

Generated at Mon Feb 12 03:15:38 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.