[ http://issues.apache.org/jira/browse/XALANJ-2103?page=all ]

Brian Minchau updated XALANJ-2103:
----------------------------------

    Environment: 
       reviewer: [EMAIL PROTECTED]
    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.



  was:
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.




Assigning reviewer of Joanne T. - per the JIRA meeting on June 7, 2005.

> 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
>     Assignee: Brian Minchau
>  Attachments: HTML2html.patch.txt
>
> 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.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to