You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/01/20 09:34:12 UTC

DO NOT REPLY [Bug 46564] New: .tagx files don't compile if the document and page encoding casing differs

https://issues.apache.org/bugzilla/show_bug.cgi?id=46564

           Summary: .tagx files don't compile if the document and page
                    encoding casing differs
           Product: Tomcat 6
           Version: 6.0.18
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Jasper
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: daan.kets@blackbit.net


Jasper will raise an error like

/WEB-INF/tags/sampletaglib/sampletag.tagx(3,99) Page-encoding specified in XML
prolog (iso-8859-1) is different from that specified in page directive
(ISO-8859-1)

if the encoding specified within the XML prolog and the page directive use
different casing:

<?xml version="1.0" encoding="iso-8859-1"?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
    <jsp:directive.tag display-name="sampletag" pageEncoding="ISO-8859-1" />

    This is a sample tag!
</jsp:root>


Proposed solution: Compare the encodings case-insensitive. For example:

iso-8859-1 and ISO-8859-1 are both valid identifiers for the same encoding.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 46564] .tagx files don't compile if the document and page encoding casing differs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46564





--- Comment #1 from Mark Thomas <ma...@apache.org>  2009-01-29 21:32:16 PST ---
Looks like I missed a case when I fixed 44986. Trunk has been fixed and the
patch proposed for 6.0.x


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 46564] .tagx files don't compile if the document and page encoding casing differs

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46564


Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Mark Thomas <ma...@apache.org>  2009-02-12 06:48:46 PST ---
This has been fixed in 6.0.x and will be included in 6.0.19 onwards.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org