Menu

#12 getOntology(IRI) returning $proxy instead of Ontology .

open
nobody
None
5
2008-05-21
2008-05-21
No

wsmoFactory does not return references to the
previously parsed ontologies when refering to them by
wsmoFactory.getOntology(IRI); instead of it, in some
random way there are $proxy objects returned which do
not allow to extract contents of the ontology.
Depending on the order of ontology parsing, different
ontologies are returned as $proxy objects when
retrieved from wsmoFactory.getOntology(IRI) (i.e.
sometimes they are returned as Ontology and sometimes
as $proxy). wsmoFactory.getLocator.lookup(IRI, class)
does not provide a solution either - exceptions are
being thrown.

Even when parsing ontologies in most correct order
(i.e. using order of them referencing each other) there
are $proxy objects being returned. I have checked
various versions of wsmo4j and I am getting the same
result.

examples at main bug tracker 1541802

Discussion


Log in to post a comment.

MongoDB Logo MongoDB