Fwd: RE: XHTML Print & DTDs

Katrina,

In this case, your source is using the MIME type for a superceded
version of XHTML-Print [1], not the W3C Proposed Recommendation [2]. 

W3C XHTML-Print documents and XHTML 1.0 Strict documents are both
served as application/xhtml+xml. So is this mismatching a fatal error? I
think that depends entirely on the user agent. You say you're developing
a parser; my suggestion is that you find a place to get information
about XML parsing more broadly. And I suspect the Modularization of
XHTML spec [3] will be important to you, if you're not already familiar
with it. (XHTML 1.1 is "modularized" and only has one flavor (strict);
the three flavors of XHTML 1.0 predate this.)

Ed.

[1]
ftp://ftp.pwg.org/pub/pwg/candidates/cs-xpxprt10-20030331-5102.1.html

[2] http://www.w3.org/TR/xhtml-print/ 
[3] http://www.w3.org/TR/xhtml-modularization/

>>> katrina maramba <ka3na_423@yahoo.com> 2/8/2006 11:56:09 PM >>>
Can anybody answer my question below.. Thank you! =)

katrina maramba <ka3na_423@yahoo.com> wrote:
  Date: Fri, 3 Feb 2006 21:08:32 -0800 (PST)
From: katrina maramba <ka3na_423@yahoo.com>
To: david@us-lot.org 
CC: www-html@w3.org 
Subject: 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.

		
---------------------------------
Brings words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.

This message has been scanned by the NYS GOER WebShield.

Received on Thursday, 9 February 2006 16:48:48 UTC