| Some bodyuri ->
Some (G.getxml (U.cicuri_of_uri bodyuri))
in
- let annobj = CicParser.annobj_of_xml cicfilename cicbodyfilename uri in
+ let annobj = CicParser.annobj_of_xml cicfilename cicbodyfilename in
annobj,
if U.uri_is_annuri uri then
begin
let cicfilename = G.getxml (U.cicuri_of_uri uri) in
match (U.bodyuri_of_uri uri) with
None ->
- CicParser.annobj_of_xml cicfilename None uri
+ CicParser.annobj_of_xml cicfilename None
| Some bodyuri ->
let cicbodyfilename = G.getxml (U.cicuri_of_uri bodyuri) in
- CicParser.annobj_of_xml cicfilename (Some cicbodyfilename) uri
+ CicParser.annobj_of_xml cicfilename (Some cicbodyfilename)
;;
let get_obj uri =
let cicfilename = G.getxml (U.cicuri_of_uri uri) in
match (U.bodyuri_of_uri uri) with
None ->
- CicParser.obj_of_xml cicfilename None uri
+ CicParser.obj_of_xml cicfilename None
| Some bodyuri ->
let cicbodyfilename = G.getxml (U.cicuri_of_uri bodyuri) in
- CicParser.obj_of_xml cicfilename (Some cicbodyfilename) uri
+ CicParser.obj_of_xml cicfilename (Some cicbodyfilename)
;;