W3C home > Mailing lists > Public > public-grddl-comments@w3.org > January to March 2007

GRDDL test #xinclude: http://www.w3.org/2001/sw/grddl-wg/td/xinclude2.xml content is broken

From: Dave Beckett <dave@dajobe.org>
Date: Mon, 12 Feb 2007 08:21:31 -0800
Message-ID: <45D0940B.7050000@dajobe.org>
To: public-grddl-comments@w3.org

After a lot of other debugging to see where in my code this was failing,
I've discovered that the
  http://www.w3.org/2001/sw/grddl-wg/td/xinclude2.xml
content is broken.

Currently it contains:
<address xmlns:html="http://www.w3.org/1999/xhtml"> ...
^- wrong

<html:address xmlns:html="http://www.w3.org/1999/xhtml">
^- right

so the XSLT to find html:address does not work and the test always fails.


Confirm it yourself:

  $ xsltproc --xinclude
'http://www.w3.org/2001/sw/grddl-wg/td/glean_title.xsl'
'http://www.w3.org/2001/sw/grddl-wg/td/xinclude1.html'
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description
rdf:about="http://musicbrainz.org/mm-2.1/album/6b050dcf-7ab1-456d-9e1b-c3c41c18eed2">
    <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">Are You
Experienced?</dc:title>
  </rdf:Description>
</rdf:RDF>

  $ xsltproc --xinclude
'http://www.w3.org/2001/sw/grddl-wg/td/getAuthor.xsl'
'http://www.w3.org/2001/sw/grddl-wg/td/xinclude1.html'
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"/>

when fixed, the latter should return some triples

Dave
Received on Monday, 12 February 2007 16:21:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:55:02 UTC