W3C home > Mailing lists > Public > www-html@w3.org > February 2006

Fwd: RE: XHTML Print & DTDs

From: Edward Lass <elass@goer.state.ny.us>
Date: Thu, 09 Feb 2006 11:49:55 -0500
Message-Id: <s3eb2c7e.018@mail.goer.state.ny.us>
To: <www-html@w3.org>


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.)



[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
> 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
  Content-Type: application/vnd.pwg-multiplexed;
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"
<html xmlns="http://www.w3.org/1999/xhtml">
  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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:12 UTC