co-ode-owl-plugins / ontology-browser

Automatically exported from code.google.com/p/ontology-browser
3 stars 4 forks source link

Bug in domain extraction in html rendering #64

Closed ignazio1977 closed 8 years ago

ignazio1977 commented 8 years ago

Domain extraction causes an error for object properties:

org.semanticweb.owlapi.model.OWLRuntimeException: Not a data property!
at uk.ac.manchester.cs.owl.owlapi.OWLObjectPropertyImpl.asOWLDataProperty(OWLObjectPropertyImpl.java:175)
at org.coode.html.doclet.DomainsDoclet.getAssertedElements(DomainsDoclet.java:32)
at org.coode.html.doclet.AbstractOWLElementsDoclet.getElements(AbstractOWLElementsDoclet.java:67)
at org.coode.html.doclet.ElementsDoclet.renderHeader(ElementsDoclet.java:57)
at org.coode.html.doclet.AbstractHTMLDoclet.renderAll(AbstractHTMLDoclet.java:50)
at org.coode.html.doclet.AbstractHTMLDoclet.renderContent(AbstractHTML
ignazio1977 commented 8 years ago

Causes https://github.com/co-ode-owl-plugins/owldoc/issues/1