W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > April 2012

Re: Test 0258 / XHTML+RDFa1.1

From: Gregg Kellogg <gregg@greggkellogg.net>
Date: Fri, 27 Apr 2012 21:11:45 -0400
To: Alex Milowski <alex@milowski.com>
CC: W3C RDFWA WG <public-rdfa-wg@w3.org>
Message-ID: <F67D6BEF-F1DC-4D02-B608-9D7C3D68E603@greggkellogg.net>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 28 April 2012 01:12:24 GMT