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

On Mon, 12 Feb 2007, Harry Halpin wrote:

> Should be fixed now - try it again!

Although now, the answer is wrong.

As I said previously

>>   $ 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>

i.e. 1 triple.
<http://musicbrainz.org/mm-2.1/album/6b050dcf-7ab1-456d-9e1b-c3c41c18eed2> 
<http://purl.org/dc/elements/1.1/title> "Are You Experienced?" .


>>   $ 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

now returns 3 triples:

$ 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/">
   <rdf:Description 
rdf:about="http://musicbrainz.org/mm-2.1/album/6b050dcf-7ab1-456d-9e1b-c3c41c18eed2">
     <foaf:maker>
       <foaf:Agent 
rdf:about="http://musicbrainz.org/mm-2.1/artist/33b3c323-77c2-417c-a5b4-af7e6a111cc9">
         <foaf:name>The Jimi Hendrix Experience</foaf:name>
       </foaf:Agent>
     </foaf:maker>
   </rdf:Description>
</rdf:RDF>

<http://musicbrainz.org/mm-2.1/artist/33b3c323-77c2-417c-a5b4-af7e6a111cc9> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://xmlns.com/foaf/0.1/Agent> .
<http://musicbrainz.org/mm-2.1/artist/33b3c323-77c2-417c-a5b4-af7e6a111cc9> 
<http://xmlns.com/foaf/0.1/name> "The Jimi Hendrix Experience" .
<http://musicbrainz.org/mm-2.1/album/6b050dcf-7ab1-456d-9e1b-c3c41c18eed2> 
<http://xmlns.com/foaf/0.1/maker> 
<http://musicbrainz.org/mm-2.1/artist/33b3c323-77c2-417c-a5b4-af7e6a111cc9> 
.

Total triples: 4
but http://www.w3.org/2001/sw/grddl-wg/td/xinclude1.rdf expects 3

The missing one is the dc:title from the top result.

Dave

Received on Monday, 12 February 2007 17:49:47 UTC