Re: [ietf-types] Request for review of standards tree registration request for OpenXPS

Brian Clubb <bclubb@microsoft.com> Mon, 31 January 2011 18:30 UTC

Return-Path: <bclubb@microsoft.com>
X-Original-To: ietf-types@core3.amsl.com
Delivered-To: ietf-types@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0DB003A6C49 for <ietf-types@core3.amsl.com>; Mon, 31 Jan 2011 10:30:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.785
X-Spam-Level:
X-Spam-Status: No, score=-9.785 tagged_above=-999 required=5 tests=[AWL=0.814, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ojYrnxH4Dvqc for <ietf-types@core3.amsl.com>; Mon, 31 Jan 2011 10:30:36 -0800 (PST)
Received: from pechora5.dc.icann.org (pechora5.icann.org [IPv6:2620:0:2830:201::1:71]) by core3.amsl.com (Postfix) with ESMTP id C67E53A6C3F for <ietf-types@ietf.org>; Mon, 31 Jan 2011 10:30:32 -0800 (PST)
Received: from smtp.microsoft.com (mailb.microsoft.com [131.107.115.215]) by pechora5.dc.icann.org (8.13.8/8.13.8) with ESMTP id p0VIXQHi026338 for <ietf-types@iana.org>; Mon, 31 Jan 2011 10:33:47 -0800
Received: from TK5EX14HUBC101.redmond.corp.microsoft.com (157.54.7.153) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 31 Jan 2011 10:33:25 -0800
Received: from TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com (157.54.71.39) by TK5EX14HUBC101.redmond.corp.microsoft.com (157.54.7.153) with Microsoft SMTP Server (TLS) id 14.1.270.2; Mon, 31 Jan 2011 10:33:25 -0800
Received: from TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com ([169.254.2.252]) by TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.39]) with mapi; Mon, 31 Jan 2011 10:33:24 -0800
From: Brian Clubb <bclubb@microsoft.com>
To: Paul Libbrecht <paul@hoplahup.net>
Thread-Topic: [ietf-types] Request for review of standards tree registration request for OpenXPS
Thread-Index: AQHLs2yK9k1J+5/sU06pLsUqQi6DMZPiZR4wgAH+tQCABxnIkA==
Date: Mon, 31 Jan 2011 18:33:23 +0000
Message-ID: <FE6603D65048F44AB8F8955AE89A09B9171E69CD@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com>
References: <FE6603D65048F44AB8F8955AE89A09B90A400D@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <F59FFEBA-9E75-4C2F-A34E-BAED919CA1FF@hoplahup.net> <FE6603D65048F44AB8F8955AE89A09B9171E1E84@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com> <E8E16ECE-F281-48EE-8B70-F1D2FAB85037@hoplahup.net>
In-Reply-To: <E8E16ECE-F281-48EE-8B70-F1D2FAB85037@hoplahup.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora5.dc.icann.org [192.0.46.71]); Mon, 31 Jan 2011 10:33:47 -0800 (PST)
Cc: "ietf-types@iana.org" <ietf-types@iana.org>
Subject: Re: [ietf-types] Request for review of standards tree registration request for OpenXPS
X-BeenThere: ietf-types@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Media \(MIME\) type review" <ietf-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf-types>
List-Post: <mailto:ietf-types@ietf.org>
List-Help: <mailto:ietf-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 31 Jan 2011 18:30:39 -0000

Paul,

While the OpenXPS package contains XML, the document itself requires the hierarchical tree structure of pages and resources to be functional.  It is intended that only a complete OpenXPS document would ever be posted to the clipboard.  Posting a fragment of an OpenXPS file to the clipboard would not be a useful scenario in the same way that I understand it would work in MathML or SVG.  The resource tree in OpenXPS is integral to its functionality.

For example, copying the XML for a fixed page out of one file onto the clipboard would not take into account the image and font resources which are stored in other locations in the OpenXPS file.  Furthermore, re-integrating that page markup into the structure of another OpenXPS file would be extraordinarily complex.  If one were to wish to copy pages from one OpenXPS file to another, they would need to create a complete OpenXPS package containing just the required pages plus the required resources from the original OpenXPS package then post the new OpenXPS file to the clipboard.  The consuming application would then be able to access that file and its resources reliably and logically insert the pages and resources into their OpenXPS document package as needed.

If an application such as an XPS Viewer were to allow selecting and copying of the text or image elements displayed on the screen, that data would be placed on the clipboard as text or whatever image format the application chooses to provide, but posting the markup for the selection to the clipboard would not provide the relevant resource data and hierarchy and would thus be unusable as OpenXPS at that point.

I believe, then, that it is correct to say that the clipboard format would always be a complete OpenXPS file with .oxps extension.  It is the only format for the clipboard that would provide the required interoperability between OpenXPS-consuming applications.

Thanks!
Brian


-----Original Message-----
From: Paul Libbrecht [mailto:paul@hoplahup.net] 
Sent: Wednesday, January 26, 2011 1:45 PM
To: Brian Clubb
Cc: ietf-types@iana.org
Subject: Re: [ietf-types] Request for review of standards tree registration request for OpenXPS




Le 26 janv. 2011 à 00:33, Brian Clubb a écrit :

> For your feedback on changing certain responses to lower-case, I will do so in my final submission.  I appreciate your attention to detail on this matter.

good.

> For the comment on encoding, per rfc4288 section 4.8, the possible responses here are 7bit, 8bit, binary, and framed.  This response appears to be correct for ZIP archives and matches a previous registration for Microsoft's version of XPS (http://www.iana.org/assignments/media-types/application/vnd.ms-xpsdocument).  If there is some other consideration here, I am happy to make a note of it elsewhere in the template as needed.

I am too little of an expert here.

> As to the clipboard request, I checked the clipboard values on both Windows OS and Mac OS.  For Windows, the clipboard contains the full file path to the copied .oxps file as a string.  On a Mac OS (10.x), the filename plus extension is provided on the clipboard as "text / items".  Since these conventions may change over time based on the OS independent of any changes to OpenXPS, I am not certain this would be useful as part of the template.

I'm afraid you misunderstood my request.
The objective was to specify within this registration names that would denote one of the alternate representations of a fragment copied to clipboard to be encoded in OpenXPS. This would allow fragments to be stored by one application in the clipboard at the copy command and to be read from the clipboard at the paste command.

Lack of specifying this in the past for MathML has lead to a multitude of names, mostly killing interoperability, with the last suggest being... put the XML in the text flavor (which is clearly wrong for, say, a mail).

(see the MathML and SVG registrations for examples)

paul