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

Seems to be a spec bug regarding @inlist.

> 8. If in any of the previous steps a new subject was set to a
> non-null value different from the parent object;

This step seems to work better if you replace "the parent object" in
the above instruction with "the parent subject". This change seems
necessary to pass 0226. I've checked Gregg's implementation, and that's
what he does too.

To pass the remaining @inlist test cases, I found it necessary to
attach an extra piece of metadata to the new empty list mapping,
indicating which element was current when the mapping was created, and
then before generating list triples, check that the same element is
still current.

Not sure if that metadata is necessary in the general case, or a quirk
of how I've implemented something. But thought I'd mention it in case
it's a useful technique for anyone else.

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

Received on Wednesday, 16 May 2012 09:05:18 UTC