W3C home > Mailing lists > Public > public-grddl-wg@w3.org > February 2007

Re: "application/xml" media type test for RDF source documents finished

From: Dan Connolly <connolly@w3.org>
Date: Mon, 12 Feb 2007 07:30:37 -0600
To: Harry Halpin <hhalpin@ibiblio.org>
Cc: public-grddl-wg <public-grddl-wg@w3.org>
Message-Id: <1171287037.7497.826.camel@dirk>

On Sun, 2007-02-11 at 19:06 -0500, Harry Halpin wrote:
> Note that I have replicated the #grddlonrdf test case which puts GRDDL
> tranforms on a RDF document and now it does the same example as a
> #mediatype.
> 
> Here's the test-case:
> http://www.w3.org/2001/sw/grddl-wg/td/testlist3.html#grddlonrdf-xmlmediatype1
> http://www.w3.org/2001/sw/grddl-wg/td/testlist3.html#grddlonrdf-xmlmediatype2
> http://www.w3.org/2001/sw/grddl-wg/td/testlist3.html#grddlonrdf-xmlmediatype3

Again, let's make that

http://www.w3.org/2001/sw/grddl-wg/td/testlist3#grddlonrdf-xmlmediatype1
http://www.w3.org/2001/sw/grddl-wg/td/testlist3#grddlonrdf-xmlmediatype2
http://www.w3.org/2001/sw/grddl-wg/td/testlist3#grddlonrdf-xmlmediatype3

> Today in #swig dajobe seemed to want some text in the spec explaining
> the sniffing of root nodes to detect media types, especially in the case
> of RDF. Any opinions?

I don't understand the question. If, by "root node" you mean
an XPath node, then by the time you have one of those, you're
already past the media type.

For RDF/XML, the spec says:

"If an information resource IR is represented by a conforming RDF/XML
document[RDFX], then the RDF graph represented by that document is a
GRDDL result of IR"
 -- http://www.w3.org/2004/01/rdxh/spec

and for XML, it likewise just says "If an information resource IR is
represented by an XML document with an XPath root node R".

If there are cases this doesn't specify clearly enough, please
point them out in some detail.

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Monday, 12 February 2007 13:30:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:47 GMT