Resin 3.0.21
For XHTML conformance you need a header similar to

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> 

Handcoding this into JSP then submitting to http://validator.w3.org/ 
works fine.
To use xslt, you need to declare the method in your xsl:output 
declaration, something like

 <xsl:output method="html"
  doctype-public='-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'/>

When I do this, the header in my pages is

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

Notice the HTML entry is in upper case. It turns out it should be lower 
case, and the w3c site will validation if it isnt.


-- 
--------------------------
http://www.phonewebcam.com
[EMAIL PROTECTED]



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to