W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > November 2010

Re: Atom 1.0 + RDFa 1.1

From: Toby Inkster <tai@g5n.co.uk>
Date: Mon, 15 Nov 2010 15:10:55 +0000
To: Ivan Herman <ivan@w3.org>
Cc: RDFa Working Group <public-rdfa-wg@w3.org>
Message-ID: <1289833855.9995.59.camel@ophelia2.g5n.co.uk>
On Mon, 2010-11-15 at 13:44 +0100, Ivan Herman wrote:
> And that is an XSLT problem that we should not deal with.
>
> I guess an ATOM+RDFa description would simply describe that a
> transformation should be applied whereby each <feed> element gets a
> @typeof="" attribute before processing it through RDFa Core. 

Should be <entry>, not <feed>.

But my point is, what about XMLLiterals that have <entry> elements as
descendants? These then end up with a typeof="" attribute which
shouldn't be there. That's a general pre-processing edge case which will
occur whether you're using XSLT or Python+DOM or even just plain old
regular expressions.

Here's the example again:

<feed xmlns="http://www.w3.org/2005/Atom"
    property="http://example.com/xml"
    datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral"
    ><entry /></feed>

Consider the XMLLiteral generated.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Monday, 15 November 2010 15:11:41 UTC

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