RE: XHTML Print & DTDs

David Dorward <david@us-lot.org> wrote:     Date: Thu, 2 Feb 2006 09:58:29 +0000
From: David Dorward <david@us-lot.org>
To: katrina maramba <ka3na_423@yahoo.com>
CC: www-html@w3.org
Subject: XHTML Print & DTDs


> 4. As I stated, it is stated in the XHTML-Print spec that the DTD that
> should be used is xhtml-print10.dtd. What happens when the user
> specifies a different DTD (Strict, Transitional, Frameset)? 

Then it won't be an XHTML-Print document :)
   
  But that wouldn't be a fatal error, would it?  Printers should still process this kind of document?
   
  I have gathered a number of (supposed-to-be) XHTML-Print data from Nokia and Samsung cellphones.  The DTD specified in both cellphone-generated XHTML-Print files is xhtml1-strict.dtd.  They were accepted and printed in HP printers.  
   
  Here is an example.  I got this from Samsung and the MIME header stated that it is XHTML-Print but its DTD is strict.  Please take a look.
   
  Content-Type: application/vnd.pwg-multiplexed; type=application/vnd.pwg-xhtml-print+xml
Content-Transfer-Encoding: binary
  CHK 1 795 MORE
Content-Type: application/vnd.pwg-xhtml-print+xml
Content-Transfer-Encoding: binary
Content-Location: bpp_jpg.xhtml
  <?xml version="1.0" encoding="UTF-8"?>
<!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>....
  .....
   
   
  Any help and comment would be appreciated.
  Thank you!

			
---------------------------------
 Yahoo! Mail - Helps protect you from nasty viruses.
--0-1823330697-1139029712=:57993
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<BR><BR><B><I>David Dorward &lt;david@us-lot.org&gt;</I></B> wrote:   <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <DIV>Date: Thu, 2 Feb 2006 09:58:29 +0000<BR>From: David Dorward &lt;david@us-lot.org&gt;<BR>To: katrina maramba &lt;ka3na_423@yahoo.com&gt;<BR>CC: www-html@w3.org<BR>Subject: XHTML Print &amp; DTDs<BR><BR><BR>&gt; 4. As I stated, it is stated in the XHTML-Print spec that the DTD that<BR>&gt; should be used is xhtml-print10.dtd. What happens when the user<BR>&gt; specifies a different DTD (Strict, Transitional, Frameset)? <BR><BR>Then it won't be an XHTML-Print document :)</DIV>  <DIV>&nbsp;</DIV></BLOCKQUOTE>  <DIV>But that&nbsp;wouldn't&nbsp;be a fatal error, would it?&nbsp; Printers should still process this kind of document?</DIV>  <DIV>&nbsp;</DIV>  <DIV>I have gathered a number of (supposed-to-be) XHTML-Print data from Nokia and Samsung cellphones.&nbsp; The DTD&nbsp;specified in both cellphone-generated
 XHTML-Print files is xhtml1-strict.dtd.&nbsp; They were accepted and printed in HP printers.&nbsp; </DIV>  <DIV>&nbsp;</DIV>  <DIV>Here is an example.&nbsp; I got this from Samsung and the MIME header stated that it is XHTML-Print but its DTD is strict.&nbsp; Please take a look.</DIV>  <DIV>&nbsp;</DIV>  <DIV>Content-Type: application/vnd.pwg-multiplexed; type=application/vnd.pwg-xhtml-print+xml<BR>Content-Transfer-Encoding: binary</DIV>  <DIV>CHK 1 795 MORE<BR>Content-Type: application/vnd.pwg-xhtml-print+xml<BR>Content-Transfer-Encoding: binary<BR>Content-Location: bpp_jpg.xhtml</DIV>  <DIV>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<BR>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"<BR>&nbsp;"<A href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</A>"&gt;<BR>&lt;html xmlns="<A href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</A>"&gt;<BR>&lt;head&gt;....</DIV>  <DIV>.....</DIV>  <DIV>&nbsp;</DIV> 
 <DIV>&nbsp;</DIV>  <DIV>Any help and comment would be appreciated.</DIV>  <DIV>Thank you!</DIV><p>
	
		<hr size=1> <a href="http://us.rd.yahoo.com/mail_us/taglines/virusmail/*http://mail.yahoo.com">Yahoo! Mail</a> - Helps protect you from nasty viruses.
--0-1823330697-1139029712=:57993--

Received on Saturday, 4 February 2006 05:09:15 UTC