RE: RDF and xml:base

Graham Klyne [mailto:GK@ninebynine.org] wrote:

>OR:
>
>(3) use a protocol-independent way to communicate the document's URI;  i.e.

>xml:base.
>

No!  xml:base is not intended to communicate the document's URI.  A
document's URI and a base URI are two separate concepts.

From the XMLBase spec:

[[
4.1. Relation to RFC 2396 
RFC 2396 [IETF RFC 2396] provides for base URI information to be embedded
within a document. The rules for determining the base URI can be summarized
as follows (highest priority to lowest):

The base URI is embedded in the document's content.

The base URI is that of the encapsulating entity (message, document, or
none).

The base URI is the URI used to retrieve the entity.

The base URI is defined by the context of the application.

NOTE: The term "entity" in points #2 and #3 above uses the RFC 2396 meaning
of the term. Elsewhere in this document the term "entity" is used in the XML
sense.

This document specifies the details of rule #1 for embedding base URI
information in the specific case of XML documents.
]]

Hence xml:base is used to override any document URI for the resolution of
relative URIs.

Now, fragments are _not_ considered part of a URI.  From RFC2396 section 4:

[[
4. URI References

   The term "URI-reference" is used here to denote the common usage of a
   resource identifier.  A URI reference may be absolute or relative,
   and may have additional information attached in the form of a
   fragment identifier.  However, "the URI" that results from such a
   reference includes only the absolute URI after the fragment
   identifier (if any) is removed and after any relative URI is resolved
   to its absolute form.  Although it is possible to limit the
   discussion of URI syntax and semantics to that of the absolute
   result, most usage of URI is within general URI references, and it is
   impossible to obtain the URI from such a reference without also
   parsing the fragment and resolving the relative form.

      URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]
]]

Hence '#fragment' is an empty URI (''), plus the fragment identifier.

Again from RFC section 5.2, if a URI has no scheme, authority, path or query
then it is a reference to the current document, and further processing of
the URI is terminated.

>The requirement I was imagining was not necessarily to preserve 
>persistence, but to provide a way for cross-referencing between multiple 
>transient subgraphs.  I.e. to reference resources defined by rdf:ID from 
>outside the document.
>
>#g


You could still use a protocol-independent way to communicate the URIs
associated with each transient graph, but xml:base is not it.

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"P`+`#L``P!/`0$@@`,`#@```-$'!0`>``L`#``&``,`&P$!"8`!`"$````P
M-T,Q13(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`,`P``#,`
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```$````!``````````(!"1`!````
MM`8``+`&``#G#```3%I&=7:ZJ.$#``H`<F-P9S$R->(R`T-T97@%00$#`??_
M"H`"I`/D!Q,"@`_S`%`$5C\(50>R$24.40,!`@!C:.$*P'-E=#(&``;#$27V
M,P1&$[<P$BP1,PCO"?>V.Q@?#C`U$2(,8&,`4#,+"0%D,S864`NF($<$<F$3
MX&T@2VQY,&YE(%L`P`,0=&^P.D=+0`,`'9!B'8"%'H$N!;!G72!W`V`=#K`Z
M"J(*A`J`/D]2!1_%/B`U*#,I('6A%!`@82!P'X%O%Y'V+0N``0!P"?`!``(P
M'V`H87D@'A`@!:!M;;)U`P!C80ZP(]!H':!:9"*0=0>``C`G!"!5@%)).R`@
M:2X?``,*XR!Q>&UL.F)AC100+B#;']1.;R$F`/<FYB80!"!N'Y`F$`(P(S+^
M9"/?).\F4!#`)0TB("+PWR(A*3,MDQ@@*G!W*I`4$"<*L2LR!:!N8R,0=',;
M)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/$_"00``!X`,4`!````!````$Q%10`#`!I`````
M`!X`,$`!````!````$Q%10`#`!E```````,`@!#_____"P#R$`$````"`4<`
M`0```#<```!C/4=".V$](#MP/51H92!#86ME($AO=7-E.VP]6DE.1TE"15(M
M,#$P-3,P,3`Q,34Y6BTR-C(```(!^3\!````30````````#<IT#(P$(0&K2Y
M"``K+^&"`0`````````O3SU42$4@0T%+12!(3U5312]/53U,3TY$3TXO0TX]
M4D5#25!)14Y44R]#3CU,144`````'@#X/P$````*````3&5E($IO;F%S````
M'@`X0`$````$````3$5%``(!^S\!````30````````#<IT#(P$(0&K2Y"``K
M+^&"`0`````````O3SU42$4@0T%+12!(3U5312]/53U,3TY$3TXO0TX]4D5#
M25!)14Y44R]#3CU,144`````'@#Z/P$````*````3&5E($IO;F%S````'@`Y
M0`$````$````3$5%`$``!S!@SH7V\.C``4``"##P@`?[\.C``1X`/0`!````
M!0```%)%.B``````'@`=#@$````1````4D1&(&%N9"!X;6PZ8F%S90`````>
M`#40`0```#`````\-3%%1#(Y1C,Q13(P1#0Q,4%!1D0P,#$P-4$T0T0W03<W
M,3)!0%I)3D=)0D52/@`+`"D```````L`(P```````P`&$!#-:#P#``<0/`@`
M``,`$!```````P`1$``````>``@0`0```&4```!'4D%(04U+3%E.14U!24Q4
M3SI'2T!.24Y%0EE.24Y%3U)'5U)/5$4Z3U(Z*#,I55-%05!23U1/0T],+4E.
M1$5014Y$14Y45T%95$]#3TU-54Y)0T%4151(141/0U5-14Y44U52``````(!
M?P`!````,````#PU,45$,CE&,S%%,C!$-#$Q04%&1#`P,3`U031#1#=!-S<Q
/,D%`6DE.1TE"15(^`+-?
`
end

Received on Wednesday, 30 May 2001 06:11:49 UTC