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

"John P. McCaskey" <[email protected]> Wed, 3 May 2017 16:29:51 -0400
Newsgroups gmane.text.tei.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------392E530903BF87ED468586FD
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Oh. I thought it obvious they all resolved the same.

I think the same about this one. You think otherwise?

<div xml:base=3D"http://www.myteiproject.com/" <div xml:base=3D"images/">=
=20
<div> <graphic url=3D"logo.jpg"> </div> <div=20
xml:base=3D"http://www.dictionary.com/words/"> <p xml:base=3D"a.html"> <r=
ef=20
target=3D"#apple">apple</ref> </p> </div> </div> </div>

I didn=E2=80=99t think xml:base had any necessary relation to the current=
=20
document. I thought in XML (not HTML), it just sets a path for URIs=20
below it.

--=20

On 5/3/2017 3:42 PM, Hugh Cayless wrote:
> Well, we don't know about the third one, except that it points to=20
> whatever element *in the same document* has the @xml:id "apple". When=20
> an application attempts to dereference it, it should make the URI in=20
> @ref absolute and check it against the base=20
> (http://www.dictionary.com/words/a.html=20
> <http://www.dictionary.com/words/a.html>), discover they are=20
> identical, decide it doesn't need to fetch anything, and go looking in=20
> the current document for the element with the id "apple".
> On Wed, May 3, 2017 at 3:27 PM, John P. McCaskey=20
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Are people proposing that these targets do not all resolve to the
>     same http://www.dictionary.com/words/a.html#apple
>     <http://www.dictionary.com/words/a.html#apple>? <div
>     xml:base=3D"http://www.dictionary.com/"
>     <http://www.dictionary.com/>> <p xml:base=3D"words/"> <ref
>     target=3D"a.html#apple">apple</ref> </p> </div> <div
>     xml:base=3D"http://www.dictionary.com/words/"
>     <http://www.dictionary.com/words/>> <p xml:base=3D"a.html"> <ref
>     target=3D"#apple">apple</ref> </p> </div> <div
>     xml:base=3D"http://www.dictionary.com/words/a.html"
>     <http://www.dictionary.com/words/a.html>> <p> <ref
>     target=3D"#apple">apple</ref> </p> </div> <div
>     xml:base=3D"http://www.dictionary.com/"
>     <http://www.dictionary.com/>> <p> <ref
>     target=3D"words/a.html#apple">apple</ref> </p> </div>--
>

--------------392E530903BF87ED468586FD
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">Oh. I thought it obvious they all resolved the
        same. <br>
      </font></p>
    <p><font size=3D"-1">I think the same about this one. You think other=
wise?<br>
      </font></p>
    <pre><font size=3D"-1">&lt;div <a class=3D"moz-txt-link-freetext" hre=
f=3D"xml:base=3D">xml:base=3D</a><a class=3D"moz-txt-link-rfc2396E" href=3D=
"http://www.myteiproject.com/">"http://www.myteiproject.com/"</a>
  &lt;div <a class=3D"moz-txt-link-freetext" href=3D"xml:base=3D">xml:bas=
e=3D</a>"images/"&gt;
    &lt;div&gt;
      &lt;graphic url=3D"logo.jpg"&gt;
    &lt;/div&gt;
    &lt;div <a moz-do-not-send=3D"true" class=3D"m_-1417418399130310658mo=
z-txt-link-freetext">xml:base=3D</a><span class=3D"m_-1417418399130310658=
moz-txt-link-rfc2396E">"<a class=3D"moz-txt-link-freetext" href=3D"http:/=
/www">http://www</a>.<wbr>dictionary.com/words/"</span>&gt;
      &lt;p <a moz-do-not-send=3D"true" class=3D"m_-1417418399130310658mo=
z-txt-link-freetext">xml:base=3D</a>"a.html"&gt;
        &lt;ref target=3D"#apple"&gt;apple&lt;/ref&gt;
      &lt;/p&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;=20
</font></pre><p><font size=3D"-1">I didn=E2=80=99t think <a class=3D"moz-=
txt-link-freetext" href=3D"xml:base">xml:base</a> had any necessary relat=
ion to the current document. I thought in XML (not HTML), it just sets a =
path for URIs below it.</font></p><p><font size=3D"-1">--
</font></p>
<div class=3D"moz-cite-prefix">On 5/3/2017 3:42 PM, Hugh Cayless wrote:
</div><blockquote cite=3D"mid:CAObhq+exEaW_C7bugm2T_QAYvfC3cLoEbbiP1EtrNx=
[email protected]" type=3D"cite"><div dir=3D"ltr">Well, we don't kn=
ow about the third one, except that it points to whatever element *in the=
 same document* has the @<a class=3D"moz-txt-link-freetext" href=3D"xml:i=
d">xml:id</a> "apple". When an application attempts to dereference it, it=
 should make the URI in @ref absolute and check it against the base (<a m=
oz-do-not-send=3D"true" class=3D"gmail-m_-1417418399130310658moz-txt-link=
-rfc2396E" href=3D"http://www.dictionary.com/words/a.html" target=3D"_bla=
nk" style=3D"white-space:pre-wrap">http://www.<wbr>dictionary.com/words/a=
.html</a>), 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".</div><div class=3D"gmail_extra">
<div class=3D"gmail_quote">On Wed, May 3, 2017 at 3:27 PM, John P. McCask=
ey <span dir=3D"ltr">&lt;<a moz-do-not-send=3D"true" href=3D"mailto:mailb=
[email protected]" target=3D"_blank">[email protected]</a>&gt;</=
span> wrote:
<blockquote 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=
 all resolve=20
to the same <a moz-do-not-send=3D"true" class=3D"m_-1417418399130310658mo=
z-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 moz-do-not-send=3D"true" class=3D"m_-=
1417418399130310658moz-txt-link-freetext">xml:base=3D</a><a moz-do-not-se=
nd=3D"true" class=3D"m_-1417418399130310658moz-txt-link-rfc2396E" href=3D=
"http://www.dictionary.com/" target=3D"_blank">"http://www.<wbr>dictionar=
y.com/"</a>&gt;
    &lt;p <a moz-do-not-send=3D"true" class=3D"m_-1417418399130310658moz-=
txt-link-freetext">xml:base=3D</a>"words/"&gt;
        &lt;ref target=3D"a.html#apple"&gt;apple&lt;/<wbr>ref&gt;
    &lt;/p&gt;
&lt;/div&gt;

&lt;div <a moz-do-not-send=3D"true" class=3D"m_-1417418399130310658moz-tx=
t-link-freetext">xml:base=3D</a><a moz-do-not-send=3D"true" class=3D"m_-1=
417418399130310658moz-txt-link-rfc2396E" href=3D"http://www.dictionary.co=
m/words/" target=3D"_blank">"http://www.<wbr>dictionary.com/words/"</a>&g=
t;
    &lt;p <a moz-do-not-send=3D"true" class=3D"m_-1417418399130310658moz-=
txt-link-freetext">xml:base=3D</a>"a.html"&gt;
        &lt;ref target=3D"#apple"&gt;apple&lt;/ref&gt;
    &lt;/p&gt;
&lt;/div&gt;

&lt;div <a moz-do-not-send=3D"true" class=3D"m_-1417418399130310658moz-tx=
t-link-freetext">xml:base=3D</a><a moz-do-not-send=3D"true" class=3D"m_-1=
417418399130310658moz-txt-link-rfc2396E" href=3D"http://www.dictionary.co=
m/words/a.html" target=3D"_blank">"http://www.<wbr>dictionary.com/words/a=
.html"</a>&gt;
    &lt;p&gt;
        &lt;ref target=3D"#apple"&gt;apple&lt;/ref&gt;
    &lt;/p&gt;
&lt;/div&gt;

&lt;div <a moz-do-not-send=3D"true" class=3D"m_-1417418399130310658moz-tx=
t-link-freetext">xml:base=3D</a><a moz-do-not-send=3D"true" class=3D"m_-1=
417418399130310658moz-txt-link-rfc2396E" href=3D"http://www.dictionary.co=
m/" target=3D"_blank">"http://www.<wbr>dictionary.com/"</a>&gt;
    &lt;p&gt;
        &lt;ref target=3D"words/a.html#apple"&gt;<wbr>apple&lt;/ref&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>
</div>



</blockquote>
</body></html>
--------------392E530903BF87ED468586FD--