- From: Dave Beckett <dave@dajobe.org>
- Date: Sun, 23 Sep 2007 22:41:39 -0700
- To: public-grddl-comments@w3.org
I was re-testing raptor against the GRDDL test suite, last reported at: http://lists.w3.org/Archives/Public/public-grddl-comments/2007AprJun/0123.html 29 June 2007 and some things I had broke and I am now fixing them. However the last remaining tests I can't get working are the loopx ones: http://www.w3.org/2001/sw/grddl-wg/td/grddl-tests#loopx http://www.w3.org/2001/sw/grddl-wg/td/grddl-tests#loopx1 http://www.w3.org/2001/sw/grddl-wg/td/grddl-tests#loopx2 http://www.w3.org/2001/sw/grddl-wg/td/grddl-tests#loopx3 Right now, I can't figure out why any should return a result. The input document for all of them is the same: http://www.w3.org/2001/sw/grddl-wg/td/loopx Served as application/xml - it's this XML: [[ <?xml version="1.0" encoding="utf-8"?> <!-- $Id: loopx.xsl,v 1.3 2007/03/28 14:17:58 jcarroll Exp $ --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:r="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:g="http://www.w3.org/2003/g/data-view#" version="1.0"> <xsl:output method="xml" media-type="application/rdf+xml" indent="yes"/> <xsl:template match="/"> <r:RDF> <r:Description r:about=""> <g:namespaceTransformation r:resource="loopy.xsl" /> </r:Description> </r:RDF> </xsl:template> </xsl:stylesheet> ]] So as to processing,: 1) It is XML, so try looking for */@*[local-name()="transformation" and namespace-uri()= "http://www.w3.org/2003/g/data-view#"] => No. 2) It has a namespaced root element so try looking that up: http://www.w3.org/1999/XSL/Transform is a small text/plain document => No. 3) Root element is rdf:RDF ? => No Stop. Result, 0 triples. So any clues where am I going wrong? Dave
Received on Monday, 24 September 2007 05:41:59 UTC