Bug 6390 - valueOf evaluates &'s to & when the & was part of é
Summary: valueOf evaluates &'s to & when the & was part of é
Status: RESOLVED LATER
Alias: None
Product: Taglibs
Classification: Unclassified
Component: XTags Taglib (show other bugs)
Version: 1.0
Hardware: Sun Solaris
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-12 12:12 UTC by Mark Broadhurst
Modified: 2009-11-29 19:43 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Broadhurst 2002-02-12 12:12:30 UTC
I process XML files that contain encoded character codes such as é

However, when using the valueOf tag, the code calls the encode method which 
looks for &'s and converts them to &.  The problem is the method ignores 
the fact the the & is already part of a code and evaluates it to & anyway.  
This means the returned text for the tag is é which obviously 
displays incorrectly in the browser window.

Regards, Mark.
Comment 1 Henri Yandell 2009-11-29 19:43:35 UTC
Resolving. Taglib has been retired.