Assuming I understand your point correctly, the situation is that the
XML Base spec specifically disallows playlist.location in rule #1,
saying: "This document specifies the details of rule #1 for embedding
base URI information in the specific case of XML documents."
That is, the XSPF spec promises to be compliant with the XML Base
spec, and the XML Base spec reserves rule #1 for itself.
> On the other hand playlist.location doesn't keep the URI to "the
> encapsulating entity". If a playlist file is moved it doesn't represent
> the location to itself anymore (but of course to the origin).
Ok, let's pull out to our application goals. What's best for
portability and interoperability, and hence shareability?
Both xml:base and playlist.location are absolute references which
don't travel when a copy is made, so there's no difference in what
happens once the playlist is moved. xml:base is more broadly
understood and implemented, and is a formal standard. It seems wise
to defer to it. On the other hand, this defies the plain sense that
the playlist.location element is useful in this context.
The Atom protocol has a "self" link which presents some of the same
issues. Maybe there's a precedent there.
-Lucas
On Mon, Jul 21, 2008 at 3:59 PM, M@d Man <
BLmadman@...> wrote:
> I looks for me that the playlist.location same as xml:base attributes
> are "embedded in the document's content". XML Base definitley is (as it
> is said at "4.1 Relation to RFC 3986").
> The matter is that playlist.location is "embedded in the document's
> content" but holds the URI to "the encapsulating entity".
> So we can't decide from this few rules wich to prefer.
> I think we have to define wich one we should use to resolve relative
> URIs. For me I favor xml:base because of flexibility and the point that
> XML Base is a standard.
> On the other hand playlist.location doesn't keep the URI to "the
> encapsulating entity". If a playlist file is moved it doesn't represent
> the location to itself anymore (but of course to the origin).
>> One thing we could do is ask the authors of xml base for advice.
>>
> This would be a good thing. Perhaps it's all rubbish what I wrote above :)
>
> Clemens 'M@d Man' Terasa
>
> _______________________________________________
> Playlist mailing list
>
Playlist@...
>
http://lists.musicbrainz.org/mailman/listinfo/playlist>
_______________________________________________
Playlist mailing list
Playlist@...
http://lists.musicbrainz.org/mailman/listinfo/playlist