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=12104>. 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=12104 XSLTC generates incorrect media-type with HTML output Summary: XSLTC generates incorrect media-type with HTML output Product: XalanJ2 Version: 2.3 Platform: PC OS/Version: AIX Status: NEW Severity: Normal Priority: Other Component: Xalan-Xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] According to the XSLT 1.0 spec when <xsl:output method="html"/> is specified, the default media-type should be "text/html". However when running the below stylesheet: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" version="1.0" encoding="UTF-8"/> <xsl:template match="/"> <html> <head/> </html> </xsl:template> </xsl:stylesheet> The following is generated: <html> <head><meta http-equiv="Content-Type" content="text/xml; charset=UTF-8"> </head> </html> The "text/xml" should be "text/html".
