[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-user
Subject:    [T5] valid XHTML
From:       Kaspar Fischer <fischerk () inf ! ethz ! ch>
Date:       2008-02-25 16:40:55
Message-ID: 5D652731-23E2-4096-A35A-0F87CB7E5948 () inf ! ethz ! ch
[Download RAW message or body]

Hi list,

I've taken a look at T5 and followed the tutorial

   http://tapestry.apache.org/tapestry5/tutorial1/

I then added a doctype, following the instructions on

   http://tapestry.apache.org/tapestry5/tapestry-core/guide/ 
templates.html

As a result, my template (Guess.tml) begins as follows:

   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
   <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
     <head>
       <title>Guess A Number</title>
       ...

However, this renders to

   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// 
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http:// 
www.w3.org/1999/xhtml"><head><link href="assets/tapestry/default.css"  
rel="stylesheet" type="text/css"><title>Gu

which, due to "<link...>" instead of "<link.../>" is not valid.

Am I doing something wrong or is this a Tapestry issue?

Thanks!
Kaspar

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic