W3C home > Mailing lists > Public > public-rdf-comments@w3.org > May 2013

RE: Turtle syntax: Please align base URI with RFC 3986 & 3987

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Fri, 31 May 2013 12:56:14 +0200
To: "'Gavin Carothers'" <gavin@carothers.name>, "'David Booth'" <david@dbooth.org>
Cc: <public-rdf-comments@w3.org>
Message-ID: <00c801ce5ded$792df390$6b89dab0$@lanthaler@gmx.net>
Gavin,

This is not entirely correct, I think.

On Friday, May 31, 2013 3:48 AM, Gavin Carothers wrote:
> @base <//example.org/> . # Creates a new base with either http or
> https depending on the current document base
> @base <http://example.org/pointless> . # Creates the base
> URI http://example.org/

No, this would create the base http://example.org/pointless, i.e., <#frag> later in that document would be expanded to http://example.org/pointless#frag


> @base <> . # Does nothing.
> @base <b/> . # Adds b/ to the current base

More or less. http://example.com/a would be changed to http://example.com/b/


> @base <#> . # Still does nothing
> @base <http://example.org/a/b#> . # Creates the base URI
> http://example.org/a/ note the lack of a 'b'

Same as above. The new base would be http://example.org/a/b


Cheers,
Markus


--
Markus Lanthaler
@markuslanthaler
Received on Friday, 31 May 2013 10:56:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:56 UTC