W3C home > Mailing lists > Public > www-rdf-interest@w3.org > May 2001

RE: RDF and xml:base

From: Lee Jonas <lee.jonas@cakehouse.co.uk>
Date: Wed, 30 May 2001 10:50:03 +0100
Message-ID: <51ED29F31E20D411AAFD00105A4CD7A77129@ZINGIBER>
To: "'Ron Daniel'" <rdaniel@interwoven.com>, "'Graham Klyne'" <GK@ninebynine.org>
Cc: RDF Interest <www-rdf-interest@w3.org>
Ron Daniel [mailto:rdaniel@interwoven.com] wrote:

>Lee said:
>
>> I took rdf:ID to have the equivalent semantics as an XML 
>> attribute of type 'ID'.  If this is the case, then xml:base won't 
>> affect the absolute URI-reference for the RDFresource defined - 
>> AFAIK, '#fragid' is always a fragment within the current 
>> document, regardless of the base URI.
>
>Hi,
>
>According to the XPointer drafts, which will set the fragment identifier
>syntax for XML documents, #fragid does not always refer to the current
>document. It is a relative URI reference, and is converted to an absolute
>identifier according to the rules of RFC 2396. Those rules say that
>the first thing to check for is a base URI embedded in the document's
>content. The xml:base attribute came out of the XML Linking WG (which is
>the group also doing the XPointer spec) in order to provide just that
>functionality. If no base URI exists in the document, then we assume
>the base is that of the current document (encapsulating entity, to
>be pedantic).
>
>Ron Daniel
>co-editor of XPointer

I can't seem to find any mention of resolving URI-references to documents in
the current XPointer draft.  It seems to only describe how to address
fragments within an XML resource (presumably, once it has been resolved and
fetched).  Could you point me at the relevant sections?

Anyhow, the XPointer draft lists RFC 2396 as a "normative" reference, yet
the treatment of fragments you describe would go against the established
treatment of fragments as outlined in the RFC.  Why?  Is it an oversight?

Again, from RFC 2396, section 5.2:
[[

   For each URI reference, the following steps are performed in order:

   1) The URI reference is parsed into the potential four components and
      fragment identifier, as described in Section 4.3.
]]

i.e. scheme, authority, path and query parts of the URI, plus possibly a
fragment identifier.

[[
   2) If the path component is empty and the scheme, authority, and
      query components are undefined, then it is a reference to the
      current document and we are done.  Otherwise, the reference URI's
      query and fragment components are defined as found (or not found)
      within the URI reference and not inherited from the base URI.
]]

i.e. a fragment on its own => "it is a reference to the current document and
we are done".



regards

Lee

begin 600 winmail.dat
M>)\^(@@)`0:0"``$```````!``$``0>0!@`(````Y`0```````#H``$(@`<`
M&````$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`06``P`.````T0<%`!X`
M"@`R``,``P`]`0$@@`,`#@```-$'!0`>``H`,@`%``,`/P$!"8`!`"$```!!
M04)&13(W,S!$-#E$-3$Q04(P0C`P,3`U031#1#=!-P`]!P$$@`$`%0```%)%
M.B!21$8@86YD('AM;#IB87-E`&8&`0V`!``"`````@`"``$#D`8`T`L``#0`
M```#``E9`0````,`WC^O;P```P`V```````#`!F`""`&``````#`````````
M1@````!2A0``)VH!`!X`&H`((`8``````,````````!&`````%2%```!````
M!````#DN,``+`!N`""`&``````#`````````1@`````&A0````````,`"(`(
M(`8``````,````````!&``````&%````````"P``@`@@!@``````P```````
M`$8``````X4````````+`!^`""`&``````#`````````1@`````.A0``````
M``,``H`((`8``````,````````!&`````!"%`````````P`@@`@@!@``````
MP````````$8`````$84````````#`"*`""`&``````#`````````1@`````8
MA0```````!X`,8`((`8``````,````````!&`````#:%```!`````0``````
M```>`#*`""`&``````#`````````1@`````WA0```0````$`````````'@`S
M@`@@!@``````P````````$8`````.(4```$````!``````````L`.X`((`8`
M`````,````````!&`````(*%```!`````@$)$`$````G!@``(P8``%\+``!,
M6D9UN^+XJ`,`"@!R8W!G,3(UXC(#0W1E>`5!`0,!]_\*@`*D`^0'$P*`#_,`
M4`16/PA5![(1)0Y1`P$"`&-HX0K`<V5T,@8`!L,1)?8S!$83MS`2+!$S".\)
M][8[&!\.,#41(@Q@8P!0\PL)`60S-A90"Z8'\0.@;D0`<`B0`R!;`,`#$'1L
M;SH+(!U#0`N`#K!R*'=O=@GP+@6@;5WL('<#8`ZP.@JB"H0*@*0^3`G@(',+
M<&0?]4(^(&4^($D@'?!OA&L@"R!F.DE$(G$N(!/@'Q`B<&@@\&5Q^'5I=@=`
M"?`%0!00`X$V=`W@!"!A)3$#H%A--DP*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#R$`$````"`4<``0```#<`
M``!C/4=".V$](#MP/51H92!#86ME($AO=7-E.VP]6DE.1TE"15(M,#$P-3,P
M,#DU,#`S6BTR-3<```(!^3\!````30````````#<IT#(P$(0&K2Y"``K+^&"
M`0`````````O3SU42$4@0T%+12!(3U5312]/53U,3TY$3TXO0TX]4D5#25!)
M14Y44R]#3CU,144`````'@#X/P$````*````3&5E($IO;F%S````'@`X0`$`
M```$````3$5%``(!^S\!````30````````#<IT#(P$(0&K2Y"``K+^&"`0``
M```````O3SU42$4@0T%+12!(3U5312]/53U,3TY$3TXO0TX]4D5#25!)14Y4
M4R]#3CU,144`````'@#Z/P$````*````3&5E($IO;F%S````'@`Y0`$````$
M````3$5%`$``!S#@?F'F[>C``4``"#!`U[KG[>C``1X`/0`!````!0```%)%
M.B``````'@`=#@$````1````4D1&(&%N9"!X;6PZ8F%S90`````>`#40`0``
M`#`````\-3%%1#(Y1C,Q13(P1#0Q,4%!1D0P,#$P-4$T0T0W03<W,3(Y0%I)
M3D=)0D52/@`+`"D```````L`(P```````P`&$"U+/R,#``<0.0<```,`$!``
M`````P`1$``````>``@0`0```&4```!23TY$04Y)14Q-04E,5$\Z4D1!3DE%
M3$!)3E1%4E=/5D5.0T]-5U)/5$4Z3$5%4T%)1#I)5$]/2U)$1CI)1%1/2$%6
M151(145154E604Q%3E1314U!3E1)0U-!4T%.6$U,0514``````(!?P`!````
M,````#PU,45$,CE&,S%%,C!$-#$Q04%&1#`P,3`U031#1#=!-S<Q,CE`6DE.
)1TE"15(^`,84
`
end
Received on Wednesday, 30 May 2001 05:49:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:49 GMT