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

Hugh Cayless <[email protected]> Wed, 3 May 2017 15:42:21 -0400
Newsgroups gmane.text.tei.general
Message-ID <CAObhq+exEaW_C7bugm2T_QAYvfC3cLoEbbiP1EtrNxvr8qzGxg@mail.gmail.com>
--001a114ed840e08458054ea3da6b
Content-Type: text/plain; charset=UTF-8

Well, we don't know about the third one, except that it points to whatever
element *in the same document* has the @xml:id "apple". When an application
attempts to dereference it, it should make the URI in @ref absolute and
check it against the base (http://www.dictionary.com/words/a.html),
discover they are identical, decide it doesn't need to fetch anything, and
go looking in the current document for the element with the id "apple".

On Wed, May 3, 2017 at 3:27 PM, John P. McCaskey <[email protected]>
wrote:

> Are people proposing that these targets do not all resolve
> to the same http://www.dictionary.com/words/a.html#apple?
> <div xml:base="http://www.dictionary.com/" <http://www.dictionary.com/>>
>     <p xml:base="words/">
>         <ref target="a.html#apple">apple</ref>
>     </p>
> </div>
>
> <div xml:base="http://www.dictionary.com/words/" <http://www.dictionary.com/words/>>
>     <p xml:base="a.html">
>         <ref target="#apple">apple</ref>
>     </p>
> </div>
>
> <div xml:base="http://www.dictionary.com/words/a.html" <http://www.dictionary.com/words/a.html>>
>     <p>
>         <ref target="#apple">apple</ref>
>     </p>
> </div>
>
> <div xml:base="http://www.dictionary.com/" <http://www.dictionary.com/>>
>     <p>
>         <ref target="words/a.html#apple">apple</ref>
>     </p>
> </div>
> --
>
>

--001a114ed840e08458054ea3da6b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Well, we don&#39;t know about the third one, except that i=
t points to whatever element *in the same document* has the @xml:id &quot;a=
pple&quot;. When an application attempts to dereference it, it should make =
the URI in @ref absolute and check it against the base (<a class=3D"gmail-m=
_-1417418399130310658moz-txt-link-rfc2396E" href=3D"http://www.dictionary.c=
om/words/a.html" target=3D"_blank" style=3D"white-space:pre-wrap">http://ww=
w.<wbr>dictionary.com/words/a.html</a>), discover they are identical, decid=
e it doesn&#39;t need to fetch anything, and go looking in the current docu=
ment for the element with the id &quot;apple&quot;.</div><div class=3D"gmai=
l_extra"><br><div class=3D"gmail_quote">On Wed, May 3, 2017 at 3:27 PM, Joh=
n P. McCaskey <span dir=3D"ltr">&lt;<a href=3D"mailto:mailbox@johnmccaskey.=
com" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    <pre><font size=3D"-1">Are people proposing that these targets do not a=
ll resolve=20
to the same <a class=3D"m_-1417418399130310658moz-txt-link-freetext" href=
=3D"http://www.dictionary.com/words/a.html#apple" target=3D"_blank">http://=
www.dictionary.com/<wbr>words/a.html#apple</a>?

</font><font size=3D"-1">&lt;div <a class=3D"m_-1417418399130310658moz-txt-=
link-freetext">xml:base=3D</a><a class=3D"m_-1417418399130310658moz-txt-lin=
k-rfc2396E" href=3D"http://www.dictionary.com/" target=3D"_blank">&quot;htt=
p://www.<wbr>dictionary.com/&quot;</a>&gt;
    &lt;p <a class=3D"m_-1417418399130310658moz-txt-link-freetext">xml:base=
=3D</a>&quot;words/&quot;&gt;
        &lt;ref target=3D&quot;a.html#apple&quot;&gt;apple&lt;/<wbr>ref&gt;
    &lt;/p&gt;
&lt;/div&gt;

&lt;div <a class=3D"m_-1417418399130310658moz-txt-link-freetext">xml:base=
=3D</a><a class=3D"m_-1417418399130310658moz-txt-link-rfc2396E" href=3D"htt=
p://www.dictionary.com/words/" target=3D"_blank">&quot;http://www.<wbr>dict=
ionary.com/words/&quot;</a>&gt;
    &lt;p <a class=3D"m_-1417418399130310658moz-txt-link-freetext">xml:base=
=3D</a>&quot;a.html&quot;&gt;
        &lt;ref target=3D&quot;#apple&quot;&gt;apple&lt;/ref&gt;
    &lt;/p&gt;
&lt;/div&gt;

&lt;div <a class=3D"m_-1417418399130310658moz-txt-link-freetext">xml:base=
=3D</a><a class=3D"m_-1417418399130310658moz-txt-link-rfc2396E" href=3D"htt=
p://www.dictionary.com/words/a.html" target=3D"_blank">&quot;http://www.<wb=
r>dictionary.com/words/a.html&quot;</a>&gt;
    &lt;p&gt;
        &lt;ref target=3D&quot;#apple&quot;&gt;apple&lt;/ref&gt;
    &lt;/p&gt;
&lt;/div&gt;

&lt;div <a class=3D"m_-1417418399130310658moz-txt-link-freetext">xml:base=
=3D</a><a class=3D"m_-1417418399130310658moz-txt-link-rfc2396E" href=3D"htt=
p://www.dictionary.com/" target=3D"_blank">&quot;http://www.<wbr>dictionary=
.com/&quot;</a>&gt;
    &lt;p&gt;
        &lt;ref target=3D&quot;words/a.html#apple&quot;&gt;<wbr>apple&lt;/r=
ef&gt;
    &lt;/p&gt;
&lt;/div&gt;</font><span class=3D"HOEnZb"><font color=3D"#888888">
<font size=3D"-1">
--=20
</font></font></span></pre>
  </div>

</blockquote></div><br></div>

--001a114ed840e08458054ea3da6b--