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

suggested test for test suite: prefix redefinition

From: Toby Inkster <tai@g5n.co.uk>
Date: Fri, 09 Apr 2010 10:36:12 +0100
To: public-rdfa@w3.org
Message-ID: <1270805772.29423.232.camel@ophelia2.g5n.co.uk>
<div about="#foo" xmlns:ex="http://example.com/right#">
  <span xmlns:ex="http://example.com/wrong#"></span>
  <span property="ex:bar">baz</span>

Ought to generate this triple:

  <#foo> <http://example.com/right#bar> "baz" .

The current release of RDF::RDFa::Parser generates:

  <#foo> <http://example.com/wrong#bar> "baz" .

This is because I'm passing around the list of URI mappings by reference
rather than by value. It would be useful if this test could be added to
the test suite, as currently none of the approved test cases cover the

I have a fix written for RDF::RDFa::Parser which I'll release later

Toby A Inkster
Received on Friday, 9 April 2010 09:36:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:06 UTC