
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j4JHk7MQ015184; Thu, 19 May 2005 10:46:07 -0700 (PDT) (envelope-from owner-ietf-xml-mime@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j4JHk7aF015183; Thu, 19 May 2005 10:46:07 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-xml-mime@mail.imc.org using -f
Received: from mail.reutershealth.com ([65.246.141.36]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j4JHk6Ja015157 for <ietf-xml-mime@imc.org>; Thu, 19 May 2005 10:46:06 -0700 (PDT) (envelope-from jcowan@reutershealth.com)
Received: from skunk.reutershealth.com (mail [65.246.141.36]) by mail.reutershealth.com (8.13.1/8.13.1) with SMTP id j4JHjUFm022141; Thu, 19 May 2005 13:45:30 -0400 (EDT)
Received: by skunk.reutershealth.com (sSMTP sendmail emulation); Thu, 19 May 2005 13:45:35 -0400
Date: Thu, 19 May 2005 13:45:35 -0400
From: John Cowan <jcowan@reutershealth.com>
To: Liam Quin <liam@w3.org>
Cc: MURATA Makoto <murata@hokkaido.email.ne.jp>, Bjoern Hoehrmann <derhoermi@gmx.net>, ietf-types@iana.org, ietf-xml-mime@imc.org, public-qt-comments@w3.org
Subject: Re: W3C Last Call and Media Type request for comments: XQuery and XQueryX
Message-ID: <20050519174534.GD2322@skunk.reutershealth.com>
References: <425e9d44.15417140@smtp.bjoern.hoehrmann.de> <20050517180227.GA10669@w3.org> <20050519101540.67F4.MURATA@hokkaido.email.ne.jp> <20050519143859.GA27635@w3.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050519143859.GA27635@w3.org>
User-Agent: Mutt/1.4.1i
Sender: owner-ietf-xml-mime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-xml-mime/mail-archive/>
List-ID: <ietf-xml-mime.imc.org>
List-Unsubscribe: <mailto:ietf-xml-mime-request@imc.org?body=unsubscribe>

Liam Quin scripsit:

> Interchange of a database query language over the Web in its own
> Internet Type is likely for machine execution or to interchange
> files, not for reading by humans, as then text/plain might be
> more appropriate... but this is conjecture on my part right now.

FWIW, I think this is a Bad Thing.  Programming language content should
go in text/plain files (despite the nasty problem with the encoding
type imposed by text/*), so as to *discourage* browsers from attempting
to execute them, which is a big fat security hole.

The use of text/css in HTML link elements and XML stylesheet PIs is
essentially a hack so that browsers can decide whether to fetch the
stylesheet, and is not consistent with the intention of IETF media
types, which are designed to specify a minimal mapping from raw
octets to interpretable objects such as characters or pixels.

-- 
Unless it was by accident that I had            John Cowan
offended someone, I never apologized.           jcowan@reutershealth.com
        --Quentin Crisp                         http://www.ccil.org/~cowan



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j4JEu5Gw088882; Thu, 19 May 2005 07:56:05 -0700 (PDT) (envelope-from owner-ietf-xml-mime@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j4JEu509088881; Thu, 19 May 2005 07:56:05 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-xml-mime@mail.imc.org using -f
Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j4JEu4w1088872 for <ietf-xml-mime@imc.org>; Thu, 19 May 2005 07:56:04 -0700 (PDT) (envelope-from murata@hokkaido.email.ne.jp)
Received: from [127.0.0.1] (j084104.ppp.asahi-net.or.jp [61.213.84.104]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 4B5591686E; Thu, 19 May 2005 23:56:03 +0900 (JST)
Date: Thu, 19 May 2005 23:56:03 +0900
From: MURATA Makoto <murata@hokkaido.email.ne.jp>
To: Liam Quin <liam@w3.org>
Subject: Re: W3C Last Call and Media Type request for comments: XQuery and XQueryX
Cc: ietf-types@iana.org, ietf-xml-mime@imc.org, public-qt-comments@w3.org
In-Reply-To: <20050519143859.GA27635@w3.org>
References: <20050519101540.67F4.MURATA@hokkaido.email.ne.jp> <20050519143859.GA27635@w3.org>
X-Mailer-Plugin: BkASPil for Becky!2 Ver.2.044
Message-Id: <20050519235511.6C29.MURATA@hokkaido.email.ne.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Becky! ver. 2.20.04 [ja]
Sender: owner-ietf-xml-mime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-xml-mime/mail-archive/>
List-ID: <ietf-xml-mime.imc.org>
List-Unsubscribe: <mailto:ietf-xml-mime-request@imc.org?body=unsubscribe>

> Please note that this is for application/xquery -- a non-XML format.
> For application/xqueryx+xml I'll send separate mail.

I will then wait for your next mail for application/xqueryx+xml.

Cheers,

-- 
MURATA Makoto <murata@hokkaido.email.ne.jp>




Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j4JEd4wt086399; Thu, 19 May 2005 07:39:04 -0700 (PDT) (envelope-from owner-ietf-xml-mime@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j4JEd42r086398; Thu, 19 May 2005 07:39:04 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-xml-mime@mail.imc.org using -f
Received: from homer.w3.org (homer.w3.org [128.30.52.30]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j4JEd2v0086387 for <ietf-xml-mime@imc.org>; Thu, 19 May 2005 07:39:02 -0700 (PDT) (envelope-from liam@w3.org)
Received: by homer.w3.org (Postfix, from userid 16040) id 680AC4F5EB; Thu, 19 May 2005 10:38:59 -0400 (EDT)
Date: Thu, 19 May 2005 10:38:59 -0400
From: Liam Quin <liam@w3.org>
To: MURATA Makoto <murata@hokkaido.email.ne.jp>
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, ietf-types@iana.org, ietf-xml-mime@imc.org, public-qt-comments@w3.org
Subject: Re: W3C Last Call and Media Type request for comments: XQuery and XQueryX
Message-ID: <20050519143859.GA27635@w3.org>
References: <425e9d44.15417140@smtp.bjoern.hoehrmann.de> <20050517180227.GA10669@w3.org> <20050519101540.67F4.MURATA@hokkaido.email.ne.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20050519101540.67F4.MURATA@hokkaido.email.ne.jp>
X-Feet: bare, comfortable. happy and free!
User-Agent: Mutt/1.5.9i
Sender: owner-ietf-xml-mime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-xml-mime/mail-archive/>
List-ID: <ietf-xml-mime.imc.org>
List-Unsubscribe: <mailto:ietf-xml-mime-request@imc.org?body=unsubscribe>

On Thu, May 19, 2005 at 10:18:18AM +0900, MURATA Makoto wrote:
>  
> > (1) to remove the optional encoding parameter, as you suggested
> 
> I think that this is a wrong decision.  Please reintroduce the charset
> parameter.  If present, it overrides the encoding declaration or BOM. If
> it is absent, the encoding declaration or BOM is used.

Please note that this is for application/xquery -- a non-XML format.
For application/xqueryx+xml I'll send separate mail.

One reason for dropping the encoding parameter (after discussions
with Mark Baker and others) is that in practice it's unlikely to be
used... e.g. from a Web browser passing off to a local query processor
or from a saved file).  Since the format is "application", proxies
cannot transcode the file, so the encoding declaration in the file
is authoritative.

Interchange of a database query language over the Web in its own
Internet Type is likely for machine execution or to interchange
files, not for reading by humans, as then text/plain might be
more appropriate... but this is conjecture on my part right now.

Do you have an environment in which the encoding parameter is
useful or important?   We don't have a significant use case for
it, and our understanding was that the W3C TAG had considered
the encoding parameter to be a bad idea too.

Thanks!

Liam

-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j4J1ILft010165; Wed, 18 May 2005 18:18:21 -0700 (PDT) (envelope-from owner-ietf-xml-mime@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j4J1IL1S010164; Wed, 18 May 2005 18:18:21 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-xml-mime@mail.imc.org using -f
Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j4J1IJnF010155 for <ietf-xml-mime@imc.org>; Wed, 18 May 2005 18:18:20 -0700 (PDT) (envelope-from murata@hokkaido.email.ne.jp)
Received: from [127.0.0.1] (i217116.ppp.asahi-net.or.jp [61.125.217.116]) by mail.asahi-net.or.jp (Postfix) with ESMTP id ACBB310A52; Thu, 19 May 2005 10:18:18 +0900 (JST)
Date: Thu, 19 May 2005 10:18:18 +0900
From: MURATA Makoto <murata@hokkaido.email.ne.jp>
To: Liam Quin <liam@w3.org>
Subject: Re: W3C Last Call and Media Type request for comments: XQuery and XQueryX
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, ietf-types@iana.org, ietf-xml-mime@imc.org, public-qt-comments@w3.org
In-Reply-To: <20050517180227.GA10669@w3.org>
References: <425e9d44.15417140@smtp.bjoern.hoehrmann.de> <20050517180227.GA10669@w3.org>
X-Mailer-Plugin: BkASPil for Becky!2 Ver.2.044
Message-Id: <20050519101540.67F4.MURATA@hokkaido.email.ne.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Becky! ver. 2.20.04 [ja]
Sender: owner-ietf-xml-mime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-xml-mime/mail-archive/>
List-ID: <ietf-xml-mime.imc.org>
List-Unsubscribe: <mailto:ietf-xml-mime-request@imc.org?body=unsubscribe>

 
> (1) to remove the optional encoding parameter, as you suggested

I think that this is a wrong decision.  Please reintroduce the charset
parameter.  If present, it overrides the encoding declaration or BOM. If
it is absent, the encoding declaration or BOM is used.

Cheers,
-- 
MURATA Makoto <murata@hokkaido.email.ne.jp>




Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j4HI2U3X013332; Tue, 17 May 2005 11:02:30 -0700 (PDT) (envelope-from owner-ietf-xml-mime@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j4HI2UHO013331; Tue, 17 May 2005 11:02:30 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-xml-mime@mail.imc.org using -f
Received: from homer.w3.org (homer.w3.org [128.30.52.30]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j4HI2SbP013321 for <ietf-xml-mime@imc.org>; Tue, 17 May 2005 11:02:29 -0700 (PDT) (envelope-from liam@w3.org)
Received: by homer.w3.org (Postfix, from userid 16040) id B2DA84F62B; Tue, 17 May 2005 14:02:27 -0400 (EDT)
Date: Tue, 17 May 2005 14:02:27 -0400
From: Liam Quin <liam@w3.org>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: ietf-types@iana.org, ietf-xml-mime@imc.org, public-qt-comments@w3.org
Subject: Re: W3C Last Call and Media Type request for comments: XQuery and XQueryX
Message-ID: <20050517180227.GA10669@w3.org>
References: <20050407200151.GN1785@w3.org> <425b93d4.13001640@smtp.bjoern.hoehrmann.de> <20050407204611.GS1785@w3.org> <425e9d44.15417140@smtp.bjoern.hoehrmann.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <425e9d44.15417140@smtp.bjoern.hoehrmann.de>
X-Feet: bare, comfortable. happy and free!
User-Agent: Mutt/1.5.9i
Sender: owner-ietf-xml-mime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-xml-mime/mail-archive/>
List-ID: <ietf-xml-mime.imc.org>
List-Unsubscribe: <mailto:ietf-xml-mime-request@imc.org?body=unsubscribe>

Bjoern,
    the XML Query Working Group considered your comments today
    and resolved:

(1) to remove the optional encoding parameter, as you suggested

(2) that when we send the call for implementations (i.e. XQuery enters
    W3C Candidate Recommendation status, expected this Summer) we
    will ask implementors to draw our attention to security
    considerations above and beyond those we already list, and
    we'll then update the section.

    Our reasoning is that we don't yet know what to identify --
    e.g. it may turn out that many implementations provide
    specific extensions that read or write files.
       
(3) we will make the Internet Type appendix normative in XQuery.
    
Thank you for your comments!  I hope (on behalf of the WG) that
this will address your concerns.

Liam

-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/


