Re: Test 0258 / XHTML+RDFa1.1

Note that this is a negative parser test, so running the SPARQL should return false instead of true.

In this case, since "_" is an invalid prefix, _:test is a BNode. So the expected results are:

<> earl:testcase [] .

Perhaps you ment that <_:test> is a BNode, but that's not valid Turtle or NTriples, it should just be _:test.

Gregg

On Apr 27, 2012, at 5:50 PM, Alex Milowski wrote:

> In test 0258, there is the content:
> 
> <p xmlns:_="http://example.org/"
>   prefix="_: http://example.org/"
>   xmlns:earl="http://www.w3.org/ns/earl#"
>   rel="earl:testcase" resource="_:test">Test</p>
> 
> You can't redefine the prefix "_" but shouldn't the test still generate:
> 
> <>  <http://www.w3.org/ns/earl#testcase>	<_:test>
> 
> ?
> 
> -- 
> --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 Saturday, 28 April 2012 01:12:24 UTC