[4suite] Segfault with 4Suite XSLT

Chimezie Ogbuji chimezie at gmail.com
Wed Dec 6 19:38:19 MST 2006


I'm getting a segfault while trying to run 4XSLT with Norm Walsh's
hcard2rdf.xslt (http://www.w3.org/2006/vcard/hcard2rdf.xsl).  I can
reproduce the problem with the following source

input: http://www.w3.org/People/Connolly/

chimezie at Zion:~/devel/grddl-hg$ 4xslt
http://www.w3.org/People/Connolly/
http://www.w3.org/2006/vcard/hcard2rdf.xsl
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:h="http://www.w3.org/1999/xhtml"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:v="http://www.w3.org/2006/vcard/ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
  <v:VCard>
    <v:fn>Dan Connolly</v:fn>
    <v:n rdf:parseType="Resource">
      <rdf:type rdf:resource="http://www.w3.org/2006/vcard/ns#Name"/>
      <v:given-name>Dan</v:given-name>
      <v:family-name>Connolly</v:family-name>
    </v:n>
    <v:n rdf:parseType="Resource">
      <rdf:type rdf:resource="http://www.w3.org/2006/vcard/ns#Name"/>
      <v:given-name>Dan</v:given-name>
    </v:n>
    <v:n rdf:parseType="Resource">
      <rdf:type rdf:resource="http://www.w3.org/2006/vcard/ns#Name"/>
      <v:family-name>Connolly</v:family-name>
    </v:n>
    <v:note>trip stuff, Athens photos</v:note>
    <v:url rdf:resource="http://www.w3.org/2001/tag/#deliverables"/>
    <v:note>trip stuff</v:note>
Segmentation fault

This is from a fresh CVS install (as of this evening).

I can run the same transformation using xalan without any problem:

chimezie at Zion:~/devel/grddl-hg$ xalan -in
http://www.w3.org/People/Connolly/ -xsl
http://www.w3.org/2006/vcard/hcard2rdf.xsl
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:v="http://www.w3.org/2006/vcard/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:h="http://www.w3.org/1999/xhtml">
 ... snip ..

Chimezie


More information about the 4suite mailing list