DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14102>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14102

XSL Include files ignore encoding set in root XSL document

           Summary: XSL Include files ignore encoding set in root XSL
                    document
           Product: XalanJ2
           Version: 2.0.0
          Platform: Other
        OS/Version: OS/400
            Status: NEW
          Severity: Major
          Priority: Other
         Component: javax.xml
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I am running XSL / XML transform in Java while processing Japanese UTF-8 
characters in XSL stylesheets.  The "root" XSL document that controls 
Xsl:include xsl files has these characters as well as the include .xsl files

When transformed, the output results in the UTF-8 Japanese characters showing 
up as Japanese for the "root" xsl page characters, but the include file 
characters are not being encoded in UTF-8, they are transformed in to ASCII 
garbage.

I have included the following XML declarations in the include files
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
        <xsl:output/>

Here is the declaration for a "root" xsl page:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:include href="header.xsl" />
<xsl:include href="lnav.xsl" />
<xsl:include href="footer.xsl" />
<xsl:output method="html" version="1.0" indent="yes" encoding="UTF-8" media-
type="text/html"/>

This is a high importance item to get resolved, any help will be greatly 
appreciated.

Reply via email to