Return-Path: <dev+ietf@seantek.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
 by ietfa.amsl.com (Postfix) with ESMTP id 927E112D0E0;
 Sun, 15 May 2016 09:14:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7,
 RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001]
 autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44])
 by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id YnKwp6uCjiXF; Sun, 15 May 2016 09:14:21 -0700 (PDT)
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id 2A33712B01B;
 Sun, 15 May 2016 09:14:21 -0700 (PDT)
Received: from [192.168.123.7] (unknown [75.83.2.34])
 (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by smtp.mxes.net (Postfix) with ESMTPSA id D4C57509B8;
 Sun, 15 May 2016 12:14:18 -0400 (EDT)
To: Matthew Kerwin <matthew@kerwin.net.au>
References: <20160515051508.2444.90815.idtracker@ietfa.amsl.com>
 <c52370bf-dffa-4b57-9f33-52a49456b3a8@seantek.com>
 <CACweHNBuR8X_ub6J-yOtvoV7CjZyDC5__qKNHWGtxsjZbvyB0w@mail.gmail.com>
From: Sean Leonard <dev+ietf@seantek.com>
Message-ID: <38873e4f-235e-54c1-9580-cb0696d85cd2@seantek.com>
Date: Sun, 15 May 2016 09:13:24 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101
 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <CACweHNBuR8X_ub6J-yOtvoV7CjZyDC5__qKNHWGtxsjZbvyB0w@mail.gmail.com>
Content-Type: multipart/alternative;
 boundary="------------AF56DCD46DF470E5094B5710"
Archived-At: <http://mailarchive.ietf.org/arch/msg/apps-discuss/LLGjPLeCMIrfEnNKZbp3DfElGFY>
Cc: draft-ietf-appsawg-file-scheme@ietf.org,
 IETF Apps Discuss <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] I-D Action: draft-ietf-appsawg-file-scheme-09.txt
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: General discussion of application-layer protocols
 <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>,
 <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/apps-discuss/>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>,
 <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 15 May 2016 16:14:23 -0000

This is a multi-part message in MIME format.
--------------AF56DCD46DF470E5094B5710
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

On 5/15/2016 5:24 AM, Matthew Kerwin wrote:
>
>
> On 15 May 2016 at 20:15, Sean Leonard <dev+ietf@seantek.com=20
> <mailto:dev+ietf@seantek.com>> wrote:
>
>     On 5/14/2016 10:15 PM, internet-drafts@ietf.org
>     <mailto:internet-drafts@ietf.org> wrote:
>
>         A New Internet-Draft is available from the on-line
>         Internet-Drafts directories.
>         This draft is a work item of the ART Area General Applications
>         Working Group of the IETF.
>
>                  Title           : The file URI Scheme
>                  Author          : Matthew Kerwin
>                 Filename        : draft-ietf-appsawg-file-scheme-09.txt=

>                 Pages           : 18
>                 Date            : 2016-05-14
>
>
>     Did a full review; looks very good. Nice work!
>
>     The References section lists several references to MSDN articles.
>
>     Shorter MSDN article URLs are of the form:
>     https://msdn.microsoft.com/library/{ARTICLEID}
>     <https://msdn.microsoft.com/library/%7BARTICLEID%7D>
>
>     Such as:
>     https://msdn.microsoft.com/library/gg465305
>     https://msdn.microsoft.com/library/aa365247
>
>     I suggest simplifying the links, and updating the dates. Note that
>     some library articles have dates; others do not. For example,
>     [MS-DTYP] is most recently dated October 16, 2015, revision 30.0,
>     according to its changelog at article ID cc230273.
>
>
> =E2=80=8BWell, I did access the en-us versions. When I go to the short =
URL you=20
> linked above, I get the en-au versions ;)

Yep. Short URL is language/locale-neutral.

>
> Nevertheless I can refresh the references and update the dates. I'm=20
> confused, though; MS-DTYP now includes an ABNF (which is cool) but=20
> it's broken (which is not cool.) I think I know what they meant to=20
> say, but that's not what they've actually said. I don't feel great=20
> referencing that, even informatively.

Well, the best solution is to report it to Microsoft and get them to fix =

it. You can reference this thread, among others. I see the following=20
problems with that ABNF in gg465305:

host-name          =3D "[" IPv6address =E2=80=98]" / IPv4address / reg-na=
me

has a turned comma; it should be:

host-name          =3D "[" IPv6address "]" / IPv4address / reg-name


pchar, fchar, and schar are defined in the range 00h-FFh. However, the=20
definition says that "The filespace selector is a null-terminatedUnicode =

character=20
<https://msdn.microsoft.com/en-us/library/cc230275#gt_fd33af2e-e1ce-4f8e-=
a706-f9fb8123f9b0>string".=20
The reference to "Unicode character" says "Unless otherwise specified, a =

16-bit UTF-16 code unit." Also: "Unless otherwise specified, allUnicode=20
strings=20
<https://msdn.microsoft.com/en-us/library/cc230275#gt_b069acb4-e364-453e-=
ac83-42d469bb339e>follow=20
the UTF-16LE encoding scheme with no Byte Order Mark (BOM)." (Unicode=20
string) This would mean that the domain of the ABNF is 0000-FFFF.

I am fairly certain that Windows does not enforce well-formedness=20
Unicode surrogate sequences, which makes the ABNF easier: you can blow=20
through %x80-FFFF without needing special handling of high and low=20
surrogate points.

/However/, the RPC type is defined as STRING, which is UCHAR*, which is=20
"a null-terminated string of 8-bit characters". Therefore, we might be=20
in UTF-8 land. If in UTF-8 land, is the UTF8-non-ascii production=20
appropriate? (RFC 6532 & RFC 3629)

I haven't groked pchar, fchar, or schar. Overall, however, the authors=20
of that MS spec have to determine and fix:

  * Is the ABNF in 0000-FFFF (16-bit units), or 00-FF (8-bit units)?
  * Is UTF-8 or UTF-16 intended?
  * What's actually going on in real life? I know that the Windows API
    is UTF-16LE. What about SMB on the wire?


> =E2=80=8B
>
>     In Appendix C, a discussion of Win32 Namespaces is given, but then
>     it says "This specification does not define a mechanism for
>     translating namespaced paths to or from file URIs." Readers would
>     appreciate an informative reference for a mechanism to translate
>     namespaced paths to and from file URIs, especially since there is
>     a lot of technical content about Win32 processing in the rest of
>     the Appendices.
>
>
> =E2=80=8BThey might, but I don't have one. What would you suggest? What=
 is=20
> currently done?
> =E2=80=8B

Need someone else to chime in on this (and the other stuff).

Sean

--------------AF56DCD46DF470E5094B5710
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 5/15/2016 5:24 AM, Matthew Kerwin
      wrote:<br>
    </div>
    <blockquote
cite="mid:CACweHNBuR8X_ub6J-yOtvoV7CjZyDC5__qKNHWGtxsjZbvyB0w@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:georgia,serif;color:#073763"><br>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On 15 May 2016 at 20:15, Sean Leonard
            <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:dev+ietf@seantek.com" target="_blank">dev+ietf@seantek.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On
                5/14/2016 10:15 PM, <a moz-do-not-send="true"
                  href="mailto:internet-drafts@ietf.org" target="_blank">internet-drafts@ietf.org</a>
                wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  A New Internet-Draft is available from the on-line
                  Internet-Drafts directories.<br>
                  This draft is a work item of the ART Area General
                  Applications Working Group of the IETF.<br>
                  <br>
                           Title           : The file URI Scheme<br>
                           Author          : Matthew Kerwin<br>
                          Filename        :
                  draft-ietf-appsawg-file-scheme-09.txt<br>
                          Pages           : 18<br>
                          Date            : 2016-05-14<br>
                </blockquote>
                <br>
              </span>
              Did a full review; looks very good. Nice work!<br>
              <br>
              The References section lists several references to MSDN
              articles.<br>
              <br>
              Shorter MSDN article URLs are of the form:<br>
              <a moz-do-not-send="true"
                href="https://msdn.microsoft.com/library/%7BARTICLEID%7D"
                target="_blank" rel="noreferrer">https://msdn.microsoft.com/library/{ARTICLEID}</a><br>
              <br>
              Such as:<br>
              <a moz-do-not-send="true"
                href="https://msdn.microsoft.com/library/gg465305"
                target="_blank" rel="noreferrer">https://msdn.microsoft.com/library/gg465305</a><br>
              <a moz-do-not-send="true"
                href="https://msdn.microsoft.com/library/aa365247"
                target="_blank" rel="noreferrer">https://msdn.microsoft.com/library/aa365247</a><br>
              <br>
              I suggest simplifying the links, and updating the dates.
              Note that some library articles have dates; others do not.
              For example, [MS-DTYP] is most recently dated October 16,
              2015, revision 30.0, according to its changelog at article
              ID cc230273.<br>
              <br>
            </blockquote>
            <div><br>
            </div>
            <div>
              <div class="gmail_default"
                style="color:rgb(7,55,99);font-family:georgia,serif">​Well,
                I did access the en-us versions. When I go to the short
                URL you linked above, I get the en-au versions ;)</div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Yep. Short URL is language/locale-neutral.<br>
    <br>
    <blockquote
cite="mid:CACweHNBuR8X_ub6J-yOtvoV7CjZyDC5__qKNHWGtxsjZbvyB0w@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>
              <div class="gmail_default"
                style="color:rgb(7,55,99);font-family:georgia,serif"><br>
              </div>
              <div class="gmail_default"
                style="color:rgb(7,55,99);font-family:georgia,serif">Nevertheless
                I can refresh the references and update the dates. I'm
                confused, though; MS-DTYP now includes an ABNF (which is
                cool) but it's broken (which is not cool.) I think I
                know what they meant to say, but that's not what they've
                actually said. I don't feel great referencing that, even
                informatively.</div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Well, the best solution is to report it to Microsoft and get them to
    fix it. You can reference this thread, among others. I see the
    following problems with that ABNF in gg465305:<br>
    <br>
    <pre style="color: rgb(0, 0, 0); font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17.55px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;">host-name          = "[" IPv6address ‘]" / IPv4address / reg-name</pre>
    has a turned comma; it should be:<br>
    <pre style="color: rgb(0, 0, 0); font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 17.55px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;">host-name          = "[" IPv6address "]" / IPv4address / reg-name</pre>
    <br>
    pchar, fchar, and schar are defined in the range 00h-FFh. However,
    the definition says that "<span style="color: rgb(42, 42, 42);
      font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial,
      Helvetica, sans-serif; font-size: 13px; font-style: normal;
      font-variant: normal; font-weight: normal; letter-spacing: normal;
      line-height: 18px; orphans: auto; text-align: start; text-indent:
      0px; text-transform: none; white-space: normal; widows: 1;
      word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
      !important; float: none;">The filespace selector is a
      null-terminated<span class="Apple-converted-space"> </span></span><a
href="https://msdn.microsoft.com/en-us/library/cc230275#gt_fd33af2e-e1ce-4f8e-a706-f9fb8123f9b0"
      style="text-decoration: none; color: rgb(3, 105, 122);
      font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial,
      Helvetica, sans-serif; font-size: 13px; font-style: normal;
      font-variant: normal; font-weight: normal; letter-spacing: normal;
      line-height: 18px; orphans: auto; text-align: start; text-indent:
      0px; text-transform: none; white-space: normal; widows: 1;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;">Unicode
      character</a><span style="color: rgb(42, 42, 42); font-family:
      'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica,
      sans-serif; font-size: 13px; font-style: normal; font-variant:
      normal; font-weight: normal; letter-spacing: normal; line-height:
      18px; orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 1;
      word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
      !important; float: none;"><span class="Apple-converted-space"> </span>string</span>".
    The reference to "Unicode character" says "<span style="color:
      rgb(42, 42, 42); font-family: 'Segoe UI', 'Lucida Grande',
      Verdana, Arial, Helvetica, sans-serif; font-size: 13px;
      font-style: normal; font-variant: normal; font-weight: normal;
      letter-spacing: normal; line-height: 18px; orphans: auto;
      text-align: start; text-indent: 0px; text-transform: none;
      white-space: normal; widows: 1; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; display: inline !important; float:
      none;">Unless otherwise specified, a 16-bit UTF-16 code unit.</span>"
    Also: "<span style="color: rgb(42, 42, 42); font-family: 'Segoe UI',
      'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size:
      13px; font-style: normal; font-variant: normal; font-weight:
      normal; letter-spacing: normal; line-height: 18px; orphans: auto;
      text-align: start; text-indent: 0px; text-transform: none;
      white-space: normal; widows: 1; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; display: inline !important; float:
      none;">Unless otherwise specified, all<span
        class="Apple-converted-space"> </span></span><a
href="https://msdn.microsoft.com/en-us/library/cc230275#gt_b069acb4-e364-453e-ac83-42d469bb339e"
      style="text-decoration: none; color: rgb(3, 105, 122);
      font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial,
      Helvetica, sans-serif; font-size: 13px; font-style: normal;
      font-variant: normal; font-weight: normal; letter-spacing: normal;
      line-height: 18px; orphans: auto; text-align: start; text-indent:
      0px; text-transform: none; white-space: normal; widows: 1;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;">Unicode
      strings</a><span style="color: rgb(42, 42, 42); font-family:
      'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica,
      sans-serif; font-size: 13px; font-style: normal; font-variant:
      normal; font-weight: normal; letter-spacing: normal; line-height:
      18px; orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 1;
      word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
      !important; float: none;"><span class="Apple-converted-space"> </span>follow
      the UTF-16LE encoding scheme with no Byte Order Mark (BOM).</span>"
    (Unicode string) This would mean that the domain of the ABNF is
    0000-FFFF.<br>
    <br>
    I am fairly certain that Windows does not enforce well-formedness
    Unicode surrogate sequences, which makes the ABNF easier: you can
    blow through %x80-FFFF without needing special handling of high and
    low surrogate points.<br>
    <br>
    <i>However</i>, the RPC type is defined as STRING, which is UCHAR*,
    which is "a null-terminated string of 8-bit characters". Therefore,
    we might be in UTF-8 land. If in UTF-8 land, is the UTF8-non-ascii
    production appropriate? (RFC 6532 &amp; RFC 3629)<br>
    <br>
    I haven't groked pchar, fchar, or schar. Overall, however, the
    authors of that MS spec have to determine and fix:<br>
    <ul>
      <li>Is the ABNF in 0000-FFFF (16-bit units), or 00-FF (8-bit
        units)?</li>
      <li>Is UTF-8 or UTF-16 intended?</li>
      <li>What's actually going on in real life? I know that the Windows
        API is UTF-16LE. What about SMB on the wire?</li>
    </ul>
    <br>
    <blockquote
cite="mid:CACweHNBuR8X_ub6J-yOtvoV7CjZyDC5__qKNHWGtxsjZbvyB0w@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>
              <div class="gmail_default"
                style="color:rgb(7,55,99);font-family:georgia,serif">​</div>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              In Appendix C, a discussion of Win32 Namespaces is given,
              but then it says "This specification does not define a
              mechanism for translating namespaced paths to or from file
              URIs." Readers would appreciate an informative reference
              for a mechanism to translate namespaced paths to and from
              file URIs, especially since there is a lot of technical
              content about Win32 processing in the rest of the
              Appendices.<br>
              <br>
            </blockquote>
            <div><br>
            </div>
            <div>
              <div class="gmail_default"
                style="color:rgb(7,55,99);font-family:georgia,serif">​They
                might, but I don't have one. What would you suggest?
                What is currently done?</div>
              <div class="gmail_default"
                style="color:rgb(7,55,99);font-family:georgia,serif">​</div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Need someone else to chime in on this (and the other stuff).<br>
    <br>
    Sean<br>
  </body>
</html>

--------------AF56DCD46DF470E5094B5710--

