Tests for relative paths in prefix mappings?

Are there any tests for relative IRI values in prefix mappings?  I
don't see any.

I received a bug report for green turtle about resolving relative
paths in prefix mappings.  As the specification says:

"Regardless of how the mapping is declared, the value to be mapped
must be converted to lower case, and the IRI is not processed in any
way; in particular if it is a relative path it must not be resolved
against the current base. Authors should not use relative paths as the
IRI."

[Section 7.5, step 3]

I'm obviously not going to "fix" a non-bug.  Also, I don't see a
negative or positive test for this.

I'd be happy to write tests for this.

Also, a clarification is needed in that statement.  As I read it, "the
value" is the prefix and it might be clearer to say so directly.

If there is an errata, an editorial clarification of the above
statement would be a good thing to add.


-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics

Received on Tuesday, 2 October 2012 16:01:06 UTC