]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/metadata/create2/mk_forward/mk_forward.ml
new MathQL syntax
[helm.git] / helm / metadata / create2 / mk_forward / mk_forward.ml
index 2947461242f07439490a855dd3604c25a3aba1ac..7880b07b671bd9763e48f5eaa0613b93b26f14d9 100644 (file)
@@ -134,7 +134,7 @@ let output_file cic_string_uri rdf_string_uri =
        X.xml_nempty "rdf:RDF"
         ["xml:lang","en" ;
          "xmlns:rdf","http://www.w3.org/1999/02/22-rdf-syntax-ns#";
-         "xmlns:h","http:/www.cs.unibo.it/helm/schemas/schema-h.rdf#"]
+         "xmlns:h","http://www.cs.unibo.it/helm/schemas/schema-h.rdf#"]
 
         (try
           Stream.empty content ; (* raise Stream.failure if not empty *)
@@ -149,12 +149,7 @@ let output_file cic_string_uri rdf_string_uri =
 
 let get_obj uri =
  let cicfilename = Getter.getxml uri in
-  let res =
-   match CicParser.term_of_xml cicfilename uri false with
-      (annobj, None) ->
-        Deannotate.deannotate_obj annobj
-    | _ -> assert false
-  in
+  let res = CicParser.obj_of_xml cicfilename uri in
    Unix.unlink cicfilename ;
    res
 ;;