- From: Toby Inkster <tai@g5n.co.uk>
- Date: Wed, 21 Sep 2011 16:07:43 +0100
- To: Ivan Herman <ivan@w3.org>
- Cc: Gregg Kellogg <gregg@kellogg-assoc.com>, W3C RDFWA WG <public-rdfa-wg@w3.org>
On Wed, 21 Sep 2011 06:28:00 -0700 Ivan Herman <ivan@w3.org> wrote: > my implementation is slightly different, but Gregg's is following the > algorithm by the letter. Gregg? OK, got it working. My mistake it seems is that while the prefix mapping needs to be passed from a parent to child evaluation context by value (to avoid a prefix declaration on the child element affecting its ancestors), the list mapping needs to be passed by reference. I have one further comment: in stage 14, it does not state how to handle when a list exists but is empty. Initially I thought that perhaps the previous processing steps ensure that this state is never reached. But I was incorrect - sometimes, there will be an empty list. For example, processing the following: <html> <head><title>Test</title></head> <body><br rel="rdfa:testing" inlist="" /></body> </html> In this case I'm generating: <> rdfa:testing () . Though another option would be to simply generate no triple from it. -- Toby A Inkster <mailto:mail@tobyinkster.co.uk> <http://tobyinkster.co.uk>
Received on Wednesday, 21 September 2011 15:06:57 UTC