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

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