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

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

From: Harry Halpin <hhalpin@ibiblio.org>
Date: Mon, 12 Feb 2007 12:29:42 -0500
Message-ID: <45D0A406.5090402@ibiblio.org>
To: Dave Beckett <dave@dajobe.org>
Cc: public-grddl-comments@w3.org

Should be fixed now - try it again!

Dave Beckett wrote:
> 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
>
>   


-- 
		-harry

Harry Halpin,  University of Edinburgh 
http://www.ibiblio.org/hhalpin 6B522426
Received on Monday, 12 February 2007 17:29:50 UTC

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