Re: @xml:base with @rendition (and maybe other pointers)

"John P. McCaskey" <[email protected]> Fri, 5 May 2017 12:43:23 -0400
Newsgroups gmane.text.tei.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------7FFEE466A5AC61C74B274625
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

I=E2=80=99ll post an issue saying the section needs to be reviewed and re=
vised.=20
I myself won=E2=80=99t propose an alternative.

John



On 5/5/2017 12:38 PM, C. M. Sperberg-McQueen wrote:
> On May 5, 2017, at 8:44 AM, John P. McCaskey <[email protected]>=
 wrote:
>
>> Based on the recent discussion, am I correct to say that the example
>> in 1.3.1.1.5 Evaluation of Links is incorrect? It makes the same
>> mistake I was making, right?
>>> In essence xml:base is used to set a context for all relative URLs
>>> within the scope of the element on which it is specified. For
>>> example:
>>>      <body>
>>>          <div xml:base=3D"http://www.example.org/somewhere.xml">
>>>              <p>
>>>                  <!--... -->
>>>                  <ptr target=3D"#p1"/>
>>>                  <!--... -->
>>>              </p>
>>>          </div>
>>>          <div>
>>>              <p>
>>>                  <!--... -->
>>>                  <ptr target=3D"#p1"/>
>>>                  <!--... -->
>>>              </p>
>>>          </div>
>>>      </body>
>>> The first ptr element here is within the scope of a div which
>>> supplies a value for xml:base; its target is therefore to be found
>>> at http://www.example.org/somewhere.xml#p1. The second ptr,
>>> however, is within the scope of a div which does not change the
>>> default context, and its target is therefore some element within
>>> the current document with the value p1 for its xml:id
>>> attribute. Further discussion of this element and its effect on TEI
>>> linking methods is provided in chapter 16 Linking, Segmentation,
>>> and Alignment.
>> Both pointers in fact point to the same location, a location within
>> the current document, right?
> It's not clear that either here or on xml-dev the discussion of this
> question has achieved consensus.
>
> Certainly the description in 1.3.1.1.5 appears problematic in view of
> section 4.4 of RFC 3986 and should be revised, if consensus can be
> achieved on what it should say.
>
> But your correction seems equally problematic to me. The reasons
> should be clear from the mail on this subject I have sent over the
> last couple of days to this list and to xml-dev; I won't re-repeat
> them here.
>
>
> ********************************************
> C. M. Sperberg-McQueen
> Black Mesa Technologies LLC
> [email protected]
> http://www.blackmesatech.com
> ********************************************
>


--------------7FFEE466A5AC61C74B274625
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Ty=
pe">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    <p><font size=3D"-1">I=E2=80=99ll post an issue saying the section ne=
eds to be
        reviewed and revised. I myself won=E2=80=99t propose an alternati=
ve.</font></p>
    <p><font size=3D"-1">John</font></p>
    <p><font size=3D"-1"><br>
      </font></p>
    <br>
    <div class=3D"moz-cite-prefix">On 5/5/2017 12:38 PM, C. M.
      Sperberg-McQueen wrote:<br>
    </div>
    <blockquote
      cite=3D"mid:[email protected]"
      type=3D"cite">
      <pre wrap=3D"">
On May 5, 2017, at 8:44 AM, John P. McCaskey <a class=3D"moz-txt-link-rfc=
2396E" href=3D"mailto:[email protected]">&lt;mailbox@JOHNMCCASKEY.=
COM&gt;</a> wrote:

</pre>
      <blockquote type=3D"cite">
        <pre wrap=3D"">Based on the recent discussion, am I correct to sa=
y that the example
in 1.3.1.1.5 Evaluation of Links is incorrect? It makes the same
mistake I was making, right?
</pre>
      </blockquote>
      <pre wrap=3D"">
</pre>
      <blockquote type=3D"cite">
        <blockquote type=3D"cite">
          <pre wrap=3D"">In essence <a class=3D"moz-txt-link-freetext" hr=
ef=3D"xml:base">xml:base</a> is used to set a context for all relative UR=
Ls
within the scope of the element on which it is specified. For
example:
</pre>
        </blockquote>
      </blockquote>
      <pre wrap=3D"">
</pre>
      <blockquote type=3D"cite">
        <blockquote type=3D"cite">
          <pre wrap=3D"">    &lt;body&gt;
        &lt;div <a class=3D"moz-txt-link-freetext" href=3D"xml:base=3D">x=
ml:base=3D</a><a class=3D"moz-txt-link-rfc2396E" href=3D"http://www.examp=
le.org/somewhere.xml">"http://www.example.org/somewhere.xml"</a>&gt;
            &lt;p&gt;
                &lt;!--... --&gt;
                &lt;ptr target=3D"#p1"/&gt;
                &lt;!--... --&gt; =20
            &lt;/p&gt;=20
        &lt;/div&gt;=20
        &lt;div&gt; =20
            &lt;p&gt;
                &lt;!--... --&gt;  =20
                &lt;ptr target=3D"#p1"/&gt;
                &lt;!--... --&gt; =20
            &lt;/p&gt;=20
        &lt;/div&gt;
    &lt;/body&gt;
</pre>
        </blockquote>
      </blockquote>
      <pre wrap=3D"">
</pre>
      <blockquote type=3D"cite">
        <blockquote type=3D"cite">
          <pre wrap=3D"">The first ptr element here is within the scope o=
f a div which
supplies a value for <a class=3D"moz-txt-link-freetext" href=3D"xml:base"=
>xml:base</a>; its target is therefore to be found
at <a class=3D"moz-txt-link-freetext" href=3D"http://www.example.org/some=
where.xml#p1">http://www.example.org/somewhere.xml#p1</a>. The second ptr=
,
however, is within the scope of a div which does not change the
default context, and its target is therefore some element within
the current document with the value p1 for its <a class=3D"moz-txt-link-f=
reetext" href=3D"xml:id">xml:id</a>
attribute. Further discussion of this element and its effect on TEI
linking methods is provided in chapter 16 Linking, Segmentation,
and Alignment.
</pre>
        </blockquote>
      </blockquote>
      <pre wrap=3D"">
</pre>
      <blockquote type=3D"cite">
        <pre wrap=3D"">Both pointers in fact point to the same location, =
a location within
the current document, right?
</pre>
      </blockquote>
      <pre wrap=3D"">
It's not clear that either here or on xml-dev the discussion of this
question has achieved consensus.

Certainly the description in 1.3.1.1.5 appears problematic in view of
section 4.4 of RFC 3986 and should be revised, if consensus can be
achieved on what it should say.

But your correction seems equally problematic to me. The reasons
should be clear from the mail on this subject I have sent over the
last couple of days to this list and to xml-dev; I won't re-repeat
them here.


********************************************
C. M. Sperberg-McQueen
Black Mesa Technologies LLC
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:cmsmcq@blackmesatech=
.com">[email protected]</a>
<a class=3D"moz-txt-link-freetext" href=3D"http://www.blackmesatech.com">=
http://www.blackmesatech.com</a>
********************************************

</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------7FFEE466A5AC61C74B274625--