Case of doctype definiton wrong
-------------------------------
Key: XALANJ-2103
URL: http://issues.apache.org/jira/browse/XALANJ-2103
Project: XalanJ2
Type: Bug
Components: transformation
Versions: 2.6
Reporter: Fraser Crichton
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 -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
It should be this (notice the lowercase html) -
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
That means the document fails validation on the W3C site.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]