suggested test for test suite: prefix redefinition

<div about="#foo" xmlns:ex="http://example.com/right#">
  <span xmlns:ex="http://example.com/wrong#"></span>
  <span property="ex:bar">baz</span>
</div>

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
situation.

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

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>

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