]> matita.cs.unibo.it Git - helm.git/commitdiff
<h:depth> must precede <h:occurrence> (to make metadata inversion easier)
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 20 Nov 2002 16:05:42 +0000 (16:05 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 20 Nov 2002 16:05:42 +0000 (16:05 +0000)
helm/metadata/create_V7_mowgli/METADATA/sthandler.c
helm/metadata/create_V7_mowgli/METADATA/sthandler_ind.c

index b6f64a06803bb9d9d467a5dac36e940073873b96..e26569fcdb5111367ffe8aa2135c0e39f4252b29 100644 (file)
@@ -326,8 +326,8 @@ print_mainconcl(about,outrel,outsort,uri,depth)
       {
        printf("\t\t<h:refObj rdf:parseType=\"Resource\">");
        printf("\n\t\t\t\t<h:position rdf:resource=\"&hns;MainConclusion\"/>");
-       printf("\n\t\t\t\t<h:occurrence><h:Object rdf:about=\"%s\"/></h:occurrence>",uri);
        printf("\n\t\t\t\t<h:depth>%d</h:depth>",depth);
+       printf("\n\t\t\t\t<h:occurrence><h:Object rdf:about=\"%s\"/></h:occurrence>",uri);
        printf("\n\t\t</h:refObj>\n");
       }
 }
index 3f391a79e5a8cc465b491f9c138e6d67b43377c8..a6e3a04afbd5fa650b5db8530572e0d032c590cd 100644 (file)
@@ -329,8 +329,8 @@ print_mainconcl(about,out,outrel,outsort,uri,depth)
       {
        fprintf(out,"\t\t<h:refObj rdf:parseType=\"Resource\">");
        fprintf(out,"\n\t\t\t\t<h:position rdf:resource=\"&hns;MainConclusion\"/>");
-       fprintf(out,"\n\t\t\t\t<h:occurrence><h:Object rdf:about=\"%s\"/></h:occurrence>",uri);
        fprintf(out,"\n\t\t\t\t<h:depth>%d</h:depth>",depth);
+       fprintf(out,"\n\t\t\t\t<h:occurrence><h:Object rdf:about=\"%s\"/></h:occurrence>",uri);
        fprintf(out,"\n\t\t</h:refObj>\n");
       }
 }