Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.6
-
Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
-
None
-
PatchAvailable
Description
I noticed this when I validated an XHTML document I'd created from a XALAN transformation. When I have the following output method in my XSLT -
<xsl:output
method="html"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
encoding="UTF-8"
indent="yes"
media-type="text/html"
standalone="yes"
/>
The following doctype definition is produced -
It should be this (notice the lowercase html) -
That means the document fails validation on the W3C site.