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

Passing 0221, 0222 and 0223 without failing 0226 and 0227.

From: Toby Inkster <tai@g5n.co.uk>
Date: Tue, 15 May 2012 17:38:05 +0100
To: W3C RDFWA WG <public-rdfa-wg@w3.org>
Message-ID: <20120515173805.6eb26fac@miranda.g5n.co.uk>
Seems that by tweaking one line of code, I can choose to pass tests
0221, 0222 and 0223; or I can choose to pass 0226 and 0227. But I can't
pass them all. :-( 

These tests concern @inlist.

When visiting an element, the context gets populated with some "list
mappings". If I pass the mappings by reference, then tests 0221-0223
fail. If I pass them by value[1] then test cases 0226 and 0227 fail.

Can anyone else recall being in a similar situation? Is there a trick
that I'm missing?

Apart from these tests (and those that I've previously mentioned that I
have some issues with, and am currently skipping) I'm passing the rest
of the test suite for XHTML+RDFa 1.0 and 1.1.

1. Aside: actually Perl doesn't have the ability to pass things other
than strings, numbers and "undef" by value, but you can quite easily
clone a data structure and then pass the clone by reference, which has
the same effect.

Toby A Inkster
Received on Tuesday, 15 May 2012 16:36:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:05:31 UTC