From: Amit K. <ami...@mi...> - 2008-10-15 00:55:35
|
Hi Melanie, I had run into similar issue a while back, but can't seem to locate the code. On Tue, Oct 14, 2008 at 05:43:56PM -0700, Melanie Courtot wrote: > Sorry for the repost, but I still haven't figured out a way to do this. I > have the same behavior when opening the input file below and saving using > Protege 4 where it gets saved as: > > xmlns="http://purl.obofoundry.org/obo/obi.owl#" > xml:base="http://purl.obofoundry.org/obo/obi.owl" > <owl:Ontology rdf:about=""> > > and not: > > xmlns="http://purl.obofoundry.org/obo/" > xml:base="http://purl.obofoundry.org/obo/" > <owl:Ontology rdf:about="http://purl.obofoundry.org/obo/obi.owl"> > > Any idea? If I remember correctly you need to use RDFXMLNamespaceManager where you can set the default name space. Hope this helps. regards |