W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > April 2004

GRDDL literal result element stylesheets

From: <bry@itnisk.com>
Date: Fri, 30 Apr 2004 06:11:31 -0400 (EDT)
To: public-rdf-in-xhtml-tf@w3.org
Message-Id: <200404301211453.SM01024@Debug>




Concerning my earlier post as to security 
problems with the link rel="transform" part 
of GRDDL it might be better to have a 
defined grddl grammar that would be 
interpreted as a literal result element 
stylesheet, i.e.

<grddl xmlns="some url that ends with grddl 
probably" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transfo
rm"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:rdf="http://www.w3.org/1999/02/22-
rdf-syntax-ns#"
xmlns:html="http://www.w3.org/1999/xhtml">
<rdf:RDF
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:rdf="http://www.w3.org/1999/02/22-
rdf-syntax-ns#"
  >
  <rdf:Description rdf:about="">
    <dc:subject><xsl:value-of 
select="/html:html/html:head/html:meta
[@name='DC.Subject']"/></dc:subject>
  </rdf:Description>
</rdf:RDF>

</grddl>

Although this makes the xsl-t less powerful 
it does reduce the security concerns (there 
are still some but they are rather minor 
ones) and it could be that the grddl format 
itself could be extended to be more 
powerful. 
Received on Friday, 30 April 2004 07:10:56 GMT

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