Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Unable to get te imported ontology prefix

Vasco Costa hypept at
Wed May 27 12:02:10 PDT 2009


I'm using the time-entry Ontology which has the following:

<!DOCTYPE owl [

     <!ENTITY owl  "" >
     <!ENTITY time-entry  ""
     <!ENTITY xsd  "" >
     <!ENTITY rdf  "" >


  xmlns     = ""
  xml:base  = ""
  xmlns:owl = ""
  xmlns:rdf = ""
  xmlns:rdfs = ""
  xmlns:xsd = ""
  xmlns:time-entry = "">

We are trying to get the 'time-entry' because it's the base, and used the

Collection prefixCollection =
Iterator prefixIterator = prefixCollection.iterator();
String prefix =;

Now here is the weird part.. This piece of code returns the correct value on
my project partner's computer but doesn't on mine.

Any tip?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the protege-discussion mailing list