You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by bu...@apache.org on 2004/07/13 22:44:24 UTC

DO NOT REPLY [Bug 30086] New: - @Shell component on element not forwarding xmlns entry

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=30086

@Shell component on <html> element not forwarding xmlns entry

           Summary: @Shell component on <html> element not forwarding xmlns
                    entry
           Product: Tapestry
           Version: 3.0
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Framework
        AssignedTo: tapestry-dev@jakarta.apache.org
        ReportedBy: scott@alodar.com


In my .html file targetting XHTML 1.0, I have the following @shell tag.  I want it to give me a doctype, 
stylesheet, and the needed xmlns tag in the html element of the output.

<html jwcid="@Shell" title="TIGER Protocol Search" stylesheet="ognl:assets.stylesheet" doctype='html 
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd"' xmlns="http://www.w3.org/1999/xhtml">
	<body jwcid="@Body">

I intend this to produce:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/
DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta name="generator" content="Tapestry Application Framework, version 3.0" />
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
		<title>
			TIGER Protocol Search
		</title>
		<link rel="stylesheet" type="text/css" href="tiger.css" />
	</head>
	<body>

But it produces:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/
DTD/xhtml1-transitional.dtd">
<!-- Application: System Executive Status -->
<!-- Page: ProtocolListPage -->
<!-- Generated: Tue Jul 13 11:07:51 PDT 2004 -->
<html>
<head>
<meta name="generator" content="Tapestry Application Framework, version 3.0"/>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
<title>TIGER Protocol Search Results</title>
<link rel="stylesheet" type="text/css" href="/systemExecutiveStatus/tiger.css"/>
</head>
<body>

So, the doctype is fine, but the xmlns tag is not passing through.

Howard suggested that this should be passed through as presented, but it is not doing so.

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org