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

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

From: Toby Inkster <tai@g5n.co.uk>
Date: Wed, 16 May 2012 10:06:55 +0100
To: Toby Inkster <tai@g5n.co.uk>
Cc: W3C RDFWA WG <public-rdfa-wg@w3.org>
Message-ID: <20120516100655.68c583f4@miranda.g5n.co.uk>
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
Received on Wednesday, 16 May 2012 09:05:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:19:56 UTC